/* ==========================================================================
   BudgetBuddy AI Modern Purple & Neon Web Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Tokens - Deep Cyber-Purple & AI Neon Palette */
  --bg-dark: #090712;
  --bg-card: rgba(18, 14, 33, 0.78);
  --bg-card-hover: rgba(30, 23, 54, 0.88);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(168, 85, 247, 0.4);
  
  --primary: #8B5CF6;
  --primary-hover: #7C3AED;
  --primary-light: #C084FC;
  --primary-glow: rgba(139, 92, 246, 0.35);

  --secondary: #EC4899;
  --accent-cyan: #06B6D4;
  --accent-gold: #F59E0B;
  --accent-blue: #6366F1;
  --accent-green: #10B981;
  
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 50px rgba(139, 92, 246, 0.28);
  --shadow-card: 0 12px 36px -10px rgba(0, 0, 0, 0.6);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Glow Effects */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.5;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.glow-1 {
  top: -10%;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(0,0,0,0) 70%);
}

.glow-2 {
  top: 35%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(0,0,0,0) 70%);
  animation-delay: -5s;
}

.glow-3 {
  bottom: 10%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(0,0,0,0) 70%);
  animation-delay: -10s;
}

.glow-4 {
  top: 65%;
  right: 25%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(0,0,0,0) 70%);
  animation-delay: -15s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.12); }
}

/* Typography */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--primary-light) 65%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 7, 18, 0.85);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  transition: var(--transition);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.4rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 16px var(--primary-glow);
}

.brand-text span {
  color: var(--primary);
}

.ai-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  color: #FFF;
  letter-spacing: 0.05em;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 50%, var(--secondary) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 25px var(--primary-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(168, 85, 247, 0.55);
}

.btn-hero {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-glow);
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary-light);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-youtube {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
  border-color: rgba(239, 68, 68, 0.3);
}

.btn-youtube:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #FFFFFF;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Eyebrow Chips */
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-full);
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.ai-badge-chip {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Hero Section */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-content p.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.hero-highlight-tag {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
}

.trust-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.6rem;
  color: var(--primary-light);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Phone Mockup Frame */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-frame {
  position: relative;
  width: 300px;
  height: 610px;
  background: #000;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9),
              0 0 50px var(--primary-glow);
  border: 4px solid #332457;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #090712;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Glass Badges */
.floating-badge {
  position: absolute;
  padding: 12px 18px;
  background: rgba(18, 14, 33, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top-left {
  top: 15%;
  left: -50px;
}

.badge-bottom-right {
  bottom: 15%;
  right: -50px;
  animation-delay: -2s;
}

@keyframes floatBadge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.ai-icon-glow {
  background: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.voice-icon-glow {
  background: rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}

.badge-info h5 {
  font-size: 0.9rem;
  color: var(--text-main);
}

.badge-info p {
  font-size: 0.75rem;
  color: var(--primary-light);
}

/* Section Shared Layout */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-top: 12px;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   Interactive AI Sandbox Preview Component
   ========================================================================== */
.ai-sandbox-section {
  background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.08) 0%, rgba(9, 7, 18, 0) 70%);
}

.ai-sandbox-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(16px);
}

.sandbox-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: rgba(12, 9, 23, 0.9);
  overflow-x: auto;
}

.sandbox-tab-btn {
  flex: 1;
  min-width: 180px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.sandbox-tab-btn .tab-icon {
  font-size: 1.25rem;
}

.sandbox-tab-btn:hover {
  color: var(--text-main);
  background: rgba(139, 92, 246, 0.05);
}

.sandbox-tab-btn.active {
  color: #FFFFFF;
  border-bottom-color: var(--primary);
  background: rgba(139, 92, 246, 0.12);
}

.sandbox-body {
  padding: 48px;
}

.sandbox-panel {
  display: none;
}

.sandbox-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sandbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.sandbox-controls h3 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 14px;
  font-weight: 800;
}

.sandbox-controls p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.prompt-chips-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.prompt-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prompt-chip, .voice-sample-btn, .scanner-sample-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.prompt-chip:hover, .voice-sample-btn:hover, .scanner-sample-btn:hover,
.scanner-sample-btn.active {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateX(4px);
}

/* Simulator Generic Container */
.sandbox-simulator {
  background: #0E0B1A;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Chat Simulator */
.sim-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.sim-user-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.sim-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.sim-badge {
  font-size: 0.75rem;
  color: var(--accent-green);
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  max-height: 250px;
  padding-right: 6px;
  margin-bottom: 16px;
}

.chat-msg {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 88%;
  animation: fadeIn 0.3s ease;
}

.bot-msg {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-msg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #FFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input-sim {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 8px 6px 16px;
}

.chat-input-sim input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.chat-send-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Voice Simulator */
.voice-simulator {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}

.voice-visualizer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mic-glow-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
  animation: pulseMic 1.8s infinite;
}

@keyframes pulseMic {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(236, 72, 153, 0.4); }
  50% { transform: scale(1.08); box-shadow: 0 0 45px rgba(236, 72, 153, 0.8); }
}

.sound-wave-container {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
}

