/* ═══════════════════════════════════════
   TOKENS — DARK (A) & LIGHT (D)
═══════════════════════════════════════ */
:root {
  --gold:       #c9a227;
  --gold-light: #e8d88a;
  --gold-dim:   #ede73775;
  --gold-border:rgba(201,162,39,0.35);
  --red:   #ef4444;
  --amber: #f97316;
  --green: #22c55e;
  --font-head: 'Lexend', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

[data-theme="dark"] {
  --bg:        #0f0e0b;
  --bg2:       #161410;
  --bg3:       #1e1c16;
  --card:      #191714;
  --border:    rgba(255,255,255,0.09);
  --border2:   rgba(255,255,255,0.18);
  --text:      #f0ead8;
  --muted:     #b8b09a;
  --heading:   #faf5e8;
  --nav-bg:    rgba(15,14,11,0.95);
  --input-bg:  rgba(255,255,255,0.06);
  --shadow:    0 24px 60px rgba(0,0,0,0.6);
  --map-bg:    #1a2232;
  --street:    rgba(255,255,255,0.07);
  --block-bg:  rgba(255,255,255,0.04);
}

[data-theme="light"] {
  --bg:        #faf8f3;
  --bg2:       #f2ede0;
  --bg3:       #ede8d8;
  --card:      #ffffff;
  --border:    rgba(0,0,0,0.09);
  --border2:   rgba(0,0,0,0.17);
  --text:      #1e1a0e;
  --muted:     #5a5040;
  --heading:   #120f05;
  --nav-bg:    rgba(250,248,243,0.95);
  --input-bg:  rgba(0,0,0,0.04);
  --shadow:    0 24px 60px rgba(0,0,0,0.12);
  --map-bg:    #c8d4e0;
  --street:    rgba(255,255,255,0.5);
  --block-bg:  rgba(0,0,0,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}

/* ─── LANG BAR ─── */
.lang-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 6px 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  transition: background .35s;
}
.lang-btn {
  padding: 3px 11px;
  border-radius: 5px;
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  font-family: var(--font-body);
  transition: all .2s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--gold);
  color: #0f0e0b;
  border-color: var(--gold);
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  transition: background .35s;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--heading);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px; height: 34px;
  background: var(--gold);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.nav-links a:hover { color: var(--gold); background: var(--gold-dim); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mode toggle */
.mode-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  font-family: var(--font-body);
  transition: all .2s;
  white-space: nowrap;
}
.mode-toggle:hover { color: var(--text); border-color: var(--gold-border); }
.mode-icon { font-size: 14px; transition: transform .4s; }

.btn-login {
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border2);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-login:hover { background: var(--bg3); }

.btn-demo {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #0f0e0b;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-demo:hover { background: #b8911f; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  transition: all .2s;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 199;
  flex-direction: column;
  gap: 4px;
  transition: background .35s;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background .2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-menu a:hover { background: var(--bg3); }
.mobile-menu .m-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.mobile-menu .m-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
}
.mobile-menu .m-lang {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
}

