/* ==========================================================
   Private Mode Studio – Cyber Luxury Theme (Desktop & iOS Optimized)
   ========================================================== */

:root {
  --bg-dark: #050508;
  --bg-card: rgba(16, 16, 22, 0.75);
  --bg-card-hover: rgba(24, 24, 34, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-strong: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(0, 240, 255, 0.5);
  --text-main: #f5f5f7;
  --text-muted: #9e9ea7;
  --text-dim: #63636e;
  --accent-cyan: #00f0ff;
  --accent-purple: #7928ca;
  --accent-blue: #2997ff;
  --accent-pink: #ff2d55;
  --glow-cyan: rgba(0, 240, 255, 0.28);
  --glow-purple: rgba(121, 40, 202, 0.28);
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --radius-card: 24px;
  --radius-pill: 9999px;
  --max-w: 1220px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar for Mac / WebKit */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

html {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(121, 40, 202, 0.22), transparent 70%),
    radial-gradient(ellipse 70% 45% at 85% 15%, rgba(0, 240, 255, 0.12), transparent 60%),
    radial-gradient(circle at 10% 45%, rgba(41, 151, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 90%, rgba(121, 40, 202, 0.15), transparent 70%);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================
   Top Dynamic Island Live Status Banner
   ========================================================== */
.status-bar-wrapper {
  padding: 14px 20px 0;
  display: flex;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass-strong);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.status-pill:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 12px #30d158;
  animation: radar 2s infinite ease-in-out;
}

@keyframes radar {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.status-highlight {
  color: #fff;
  font-weight: 600;
}

/* ==========================================================
   Header & Navigation
   ========================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  transition: all 0.2s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.9;
}

.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass-strong);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn:hover {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #e2e2e8 100%);
  color: #050508;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.22), 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 38px rgba(255, 255, 255, 0.4), 0 12px 36px rgba(0, 0, 0, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  border: 1px solid var(--border-glass-strong);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-glow {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  color: #fff;
  box-shadow: 0 0 32px var(--glow-cyan), 0 4px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 44px var(--glow-cyan), 0 10px 36px rgba(121, 40, 202, 0.55);
}

/* ==========================================================
   Hero Section (Desktop Optimized)
   ========================================================== */
.hero-section {
  padding: 80px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero-badge-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.hero-title {
  font-size: 60px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-gradient-text {
  background: linear-gradient(135deg, #00f0ff 0%, #a855f7 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 38px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================
   Hero Interactive iPhone 16 Pro Mockup (Desktop 3D Polish)
   ========================================================== */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1200px;
}

/* Ambient Pulsing Halo around Phone */
.phone-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 680px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(121, 40, 202, 0.22) 50%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
  animation: haloPulse 4s infinite ease-in-out;
}

@keyframes haloPulse {
  0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* The iPhone Chassis with subtle Desktop 3D angle */
.iphone-frame {
  position: relative;
  z-index: 2;
  width: 330px;
  height: 670px;
  background: #0a0a0f;
  border-radius: 54px;
  padding: 11px;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 0 6px #16161d,
    0 25px 70px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(0, 240, 255, 0.25);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.iphone-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px) scale(1.02);
  box-shadow: 
    0 0 0 2px rgba(0, 240, 255, 0.4),
    0 0 0 6px #1a1a24,
    0 35px 90px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(0, 240, 255, 0.35);
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

/* Dynamic Island */
.dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.island-camera {
  width: 9px;
  height: 9px;
  background: #111;
  border: 1px solid #222;
  border-radius: 50%;
}

.island-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
}

.island-bar {
  width: 2.5px;
  background: var(--accent-cyan);
  border-radius: 1px;
  animation: islandBounce 1s infinite ease-in-out;
}
.island-bar:nth-child(1) { height: 9px; animation-delay: 0.1s; }
.island-bar:nth-child(2) { height: 16px; animation-delay: 0.25s; }
.island-bar:nth-child(3) { height: 11px; animation-delay: 0.4s; }

@keyframes islandBounce {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Reel Video Player */
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Interactive Brand Watermark inside Reel (With Official Logo) */
.interactive-brand-tag {
  position: absolute;
  top: 54px;
  left: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.reel-watermark-logo {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.interactive-brand-tag.pulse {
  transform: scale(1.1);
  border-color: var(--accent-cyan);
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* Right-side Reel Actions */
.phone-actions-rail {
  position: absolute;
  right: 14px;
  bottom: 84px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.phone-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 30, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.phone-btn.liked {
  transform: scale(1.25);
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.phone-btn.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.phone-stat-text {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  margin-top: -10px;
}

/* Audio waves inside sound button */
.sound-waves {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 12px;
}

.sound-waves span {
  width: 2.5px;
  height: 4px;
  background: currentColor;
  border-radius: 1px;
}

.sound-waves.playing span:nth-child(1) { animation: wavePulse 0.8s infinite ease-in-out; }
.sound-waves.playing span:nth-child(2) { animation: wavePulse 0.8s 0.2s infinite ease-in-out; }
.sound-waves.playing span:nth-child(3) { animation: wavePulse 0.8s 0.4s infinite ease-in-out; }

@keyframes wavePulse {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* Play/Pause Center Overlay Flash */
.play-overlay-flash {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 15;
}

.play-overlay-flash.flash {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Bottom Progress Bar inside Phone */
.phone-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.phone-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: width 0.1s linear;
}

/* Reel Bottom Info Pill */
.phone-caption-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 68px;
  z-index: 10;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  line-height: 1.35;
}

.phone-caption-pill strong {
  color: #fff;
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

/* Floating Hearts Emitter */
.floating-heart {
  position: fixed;
  z-index: 9999;
  font-size: 28px;
  pointer-events: none;
  animation: floatUpHeart 1.2s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes floatUpHeart {
  0% {
    opacity: 1;
    transform: translate(-50%, 0) scale(0.6) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -90px) scale(1.3) rotate(-15deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -200px) scale(1.5) rotate(20deg);
  }
}

/* Interactive Brand Handle Input below Phone */
.phone-handle-tweak {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 18, 26, 0.85);
  border: 1px solid var(--border-glass-strong);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  z-index: 5;
  transition: border-color 0.2s ease;
}

.phone-handle-tweak:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.phone-handle-tweak span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.phone-handle-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--accent-cyan);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  width: 140px;
}

.phone-handle-input::placeholder {
  color: var(--text-dim);
}

/* ==========================================================
   Section Layout & Headings
   ========================================================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.section-title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================
   Interactive Stem Visualizer (Demucs Engine - Desktop Polish)
   ========================================================== */
.stem-engine-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-card);
  padding: 44px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.stem-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}

.stem-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stem-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.stem-pill.active {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-cyan);
}

.stem-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.canvas-wrap {
  width: 100%;
  height: 220px;
  background: rgba(8, 8, 14, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

#stemCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.stem-engine-footnote {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
}

/* ==========================================================
   Interactive Pricing Calculator (Desktop Polish)
   ========================================================== */
.calc-wrapper {
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.85) 0%, rgba(10, 10, 16, 0.98) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-card);
  padding: 52px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65), 0 0 60px rgba(121, 40, 202, 0.18);
}

.calc-preset-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.preset-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
}

/* Slider Custom Styling */
.calc-slider-box {
  margin-bottom: 46px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}

.slider-main-val {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.slider-main-val span {
  font-size: 20px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.slider-flat-tag {
  font-size: 15px;
  font-weight: 600;
  color: #30d158;
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.custom-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.85), 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: grab;
  transition: transform 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:active {
  transform: scale(1.15);
  cursor: grabbing;
}

/* Grid of calculated stats (Desktop) */
.calc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 38px;
}

.calc-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.calc-stat-box:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.calc-stat-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.calc-stat-number {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
}

.calc-stat-number.glow {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-stat-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Agency comparison bar */
.savings-box {
  background: rgba(48, 209, 88, 0.05);
  border: 1px solid rgba(48, 209, 88, 0.22);
  border-radius: 18px;
  padding: 24px 30px;
  margin-bottom: 40px;
}

.savings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
}

.savings-progress-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  overflow: hidden;
}

.savings-progress-fill {
  width: 96%;
  height: 100%;
  background: linear-gradient(90deg, #30d158, var(--accent-cyan));
  border-radius: 5px;
  transition: width 0.3s ease;
}

/* Calculator Action Button */
.calc-action-center {
  text-align: center;
}

.calc-action-center .btn {
  font-size: 17px;
  padding: 18px 48px;
}

/* ==========================================================
   Spotlight Feature Cards (Linear / Raycast Style Desktop)
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.spotlight-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 42px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* The Cursor Following Spotlight Glow */
.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(450px circle at var(--mouse-x, -200px) var(--mouse-y, -200px), rgba(0, 240, 255, 0.14), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
}

.feature-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================
   Comparison Table (Desktop Polish)
   ========================================================== */
.comparison-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-card);
  padding: 42px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.comparison-table th.highlight-col {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.06);
  border-radius: 14px 14px 0 0;
}

.comparison-table td.highlight-col {
  background: rgba(0, 240, 255, 0.06);
  color: #fff;
  font-weight: 600;
}

.check-green { color: #30d158; font-weight: 800; font-size: 18px; }
.cross-red { color: #ff453a; font-weight: 800; font-size: 18px; }

/* ==========================================================
   Interactive FAQ Accordion
   ========================================================== */
.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item.open {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(24, 24, 34, 0.88);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 32px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.faq-accordion-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 28px;
}

/* ==========================================================
   Bottom CTA Banner
   ========================================================== */
.bottom-cta-card {
  background: radial-gradient(ellipse at center, rgba(121, 40, 202, 0.4) 0%, rgba(5, 5, 8, 0.95) 75%);
  border: 1px solid var(--border-glass-strong);
  border-radius: var(--radius-card);
  padding: 70px 48px;
  text-align: center;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.65);
}

.bottom-cta-card h2 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.bottom-cta-card p {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 38px;
}

/* ==========================================================
   Footer
   ========================================================== */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 48px 0;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 28px;
}

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

/* ==========================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================== */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-subtitle {
    margin: 0 auto 32px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .trust-row {
    justify-content: center;
  }

  .iphone-frame {
    transform: none; /* remove tilt on smaller screens */
  }

  .calc-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }

  .iphone-frame {
    width: 280px;
    height: 570px;
    border-radius: 46px;
  }

  .hero-title {
    font-size: 34px;
  }

  .section-title {
    font-size: 30px;
  }

  .calc-wrapper {
    padding: 28px 20px;
  }

  .stem-engine-card {
    padding: 24px 18px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-btn {
    display: none;
  }
}
