/* ─── RESET & BASE ────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --purple: #8b5cf6;
  --purple-dark: #6d28d9;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --orange: #f97316;
  --green: #22c55e;
  --pink: #ec4899;
  --bg: #0a0a12;
  --bg-2: #0f0f1a;
  --surface: #14141f;
  --surface-2: #1a1a29;
  --border: #26263a;
  --text: #f4f4f8;
  --text-dim: #a3a3b8;
  --text-dimmer: #6e6e85;
  --radius: 16px;
  --gradient: linear-gradient(135deg, var(--purple) 0%, var(--indigo) 50%, var(--blue) 100%);
  --shadow-glow: 0 8px 32px rgba(139, 92, 246, 0.25);
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }

/* ─── REVEAL ANIMATION ────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--delay, 0ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); background: rgba(139,92,246,0.08); }
.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn.full { width: 100%; }
.play-icon { font-size: 0.7rem; }

/* ─── NAV ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--gradient);
  font-size: 1rem;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 10px 0;
  font-weight: 500;
}
.nav-mobile.open { display: flex; }

/* ─── HERO ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 500px; height: 500px; background: var(--purple); top: -150px; left: -100px; }
.glow-2 { width: 400px; height: 400px; background: var(--blue); top: 100px; right: -100px; }
.glow-3 { width: 350px; height: 350px; background: var(--indigo); bottom: -200px; left: 40%; }

.hero-inner { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-dimmer);
  font-size: 0.88rem;
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-sep { color: var(--text-dimmer); }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot.green { background: var(--green); }
.dot.purple { background: var(--purple); }
.dot.blue { background: var(--blue); }

/* ─── HERO SCREENSHOT MOCK ────────────────────────────────────────────── */
.hero-screenshot {
  max-width: 1000px;
  margin: 64px auto 0;
  position: relative;
  z-index: 1;
}
.screenshot-frame {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  overflow: hidden;
}
.screenshot-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot-red, .dot-yellow, .dot-green-sm { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green-sm { background: #28c840; }

.mock-ui { display: flex; min-height: 420px; text-align: left; }
.mock-sidebar {
  width: 200px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  flex-shrink: 0;
}
.mock-logo-sm {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  margin-left: 8px;
  font-size: 0.9rem;
}
.mock-nav-items { display: flex; flex-direction: column; gap: 4px; }
.mock-nav {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}
.mock-nav.active { background: rgba(139,92,246,0.15); color: #c4b5fd; }

.mock-content { flex: 1; padding: 24px 28px; }
.mock-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.mock-title { font-size: 1.1rem; font-weight: 700; }
.mock-date { color: var(--text-dimmer); font-size: 0.82rem; }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.mock-stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.mock-stat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
}
.mock-stat.purple::before { background: var(--purple); }
.mock-stat.blue::before { background: var(--blue); }
.mock-stat.green::before { background: var(--green); }
.stat-num { font-size: 1.6rem; font-weight: 800; margin-bottom: 2px; }
.stat-label { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 6px; }
.stat-trend { font-size: 0.75rem; font-weight: 600; }
.stat-trend.up { color: var(--green); }

.mock-table-header { font-size: 0.85rem; font-weight: 700; color: var(--text-dim); margin-bottom: 10px; }
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.av1 { background: var(--purple); }
.av2 { background: var(--blue); }
.av3 { background: var(--indigo); }
.av4 { background: var(--orange); }
.row-name { flex: 1; font-size: 0.87rem; font-weight: 600; }
.row-badge { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.row-badge.hot { background: rgba(239,68,68,0.15); color: #f87171; }
.row-badge.warm { background: rgba(249,115,22,0.15); color: #fb923c; }
.row-badge.cold { background: rgba(59,130,246,0.15); color: #60a5fa; }

/* ─── SOCIAL PROOF ────────────────────────────────────────────────────── */
.social-proof { padding: 60px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-label { text-align: center; color: var(--text-dimmer); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 32px; }
.logo-strip { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.logo-item { color: var(--text-dimmer); font-weight: 700; font-size: 1.05rem; opacity: 0.6; }

/* ─── SECTION HEADER ──────────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  color: #c4b5fd;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; margin-bottom: 18px; }
.section-header p { color: var(--text-dim); font-size: 1.05rem; }

/* ─── FEATURES ────────────────────────────────────────────────────────── */
.features { padding: 120px 24px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.4); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.icon-purple { background: rgba(139,92,246,0.15); }
.icon-blue { background: rgba(59,130,246,0.15); }
.icon-green { background: rgba(34,197,94,0.15); }
.icon-orange { background: rgba(249,115,22,0.15); }
.icon-indigo { background: rgba(99,102,241,0.15); }
.icon-pink { background: rgba(236,72,153,0.15); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 18px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { font-size: 0.85rem; color: var(--text-dim); padding-left: 20px; position: relative; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

/* ─── HOW IT WORKS ────────────────────────────────────────────────────── */
.how { padding: 100px 24px; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; }
.step { display: flex; gap: 28px; align-items: flex-start; }
.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--purple);
  flex-shrink: 0;
  width: 60px;
}
.step-content h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step-content p { color: var(--text-dim); max-width: 500px; }
.step-connector { width: 1.5px; height: 40px; background: var(--border); margin-left: 30px; }

/* ─── TESTIMONIALS ────────────────────────────────────────────────────── */
.testimonials { padding: 120px 24px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.stars { color: #fbbf24; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { color: var(--text-dimmer); font-size: 0.8rem; }

/* ─── PRICING ─────────────────────────────────────────────────────────── */
.pricing { padding: 120px 24px; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 56px; }
.toggle-label { font-size: 0.92rem; font-weight: 600; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.save-badge {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 700;
}
.toggle-btn {
  width: 52px; height: 28px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-btn::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--text);
  transition: transform 0.25s ease;
}
.toggle-btn[aria-checked="true"] { background: var(--purple); }
.toggle-btn[aria-checked="true"]::after { transform: translateX(24px); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border: 1.5px solid var(--purple);
  background: linear-gradient(180deg, rgba(139,92,246,0.08), var(--surface) 40%);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.plan-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 12px; }
.price-dollar { font-size: 1.3rem; font-weight: 700; color: var(--text-dim); }
.price-num { font-size: 2.6rem; font-weight: 800; transition: all 0.2s; }
.price-num.enterprise-label { font-size: 2rem; }
.price-per { color: var(--text-dimmer); font-size: 0.9rem; margin-left: 4px; }
.plan-desc { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px; min-height: 44px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; flex: 1; }
.plan-features li { font-size: 0.88rem; color: var(--text-dim); }
.plan-features li.dim { color: var(--text-dimmer); text-decoration: line-through; opacity: 0.6; }

/* ─── CTA BANNER ──────────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 100px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 300px;
  background: var(--gradient);
  filter: blur(120px);
  opacity: 0.25;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-banner p { color: var(--text-dim); max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── CONTACT ─────────────────────────────────────────────────────────── */
.contact { padding: 120px 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 16px 0; }
.contact-info p { color: var(--text-dim); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; color: var(--text-dim); font-size: 0.95rem; }
.contact-icon { font-size: 1.1rem; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
}
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: #4ade80;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
}
.form-success.show { display: block; }

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
.footer { padding: 72px 24px 0; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { color: var(--text-dimmer); font-size: 0.9rem; margin-top: 16px; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.85rem; margin-bottom: 16px; color: var(--text); }
.footer-col a {
  display: block;
  color: var(--text-dimmer);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  color: var(--text-dimmer);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .features-grid, .testimonial-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .mock-sidebar { display: none; }
  .mock-stats { grid-template-columns: 1fr; }
  .logo-strip { gap: 28px; }
}

@media (max-width: 560px) {
  .hero { padding: 130px 16px 70px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}
