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

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-glow: rgba(59,130,246,.15);
  --bg: #09090b;
  --surface: #18181b;
  --surface2: #27272a;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --border: #27272a;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #eab308;
  --radius: 12px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- NAV --- */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2rem; max-width: 1200px; margin: 0 auto;
}
.logo {
  font-size: 1.4rem; font-weight: 700; display: flex; align-items: center;
  gap: .5rem; color: var(--text); text-decoration: none;
}
.logo svg { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--primary); color: white !important; padding: .5rem 1.2rem;
  border-radius: 8px; font-weight: 600; transition: background .2s;
}
.btn-nav:hover { background: var(--primary-dark); }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: white; padding: .7rem 1.6rem;
  border-radius: 10px; font-size: .95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; transition: all .2s;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 20px var(--primary-glow); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--text-muted); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .7rem 1.2rem; transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent; color: var(--text); padding: .7rem 1.6rem;
  border-radius: 10px; font-size: .95rem; font-weight: 600;
  border: 1px solid var(--border); cursor: pointer; text-decoration: none; transition: all .2s;
}
.btn-outline:hover { border-color: var(--text-muted); }
.btn-imessage {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #34c759; color: white; padding: .7rem 1.6rem; flex: 1;
  border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .2s;
}
.btn-imessage:hover { background: #2db84d; }

/* --- HERO --- */
.hero {
  text-align: center; padding: 5rem 2rem 3rem;
  max-width: 800px; margin: 0 auto;
}
.hero-badge {
  display: inline-block; background: var(--primary-glow); color: var(--primary);
  font-size: .8rem; font-weight: 600; padding: .35rem 1rem;
  border-radius: 20px; margin-bottom: 1.5rem; border: 1px solid rgba(59,130,246,.25);
}
.hero h1 { font-size: 3.8rem; line-height: 1.08; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -.03em; }
.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem;
  max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-platforms { color: var(--text-muted); font-size: .85rem; }
.hero-platforms span { margin-right: .5rem; }
.platform-badges { display: inline-flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
.badge-pill {
  background: var(--surface); border: 1px solid var(--border);
  padding: .2rem .7rem; border-radius: 6px; font-size: .8rem; font-weight: 500; color: var(--text-muted);
}

/* --- DEMO --- */
.demo-section { max-width: 700px; margin: 0 auto 4rem; padding: 0 2rem; }
.demo-window {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.demo-header {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1.2rem; border-bottom: 1px solid var(--border); background: var(--surface2);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); }
.demo-title { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.demo-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.chat-msg { display: flex; gap: .6rem; }
.chat-msg.user { justify-content: flex-end; }
.chat-bubble {
  max-width: 85%; padding: .8rem 1rem; border-radius: 14px;
  font-size: .9rem; line-height: 1.5;
}
.user-bubble { background: var(--primary); color: white; border-bottom-right-radius: 4px; }
.assistant-bubble { background: var(--surface2); color: var(--text); border-bottom-left-radius: 4px; }
.assistant-bubble p { margin-bottom: .5rem; }
.assistant-bubble p:last-child { margin-bottom: 0; }
.chat-avatar {
  width: 28px; height: 28px; border-radius: 8px; background: var(--primary-glow);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary);
}
.chat-card {
  background: var(--bg); border-radius: 8px; padding: .6rem .8rem;
  margin: .4rem 0; font-size: .82rem;
}
.card-row { padding: .25rem 0; display: flex; align-items: center; gap: .4rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }
.demo-stats {
  display: flex; justify-content: center; gap: 3rem; margin-top: 1.5rem;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: .8rem; color: var(--text-muted); }

/* --- START / REGISTRATION --- */
.start { padding: 4rem 2rem; max-width: 650px; margin: 0 auto; }
.start h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: .95rem; }
.start-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
}
.steps-row { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: 2rem; }
.step-card { text-align: center; flex: 1; }
.step-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--primary-glow);
  display: flex; align-items: center; justify-content: center; margin: 0 auto .5rem;
  color: var(--primary);
}
.step-num-label { font-size: .7rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: .05em; }
.step-card p { font-size: .85rem; color: var(--text); font-weight: 500; }
.step-arrow { color: var(--border); flex-shrink: 0; }

