/* ══════════════════════════════════════════════════════════════════════
   GeoLens · Landing Page Styles
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --bg:      #060912;
  --panel:   #0c111c;
  --panel2:  #111827;
  --border:  #1e293b;
  --text:    #e8eef8;
  --muted:   #8b9ab3;
  --accent:  #6d8cff;
  --purple:  #8b5cf6;
  --green:   #22c55e;
  --amber:   #f59e0b;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(900px 600px at 10% -5%, rgba(139,92,246,.12), transparent 55%),
    radial-gradient(700px 500px at 90% 0%,  rgba(109,140,255,.09), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ─── Utility ─────────────────────────────────────────────────────── */
.hidden { display: none !important; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(109,140,255,.1);
  border: 1px solid rgba(109,140,255,.2);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ─── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, #7c6cff, #6d8cff 60%, #4fb6ff);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 24px rgba(109,140,255,.35);
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(109,140,255,.45); }
.btn-primary.btn-large { padding: 16px 34px; font-size: 16px; border-radius: 12px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }

/* ─── Navbar ──────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  height: 64px;
  background: rgba(6,9,18,.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo {
  width: 28px;
  height: 28px;
}
.lens-ring  { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.lens-line  { stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.lens-pin   { fill: var(--purple); stroke: none; }

.nav-wordmark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, #a5b4ff, #6d8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-nav-ghost {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: color .15s, background .15s;
}
.btn-nav-ghost:hover { color: var(--text); background: rgba(255,255,255,.05); }
.btn-nav-primary {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(135deg, #7c6cff, #6d8cff);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-nav-primary:hover { opacity: .88; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: background .15s;
}
.nav-hamburger:hover span { background: var(--text); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 199;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 4px;
}
.mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 9px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.mobile-menu .mobile-cta {
  margin-top: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* ─── Hero ────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(109,140,255,.1);
  border: 1px solid rgba(109,140,255,.2);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(109,140,255,.5); }
  50%      { box-shadow: 0 0 0 5px rgba(109,140,255,0); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-accent {
  background: linear-gradient(90deg, #a5b4ff 0%, #7c6cff 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* Demo Card */
.hero-demo {
  position: relative;
}
.demo-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  position: relative;
  z-index: 1;
}
.demo-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.demo-dots {
  display: flex;
  gap: 6px;
}
.demo-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.demo-title-text {
  font-size: 12px;
  color: var(--muted);
  flex: 1;
  text-align: center;
}

.demo-img-wrap {
  height: 200px;
  background:
    linear-gradient(135deg, #0f1e38 0%, #0c2040 40%, #0a1825 100%);
  position: relative;
  overflow: hidden;
}
.demo-img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}
.demo-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,9,18,.85);
  border: 1px solid rgba(109,140,255,.35);
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 11px;
  backdrop-filter: blur(6px);
  animation: fadeIn .5s ease forwards;
  opacity: 0;
}
.demo-tag:nth-child(1) { animation-delay: .4s; }
.demo-tag:nth-child(2) { animation-delay: .9s; }
.demo-tag:nth-child(3) { animation-delay: 1.4s; }
@keyframes fadeIn {
  to { opacity: 1; }
}
.tag-label { color: var(--text); }
.tag-conf  { color: var(--green); font-weight: 700; }

.demo-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(109,140,255,.8), transparent);
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan {
  0%   { top: 0%; opacity: 1; }
  90%  { top: 100%; opacity: .4; }
  100% { top: 100%; opacity: 0; }
}

.demo-result {
  padding: 14px 16px;
}
.demo-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.demo-conf-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(34,197,94,.12);
  color: var(--green);
}
.demo-score {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
}
.demo-location {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 2px;
}
.demo-coords {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
  font-family: monospace;
}
.demo-evidence {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ev-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.ev-val {
  font-weight: 700;
  color: var(--accent);
}

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  animation: floatBounce 4s ease-in-out infinite;
}
.float-badge:nth-child(2) { animation-delay: 2s; }
@keyframes floatBounce {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-5px); }
}

/* ─── Features ────────────────────────────────────────────────────── */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}
.features .section-sub { margin: 0 auto 48px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.feat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feat-card:hover {
  border-color: rgba(109,140,255,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(109,140,255,.1);
  border: 1px solid rgba(109,140,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.feat-icon svg { width: 20px; height: 20px; }
.feat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 9px; }
.feat-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ─── How It Works ────────────────────────────────────────────────── */
.how-it-works {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.step-card {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 24px 26px;
  text-align: center;
  position: relative;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c6cff, #6d8cff);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  width: 48px;
  height: 48px;
  margin: 12px auto 16px;
  color: var(--accent);
  background: rgba(109,140,255,.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 24px; height: 24px; }
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

.steps-arrow {
  display: flex;
  align-items: center;
  color: var(--border);
  padding-top: 60px;
  flex-shrink: 0;
}
.steps-arrow svg { width: 40px; height: 16px; }

/* ─── Agents ──────────────────────────────────────────────────────── */
.agents-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  text-align: center;
}
.agents-section .section-sub { margin: 0 auto 40px; }

.agents-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

.agent-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color .15s;
}
.agent-chip:hover { border-color: rgba(109,140,255,.4); }

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-dot.vision { background: var(--accent); }
.chip-dot.reason { background: var(--purple); }

.agents-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
}
.agents-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── CTA ─────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 50% 50%, rgba(109,140,255,.1), transparent 70%),
    radial-gradient(400px 300px at 50% 50%, rgba(139,92,246,.08), transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin-bottom: 14px;
  position: relative;
}
.cta-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 36px;
  position: relative;
}

