/* ============================================================
   CondoSeguridad — Landing Page CSS
   Vanilla CSS, sin frameworks, tema oscuro + light opcional
   ============================================================ */

/* ── Custom Properties ────────────────────────────────────── */
:root {
  --bg:        #0f172a;
  --surface:   #1e293b;
  --surface2:  #162032;
  --border:    #334155;
  --border2:   #1e3a5f;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --accent:    #06b6d4;
  --accent2:   #0ea5e9;
  --success:   #22c55e;
  --warning:   #f59e0b;
  --danger:    #ef4444;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.55);
  --transition: .22s ease;
  --nav-h:     68px;
  --font:      system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

[data-theme="light"] {
  --bg:       #f1f5f9;
  --surface:  #ffffff;
  --surface2: #e2e8f0;
  --border:   #cbd5e1;
  --border2:  #bae6fd;
  --text:     #0f172a;
  --muted:    #475569;
  --shadow:   0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:0 20px 60px rgba(0,0,0,.18);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent2); }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; }

/* ── Utilities ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(6,182,212,.15);
  border: 1px solid rgba(6,182,212,.35);
  color: var(--accent);
  border-radius: 100px; padding: 5px 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px;
  font-size: 13px; color: var(--muted);
}

.chip-success { border-color: rgba(34,197,94,.4); color: var(--success); background: rgba(34,197,94,.08); }
.chip-accent  { border-color: rgba(6,182,212,.4);  color: var(--accent);  background: rgba(6,182,212,.08); }

.section-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.15;
  color: var(--text); margin-bottom: 16px;
}

.section-sub {
  font-size: 17px; color: var(--muted);
  max-width: 580px; line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; letter-spacing: .02em;
  transition: all var(--transition); white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0f172a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6,182,212,.45);
  color: #0f172a;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(6,182,212,.06);
}

.btn-sm {
  padding: 9px 18px; font-size: 13px; border-radius: 8px;
}

.btn-block { width: 100%; justify-content: center; }

.btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  transition: all var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

/* ── Navbar ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(15,23,42,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.nav.scrolled {
  border-color: var(--border);
  background: rgba(15,23,42,.96);
}

[data-theme="light"] .nav { background: rgba(241,245,249,.9); }
[data-theme="light"] .nav.scrolled { background: rgba(255,255,255,.97); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; color: var(--text);
  text-decoration: none; flex-shrink: 0;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 9px; display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 6px;
}

.nav-links a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 7px 12px; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }

.nav-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}

.lang-btn {
  padding: 6px 11px; font-size: 12px; font-weight: 700;
  letter-spacing: .04em; background: transparent;
  color: var(--muted); border: none; transition: all var(--transition);
  cursor: pointer;
}
.lang-btn.active {
  background: var(--accent); color: #0f172a;
}

/* Theme toggle */
.theme-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); cursor: pointer;
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px; cursor: pointer;
  transition: all var(--transition);
}
.hamburger span {
  display: block; 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; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 999;
  padding: 24px; overflow-y: auto;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 17px; font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.mobile-menu a:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.mobile-menu-actions {
  display: flex; flex-direction: column; gap: 10px; margin-top: 16px;
}
.mobile-menu-bottom {
  display: flex; align-items: center; gap: 12px; margin-top: 8px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 90px;
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(6,182,212,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .08;
}

.hero-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 28px;
}

.hero-badge { margin-bottom: 4px; }

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 820px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted); max-width: 620px; line-height: 1.7;
}

.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

.hero-pwa {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.hero-pwa::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* Stats grid */
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 16px; width: 100%; max-width: 720px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px; text-align: center;
  transition: all var(--transition);
}
.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(6,182,212,.15);
}

.stat-icon { font-size: 26px; margin-bottom: 8px; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

/* ── Features ─────────────────────────────────────────────── */
.features { padding: 96px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--transition);
}

