:root {
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg: #f6f8fc;
  --text: #111827;
  --muted: #4b5563;
  --white: #ffffff;
  --green: #00c853;
  --blue: #00b0ff;
  --coral: #ff6b6b;
  --purple: #7c4dff;
  --shadow: 0 8px 30px rgba(17, 24, 39, 0.08);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(0, 184, 255, 0.1);
  color: #0091cc;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background: linear-gradient(135deg, #d0fbe9 0%, #d6f3ff 50%, #f0e6ff 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.16) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.lead {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 176, 255, 0.25);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--white);
  border-radius: 40px;
  box-shadow: var(--shadow), 0 24px 60px rgba(0, 176, 255, 0.18);
  padding: 14px;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(180deg, #eafff4 0%, #f6f8fc 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.scan-preview {
  width: 180px;
  height: 260px;
  background: linear-gradient(135deg, #c8f6e8 0%, #b3e5fc 100%);
  border-radius: 20px;
  border: 3px dashed rgba(0, 176, 255, 0.4);
}

.result-chip {
  background: var(--white);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  color: var(--green);
}

/* Sections */
section {
  padding: 96px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-6px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card-green .feature-icon { background: #e8f5e9; }
.card-blue .feature-icon { background: #e1f5fe; }
.card-coral .feature-icon { background: #ffebee; }
.card-purple .feature-icon { background: #ede7f6; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* How it works */
.how-it-works {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.steps h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Download */
.download {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: var(--white);
}

.download-inner {
  text-align: center;
}

.download .section-title {
  color: var(--white);
}

.download-lead {
  color: #d1d5db;
  max-width: 600px;
  margin: -32px auto 40px;
  font-size: 1.1rem;
}

.store-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 180px;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s;
}

.store-badge:not(.disabled):hover {
  background: rgba(255, 255, 255, 0.16);
}

.store-badge.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.store-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.store-soon {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Page hero */
.page-hero {
  padding: 80px 0 40px;
  background: linear-gradient(135deg, #d0fbe9 0%, #d6f3ff 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero .lead {
  margin-bottom: 0;
}

/* Support */
.support-content {
  padding-top: 48px;
  padding-bottom: 96px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.support-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}

.support-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.support-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.support-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 16px;
  margin-bottom: 0 !important;
}

.faq h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--blue);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.95rem;
}

.faq-item a {
  color: var(--blue);
  text-decoration: underline;
}

/* Legal */
.legal-content {
  padding-top: 48px;
  padding-bottom: 120px;
}

.legal-inner {
  max-width: 820px;
}

.legal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.legal-card h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.legal-card ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-card a {
  color: var(--blue);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--text);
}

.copyright {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-row {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 28px;
  }
}
