:root {
  --bg: #040711;
  --bg-secondary: #090e1d;
  --bg-tertiary: #0e162e;
  --card-bg: rgba(14, 22, 46, 0.7);
  --card-border: rgba(38, 55, 95, 0.6);
  --card-border-hover: rgba(99, 102, 241, 0.5);
  --primary: #3b82f6;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --accent-wa: #10b981;
  --accent-wa-glow: rgba(16, 185, 129, 0.35);
  --accent-ai: #a855f7;
  --accent-ai-glow: rgba(168, 85, 247, 0.35);
  --accent-cyan: #06b6d4;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-width: 1240px;
  overflow-x: auto;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 15% 35%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

/* Cosmic Ambient Glow Orbs */
.ambient-glow-1 {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(168, 85, 247, 0.12) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 900px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 0 16px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  border-radius: 99px;
  padding: 10px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
}
.brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
}
.brand-text span {
  color: #38bdf8;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.status-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseBeacon 2s infinite ease-in-out;
}
@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #10b981; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin-left: 28px;
  margin-right: auto;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.nav-links a:hover::after {
  width: 100%;
}
.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: 99px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-1px);
}
.btn-wa {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 18px var(--accent-wa-glow);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}
.btn-ai {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  box-shadow: 0 4px 18px var(--accent-ai-glow);
}
.btn-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.5);
}
.btn-trial {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.btn-trial:hover {
  background: rgba(16, 185, 129, 0.24);
  border-color: #10b981;
  color: #fff;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 99px;
}

/* Hero Section */
.hero {
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
}
.hero-content {
  max-width: 960px;
  margin: 0 auto;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 6px 18px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #a5b4fc;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -1.4px;
  margin-bottom: 22px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #a855f7 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.84rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ======================================================== */
/* HERO SHOWCASE CENTERPIECE: INTERACTIVE LIVE HUB & MOCKUP */
/* ======================================================== */
.hero-showcase-wrapper {
  margin-top: 20px;
  position: relative;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.hero-showcase-frame {
  background: #090e1f;
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.15);
  position: relative;
}
.hub-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(14, 22, 46, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hub-window-dots {
  display: flex;
  gap: 7px;
}
.hub-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }
.hub-tab-switch {
  display: flex;
  gap: 8px;
  background: rgba(4, 7, 17, 0.8);
  padding: 4px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hub-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hub-tab-btn.active.tab-ai {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}
.hub-tab-btn.active.tab-wa {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}
.hub-live-tag {
  font-size: 0.74rem;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Media Slot Overlay (Video / Image Container) */
.hub-media-slot-container {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #0d1633 0%, #070a17 100%);
  overflow: hidden;
  padding: 30px;
}
.hub-media-video, .hub-media-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.85;
}

/* Hub Viewport Panels */
.hub-panel {
  display: none;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: fadeInHub 0.3s ease-in-out;
}
.hub-panel.active {
  display: block;
}
@keyframes fadeInHub {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Simulated Studio UI (AI Studio Tab) */
.studio-grid-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.phone-vertical-mockup {
  background: #030712;
  border: 4px solid #1f293d;
  border-radius: 36px;
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 270px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(168, 85, 247, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  margin: 0 auto;
}
.phone-camera-notch {
  width: 60px;
  height: 14px;
  background: #1f293d;
  border-radius: 99px;
  margin: 0 auto 12px;
}
.phone-video-screen {
  flex: 1;
  background: linear-gradient(180deg, rgba(20, 10, 40, 0.8) 0%, rgba(10, 20, 45, 0.9) 100%);
  border-radius: 20px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.phone-video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(236, 72, 153, 0.25);
  border: 1px solid #ec4899;
  color: #f472b6;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.video-karaoke-caption {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.video-karaoke-caption .highlight-word {
  background: #facc15;
  color: #000;
  padding: 1px 4px;
  border-radius: 4px;
  display: inline-block;
  animation: glowWord 1.5s infinite;
}
@keyframes glowWord {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); box-shadow: 0 0 10px #facc15; }
}

/* Sound Wave Visualizer */
.waveform-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  margin-bottom: 8px;
}
.wave-bar {
  flex: 1;
  background: linear-gradient(180deg, #38bdf8, #a855f7);
  border-radius: 2px;
  animation: equalize 1.2s infinite ease-in-out alternate;
}
.wave-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 80%; animation-delay: 0.25s; }
.wave-bar:nth-child(3) { height: 60%; animation-delay: 0.15s; }
.wave-bar:nth-child(4) { height: 95%; animation-delay: 0.35s; }
.wave-bar:nth-child(5) { height: 50%; animation-delay: 0.2s; }
.wave-bar:nth-child(6) { height: 75%; animation-delay: 0.4s; }
.wave-bar:nth-child(7) { height: 90%; animation-delay: 0.1s; }
.wave-bar:nth-child(8) { height: 45%; animation-delay: 0.3s; }
@keyframes equalize {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

.studio-specs-card {
  text-align: left;
  background: rgba(14, 22, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
}
.studio-specs-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}
.studio-specs-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.55;
}
.render-progress-box {
  background: #060b17;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.render-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}
.render-progress-bar {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 99px;
  overflow: hidden;
}
.render-progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
  animation: progressPulse 3s infinite;
}
@keyframes progressPulse {
  0% { width: 30%; }
  50% { width: 85%; }
  100% { width: 100%; }
}
.social-badges-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.social-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #e2e8f0;
}
.social-badge-chip.synced {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* Simulated WA Assistant UI (WA Self Service Tab) */
.wa-preview-container {
  max-width: 680px;
  margin: 0 auto;
  background: #0b141a;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.2);
  text-align: left;
}
.wa-top-bar {
  background: #1f2c34;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2a3942;
}
.wa-contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.wa-contact-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #e9edef;
}
.wa-contact-status {
  font-size: 0.75rem;
  color: #25d366;
}
.wa-chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 250px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}
.wa-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
}
.wa-msg-in {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-bottom-left-radius: 2px;
}
.wa-msg-out {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-bottom-right-radius: 2px;
}
.wa-msg-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  margin-top: 4px;
}
.wa-typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: #202c33;
  border-radius: 12px;
  align-self: flex-end;
}
.wa-typing-dot {
  width: 6px;
  height: 6px;
  background: #8696a0;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}
.wa-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}
.wa-status-strip {
  background: #111b21;
  padding: 10px 16px;
  border-top: 1px solid #222e35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #8696a0;
  font-family: 'JetBrains Mono', monospace;
}

