@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #09090b;
  --bg2: #111114;
  --bg3: #18181b;
  --card: #1c1c21;
  --border: #27272a;
  --text: #fafafa;
  --text2: #71717a;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-glow: rgba(99,102,241,.15);
  --ok: #22c55e;
  --err: #ef4444;
  --warn: #f59e0b;
  --radius: 16px;
  --font: 'Inter', -apple-system, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--text2); }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9,9,11,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-size: 17px; font-weight: 500;
}
.nav-brand strong { font-weight: 700; color: var(--primary-light); }
.nav-logo {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; color: #fff;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 20px !important;
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--primary-light) !important; }

/* HERO */
.hero {
  padding: 160px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,.12), transparent);
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 24px;
  background: rgba(99,102,241,.08);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary-light), #a78bfa, #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-bottom: 60px; }

.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
  border: 1px solid transparent;
}
.btn-hero:not(.ghost) {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 16px rgba(99,102,241,.3);
}
.btn-hero:not(.ghost):hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-hero.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-hero.ghost:hover { border-color: var(--text2); }

/* MOCK DASHBOARD */
.hero-visual { max-width: 800px; margin: 0 auto; }
.mock-dashboard {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px rgba(99,102,241,.08);
}
.mock-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #22c55e; }
.mock-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text2);
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  text-align: center;
}
.mock-body { padding: 24px; }
.mock-stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 20px; }
.mock-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.ms-num { font-size: 22px; font-weight: 700; color: var(--text); }
.ms-lbl { font-size: 11px; color: var(--text2); margin-top: 4px; }
.mock-chart { height: 80px; opacity: .8; }
.mock-chart svg { width: 100%; height: 100%; }

/* LOGOS */
.logos {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.logos p { font-size: 13px; margin-bottom: 24px; }
.logo-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-item {
  font-size: 18px;
  font-weight: 700;
  color: var(--text2);
  opacity: .4;
  letter-spacing: -.5px;
}

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary-light);
  margin-bottom: 16px;
  background: rgba(99,102,241,.08);
}
.section-header h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-header h2 span {
  background: linear-gradient(135deg, var(--primary-light), #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { max-width: 480px; margin: 0 auto; }

/* FEATURES */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* SOCIAL PROOF */
.social-proof {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.proof-num { font-size: 36px; font-weight: 800; letter-spacing: -1px; background: linear-gradient(135deg,var(--primary-light),#a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.proof-lbl { font-size: 13px; color: var(--text2); margin-top: 4px; }

/* PRICING */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: all .25s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(99,102,241,.12);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.price-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.price-amount span { font-size: 16px; font-weight: 500; color: var(--text2); }
.price-period { font-size: 13px; color: var(--text2); margin-bottom: 24px; }
.price-features { list-style: none; margin-bottom: 28px; }
.price-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.price-features li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.btn-price {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s;
}
.btn-price:hover { border-color: var(--primary); color: var(--primary-light); }
.btn-price.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-price.primary:hover { background: var(--primary-light); }

/* FAQ */
.faq { padding: 80px 0; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--text2); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; font-size: 14px; color: var(--text2); line-height: 1.7; }

/* CTA */
.cta {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(99,102,241,.1), transparent);
}
.cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.5px; }
.cta p { color: var(--text2); margin-bottom: 24px; }

/* FOOTER */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { font-size: 13px; max-width: 280px; }
.footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; color: var(--text); }
.footer a {
  display: block;
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  padding: 4px 0;
  transition: color .2s;
}
.footer a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text2);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .mock-stat-row { grid-template-columns: repeat(2,1fr); }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
