/* Landing-page-only styles, loaded alongside styles.css (which still
   supplies :root colors, .badge-img, .banner-badges etc — see that file's
   header comment). This file is everything specific to the wide marketing
   layout: hero, phone mockup, feature grid, steps, reviews, FAQs, footer. */

html { scroll-behavior: smooth; }

body.site {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.site h1, .site h2, .site-brand, .hero-title, .section-title, .mock-title, .mock-greeting {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eyebrow-lg {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  color: var(--success-dark);
  margin: 0 0 12px;
}
.eyebrow-center { text-align: center; }

/* Scroll-reveal — fades/lifts sections in as they enter view. Falls back
   to always-visible if IntersectionObserver isn't available (see the
   inline script at the bottom of landing.js). */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 253, 247, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 18px;
}
.site-brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.site-nav a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--success-dark); }
.nav-cta {
  background: var(--success-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(21, 128, 61, 0.3); }

/* ---- Hero ---- */

.hero {
  background: linear-gradient(180deg, #EAF9EF 0%, var(--bg) 60%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-title {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-sub);
  max-width: 460px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.coming-soon-lg { color: var(--text-sub); font-size: 13px; margin-top: 12px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}
.blob-1 { width: 320px; height: 320px; background: var(--primary-blue-light, #7DD3FC); top: -20px; right: 20px; opacity: 0.35; }
.blob-2 { width: 260px; height: 260px; background: var(--gold); bottom: -10px; left: 10px; opacity: 0.25; }

.trust-strip {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--success-dark);
  font-size: 13px;
  font-weight: 700;
}
.trust-dot { color: var(--border-soft); }

/* ---- Phone mockup — a CSS illustration matching the real Home screen
   layout/colors, not a literal screenshot ---- */

.phone {
  position: relative;
  z-index: 1;
  width: 270px;
  height: 540px;
  background: var(--white);
  border-radius: 42px;
  border: 8px solid var(--text-main);
  box-shadow: 0 30px 60px rgba(5, 46, 22, 0.22);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: var(--text-main);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  position: absolute;
  inset: 0;
  background: var(--bg);
  padding: 34px 12px 12px;
  overflow: hidden;
}

.mock-header { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.mock-icon-btn {
  width: 24px; height: 24px; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0;
}
.mock-icon-btn-sm { width: 20px; height: 20px; font-size: 9px; }
.mock-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: var(--primary);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.mock-header-text { flex: 1; min-width: 0; }
.mock-greeting { font-weight: 800; font-size: 12px; margin: 0; color: var(--text-main); white-space: nowrap; }
.mock-location { font-size: 9px; color: var(--success-dark); margin: 1px 0 0; font-weight: 700; }

.mock-search {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  margin-bottom: 10px;
}
.mock-search-text { color: var(--text-sub); }

.mock-cta-row { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-cta {
  flex: 1;
  border-radius: 10px;
  padding: 10px 6px;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mock-cta span { font-size: 13px; }
.mock-cta-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); }
.mock-cta-dark { background: var(--text-main); color: var(--white); }
.mock-cta-soft { background: #DCFCE7; color: var(--text-main); }

.mock-section-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.mock-section-title { font-size: 12px; font-weight: 800; color: var(--text-main); margin: 0; }
.mock-view-all { font-size: 9px; font-weight: 700; color: var(--primary); margin: 0; }

.mock-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(5, 46, 22, 0.05);
}
.mock-photo {
  height: 70px;
  background: linear-gradient(120deg, var(--primary-blue-light, #7DD3FC), var(--primary));
}
.mock-card-body { padding: 12px; }
.mock-eyebrow { font-size: 10px; font-weight: 700; color: var(--success-dark); margin: 0; }
.mock-title { font-size: 13px; font-weight: 800; color: var(--text-main); margin: 6px 0 2px; }
.mock-meta { font-size: 10px; color: var(--text-sub); margin: 0 0 4px; }
.mock-fee { font-size: 11px; font-weight: 800; color: var(--primary); margin: 0 0 8px; }
.mock-row { display: flex; gap: 6px; }
.mock-row-between { justify-content: space-between; align-items: center; }
.mock-chip { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--divider); color: var(--success-dark); }
.mock-chip-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.mock-chip-block { display: block; text-align: center; padding: 8px; border-radius: 10px; }

/* ---- Section shell ---- */

.section-inner { max-width: 1120px; margin: 0 auto; padding: 72px 24px; scroll-margin-top: 72px; }
.section-title { font-size: 30px; font-weight: 800; color: var(--text-main); margin: 0 0 40px; max-width: 560px; }
.section-title-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 480px; }

/* ---- Features ---- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(5, 46, 22, 0.08); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feature-title { font-weight: 800; font-size: 16px; color: var(--text-main); margin: 0 0 8px; }
.feature-copy { font-size: 14px; line-height: 1.55; color: var(--text-sub); margin: 0; }

/* ---- How it works ---- */

.how { background: var(--white); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; padding: 0 12px; }
.step-n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--success-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-title { font-weight: 800; font-size: 16px; color: var(--text-main); margin: 0 0 6px; }
.step-copy { font-size: 14px; color: var(--text-sub); margin: 0; line-height: 1.5; }

/* ---- Reviews (honest placeholder — no fabricated quotes) ---- */

.reviews-sub {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.6;
}
.reviews-placeholder {
  max-width: 340px;
  margin: 0 auto;
  background: var(--white);
  border: 1px dashed var(--border-soft);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.stars { color: var(--gold); font-size: 22px; letter-spacing: 4px; margin-bottom: 10px; }
.reviews-placeholder-text { color: var(--text-sub); font-size: 13px; font-weight: 700; margin: 0; }

/* ---- FAQs ---- */

.faqs { background: var(--white); border-top: 1px solid var(--divider); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 4px 18px;
  background: var(--bg);
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--success-dark); font-weight: 400; margin-left: 12px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0 0 16px; color: var(--text-sub); font-size: 14px; line-height: 1.6; }

/* ---- Closing CTA banner ---- */

.cta-banner {
  background: var(--success-dark);
  background-image: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.08), transparent 55%);
  padding: 56px 24px;
  text-align: center;
  scroll-margin-top: 40px;
}
.cta-banner-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta-banner-text { color: var(--white); font-weight: 800; font-size: 26px; line-height: 1.3; margin: 0; }
.coming-soon-banner { color: rgba(255,255,255,0.85); font-size: 13px; margin: 14px 0 0; }

/* ---- Footer ---- */

.site-footer { padding: 40px 24px 32px; }
.site-footer-inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.footer-tagline { color: var(--text-sub); font-size: 14px; margin: 10px 0 6px; }
.footer-links { font-size: 13px; margin: 0 0 10px; }
.footer-links a { color: var(--text-sub); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-copyright { color: var(--text-muted, #A3B8AA); font-size: 12px; margin: 0; }

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { order: -1; min-height: 380px; }
  .phone { width: 220px; height: 440px; }
  .hero-title { font-size: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 48px 20px; }
  .cta-banner-text { font-size: 21px; }
  .trust-strip { font-size: 12px; }
}