/* Floating Status Pills outside Showcase Frame */
.floating-metric-card {
  position: absolute;
  background: rgba(14, 22, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: floatCard 4s ease-in-out infinite alternate;
}
.floating-metric-card.card-left {
  top: 15%;
  left: -20px;
}
.floating-metric-card.card-right {
  bottom: 12%;
  right: -20px;
  animation-delay: 1.5s;
}
@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.floating-metric-icon {
  font-size: 1.4rem;
}
.floating-metric-title {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
}
.floating-metric-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

/* ======================================================== */
/* LIVE INTERACTIVE PLAYGROUND / SIMULATOR SECTION          */
/* ======================================================== */
.playground-section {
  padding: 80px 0 60px;
  position: relative;
}
.playground-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.playground-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(14px);
  position: relative;
  display: flex;
  flex-direction: column;
}
.playground-box:hover {
  border-color: rgba(99, 102, 241, 0.5);
}
.playground-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}
.pg-badge-wa {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.pg-badge-ai {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.playground-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.playground-box p.pg-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.sim-quick-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sim-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.2s;
}
.sim-chip-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: #818cf8;
  color: #fff;
}
.sim-chat-area {
  background: #090e1a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 16px;
  min-height: 160px;
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.sim-input-row {
  display: flex;
  gap: 10px;
}
.sim-input {
  flex: 1;
  background: #060b14;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
}
.sim-input:focus {
  outline: none;
  border-color: #10b981;
}

/* ======================================================== */
/* BENTO GRID FEATURE SHOWCASE                              */
/* ======================================================== */
.bento-section {
  padding: 80px 0;
  position: relative;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(99, 102, 241, 0.15);
}
.bento-card.span-2 {
  grid-column: span 2;
}
.bento-card.wa-theme:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.15);
}
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}
.bento-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.bento-visual-slot {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #070c18;
  padding: 16px;
  position: relative;
}
.bento-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

