@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500&display=swap');

/* ============================================================
   WELTHON APP — Design System
   ============================================================ */

:root {
  --navy:          #1A2B6D;
  --navy-dark:     #111D4A;
  --navy-mid:      #2A3F8F;
  --lime:          #C9E08D;
  --lime-dark:     #AECB6A;
  --lime-muted:    rgba(201,224,141,0.13);
  --white:         #FFFFFF;
  --off-white:     #F8F7F3;
  --grey-1:        #F0EFE9;
  --grey-2:        #6B7280;
  --grey-3:        #9CA3AF;
  --border-light:  rgba(26,43,109,0.10);
  --border-dark:   rgba(255,255,255,0.12);
  --shadow-soft:   0 4px 32px rgba(26,43,109,0.08);
  --shadow-hover:  0 8px 48px rgba(26,43,109,0.16);
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* ─── Layout ─── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease,
              transform 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 0.85rem 2.1rem; font-size: 1rem; }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,43,109,0.25); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-1px); }

.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(174,203,106,0.35); }


/* ─── Navigation ─── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(26,43,109,0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(26,43,109,0.10); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1;
}
.nav-logo-text em {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  color: var(--grey-3);
  font-size: 0.95rem;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--navy);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-mobile a:hover { opacity: 1; }
.nav-mobile .btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
}
.nav-mobile-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}


/* ─── Section Label ─── */

.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 1rem;
}
.section-label--navy { color: rgba(26,43,109,0.45); }
.section-label--white { color: rgba(255,255,255,0.5); }


/* ─── Wave Dividers ─── */

.wave { display: block; width: 100%; line-height: 0; overflow: hidden; }
.wave svg { display: block; width: 100%; }


/* ─── Hero Section ─── */

.hero {
  position: relative;
  background: var(--lime);
  padding: 160px 0 0;
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.06;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 80px;
}

.hero-pre {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.6;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 560px;
}

.hero-sub {
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(26,43,109,0.72);
  max-width: 460px;
  margin-top: 1.25rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(26,43,109,0.7);
}
.hero-trust span::before { content: '✓ '; font-weight: 500; }


/* ─── Phone Mockup ─── */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone-card {
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(26,43,109,0.22), 0 4px 16px rgba(26,43,109,0.10);
  padding: 1.5rem;
  width: 280px;
  position: relative;
  transform: rotate(1.5deg);
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.45;
  margin-bottom: 1.25rem;
}

.phone-portfolio-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--grey-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.phone-balance {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

.phone-gain {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #22a55f;
  background: rgba(34,165,95,0.1);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}

.phone-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  margin: 1.25rem 0;
  padding: 0.5rem 0;
  border-radius: 12px;
  background: var(--grey-1);
  padding: 0.75rem;
}
.phone-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(26,43,109,0.15);
  transition: background 0.2s;
}
.phone-bar.active { background: var(--navy); }

.phone-holdings { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; }
.phone-holding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  background: var(--grey-1);
  border-radius: 12px;
}
.phone-holding-info { display: flex; align-items: center; gap: 0.6rem; }
.phone-holding-dot {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
}
.phone-holding-dot.aapl { background: #555; }
.phone-holding-dot.msft { background: #0078d4; }
.phone-holding-name { font-size: 0.78rem; font-weight: 500; color: var(--navy); }
.phone-holding-sub { font-size: 0.65rem; color: var(--grey-3); }
.phone-holding-right { text-align: right; }
.phone-holding-value { font-size: 0.82rem; font-weight: 500; color: var(--navy); }
.phone-holding-pct { font-size: 0.68rem; color: #22a55f; }


/* ─── Stats Strip ─── */

.stats-strip {
  background: var(--navy);
  padding: 64px 0;
}
.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 2rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background: var(--lime);
  opacity: 0.3;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  margin-top: 0.4rem;
}


/* ─── How It Works ─── */

.how-it-works {
  background: var(--white);
  padding: 120px 0;
  text-align: center;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.15;
}
.section-sub {
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--grey-2);
  max-width: 500px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 20%;
  right: 20%;
  height: 1px;
  background: var(--border-light);
}

.step-card {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  color: var(--lime);
  opacity: 0.7;
  display: block;
  margin-bottom: 1rem;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--grey-2);
  line-height: 1.65;
}


/* ─── Features Overview ─── */

.features-overview {
  background: var(--off-white);
  padding: 120px 0;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  text-align: left;
}
.feature-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.feature-desc {
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--grey-2);
  line-height: 1.65;
}


/* ─── Pricing ─── */

.pricing-section {
  background: var(--white);
  padding: 120px 0;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}
.pricing-card {
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.pricing-card.featured {
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-hover);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.25rem;
}

.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.featured .plan-name { color: var(--white); }

.plan-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.75rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.featured .plan-price { color: var(--white); }

.plan-price span { font-size: 1rem; font-weight: 400; font-family: var(--font-body); }
.plan-period {
  font-size: 0.8rem;
  color: var(--grey-2);
  margin-bottom: 1.5rem;
}
.featured .plan-period { color: rgba(255,255,255,0.5); }

