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

:root {
  --bg-dark: #050508;
  --bg-card: rgba(18, 18, 24, 0.75);
  --bg-card-hover: rgba(28, 28, 38, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 240, 255, 0.5);
  --text-main: #f5f5f7;
  --text-muted: #8e8e93;
  --text-dim: #636366;
  --accent-cyan: #00f0ff;
  --accent-purple: #7928ca;
  --accent-blue: #2997ff;
  --accent-pink: #ff2d55;
  --glow-cyan: rgba(0, 240, 255, 0.25);
  --glow-purple: rgba(121, 40, 202, 0.25);
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --radius-card: 24px;
  --radius-pill: 9999px;
  --max-w: 1120px;
}

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

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 80% 50% at 50% -20%, rgba(121, 40, 202, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 240, 255, 0.1), transparent 60%),
    radial-gradient(circle at 10% 50%, rgba(41, 151, 255, 0.06), transparent 50%);
  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 24px;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 18, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 10px #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.7);
  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: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.logo-badge {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #000;
  box-shadow: 0 2px 10px var(--glow-cyan);
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  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 24px rgba(255, 255, 255, 0.2), 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

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

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

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

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

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 38px var(--glow-cyan), 0 8px 30px rgba(121, 40, 202, 0.5);
}

/* ==========================================================
   Hero Section
   ========================================================== */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
}

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

.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.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.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: 19px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 540px;
}

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

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

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

/* ==========================================================
   Hero Interactive iPhone 16 Pro Mockup
   ========================================================== */
.phone-mockup-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

/* The iPhone Chassis */
.iphone-frame {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 630px;
  background: #0a0a0f;
  border-radius: 52px;
  padding: 10px;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.15), /* Titanium outer ring */
    0 0 0 5px #18181f,                   /* Titanium body */
    0 20px 60px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(0, 240, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.iphone-frame:hover {
  transform: translateY(-4px) scale(1.01);
}

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

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

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

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

.island-bar {
  width: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
  animation: islandBounce 1s infinite ease-in-out;
}
.island-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.island-bar:nth-child(2) { height: 14px; animation-delay: 0.25s; }
.island-bar:nth-child(3) { height: 10px; 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 */
.interactive-brand-tag {
  position: absolute;
  top: 50px;
  left: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.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 (Like, Sound, Share) */
.phone-actions-rail {
  position: absolute;
  right: 12px;
  bottom: 80px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.phone-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 30, 0.65);
  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.2);
  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: -8px;
}

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

.sound-waves span {
  width: 2px;
  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: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  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: 14px;
  left: 14px;
  right: 64px;
  z-index: 10;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.3;
}

.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: 26px;
  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%, -80px) scale(1.3) rotate(-15deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -180px) scale(1.5) rotate(20deg);
  }
}

/* Interactive Brand Handle Input below Phone */
.phone-handle-tweak {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 20, 28, 0.8);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  z-index: 5;
}

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

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

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

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

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

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

.section-title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

/* ==========================================================
   Interactive Stem Visualizer (Demucs Engine)
   ========================================================== */
.stem-engine-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.stem-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

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

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

.canvas-wrap {
  width: 100%;
  height: 180px;
  background: rgba(10, 10, 16, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

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

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

/* ==========================================================
   Interactive Pricing Calculator
   ========================================================== */
.calc-wrapper {
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.8) 0%, rgba(10, 10, 15, 0.95) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(121, 40, 202, 0.15);
}

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

.preset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  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;
}

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

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

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

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

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

.slider-flat-tag {
  font-size: 14px;
  font-weight: 600;
  color: #30d158;
  background: rgba(48, 209, 88, 0.1);
  border: 1px solid rgba(48, 209, 88, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

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

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.8), 0 2px 8px 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 */
.calc-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.calc-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}

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

.calc-stat-number {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  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: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Agency comparison bar */
.savings-box {
  background: rgba(48, 209, 88, 0.05);
  border: 1px solid rgba(48, 209, 88, 0.2);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 34px;
}

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

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

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

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

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

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

.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: 36px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* The Cursor Following Spotlight Glow */
.spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(400px circle at var(--mouse-x, -200px) var(--mouse-y, -200px), rgba(0, 240, 255, 0.12), 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.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

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

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

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

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

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

.comparison-table th {
  font-size: 13px;
  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.05);
  border-radius: 12px 12px 0 0;
}

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

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

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

.faq-accordion-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  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.25);
  background: rgba(25, 25, 35, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  user-select: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  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 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

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

/* ==========================================================
   Bottom CTA Banner
   ========================================================== */
.bottom-cta-card {
  background: radial-gradient(ellipse at center, rgba(121, 40, 202, 0.35) 0%, rgba(5, 5, 8, 0.9) 70%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.bottom-cta-card h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

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

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

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

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

/* ==========================================================
   Responsive Adaptations (iOS iPhone & iPad & Mac)
   ========================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

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

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

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

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

@media (max-width: 600px) {
  .iphone-frame {
    width: 270px;
    height: 550px;
    border-radius: 46px;
  }

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

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

  .calc-wrapper {
    padding: 24px 18px;
  }

  .stem-engine-card {
    padding: 20px 14px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-btn {
    display: none;
  }
}
