:root {
  --bg: #0b1120;
  --surface: #131c31;
  --elevated: #1e293b;
  --border: #283548;
  --emerald: #10b981;
  --emerald-dark: #042f2e;
  --amber: #f59e0b;
  --cyan: #06b6d4;
  --rose: #f43f5e;
  --text: #f8fafc;
  --muted: #94a3b8;
  --radius: 14px;
  --max-w: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 76px;
}

a { color: var(--emerald); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 12px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-weight: 800; font-size: 1.08rem; text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang-pill {
  padding: 5px 11px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  background: var(--elevated); border: 1px solid var(--border); color: var(--text) !important;
}

/* Hero */
.hero {
  padding: 48px 0 36px;
  background: radial-gradient(circle at 75% 15%, rgba(16, 185, 129, 0.14), transparent 48%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald); margin-bottom: 14px;
}
h1 {
  margin: 0 0 14px; font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15; font-weight: 900; letter-spacing: -0.02em;
}
.lead { font-size: 1.08rem; color: var(--muted); margin: 0 0 22px; max-width: 56ch; }

/* Store CTAs */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 20px; border-radius: 12px; font-weight: 800; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--emerald); color: var(--emerald-dark); }
.btn-secondary { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-qr { background: var(--elevated); border-color: var(--border); color: var(--amber); }
.trust-note { font-size: 0.86rem; color: var(--amber); font-weight: 700; margin: 0; }

/* Interactive Before/After AI Count Demo Card */
.demo-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 16px;
}
.demo-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 10px;
}
.demo-total {
  background: rgba(16, 185, 129, 0.18); border: 1px solid rgba(16, 185, 129, 0.5);
  color: var(--emerald); padding: 4px 12px; border-radius: 10px;
  font-weight: 900; font-size: 0.95rem;
}
.demo-toggle {
  background: var(--elevated); border: 1px solid var(--border); color: var(--text);
  padding: 6px 12px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer;
}
.demo-canvas {
  position: relative; border-radius: 12px; overflow: hidden;
  background: #080d1a; border: 1px solid var(--border);
}
.demo-canvas svg { width: 100%; height: auto; display: block; }
.demo-pins { transition: opacity 0.25s ease; }
.demo-canvas[data-state="before"] .demo-pins { opacity: 0.08; }

/* Sections & Grids */
.section { padding: 44px 0; }
.section-alt { background: rgba(19, 28, 49, 0.45); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); margin: 0 0 10px; font-weight: 800; }
.section-sub { color: var(--muted); margin: 0 0 26px; max-width: 65ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.tag {
  display: inline-block; font-size: 0.76rem; font-weight: 800;
  padding: 3px 9px; border-radius: 6px; margin-bottom: 10px;
  background: rgba(16, 185, 129, 0.14); color: var(--emerald);
}
.tag-amber { background: rgba(245, 158, 11, 0.16); color: var(--amber); }
.tag-cyan { background: rgba(6, 182, 212, 0.16); color: var(--cyan); }

/* Pricing */
.price-big { font-size: 2.1rem; font-weight: 900; color: var(--emerald); margin: 6px 0; }
.price-list { padding-inline-start: 18px; margin: 12px 0 18px; color: var(--muted); font-size: 0.93rem; }
.price-list li { margin-bottom: 6px; }

/* FAQ */
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
}
.faq-item h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; color: var(--text); }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border); padding: 32px 0 24px;
  color: var(--muted); font-size: 0.88rem;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

/* Mobile Sticky Bottom CTA */
.sticky-cta {
  display: none; position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  background: rgba(19, 28, 49, 0.97); border-top: 1px solid var(--border);
  padding: 10px 14px; align-items: center; justify-content: space-between; gap: 10px;
}
.sticky-cta-info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sticky-cta-info img { width: 38px; height: 38px; border-radius: 9px; }
.sticky-cta-title { font-weight: 800; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta-sub { font-size: 0.76rem; color: var(--emerald); font-weight: 700; }

/* Desktop QR Modal */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 60;
  background: rgba(0, 0, 0, 0.75); align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop[data-open="true"] { display: flex; }
.modal-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  max-width: 360px; width: 100%; padding: 22px; text-align: center;
}
.modal-box h3 { margin: 0 0 8px; }
.modal-box p { margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; }
.qr-wrap {
  background: #ffffff; padding: 14px; border-radius: 12px;
  display: inline-block; margin-bottom: 14px;
}

@media (max-width: 880px) {
  .hero-grid, .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  .btn-qr { display: none; }
}