/* ═══ MODAL AUTH ═══ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  position: relative;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg3);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.modal-close:hover { background: var(--border2); color: var(--text); }
.modal-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.modal-logo .logo-mark { width: 28px; height: 28px; font-size: 14px; }
.modal-logo span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--heading);
}
.modal-tabs {
  display: flex;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}
.modal-tab {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.modal-tab.active {
  background: var(--card);
  color: var(--heading);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.form-grp { margin-bottom: 16px; }
.form-grp label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-family: var(--font-body);
}
.form-grp input, .form-grp select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.form-grp input:focus { border-color: var(--gold); background: rgba(201,162,39,0.05); }
.form-grp input::placeholder { color: var(--muted); }
.btn-auth {
  width: 100%;
  background: var(--gold);
  color: #0f0e0b;
  border: none;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
}
.btn-auth:hover { background: #b8911f; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
  color: var(--muted);
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-social {
  display: flex;
  gap: 10px;
}
.btn-social {
  flex: 1;
  padding: 10px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.btn-social:hover { border-color: var(--gold-border); }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.auth-footer a { color: var(--gold); text-decoration: none; }
.forgot-link { display: block; text-align: right; margin-top: 5px; font-size: 12px; color: var(--gold); text-decoration: none; }
.plan-notice {
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--gold-light, #e8d88a);
  margin-bottom: 20px;
  display: none;
}
[data-theme="light"] .plan-notice { color: #8a6800; }
.plan-notice.show { display: block; }

/* ═══ HERO ═══ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 30px 30px 30px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  transition: opacity .35s;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,162,39,0.12) 0%, transparent 70%);
  top: -150px; right: -150px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes demopulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,162,39,0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(201,162,39,0); }
}
.btn-demo { animation: demopulse 2s ease-in-out infinite; }
.btn-primary-lg { animation: demopulse 2s ease-in-out infinite; }

h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--heading);
  margin-bottom: 24px;
  transition: color .35s;
}
h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary-lg {
  background: var(--gold);
  color: #0f0e0b;
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.btn-primary-lg:hover { background: #b8911f; transform: translateY(-2px); }
.btn-outline-lg {
  background: transparent;
  color: var(--text);
  padding: 15px 30px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  border: 1px solid var(--border2);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.btn-outline-lg:hover { background: var(--bg3); border-color: var(--gold-border); }
.hero-stats {
  display: flex; gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -1px;
}
.stat span { font-size: 13px; color: var(--muted); }

/* ─── HERO MOCKUP ─── */
.mockup-frame {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: background .35s, border-color .35s;
}
.mockup-bar {
  background: var(--bg2);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.d1{background:#ef4444;} .d2{background:#f59e0b;} .d3{background:#22c55e;}
.url-bar {
  flex: 1;
  background: var(--bg3);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-body);
}
.mock-map {
  position: relative;
  height: 340px;
  background: var(--map-bg);
  overflow: hidden;
  transition: background .35s;
}
.map-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--street) 1px, transparent 1px),
    linear-gradient(90deg, var(--street) 1px, transparent 1px);
  background-size: 28px 28px;
}
.mblock {
  position: absolute;
  background: var(--block-bg);
  border-radius: 3px;
}
.mpin {
  position: absolute;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff;
  animation: pop .4s ease backwards;
  cursor: pointer;
  transition: transform .2s;
  font-family: var(--font-head);
}
.mpin:hover { transform: scale(1.35); z-index: 10; }
@keyframes pop { from{transform:scale(0);opacity:0} to{transform:scale(1);opacity:1} }
.pin-r{background:#ef4444;} .pin-o{background:#f97316;} .pin-g{background:#22c55e;}
.map-popup {
  position: absolute;
  top: 16px; right: 16px;
  width: 195px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  font-family: var(--font-body);
  color: #111;
}
.popup-thumb {
  height: 72px;
  background: linear-gradient(135deg,#8fa5b8,#6b8599);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.popup-body { padding: 10px 12px; }
.popup-addr { font-weight: 600; font-size: 11px; color: #111; margin-bottom: 5px; }
.popup-alert {
  background: #fef2f2; border: 1px solid #fca5a5;
  border-radius: 4px; padding: 3px 7px;
  font-size: 10px; font-weight: 700; color: #dc2626;
  margin-bottom: 7px;
}
.popup-meta { font-size: 10px; color: #555; margin-bottom: 8px; }
.popup-btn {
  display: block; text-align: center;
  border-radius: 5px; padding: 5px;
  font-size: 10px; font-weight: 700;
  margin-bottom: 4px; color: #fff;
}
.pb-r{background:#dc2626;} .pb-b{background:#1d4ed8;} .pb-v{background:#7c3aed;}
.map-legend {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(10,10,10,0.75);
  border-radius: 8px;
  padding: 7px 12px;
  display: flex; gap: 12px;
  font-size: 11px; color: #ddd;
  font-family: var(--font-body);
}
.leg-item { display: flex; align-items: center; gap: 5px; }
.leg-dot { width: 9px; height: 9px; border-radius: 50%; }

/* ═══ SECTIONS ═══ */
section { padding: 100px 40px; }
.s-inner { max-width: 1200px; margin: 0 auto; }
.s-label {
  font-size: clamp(22px, 2.5em, 40px);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-head);
}
h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
  transition: color .35s;
}
h2 em { color: var(--gold); font-style: normal; }
.s-sub { font-size: 17px; color: var(--muted); font-weight: 300; max-width: 540px; margin-bottom: 56px; line-height: 1.75; }

/* alt bg */
.bg2-section { background: var(--bg2); transition: background .35s; }
.bg3-section { background: var(--bg3); transition: background .35s; }

/* ─── PROBLEM ─── */
.prob-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prob-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, background .35s;
}
.prob-card:hover { border-color: var(--gold-border); }
.prob-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
}
.pt1::before{background:#ef4444;} .pt2::before{background:#f97316;} .pt3::before{background:var(--gold);}
.prob-icon { font-size: 34px; margin-bottom: 18px; display: block; }
.prob-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.prob-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── STEPS ─── */
.steps-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; position: relative; margin-bottom: 72px;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 31px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.step { text-align: center; padding: 0 20px; }
.step-num {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 22px; font-weight: 900;
  color: var(--gold);
  margin: 0 auto 18px;
  position: relative; z-index: 1;
  transition: background .35s;
}
.step h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 7px; }
.step p { font-size: 13px; color: var(--muted); }

/* screenshot cards */
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background .35s, border-color .35s;
}
.sc-bar {
  background: var(--bg2);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
  transition: background .35s;
}
.sc-body { padding: 24px; }
.mini-map {
  height: 160px;
  background: var(--map-bg);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  transition: background .35s;
}
.mini-map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--street) 1px, transparent 1px),
    linear-gradient(90deg, var(--street) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ─── PROFILES ─── */
.prof-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.prof-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all .3s;
}
.prof-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.prof-emoji { font-size: 40px; margin-bottom: 14px; display: block; }
.prof-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.prof-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.prof-tag {
  display: inline-block;
  margin-top: 14px; padding: 5px 14px;
  border-radius: 100px; font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,0.1);
  color: #1a1508;
  border: 1px solid rgba(0,0,0,0.14);
}
[data-theme="dark"] .prof-tag {
  background: rgba(255,255,255,0.1);
  color: #f0ead8;
  border-color: rgba(255,255,255,0.15);
}

