/* ========================================
   findURplace — Landing Page Styles
   Domain: findurplace.it
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #EAE4D5;
  --primary: #0475b9;
  --primary-dark: #035e94;
  --primary-light: #0475b918;
  --text-dark: #1a1a2e;
  --text-mid: #333;
  --text-light: #555;
  --card-bg: rgba(255,255,255,0.85);
  --card-border: rgba(255,255,255,0.3);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --radius: 28px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-mid);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* --- Header / Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(234,228,213,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}
.navbar-brand span {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.navbar-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  transition: color .2s;
}
.navbar-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-xs);
  font-weight: 700 !important;
  transition: background .2s, transform .15s;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../assets/map-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(234,228,213,0.5) 0%,
    rgba(234,228,213,0.3) 50%,
    rgba(234,228,213,0.7) 100%
  );
}
.hero-card {
  position: relative;
  z-index: 2;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 56px 48px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 24px;
}
.hero-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 32px;
  text-shadow: 0 1px 4px rgba(255,255,255,0.8);
}
.store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.store-badge {
  height: 52px;
  border-radius: 12px;
  transition: transform .2s, box-shadow .2s;
}
.store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- Section Common --- */
.section {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* --- Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- How It Works --- */
.how-bg {
  background: rgba(255,255,255,0.4);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(4,117,185,0.35);
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* --- CTA / Download Section --- */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.cta-section .section-title { color: #fff; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.85); }
.cta-badges { margin-top: 8px; }

/* --- Footer --- */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.footer-brand span {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
}
.footer h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .features-grid, .steps {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-desc { margin: 0 auto; }
  .footer-links { align-items: center; }
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(234,228,213,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .hamburger { display: flex; }
  .hero-card { padding: 40px 28px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .section { padding: 56px 20px; }
  .section-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .store-badge { height: 44px; }
  .hero-logo { width: 90px; height: 90px; }
  .hero-title { font-size: 24px; }
}

/* --- Legal Pages --- */
.legal-page {
  padding-top: 90px;
  min-height: 100vh;
  background: var(--bg);
}
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-content h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.legal-content .updated {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 36px;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