.feature-card:hover {
  border-color: rgba(6,182,212,.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}

.feature-title {
  font-size: 17px; font-weight: 700;
  color: var(--text); margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px; color: var(--muted); line-height: 1.65;
}

/* ── How It Works ─────────────────────────────────────────── */
.how {
  padding: 96px 0;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 56px; position: relative;
}

.steps::before {
  content: ''; position: absolute;
  top: 36px; left: calc(16.6% + 24px); right: calc(16.6% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: .35;
}

.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 20px; position: relative;
}

.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900; color: #0f172a;
  margin-bottom: 20px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px rgba(6,182,212,.12);
}

.step-title {
  font-size: 17px; font-weight: 700; margin-bottom: 10px;
  color: var(--text);
}

.step-desc {
  font-size: 14px; color: var(--muted); line-height: 1.65;
}

/* ── QR Section ───────────────────────────────────────────── */
.qr-section {
  padding: 96px 0;
  background: linear-gradient(135deg, rgba(6,182,212,.06) 0%, rgba(14,165,233,.06) 100%);
  border-top: 1px solid rgba(6,182,212,.15);
  border-bottom: 1px solid rgba(6,182,212,.15);
}

.qr-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.qr-diagram {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.8;
  position: relative;
}

.qr-diagram-title {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.qr-flow-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid rgba(51,65,85,.5);
}
.qr-flow-step:last-child { border-bottom: none; }

.qr-step-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(6,182,212,.12); border: 1px solid rgba(6,182,212,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

.qr-step-text { font-size: 13px; color: var(--text); }
.qr-step-text small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }

.qr-badge-row {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing { padding: 96px 0; }

.pricing-controls {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; margin: 40px 0 52px;
}

/* Billing toggle */
.toggle-group {
  display: flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px;
}

.toggle-btn {
  padding: 8px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 600; background: transparent;
  color: var(--muted); transition: all var(--transition); cursor: pointer;
  border: none;
}
.toggle-btn.active {
  background: var(--accent); color: #0f172a;
}

.toggle-save {
  font-size: 11px; color: var(--success); font-weight: 700;
  letter-spacing: .04em;
  background: rgba(34,197,94,.12); border-radius: 100px;
  padding: 2px 8px; margin-left: 4px;
}

/* Currency toggle */
.currency-toggle {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px;
}

.currency-btn {
  padding: 6px 14px; border-radius: 6px;
  font-size: 13px; font-weight: 700;
  background: transparent; color: var(--muted);
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.currency-btn.active {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

/* Plans grid */
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: stretch;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: all var(--transition); position: relative;
}

.plan-card.popular {
  border-color: var(--accent);
  background: linear-gradient(165deg, rgba(6,182,212,.06) 0%, var(--surface) 60%);
  box-shadow: 0 0 0 1px rgba(6,182,212,.3), var(--shadow);
  transform: scale(1.03);
}

.plan-popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0f172a; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}

.plan-price-block { margin-bottom: 6px; }

.plan-price {
  font-size: 42px; font-weight: 900; line-height: 1;
  color: var(--text);
}
.plan-price-unit {
  font-size: 16px; color: var(--muted); font-weight: 500;
}

.plan-period {
  font-size: 13px; color: var(--muted); margin-bottom: 6px;
}

.plan-annual-note {
  font-size: 12px; color: var(--success); font-weight: 600;
  margin-bottom: 20px; min-height: 18px;
}

.plan-limits {
  display: flex; gap: 16px; margin-bottom: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plan-limit { font-size: 13px; color: var(--muted); }
.plan-limit strong { display: block; font-size: 16px; font-weight: 700; color: var(--text); }

.plan-features { flex: 1; margin-bottom: 28px; }

.plan-feat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--muted); padding: 6px 0;
}

.plan-feat::before {
  content: '✓'; color: var(--success); font-weight: 700;
  font-size: 13px; flex-shrink: 0; margin-top: 2px;
}