.code-section { margin-bottom: 1.5rem; }
.code-display {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; display: flex; gap: 1.5rem; align-items: center;
}
.qr-container {
  width: 160px; height: 160px; flex-shrink: 0;
  background: white; border-radius: 10px; padding: 10px;
  display: flex; align-items: center; justify-content: center;
}
.qr-container svg { width: 100%; height: 100%; }
.code-meta { flex: 1; text-align: left; }
.code-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; margin-bottom: .3rem; }
.code { font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; font-family: 'SF Mono', 'Fira Code', monospace; color: var(--primary); margin-bottom: .8rem; }
.code-phone, .code-timer { display: flex; align-items: center; gap: .4rem; color: var(--text-muted); font-size: .85rem; margin-bottom: .3rem; }
.code-timer { color: var(--primary); }
.code-actions { display: flex; gap: .6rem; margin-top: 1rem; }
.start-note {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  color: var(--text-muted); font-size: .8rem; margin-top: 1rem; text-align: center;
}

/* --- FEATURES --- */
.features { padding: 5rem 2rem; max-width: 1100px; margin: 0 auto; }
.features h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: .5rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; transition: border-color .2s;
}
.feature-card:hover { border-color: var(--primary); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary-glow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--primary);
}
.feature-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.feature-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.5; }

/* --- USE CASES --- */
.use-cases { padding: 3rem 2rem 5rem; max-width: 900px; margin: 0 auto; }
.use-cases h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }
.use-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.use-case {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.use-case-tag {
  display: inline-block; background: var(--primary-glow); color: var(--primary);
  font-size: .72rem; font-weight: 600; padding: .2rem .6rem;
  border-radius: 6px; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .04em;
}
.use-case p { color: var(--text-muted); font-size: .9rem; font-style: italic; }

/* --- PRICING --- */
.pricing { padding: 5rem 2rem; max-width: 1000px; margin: 0 auto; }
.pricing h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; position: relative;
}
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 30px var(--primary-glow); }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; font-size: .72rem; font-weight: 700;
  padding: .3rem 1rem; border-radius: 20px; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em;
}
.pricing-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .3rem; }
.price { font-size: 2.8rem; font-weight: 800; margin-bottom: .3rem; letter-spacing: -.02em; }
.price span { font-size: .95rem; color: var(--text-muted); font-weight: 400; }
.price-desc { color: var(--text-muted); font-size: .85rem; margin-bottom: 1.5rem; }
.pricing-card ul { list-style: none; margin-bottom: 1.5rem; }
.pricing-card li {
  padding: .45rem 0; color: var(--text-muted); font-size: .9rem;
  display: flex; align-items: center; gap: .5rem;
}
.pricing-card li svg { color: var(--green); flex-shrink: 0; }

/* --- FAQ --- */
.faq { padding: 5rem 2rem; max-width: 700px; margin: 0 auto; }
.faq h2 { text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 1rem 0;
}
.faq-item summary {
  font-weight: 600; font-size: .95rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; color: var(--text);
}
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-muted); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { color: var(--text-muted); font-size: .9rem; padding-top: .8rem; line-height: 1.6; }

/* --- FINAL CTA --- */
.final-cta {
  text-align: center; padding: 5rem 2rem;
  background: linear-gradient(180deg, transparent 0%, var(--primary-glow) 100%);
}
.final-cta h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: .5rem; }
.final-cta p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--border); padding: 3rem 2rem 2rem; }
.footer-grid {
  display: flex; gap: 4rem; max-width: 1000px; margin: 0 auto 2rem; flex-wrap: wrap;
}
.footer-col { min-width: 150px; }
.footer-logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: .5rem; }
.footer-logo svg { color: var(--primary); }
.footer-col p { color: var(--text-muted); font-size: .85rem; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: .8rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: .85rem; padding: .2rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: .8rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  nav { padding: 1rem; }
  .nav-links { gap: 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .code-display { flex-direction: column; text-align: center; }
  .code-meta { text-align: center; }
  .code-phone, .code-timer { justify-content: center; }
  .qr-container { width: 180px; height: 180px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .demo-stats { gap: 1.5rem; }
  .footer-grid { flex-direction: column; gap: 2rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .nav-links a:not(.btn-nav) { display: none; }
  .code-actions { flex-direction: column; }
}
