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

:root {
  --bg:        #0f0f1a;
  --bg2:       #13131f;
  --surface:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --violet:    #7c3aed;
  --violet2:   #6d28d9;
  --blue:      #3b82f6;
  --grad:      linear-gradient(135deg, #7c3aed, #3b82f6);
  --text:      #f1f5f9;
  --muted:     #94a3b8;
  --radius:    16px;
  font-family: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn-primary {
  background: var(--grad);
  color: #fff; border: none; border-radius: 12px;
  padding: 14px 28px; font-weight: 600; font-size: 15px;
  cursor: pointer; display: inline-block; transition: opacity .2s, transform .15s;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 28px; font-weight: 500; font-size: 15px;
  cursor: pointer; display: inline-block; transition: background .2s;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-sm  { padding: 10px 20px; font-size: 14px; }
.btn-lg  { padding: 16px 36px; font-size: 16px; border-radius: 14px; }
.btn-full { width: 100%; text-align: center; }

/* ── Badge ── */
.badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px; font-size: 13px; font-weight: 500;
  color: #a78bfa; margin-bottom: 20px;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(15,15,26,0.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px;
}
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); display: inline-block;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto; font-size: 14px; color: var(--muted);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); padding: 7px 14px; border-radius: 8px;
  font-size: 13px; cursor: pointer; font-family: inherit;
}
.lang-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #1a1a2e; border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; min-width: 160px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 200;
  max-height: 320px; overflow-y: auto;
}
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px; font-size: 14px;
  color: var(--muted); transition: background .15s;
}
.lang-dropdown a:hover { background: var(--surface); color: var(--text); }
.lang-dropdown a.active { color: var(--text); background: rgba(124,58,237,0.15); }

/* ── HERO ── */
.hero {
  padding: 160px 0 100px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 40%, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 18px; color: var(--muted); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-proof { font-size: 13px; color: var(--muted); margin-bottom: 60px; }

/* Chat preview */
.hero-preview {
  max-width: 560px; margin: 0 auto;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
}
.preview-bar {
  background: rgba(255,255,255,0.04); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.preview-dot.red    { background: #ff5f57; }
.preview-dot.yellow { background: #ffbd2e; }
.preview-dot.green  { background: #28c840; }
.preview-title { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.preview-chat { padding: 20px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.preview-msg {
  padding: 12px 16px; border-radius: 14px; font-size: 14px; max-width: 85%; line-height: 1.5;
}
.preview-msg.sophie {
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.preview-msg.user {
  background: var(--grad); color: #fff;
  align-self: flex-end; border-bottom-right-radius: 4px;
}
.preview-cursor {
  width: 8px; height: 18px; background: var(--violet);
  border-radius: 2px; align-self: flex-start;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── FEATURES ── */
.features { padding: 100px 0; }
.section-title { font-size: clamp(28px,4vw,44px); font-weight: 700; text-align: center; margin-bottom: 16px; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 60px; font-size: 17px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── HOW ── */
.how { padding: 100px 0; background: var(--bg2); }
.steps { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 60px; }
.step { flex: 1; min-width: 220px; max-width: 280px; text-align: center; }
.step-num {
  font-size: 48px; font-weight: 800; color: transparent;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p   { font-size: 14px; color: var(--muted); }
.step-arrow { font-size: 24px; color: var(--muted); flex-shrink: 0; }

/* ── PRICING ── */
.pricing { padding: 100px 0; }
.plans { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 60px; }
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; width: 300px;
  display: flex; flex-direction: column; gap: 20px; position: relative;
}
.plan-featured {
  border-color: var(--violet); background: rgba(124,58,237,0.08);
  box-shadow: 0 0 40px rgba(124,58,237,0.15);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); padding: 4px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.plan-name  { font-size: 18px; font-weight: 600; }
.plan-price { font-size: 42px; font-weight: 800; }
.plan-price span { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { font-size: 14px; color: var(--muted); }

/* ── FAQ ── */
.faq { padding: 100px 0; background: var(--bg2); }
.faq-list { max-width: 700px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; font-weight: 500; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--violet); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 24px 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 120px 0; text-align: center;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 70%);
}
.cta-section h2 { font-size: clamp(28px,4vw,44px); font-weight: 700; margin-bottom: 16px; }
.cta-section p  { color: var(--muted); font-size: 17px; margin-bottom: 36px; }

/* ── FOOTER ── */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-disclaimer { font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 24px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .footer-top { flex-direction: column; }
}
