:root {
  --bg-dark: #07080d;
  --bg-card: #0f121c;
  --bg-card-hover: #151927;
  --border: rgba(255, 255, 255, 0.09);
  --cyan: #00f3ff;
  --pink: #ff0080;
  --purple: #7928ca;
  --gold: #ffd700;
  --green: #39ff14;
  --text: #f8fafc;
  --muted: #94a3b8;
}

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

html { scroll-behavior: smooth; }

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

/* Background Ambient Glows */
.bg-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-1 { top: -200px; left: -150px; background: var(--cyan); }
.bg-glow-2 { top: 200px; right: -200px; background: var(--purple); }
.bg-glow-3 { bottom: -200px; left: 30%; background: var(--pink); opacity: 0.1; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Announcement Bar */
.top-announce {
  background: linear-gradient(90deg, var(--purple), var(--pink), #ff6b00);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  display: none;
}

/* Navbar */
.saas-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  font-family: 'Space Grotesk', sans-serif;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 18px rgba(0, 243, 255, 0.35);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

.nav-links a:hover { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.22); }

.btn-primary {
  background: linear-gradient(135deg, #00f3ff, #0099ff);
  color: #030712;
  box-shadow: 0 6px 24px rgba(0, 243, 255, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-gradient {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 0, 128, 0.35);
}
.btn-gradient:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* Hero Section */
.hero {
  padding: 84px 0 64px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.3);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  max-width: 920px;
  margin: 0 auto 20px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), #a855f7, var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
}

/* Hero URL Bar */
.hero-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto 18px;
  background: rgba(15, 18, 28, 0.9);
  border: 1.5px solid rgba(0, 243, 255, 0.35);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 243, 255, 0.12);
}

.hero-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 10px 14px;
  font-family: inherit;
}

.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 48px;
}

/* Hero Visual Showcase */
.hero-showcase {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(160deg, #131726, #0a0c14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.win-dots { display: flex; gap: 7px; }
.win-dots span { width: 11px; height: 11px; border-radius: 50%; }
.win-dots span:nth-child(1) { background: #ff5f56; }
.win-dots span:nth-child(2) { background: #ffbd2e; }
.win-dots span:nth-child(3) { background: #27c93f; }

.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  text-align: left;
}

.mock-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.mock-clip-row {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.mock-clip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.score-badge {
  background: rgba(57, 255, 20, 0.15);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
}

.mock-meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.meter-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-top: 4px;
  overflow: hidden;
}
.meter-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.mock-phone {
  background: #050608;
  border: 3px solid #2a2f3d;
  border-radius: 26px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle at 50% 30%, rgba(121, 40, 202, 0.35), transparent 65%);
}

.mock-hook {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.5);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  padding: 6px 10px;
  border-radius: 10px;
}

.mock-caption-pop {
  text-align: center;
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9);
}
.mock-caption-pop .hl { color: #ffe600; }

.mock-game-strip {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.16), rgba(57, 255, 20, 0.16));
  border-top: 2px solid var(--cyan);
  margin: 0 -14px -14px;
  padding: 18px 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #d8f3ff;
}

/* Stats Strip */
.stats-strip {
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  color: #fff;
}

.stat-item span {
  font-size: 13px;
  color: var(--muted);
}

/* Section Headers */
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.6vw, 40px);
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 15px; }

/* 4-in-1 Bento Features */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(0, 243, 255, 0.4); }

.bento-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.b-invideo { background: rgba(0, 243, 255, 0.14); color: var(--cyan); }
.b-heygen { background: rgba(121, 40, 202, 0.22); color: #d8b4fe; }
.b-ssemble { background: rgba(255, 0, 128, 0.18); color: #ff79b0; }
.b-wayin { background: rgba(255, 215, 0, 0.16); color: var(--gold); }

.bento-card h3 { font-size: 20px; margin-bottom: 10px; }
.bento-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.bento-list { list-style: none; display: grid; gap: 8px; font-size: 13px; color: #dbeafe; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}

.step-num-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--muted); }

/* Comparison Table */
.compare-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.compare-table th { color: var(--muted); font-weight: 700; font-size: 13px; }
.compare-table .col-us {
  background: rgba(0, 243, 255, 0.06);
  color: #fff;
  font-weight: 700;
}
.check-yes { color: var(--green); font-weight: 800; }
.check-no { color: #64748b; }

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(160deg, rgba(0, 243, 255, 0.08), rgba(121, 40, 202, 0.09));
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.14);
  transform: scale(1.02);
}

.price-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 800;
  margin: 10px 0 4px;
}
.price-amount span { font-size: 14px; color: var(--muted); font-weight: 500; }

.price-quota { color: var(--cyan); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.price-features { list-style: none; flex: 1; margin-bottom: 24px; display: grid; gap: 10px; font-size: 13px; color: #cbd5e1; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}
.testi-stars { color: var(--gold); margin-bottom: 10px; font-size: 14px; }
.testi-card p { font-size: 14px; color: #e2e8f0; margin-bottom: 16px; }
.testi-author strong { display: block; font-size: 14px; }
.testi-author span { font-size: 12px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  cursor: pointer;
}
.faq-q { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.faq-a { display: none; margin-top: 10px; font-size: 14px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span { transform: rotate(45deg); color: var(--cyan); }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.12), rgba(121, 40, 202, 0.18), rgba(255, 0, 128, 0.14));
  border: 1px solid rgba(0, 243, 255, 0.3);
  border-radius: 26px;
  padding: 56px 32px;
  text-align: center;
}
.final-cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: 36px; margin-bottom: 12px; }
.final-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* Footer */
.saas-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 64px;
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Auth Modal on Home */
.home-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 12, 0.85);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.home-modal {
  background: linear-gradient(160deg, #131726, #0a0c14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  position: relative;
}
.home-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.auth-tab {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: #ccc;
  padding: 9px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.auth-tab.active { background: rgba(0,243,255,0.16); border-color: var(--cyan); color: #fff; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.fg input {
  width: 100%;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
}
.auth-err {
  background: rgba(255, 59, 48, 0.16);
  border: 1px solid rgba(255, 59, 48, 0.4);
  color: #ff8a80;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .showcase-grid, .bento-grid, .steps-grid, .pricing-grid, .testimonials-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-input-bar { flex-direction: column; }
  .hero-input-bar .btn { width: 100%; }
}