.plan-feat.highlight { color: var(--text); }

/* ── Security Section ─────────────────────────────────────── */
.security {
  padding: 96px 0;
  background: var(--surface2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.security-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin: 32px 0 40px;
}

.security-text {
  max-width: 680px; margin: 0 auto;
  font-size: 16px; color: var(--muted); line-height: 1.8;
  text-align: center;
}

/* ── AI Advisor ───────────────────────────────────────────── */
.ai-section { padding: 96px 0; }

.ai-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.ai-chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.ai-chat-header {
  background: rgba(6,182,212,.1);
  border-bottom: 1px solid rgba(6,182,212,.2);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
}

.ai-chat-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.ai-chat-title { font-size: 14px; font-weight: 700; color: var(--accent); }

.ai-chat-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.ai-msg {
  max-width: 80%; font-size: 14px; line-height: 1.6;
  padding: 12px 16px; border-radius: 14px;
}

.ai-msg.user {
  align-self: flex-end;
  background: rgba(6,182,212,.15);
  border: 1px solid rgba(6,182,212,.25);
  color: var(--text);
  border-bottom-right-radius: 4px;
}

.ai-msg.bot {
  align-self: flex-start;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.ai-typing {
  display: flex; gap: 4px; align-items: center; padding: 8px 0;
}
.ai-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: bounce 1.2s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { padding: 96px 0; }

.faq-list { margin-top: 52px; max-width: 740px; margin-left: auto; margin-right: auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open { border-color: rgba(6,182,212,.4); }

.faq-q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 14px;
  padding: 20px 22px; background: var(--surface);
  font-size: 15px; font-weight: 600; color: var(--text);
  text-align: left; cursor: pointer; border: none;
  transition: background var(--transition);
}
.faq-q:hover { background: rgba(6,182,212,.05); }

.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
  color: var(--accent); transition: transform var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  background: var(--surface);
}
.faq-a-inner {
  padding: 0 22px 20px;
  font-size: 14px; color: var(--muted); line-height: 1.75;
}

.faq-item.open .faq-a { max-height: 400px; }

/* ── PWA Banner ───────────────────────────────────────────── */
.pwa-bar {
  display: none; position: fixed; bottom: 24px;
  left: 50%; transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 12px 20px;
  box-shadow: var(--shadow-lg);
  align-items: center; gap: 12px; z-index: 800;
  white-space: nowrap;
}
.pwa-bar.show { display: flex; }
.pwa-bar-text { font-size: 14px; color: var(--text); }
.pwa-bar-close {
  background: none; border: none; color: var(--muted);
  font-size: 18px; cursor: pointer; padding: 0 4px;
  line-height: 1; transition: color var(--transition);
}
.pwa-bar-close:hover { color: var(--text); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-desc {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  margin-top: 14px; max-width: 260px;
}

.footer-col-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); margin-bottom: 16px;
}

.footer-col a {
  display: block; font-size: 14px; color: var(--muted);
  margin-bottom: 10px; transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}

/* ── Scroll animations ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ── Divider ─────────────────────────────────────────────── */
.divider-glow {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .3; margin: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .plans-grid    { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-card.popular { transform: none; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger  { display: flex; }

  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }

  .features-grid { grid-template-columns: 1fr; }
  .features      { padding: 60px 0; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .how           { padding: 60px 0; }

  .qr-inner  { grid-template-columns: 1fr; }
  .qr-section{ padding: 60px 0; }

  .pricing   { padding: 60px 0; }

  .ai-inner  { grid-template-columns: 1fr; }
  .ai-section{ padding: 60px 0; }

  .faq       { padding: 60px 0; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer       { padding: 48px 0 32px; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats  { grid-template-columns: 1fr; }
  .hero-ctas   { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .container   { padding: 0 16px; }
  .plan-card   { padding: 24px 20px; }
  .plans-grid  { max-width: 100%; }
}