.plan-divider {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  margin-bottom: 1.5rem;
}
.featured .plan-divider { background: var(--border-dark); }

.plan-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.plan-features li {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--grey-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.featured .plan-features li { color: rgba(255,255,255,0.75); }
.plan-features li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%231A2B6D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}


/* ─── Testimonials ─── */

.testimonials-section {
  background: var(--lime);
  padding: 120px 0;
  text-align: center;
}
.testimonials-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 540px;
  margin: 0 auto 3.5rem;
  line-height: 1.15;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.testimonial-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testimonial-quote {
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { font-size: 0.82rem; font-weight: 500; color: var(--grey-2); }


/* ─── CTA Banner ─── */

.cta-banner {
  background: var(--navy);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-decor {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 35vw;
  height: 35vw;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.07;
  pointer-events: none;
}
.cta-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 600px;
  margin: 0 auto 1.25rem;
}
.cta-sub {
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}


/* ─── Footer ─── */

.footer { background: var(--navy-dark); padding: 4rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo-wrap { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-logo-wrap img { width: 30px; height: 30px; object-fit: contain; }
.footer-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.footer-tagline {
  font-weight: 300;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 220px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a {
  font-weight: 300;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-copy {
  font-weight: 300;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-disclaimer {
  font-weight: 300;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.65;
  max-width: 720px;
}


/* ─── Features Page: Alternating Sections ─── */

.feature-row {
  padding: 100px 0;
  background: var(--white);
}
.feature-row:nth-child(even) { background: var(--off-white); }
.feature-row-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature-row-inner.reverse { direction: rtl; }
.feature-row-inner.reverse > * { direction: ltr; }

.feature-row-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26,43,109,0.4);
  margin-bottom: 0.75rem;
}
.feature-row-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.feature-row-desc {
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--grey-2);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.feature-row-bullets { display: flex; flex-direction: column; gap: 0.6rem; }
.feature-row-bullets li {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--navy);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.feature-row-bullets li::before {
  content: '→';
  color: var(--lime-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.feature-visual {
  background: var(--grey-1);
  border-radius: 24px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}
.feature-visual-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  width: 100%;
}
.visual-bar-row { display: flex; gap: 0.5rem; align-items: flex-end; height: 100px; }
.visual-bar {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: rgba(26,43,109,0.12);
}
.visual-bar.hi { background: var(--navy); }
.visual-bar.md { background: rgba(26,43,109,0.35); }
.visual-stat {
  background: var(--white);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(26,43,109,0.06);
}
.visual-stat-label { font-size: 0.7rem; color: var(--grey-3); font-weight: 400; }
.visual-stat-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.visual-stat-pct { font-size: 0.72rem; font-weight: 500; color: #22a55f; }


/* ─── Legal Pages (Privacy + Terms) ─── */

.legal-hero {
  background: var(--lime);
  padding: 160px 0 80px;
  text-align: center;
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.legal-hero p {
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(26,43,109,0.6);
  margin-top: 0.75rem;
}

.legal-body {
  background: var(--white);
  padding: 80px 0 120px;
}
.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 2rem;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}
.legal-content h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.legal-content p {
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--grey-2);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-content ul, .legal-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.legal-content li {
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--grey-2);
  line-height: 1.75;
  margin-bottom: 0.35rem;
}
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content a { color: var(--navy); text-decoration: underline; opacity: 0.75; }
.legal-content a:hover { opacity: 1; }
.legal-content .highlight-box {
  background: var(--lime-muted);
  border-left: 3px solid var(--lime-dark);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.legal-content .highlight-box p { color: var(--navy); margin: 0; font-weight: 400; }


/* ─── Page Hero (features page) ─── */

.page-hero {
  background: var(--lime);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-decor {
  position: absolute;
  top: -15%;
  right: -8%;
  width: 35vw;
  height: 35vw;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.05;
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--navy);
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.1;
}
.page-hero p {
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(26,43,109,0.7);
  max-width: 520px;
  margin: 1.25rem auto 0;
  line-height: 1.7;
}


/* ─── Animations ─── */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.hero-anim { animation: heroFadeUp 0.65s ease-out forwards; opacity: 0; }
.hero-anim:nth-child(1) { animation-delay: 0.05s; }
.hero-anim:nth-child(2) { animation-delay: 0.15s; }
.hero-anim:nth-child(3) { animation-delay: 0.25s; }
.hero-anim:nth-child(4) { animation-delay: 0.35s; }
.hero-anim:nth-child(5) { animation-delay: 0.45s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50%       { transform: rotate(1.5deg) translateY(-10px); }
}


/* ─── Stagger delays for grids ─── */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }


/* ─── Responsive ─── */

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: scale(1); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .feature-row-inner { grid-template-columns: 1fr; gap: 3rem; }
  .feature-row-inner.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 60px; }
  .hero-headline { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .hero-visual { order: -1; }
  .phone-card { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .stat-item + .stat-item::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { max-width: 100%; }
}