/* ─── Footer ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px 70px;
    gap: 48px;
  }
  .hero-demo { order: -1; }
  .float-badge { display: none; }
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .steps-arrow { display: none; }
}

@media (max-width: 600px) {
  .navbar { padding: 0 20px; }
  .features, .how-it-works, .agents-section, .cta-section { padding: 56px 20px; }
  .hero { padding: 48px 20px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer { padding: 24px 20px; }
}

/* Premium Ivory Theme
   Ivory canvas, slate structure, restrained warm-taupe accents. */
:root {
  --bg:      #f6f4ef;
  --panel:   #fffdf9;
  --panel2:  #faf8f5;
  --border:  #e5e0d8;
  --text:    #1b1d21;
  --muted:   #5c5c5c;
  --accent:  #8c7762;
  --purple:  #2f3845;
  --green:   #3f6f52;
  --amber:   #9a6a2f;
  color-scheme: light;
}

body {
  background:
    radial-gradient(900px 520px at 10% -8%, rgba(140,119,98,.08), transparent 56%),
    radial-gradient(760px 440px at 92% 0%, rgba(47,56,69,.07), transparent 52%),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.section-label,
.plans-cost-note {
  color: var(--accent);
  background: rgba(140,119,98,.10);
  border-color: rgba(140,119,98,.25);
}

.btn-primary,
.btn-nav-primary,
.step-num {
  background: linear-gradient(135deg, #2f3845, #495363);
  color: #fffdf9;
  box-shadow: 0 14px 34px rgba(47,56,69,.16);
}
.btn-primary:hover,
.btn-nav-primary:hover {
  opacity: .96;
  box-shadow: 0 18px 42px rgba(47,56,69,.20);
}

.btn-ghost,
.btn-nav-ghost {
  background: #fffdf9;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover,
.btn-nav-ghost:hover,
.nav-links a:hover,
.mobile-menu a:hover {
  background: #efebe4;
  border-color: rgba(140,119,98,.30);
  color: var(--text);
}

.navbar {
  background: rgba(255,253,249,.90);
  border-bottom-color: transparent;
  box-shadow: none;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(27,29,33,.06);
}
.nav-wordmark {
  background: linear-gradient(90deg, #2f3845, #8c7762);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lens-ring,
.lens-line {
  stroke: var(--purple);
}
.lens-pin {
  fill: var(--accent);
}

.mobile-menu,
.demo-card,
.feat-card,
.agent-card,
.step-card,
.signup-card,
.plans-feat,
.plan-card-full,
.gate-card {
  background: var(--panel);
  border-color: var(--border);
  box-shadow: 0 18px 48px rgba(27,29,33,.06);
}

.demo-card {
  box-shadow: 0 24px 80px rgba(27,29,33,.08);
}
.demo-topbar,
.demo-log,
.code-window,
.upload-drop,
.account-form input,
.gate-field input {
  background: var(--panel2);
  border-color: var(--border);
  color: var(--text);
}
.demo-map,
.agent-visual,
.float-badge {
  background: #efebe4;
  border-color: var(--border);
  color: var(--text);
}

.hero-title,
.section-title,
.cta-title,
.plans-hero h1,
.signup-card h1,
.gate-card h1 {
  color: var(--text);
}
.hero-sub,
.section-sub,
.cta-sub,
.footer-copy,
.gate-card p,
.signup-card > p,
.plans-hero p,
.plan-desc-full,
.plan-credits-full {
  color: var(--muted);
}

.hero-badge,
.float-badge,
.account-tab.active,
.plan-card-full.current,
.plan-card-full.highlight,
.plan-btn-full,
.site-credits {
  background: rgba(140,119,98,.10);
  border-color: rgba(140,119,98,.25);
  color: var(--accent);
}
.plan-card-full:hover,
.plan-btn-full:hover:not(:disabled),
.site-credits:hover {
  background: rgba(140,119,98,.16);
  border-color: rgba(140,119,98,.40);
}
.plan-price-full,
.feat-icon,
.agent-icon,
.footer-brand {
  color: var(--accent);
}

.cta-glow {
  background:
    radial-gradient(600px 400px at 50% 50%, rgba(140,119,98,.10), transparent 70%),
    radial-gradient(400px 300px at 50% 50%, rgba(47,56,69,.06), transparent 60%);
}
