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

:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --border: rgba(255,255,255,0.08);
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --purple-dark: #6d28d9;
  --green: #22c55e;
  --text: #f0f0f5;
  --text2: #a0a0b0;
  --text3: #606070;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── GRADIENTS ── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), #c084fc, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.logo-icon { font-size: 22px; }
.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
}
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 4px 24px rgba(139,92,246,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text2);
}
.btn-ghost:hover { color: var(--text); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple-light); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── HERO ── */
.hero {
  padding: 160px 24px 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(139,92,246,0.3);
  color: var(--purple-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 60px;
}

/* Browser mockup */
.hero-mockup {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  max-width: 480px;
  margin: 0 auto;
}
.mockup-bar {
  background: var(--bg2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.mockup-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text3);
  background: var(--bg3);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.mockup-body { padding: 16px; }
.mockup-panel {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.mockup-logo { font-size: 20px; }
.mockup-title { font-size: 14px; font-weight: 700; }
.mockup-sub { font-size: 11px; color: var(--text3); }
.mockup-badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}
.mockup-badge.pro { background: var(--green); color: #fff; }
.mockup-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 14px;
}
.tab {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.tab.active { color: var(--purple-light); border-color: var(--purple); }
.mockup-content { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mockup-line {
  height: 10px;
  background: var(--bg3);
  border-radius: 4px;
  animation: shimmer 2s ease-in-out infinite;
}
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w88 { width: 88%; } .w95 { width: 95%; }
@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
.mockup-toolbar {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
}
.tb-btn {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
}
.tb-btn.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* ── PROOF ── */
.proof {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.proof-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text3); margin-bottom: 12px; }
.proof-langs { font-size: 14px; color: var(--text2); line-height: 2; }

/* ── SECTIONS ── */
.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 16px;
}
section { padding: 100px 24px; max-width: 1100px; margin: 0 auto; }
section h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text2); margin-bottom: 56px; }

/* ── FEATURES ── */
.features { text-align: center; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}
.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(139,92,246,0.4); transform: translateY(-3px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.how { text-align: center; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(139,92,246,0.4);
}
.step-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step-body p { font-size: 14px; color: var(--text2); }
.step-arrow { font-size: 28px; color: var(--text3); margin-top: 14px; }

/* ── PRICING ── */
.pricing { text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 56px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: left;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--purple);
  box-shadow: 0 0 60px rgba(139,92,246,0.15);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.plan-name { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.plan-price { font-size: 44px; font-weight: 900; letter-spacing: -2px; margin-bottom: 4px; }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--text2); letter-spacing: 0; }
.plan-note { font-size: 13px; color: var(--green); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { font-size: 14px; }
.plan-features li.dim { color: var(--text3); }
.pricing-footer { font-size: 13px; color: var(--text3); margin-top: 24px; }

/* ── TESTIMONIALS ── */
.testimonials { text-align: center; background: var(--bg2); max-width: 100%; padding: 100px 24px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.testimonial {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}
.stars { color: #fbbf24; font-size: 18px; margin-bottom: 12px; }
.testimonial p { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { font-size: 13px; color: var(--text3); }

/* ── FAQ ── */
.faq { max-width: 720px; }
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(139,92,246,0.4); }
.faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  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: 20px;
  color: var(--purple-light);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}
.faq-item a { color: var(--purple-light); }

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 100px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.cta-section h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; letter-spacing: -2px; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: var(--text2); margin-bottom: 36px; }
.cta-note { font-size: 13px; color: var(--text3); margin-top: 16px; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  flex: 1;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text3); text-decoration: none; }
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-size: 13px; color: var(--text3); width: 100%; text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 16px 60px; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  section { padding: 64px 16px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-logo { justify-content: center; flex: none; }
}
