:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f9f9f7;
  --gray-100: #f0efeb;
  --gray-200: #e2e1db;
  --gray-400: #a8a69e;
  --gray-600: #6b6960;
  --gray-800: #2e2d29;
  --accent: #0a0a0a;
  --accent-light: #1a1a1a;
  --green: #22c55e;
  --green-light: #dcfce7;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--black);
  text-decoration: none;
}

.nav-logo span { color: var(--gray-400); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gray-800) !important; }

/* ── HERO ── */
.hero {
  padding: 160px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 100vh;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: #15803d;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

.hero p {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.btn-secondary {
  color: var(--black);
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--gray-200);
  transition: border-color 0.2s;
}

.btn-secondary:hover { border-color: var(--gray-400); }

.hero-social-proof {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-social-proof p {
  font-size: 13px;
  color: var(--gray-400);
  margin: 0;
}

.stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }

/* Hero Visual */
.hero-visual {
  position: relative;
}

.demo-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--black), var(--gray-400));
  border-radius: 20px 20px 0 0;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.demo-dots { display: flex; gap: 6px; }
.demo-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
}
.demo-dots span:first-child { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-url {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--gray-400);
  font-family: monospace;
}

.camera-preview {
  background: var(--black);
  border-radius: 12px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.camera-face {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gray-600);
  position: relative;
  opacity: 0.6;
}

.camera-scan {
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
}

.scan-corner {
  position: absolute;
  width: 16px; height: 16px;
}

.scan-corner::before, .scan-corner::after {
  content: '';
  position: absolute;
  background: #22c55e;
  border-radius: 1px;
}

.scan-corner::before { width: 2px; height: 100%; }
.scan-corner::after { width: 100%; height: 2px; }

.scan-corner.tl { top: 0; left: 0; }
.scan-corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.scan-corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }
.scan-corner.br { bottom: 0; right: 0; transform: scale(-1); }

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: #15803d;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

.status-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.timer-display {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
}

.progress-bar {
  background: var(--gray-200);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: 100px;
  width: 72%;
  position: relative;
  animation: progress-anim 3s ease-in-out infinite alternate;
}

@keyframes progress-anim {
  from { width: 55%; }
  to { width: 88%; }
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-400);
}

/* ── STATS ── */
.stats {
  background: var(--black);
  padding: 60px 40px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.stat-label {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 300;
}

/* ── HOW IT WORKS ── */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-600);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 64px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--gray-200);
  border-radius: 20px;
  overflow: hidden;
}

.step {
  background: var(--white);
  padding: 48px;
  position: relative;
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -3px;
}

.step h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
}

.step-icon {
  position: absolute;
  top: 48px; right: 48px;
  width: 40px; height: 40px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ── FEATURES ── */
.features-section {
  background: var(--gray-50);
  padding: 100px 40px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 36px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--gray-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  font-weight: 300;
}

/* ── PRICING ── */
.pricing-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  align-items: start;
}

.plan-card {
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.plan-card.featured {
  background: var(--black);
  border-color: var(--black);
  transform: scale(1.04);
}

.plan-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.plan-card.featured .plan-name { color: rgba(255,255,255,0.5); }

.plan-price {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 4px;
}

.plan-card.featured .plan-price { color: var(--white); }

.plan-period {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.plan-card.featured .plan-period { color: rgba(255,255,255,0.4); }

.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}

.plan-card.featured .plan-features li {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.08);
}

.plan-features li::before {
  content: '✓';
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-features li.disabled { opacity: 0.3; }
.plan-features li.disabled::before { content: '—'; color: var(--gray-400); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  border: 1.5px solid var(--gray-200);
  color: var(--black);
}

.plan-btn:hover { border-color: var(--black); }

.plan-card.featured .plan-btn {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.plan-card.featured .plan-btn:hover { background: var(--gray-100); }

/* ── FAQ ── */
.faq-section {
  background: var(--gray-50);
  padding: 100px 40px;
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list { margin-top: 64px; }

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}

.faq-question span {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.3px;
}

.faq-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--gray-600);
  transition: transform 0.3s;
}

.faq-answer {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  padding-bottom: 24px;
  font-weight: 300;
  display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--black); color: var(--black); }

/* ── DOCS ── */
.docs-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.doc-card {
  border: 1.5px solid var(--gray-200);
  border-radius: 14px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-card:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}

.doc-icon {
  font-size: 24px;
  width: 44px; height: 44px;
  background: var(--gray-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.3px;
}

.doc-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 300;
}

.doc-arrow {
  margin-top: auto;
  font-size: 18px;
  color: var(--gray-400);
  transition: transform 0.2s, color 0.2s;
}

.doc-card:hover .doc-arrow { transform: translateX(4px); color: var(--black); }

/* ── CTA ── */
.cta-section {
  background: var(--black);
  padding: 100px 40px;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  font-size: 18px;
  color: var(--gray-400);
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--black);
  padding: 18px 40px;
  font-size: 16px;
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
}

.footer-logo span { color: rgba(255,255,255,0.3); font-weight: 400; }

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 120px 20px 60px; gap: 48px; min-height: auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 20px; }
  .steps { grid-template-columns: 1fr; }
  .features-section { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-section { padding: 60px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  .faq-section { padding: 60px 20px; }
  .docs-section { padding: 60px 20px; }
  .docs-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 60px 20px; }
  footer { padding: 32px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
