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

:root {
  --bg: #0a0a0f;
  --bg-2: #0f0f16;
  --surface: #14141e;
  --surface-2: #1a1a26;
  --border: rgba(255,255,255,0.06);
  --fg: #f0f0f5;
  --fg-2: #a0a0b0;
  --fg-3: #606070;
  --accent: #6EA8FF;
  --accent-dim: rgba(110,168,255,0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 4px; }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--fg-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(110,168,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(110,168,255,0.2);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--fg);
}
.hero-headline .accent {
  color: var(--accent);
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #0a0a0f;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s;
  letter-spacing: -0.1px;
}
.btn-primary:hover { background: #8bbfff; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--fg-2);
  text-decoration: none;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--fg); }

/* Chat widget */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.chat-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(110,168,255,0.08);
}
.widget-header {
  background: var(--surface-2);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.widget-dots { display: flex; gap: 6px; }
.widget-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-3); }
.widget-dots span:first-child { background: #ff5f57; }
.widget-dots span:nth-child(2) { background: #febc2e; }
.widget-dots span:last-child { background: #28c840; }
.widget-title { font-size: 13px; font-weight: 600; color: var(--fg-2); margin-left: 6px; }
.widget-status { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; box-shadow: 0 0 6px #28c840; }
.widget-status span { font-size: 12px; font-weight: 600; color: #28c840; }
.widget-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg-bubble { max-width: 75%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.msg-ai { background: var(--surface-2); color: var(--fg); border-bottom-left-radius: 4px; }
.msg-user { background: rgba(110,168,255,0.15); color: var(--fg); align-self: flex-end; border-bottom-right-radius: 4px; }
.widget-input {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.input-field { flex: 1; font-size: 13px; color: var(--fg-3); }
.input-send { background: var(--accent); color: #0a0a0f; border: none; border-radius: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background 0.2s; }
.input-send:hover { background: #8bbfff; }

/* Hero stats */
.hero-stats { display: flex; gap: 32px; }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--fg); letter-spacing: -0.5px; }
.stat-label { font-size: 12px; color: var(--fg-3); font-weight: 500; }

/* Proof */
.proof { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 24px; }
.proof-inner { max-width: 1100px; margin: 0 auto; }
.proof-label { font-size: 13px; color: var(--fg-3); text-align: center; margin-bottom: 28px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.proof-stats { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.proof-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.proof-number { font-size: 36px; font-weight: 800; color: var(--fg); letter-spacing: -1px; }
.proof-text { font-size: 14px; color: var(--fg-3); text-align: center; }
.proof-divider { width: 1px; height: 48px; background: var(--border); }

/* Section shared */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -1.5px; color: var(--fg); margin-bottom: 16px; line-height: 1.1; }
.section-sub { font-size: 17px; color: var(--fg-2); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* How */
.how { padding: 100px 24px; }
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-steps { display: flex; align-items: center; gap: 24px; justify-content: center; }
.how-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; flex: 1; max-width: 280px; }
.step-number { font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: 2px; margin-bottom: 20px; }
.step-icon { margin-bottom: 16px; }
.how-step h3 { font-size: 17px; font-weight: 700; color: var(--fg); margin-bottom: 10px; letter-spacing: -0.2px; }
.how-step p { font-size: 14px; color: var(--fg-2); line-height: 1.6; }
.step-arrow { flex-shrink: 0; }

/* Services */
.services { padding: 100px 24px; background: var(--bg-2); }
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.service-card:hover { border-color: rgba(110,168,255,0.25); transform: translateY(-2px); }
.service-icon { width: 44px; height: 44px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--fg); margin-bottom: 10px; letter-spacing: -0.2px; }
.service-card p { font-size: 14px; color: var(--fg-2); line-height: 1.6; }

/* Pricing */
.pricing { padding: 100px 24px; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 0 auto; }
.pricing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.pricing-card-main { border-color: rgba(110,168,255,0.3); background: var(--surface-2); }
.pricing-card-main .plan-name { color: var(--accent); }
.plan-name { font-size: 14px; font-weight: 700; color: var(--fg-2); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; }
.price-amount { font-size: 52px; font-weight: 800; color: var(--fg); letter-spacing: -2px; }
.price-period { font-size: 15px; color: var(--fg-3); font-weight: 500; }
.plan-desc { font-size: 15px; color: var(--fg-2); margin-bottom: 28px; line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); font-weight: 500; }
.plan-features li svg { flex-shrink: 0; }
.plan-note { font-size: 13px; color: var(--fg-3); border-top: 1px solid var(--border); padding-top: 20px; font-style: italic; }

/* Testimonials */
.testimonials { padding: 100px 24px; background: var(--bg-2); }
.testimonials-inner { max-width: 1100px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 0 auto; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testimonial-quote { font-size: 16px; color: var(--fg); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.author-name { font-size: 14px; font-weight: 700; color: var(--fg); }
.author-role { font-size: 12px; color: var(--fg-3); margin-top: 2px; }

/* Closing */
.closing { padding: 120px 24px; }
.closing-inner { max-width: 1100px; margin: 0 auto; }
.closing-content { text-align: center; }
.closing-headline { font-size: clamp(40px, 6vw, 80px); font-weight: 800; letter-spacing: -2.5px; color: var(--fg); line-height: 1.05; margin-bottom: 20px; }
.closing-sub { font-size: 20px; color: var(--fg-2); margin-bottom: 40px; }
.closing-contact { display: flex; justify-content: center; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); text-decoration: none; font-size: 16px; font-weight: 600; padding: 14px 28px; border: 1px solid rgba(110,168,255,0.3); border-radius: 10px; background: var(--accent-dim); transition: all 0.2s; }
.contact-email:hover { background: rgba(110,168,255,0.2); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--fg); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--fg-3); font-size: 13px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg-2); }
.footer-copy { font-size: 12px; color: var(--fg-3); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-headline { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-visual { order: -1; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .how-steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .how-step { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .proof-stats { gap: 28px; }
  .proof-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}