/* ─── FEATURES ─── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all .3s;
}
.feat-card:hover { border-color: var(--gold-border); }
.feat-icon {
  width: 46px; height: 46px;
  background: var(--gold-dim);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 16px;
}
.feat-card h3 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 9px; }
.feat-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ─── PRICING ─── */
.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; align-items: start; }
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: all .3s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border: 2px solid var(--gold);
  background: #f7f7c4;
  box-shadow: 0 0 0 1px var(--gold-border), 0 30px 60px rgba(201,162,39,0.15);
}
[data-theme="dark"] .price-card.featured {
  background: #2a2610;
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #0f0e0b;
  font-size: 11px; font-weight: 700;
  padding: 4px 16px; border-radius: 100px;
  white-space: nowrap; font-family: var(--font-body);
}
.price-plan { font-size: clamp(16px, 1.4em, 24px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--heading); margin-bottom: 5px; font-family: var(--font-head); }
.price-for { font-size: 13px; color: var(--muted); margin-bottom: 20px; font-style: italic; }
.price-num {
  font-family: var(--font-head);
  font-size: 54px; font-weight: 800;
  color: var(--heading); line-height: 1;
  letter-spacing: -2px;
}
.price-per { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.price-div { height: 1px; background: var(--border); margin: 24px 0; }
.price-feats { list-style: none; margin-bottom: 28px; }
.price-feats li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 14px; color: var(--muted); margin-bottom: 11px; line-height: 1.5;
}
.price-feats li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.price-feats li.no::before { content: '×'; color: var(--border2); }
.price-feats li.no { opacity: .4; }
.btn-plan {
  width: 100%; padding: 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all .2s; text-align: center; text-decoration: none; display: block;
  border: 1px solid var(--border2); background: transparent; color: var(--text);
}
.btn-plan:hover { background: var(--bg3); border-color: var(--gold-border); }
.btn-plan.gold { background: var(--gold); border-color: var(--gold); color: #0f0e0b; font-weight: 600; }
.btn-plan.gold:hover { background: #b8911f; }

/* ─── DEMO FORM ─── */
.demo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.demo-form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: background .35s, border-color .35s;
}
.demo-form-box h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--heading); margin-bottom: 6px; }
.demo-form-box > p { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrp { margin-bottom: 14px; }
.fgrp label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; font-family: var(--font-body); }
.fgrp input, .fgrp select, .fgrp textarea {
  width: 100%; background: var(--input-bg); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 10px 13px;
  color: var(--text); font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color .2s, background .2s, color .35s;
}
.fgrp input:focus, .fgrp select:focus, .fgrp textarea:focus { border-color: var(--gold); background: rgba(201,162,39,0.04); }
.fgrp input::placeholder, .fgrp textarea::placeholder { color: var(--muted); }
.fgrp textarea { resize: vertical; min-height: 80px; }
.fgrp select option { background: var(--card); color: var(--text); }
.btn-submit {
  width: 100%; background: var(--gold); color: #0f0e0b;
  border: none; padding: 14px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; margin-top: 6px; transition: background .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: #b8911f; }
.demo-benefits h3 { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--heading); line-height: 1.15; margin-bottom: 32px; }
.ben-list { list-style: none; }
.ben-list li { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.ben-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  color: var(--gold); font-family: var(--font-head); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ben-list li strong { font-size: 15px; color: var(--heading); display: block; margin-bottom: 3px; font-weight: 600; }
.ben-list li p { font-size: 13px; color: var(--muted); margin: 0; }

/* ─── FAQ ─── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; transition: background .35s, border-color .35s; }
.faq-item h4 {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 700;
  color: var(--heading); margin-bottom: 8px;
  background: #22c55e63;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}
[data-theme="dark"] .faq-item h4 {
  background: rgba(34,197,94,0.2);
  color: #a8f0c0;
}
.faq-item p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ─── FOOTER ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
  transition: background .35s;
}
.footer-wrap { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 240px; line-height: 1.7; }
.footer-col h5 { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--heading); margin-bottom: 16px; letter-spacing: .03em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--gold); }
.data-note {
  margin-top: 18px; padding: 13px 18px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px; color: var(--muted); line-height: 1.65;
  transition: background .35s, border-color .35s;
}

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--green); color: #fff;
  padding: 13px 22px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  z-index: 9999; opacity: 0; transform: translateY(16px);
  transition: all .3s; pointer-events: none;
  font-family: var(--font-body);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .prof-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  /*.nav-links, .nav-right { display: none; }*/

	.nav-links { display: none; } /* Mantenemos ocultos los enlaces de texto */

  .nav-right { 
    display: flex; /* Cambiamos de 'none' a 'flex' para que se vea */
    align-items: center;
    gap: 8px;
    margin-right: 10px; /* Espacio respecto a la hamburguesa */
  }
/* Ocultamos el botón de Entrar y el Modo Noche en el nav principal de móvil 
     para dejar espacio solo al botón de Demo */
  .nav-right .btn-login, 
  .nav-right .mode-toggle { 
    display: none; 
  }

  /* Reducimos un poco el tamaño del botón Demo para que quepa bien */
  .btn-demo {
    padding: 6px 12px;
    font-size: 12px;
  }
/**/

  .hamburger { display: flex; }
  section { padding: 70px 20px; }
  #hero { padding: 80px 20px 60px; }
  .prob-grid, .feat-grid, .price-grid, .sc-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-row::before { display: none; }
  .demo-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 20px; }
  .lang-bar { padding: 6px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .modal { padding: 24px 18px; border-radius: var(--radius-md); }
  .modal-overlay { padding: 8px; align-items: flex-start; padding-top: 70px; }
}


	/* Animación de la Lupa */
			.loader-icon {
				display: inline-block;
				animation: scan 1.5s infinite ease-in-out;
			}

			@keyframes scan {
				0%, 100% { transform: rotate(-10deg) translate(0, 0); }
				50% { transform: rotate(20deg) translate(5px, -5px); }
			}

			/* Animación de los puntos suspensivos (escribiendo...) */
			.dot-typing::after {
				content: '...';
				display: inline-block;
				width: 20px;
				text-align: left;
				animation: dots 1.5s steps(4, end) infinite;
			}

			@keyframes dots {
				0%, 20% { content: ''; }
				40% { content: '.'; }
				60% { content: '..'; }
				80%, 100% { content: '...'; }
			}

.auth-error-msg { background: #fee2e2; color: #dc2626; padding: 10px; border-radius: 8px; font-size: 14px; margin-bottom: 15px; border: 1px solid #fecaca; text-align: center; }