.sound-bar {
  width: 4px;
  height: 12px;
  background: var(--primary-light);
  border-radius: 2px;
  animation: soundWave 1.2s infinite ease-in-out;
}

.sound-bar:nth-child(2) { animation-delay: 0.2s; }
.sound-bar:nth-child(3) { animation-delay: 0.4s; }
.sound-bar:nth-child(4) { animation-delay: 0.1s; }
.sound-bar:nth-child(5) { animation-delay: 0.3s; }

@keyframes soundWave {
  0%, 100% { height: 8px; }
  50% { height: 28px; background: var(--secondary); }
}

.voice-spoken-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  font-style: italic;
}

.parsed-expense-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
}

.parsed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ai-status {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-green);
}

.parsed-pill {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

.parsed-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.parsed-item .label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.parsed-item .val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.parsed-item .highlight-val {
  color: var(--primary-light);
  font-size: 1.15rem;
}

.parsed-success {
  font-size: 0.8rem;
  color: #34D399;
  font-weight: 600;
}

/* Scanner Simulator */
.scanner-simulator {
  gap: 16px;
  justify-content: center;
}

.bill-paper-mockup {
  background: #FDFBF7;
  color: #1A1A1A;
  border-radius: 12px;
  padding: 20px 24px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.scan-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8B5CF6, #EC4899, transparent);
  box-shadow: 0 0 12px #8B5CF6;
  animation: scanLaser 2.5s ease-in-out infinite alternate;
}

@keyframes scanLaser {
  0% { top: 0; }
  100% { top: 96%; }
}

.bill-header {
  text-align: center;
  margin-bottom: 8px;
}

.bill-header h4 {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
}

.bill-divider {
  text-align: center;
  color: #888;
  margin: 6px 0;
}

.b-row {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
}

.total-row {
  font-size: 1rem;
  font-weight: 800;
  color: #000;
  margin-top: 8px;
}

.scan-result-card {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.9rem;
}

.scan-ai-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 4px;
}

/* Alert Simulator */
.alert-simulator {
  justify-content: center;
}

.alert-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alert-feat-item {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.alert-feat-item .feat-icon {
  font-size: 1.5rem;
}

.alert-feat-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.alert-feat-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ai-alert-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
}

.alert-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.alert-pill {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
}

.alert-pct {
  font-weight: 800;
  color: #EF4444;
  font-size: 1.1rem;
}

.ai-alert-banner h4 {
  font-size: 1.3rem;
  color: #FFF;
  margin-bottom: 8px;
}

.alert-body-text {
  font-size: 0.95rem;
  color: #D1D5DB;
  line-height: 1.6;
  margin-bottom: 18px;
}

.ai-suggestion-box {
  background: rgba(11, 9, 20, 0.8);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: #E5E7EB;
}

/* ==========================================================================
   Screenshots Showcase Carousel
   ========================================================================== */
.screenshots-showcase {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
}

.showcase-phone-container {
  display: flex;
  justify-content: center;
}

.showcase-phone {
  width: 290px;
  height: 580px;
  background: #000;
  border-radius: 40px;
  padding: 10px;
  border: 3px solid #3B2D63;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  position: relative;
}

.showcase-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
}

.showcase-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.screen-counter-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--border-glow);
  color: var(--primary-light);
  margin-bottom: 12px;
}

.showcase-info h3 {
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  font-weight: 800;
}

.showcase-info p.desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Thumbnail Switcher Grid */
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.thumb-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.thumb-item:hover, .thumb-item.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.thumb-img {
  width: 100%;
  height: 85px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
}

.thumb-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.ai-feature-card {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(180deg, rgba(28, 20, 52, 0.8) 0%, rgba(18, 14, 33, 0.8) 100%);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Calculator
   ========================================================================== */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-glow);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.input-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}

.input-group label span.val {
  color: var(--primary-light);
  font-size: 1.15rem;
  font-weight: 800;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #231B3A;
  outline: none;
  -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 12px var(--primary-glow);
}

.calc-results {
  background: rgba(11, 9, 20, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
}

.calc-results p.label {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.calc-results h3.yearly-savings {
  font-size: 3.2rem;
  color: var(--primary-light);
  font-family: var(--font-heading);
  margin-bottom: 16px;
  font-weight: 900;
}

.calc-results p.sub {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   YouTube Banner
   ========================================================================== */
.youtube-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(22, 18, 38, 0.9) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.youtube-content h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  font-weight: 800;
}

.youtube-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 600px;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--primary-light);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 240px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   Final Download CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(236, 72, 153, 0.1) 50%, rgba(9, 7, 18, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  font-weight: 900;
}

.final-cta p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  background: rgba(7, 5, 13, 0.95);
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p.hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-cta, .hero-highlights, .trust-stats {
    justify-content: center;
  }

  .floating-badge {
    display: none;
  }

  .sandbox-grid {
    grid-template-columns: 1fr;
  }

  .screenshots-showcase {
    grid-template-columns: 1fr;
  }

  .calc-card {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .youtube-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .sandbox-body {
    padding: 24px 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta h2 {
    font-size: 2.2rem;
  }
}