/* ======================================================== */
/* STATS & SOCIAL PROOF TICKER                              */
/* ======================================================== */
.stats-bar-section {
  padding: 30px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: rgba(10, 15, 30, 0.5);
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-box-val {
  font-size: 2.2rem;
  font-weight: 850;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-box-val.green {
  background: linear-gradient(135deg, #34d399, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-box-val.purple {
  background: linear-gradient(135deg, #c084fc, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-box-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======================================================== */
/* COMPARISON MATRIX (CARA LAMA VS XO SOSMED)               */
/* ======================================================== */
.comparison-section {
  padding: 90px 0;
}
.comparison-table-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: 40px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th {
  padding: 18px 24px;
  background: rgba(14, 22, 46, 0.9);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--card-border);
}
.comparison-table td {
  padding: 18px 24px;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.comp-feature-name {
  font-weight: 700;
  color: #fff;
}
.comp-old-way {
  color: #f87171;
}
.comp-new-way {
  color: #34d399;
  font-weight: 700;
}

/* ======================================================== */
/* PRICING SECTION                                          */
/* ======================================================== */
.pricing-section {
  background: linear-gradient(180deg, var(--bg) 0%, #090e1d 100%);
  padding: 90px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 980px;
  margin: 40px auto 0;
}
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 42px;
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pricing-card:hover {
  transform: translateY(-4px);
}
.pricing-card.wa-plan:hover {
  border-color: var(--accent-wa);
  box-shadow: 0 10px 40px var(--accent-wa-glow);
}
.pricing-card.popular {
  border-color: #8b5cf6;
  box-shadow: 0 0 45px rgba(139, 92, 246, 0.25);
}
.popular-badge {
  position: absolute;
  top: -13px;
  right: 32px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 99px;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}
.pricing-name {
  font-size: 1.5rem;
  font-weight: 850;
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 44px;
  line-height: 1.5;
}
.pricing-amount {
  font-size: 2.9rem;
  font-weight: 850;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -1.2px;
}
.pricing-amount small {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 500;
}
.pricing-discount-note {
  font-size: 0.82rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 7px 12px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 26px;
  font-weight: 600;
}
.pricing-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* Feature Checklist */
.feature-checklist {
  list-style: none;
  margin-bottom: 30px;
}
.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  line-height: 1.5;
}
.feature-checklist li span.icon {
  font-size: 1rem;
  line-height: 1.4;
}

/* Section Common Headers */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
}
.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 850;
  letter-spacing: -0.9px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0;
}
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-question {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-chevron {
  transition: transform 0.2s;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* Modern Bottom CTA Banner */
.bottom-cta-banner {
  margin: 60px 0 100px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(168, 85, 247, 0.2) 50%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.bottom-cta-banner h2 {
  font-size: 2.4rem;
  font-weight: 850;
  margin-bottom: 14px;
}
.bottom-cta-banner p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 30px;
}

/* ======================================================== */
/* MODALS & FORMS (PRESERVING ALL CHECKOUT.JS HOOKS)       */
/* ======================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 16px;
  -webkit-overflow-scrolling: touch;
}
.modal::-webkit-scrollbar {
  width: 8px;
}
.modal::-webkit-scrollbar-track {
  background: rgba(10, 15, 29, 0.85);
}
.modal::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
.modal::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
.modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.modal-content {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 34px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: modalIn 0.25s ease-out;
  margin: 28px auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: #fff;
}
.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 7px;
}
.form-input, .form-select {
  width: 100%;
  background: #090e1a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-size: 0.92rem;
  transition: 0.2s;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.referral-input-wrapper {
  display: flex;
  gap: 8px;
}
.btn-verify-ref {
  background: #1e293b;
  color: #93c5fd;
  border: 1px solid #3b82f6;
  font-weight: 700;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}
.btn-verify-ref:hover {
  background: #2563eb;
  color: #fff;
}
.referral-msg {
  font-size: 0.82rem;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  display: none;
  line-height: 1.5;
}
.referral-msg.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}
.referral-msg.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}
.referral-msg.warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fbbf24;
}
.referral-msg.info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid #3b82f6;
  color: #93c5fd;
}

/* Running Light Rotating Border Animation */
@property --tab-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes rotateTabBorder {
  to {
    --tab-angle: 360deg;
  }
}

/* Auth Modals Tabs & Package Selectors */
.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #090e1a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  padding: 8px;
  margin-bottom: 22px;
  gap: 12px;
}
.login-tab-btn {
  background: #0f172a;
  border: 2px solid #1e293b;
  color: var(--text-muted);
  padding: 13px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  position: relative;
  outline: none;
  user-select: none;
}
.login-tab-btn .tab-title {
  font-size: 0.93rem;
  font-weight: 700;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, text-shadow 0.2s;
}
.login-tab-btn .tab-desc {
  font-size: 0.73rem;
  color: #64748b;
  font-weight: 500;
  transition: color 0.2s;
}
.login-tab-btn:not(.active):hover {
  background: #17223b;
  border-color: #334155;
  color: #fff;
  transform: translateY(-2px);
}
.login-tab-btn:not(.active):hover .tab-title {
  color: #fff;
}

.login-tab-btn.active.tab-waself {
  border: 2px solid transparent;
  background:
    linear-gradient(#09131e, #09131e) padding-box,
    conic-gradient(from var(--tab-angle), #10b981, #25d366, #a7f3d0, #ffffff, #25d366, #06b6d4, #059669, #10b981) border-box;
  --tab-angle: 0deg;
  animation: rotateTabBorder 3s linear infinite;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.4), 0 0 45px rgba(37, 211, 102, 0.2), inset 0 0 14px rgba(16, 185, 129, 0.12);
  transform: translateY(-1px);
}
.login-tab-btn.active.tab-waself .tab-title {
  color: #34d399;
  text-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
}
.login-tab-btn.active.tab-waself .tab-desc {
  color: #a7f3d0;
}

.login-tab-btn.active.tab-aistudio {
  border: 2px solid transparent;
  background:
    linear-gradient(#130d24, #130d24) padding-box,
    conic-gradient(from var(--tab-angle), #8b5cf6, #c084fc, #f5d0fe, #ffffff, #ec4899, #8b5cf6, #6366f1, #8b5cf6) border-box;
  --tab-angle: 0deg;
  animation: rotateTabBorder 3s linear infinite;
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.4), 0 0 45px rgba(168, 85, 247, 0.2), inset 0 0 14px rgba(139, 92, 246, 0.12);
  transform: translateY(-1px);
}
.login-tab-btn.active.tab-aistudio .tab-title {
  color: #c084fc;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}
.login-tab-btn.active.tab-aistudio .tab-desc {
  color: #ddd6fe;
}

.pkg-radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.pkg-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #090e1a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: all 0.2s;
}
.pkg-radio-label:hover {
  border-color: #38bdf8;
}
.pkg-radio-label input[type="radio"] {
  accent-color: #2563eb;
  cursor: pointer;
}
.pkg-radio-label input[type="radio"]:checked + .pkg-text {
  color: #fff;
}

.auth-msg-box {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 18px;
  display: none;
}
.auth-msg-box.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}
.auth-msg-box.warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid #f59e0b;
  color: #fbbf24;
}
.auth-msg-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}
.btn-msg-action {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 8px;
  cursor: pointer;
}
.btn-msg-action:hover {
  background: #1d4ed8;
}

.modal-switch-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 20px;
}
.modal-switch-text a,
.link-to-register,
.link-to-login {
  color: #38bdf8 !important;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}
.modal-switch-text a:hover,
.link-to-register:hover,
.link-to-login:hover {
  color: #60a5fa !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.price-summary-box {
  background: #090e1a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-summary-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.price-summary-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
}
.price-summary-val .original-price {
  text-decoration: line-through;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-right: 6px;
}

/* Footer */
.footer {
  background: #03060d;
  border-top: 1px solid var(--card-border);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #141b2a;
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}


/* Anti-Spam Honeypot Field & reCAPTCHA / Turnstile Container */
.xo-hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -100 !important;
}

.captcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 14px 0;
  width: 100%;
  min-height: 78px;
  overflow: hidden;
}

.captcha-container > div {
  margin: 0 auto;
}

@media (max-width: 400px) {
  .captcha-container {
    transform: scale(0.88);
    transform-origin: center center;
  }
}
