/* ── Product Page Base & Reset Overrides ──────────────────────── */
:root {
  --plutotype-bg: #04030B;
  --plutotype-accent: #0B55FF;
  --plutotype-accent-rgb: 11, 85, 255;
  --plutotype-glow: rgba(11, 85, 255, 0.45);
  --plutotype-gradient: linear-gradient(135deg, #0B55FF 0%, #205FFF 45%, #00289F 100%);
  --plutotype-gradient-soft: linear-gradient(135deg, rgba(11, 85, 255, 0.15) 0%, rgba(0, 40, 159, 0.15) 100%);
  --font-heading: 'Bricolage Grotesque', sans-serif;
}

.product-page {
  --bg-color: #04030B;
  --bg-secondary: #060222;
  --accent-color: #0B55FF;
  --accent-gradient: linear-gradient(135deg, #0B55FF 0%, #205FFF 45%, #3C289F 100%);

  --font-heading: 'Bricolage Grotesque', sans-serif;

  background: var(--plutotype-bg) !important;
  overflow-x: hidden;
}

.logo-back {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-back svg {
  color: var(--accent-color);
  transition: transform 0.2s ease;
}
.logo-back:hover svg {
  transform: translateX(-3px);
}

/* ── Spacious Hero Section (Apple-style spacing & typography) ──── */
.hero-section {
  height: 100vh;
  min-height: 800px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden; /* Prevent 3D keyboard overflow from causing horizontal scroll */
  padding: 0;
}

.hero-section .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-keyboard-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero-keyboard-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotateX(28deg) rotateY(0deg) rotateZ(0deg);
  transform-origin: top center;
  width: 680px;
  height: 624px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
  perspective: 1200px;
  transform-style: preserve-3d;
  mask-image: linear-gradient(to top, black 15%, rgba(0, 0, 0, 0.3) 45%, transparent 70%);
  -webkit-mask-image: linear-gradient(to top, black 15%, rgba(0, 0, 0, 0.3) 45%, transparent 70%);
}

.hero-keyboard-keys, .hero-keyboard-stt {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-keyboard-stt {
  opacity: 0;
  transform: translateY(15px);
}

.hero-keyboard-bg.listening .hero-keyboard-keys {
  opacity: 0;
  transform: translateY(20px);
}

.hero-keyboard-bg.listening .hero-keyboard-stt {
  opacity: 1;
  transform: translateY(0);
}

.hero-keyboard-bg svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Smooth key transition styles for background keypress */
.hero-keyboard-bg path, .hero-keyboard-bg rect {
  transition: fill 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  background: rgba(11, 85, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(11, 85, 255, 0.2);
  margin-bottom: 24px;
  text-shadow: 0 0 10px rgba(11, 85, 255, 0.3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 14px 28px;
  font-size: 15px;
}

/* ── Interactive Demo Sandbox — Futuristic Premium ────────────── */
.demo-section {
  padding: 140px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Ambient background glow */
.demo-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse 60% 50% at 50% 50%,
    rgba(99, 102, 241, 0.08) 0%,
    rgba(59, 130, 246, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Horizontal light streak */
.demo-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.3) 30%,
    rgba(139, 92, 246, 0.5) 50%,
    rgba(99, 102, 241, 0.3) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.demo-workspace {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 840px;
  margin: 0 auto;
}

/* Mock macOS Text Editor */
.editor-window {
  width: 100%;
  background: rgba(13, 8, 38, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.window-controls {
  display: flex;
  gap: 8px;
}
.dot-control {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-control.red { background: #ff5f56; }
.dot-control.yellow { background: #ffbd2e; }
.dot-control.green { background: #27c93f; }

.editor-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.editor-status {
  font-size: 11px;
  color: var(--accent-color);
  opacity: 0.8;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.editor-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px var(--accent-color);
  animation: pulseGreen 1.5s infinite alternate;
}
@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

.editor-body {
  padding: 24px;
  min-height: 180px;
  position: relative;
  text-align: left;
}

.editor-text-area {
  width: 100%;
  height: 100%;
  min-height: 130px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  outline: none;
  position: relative;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.editor-text-area:focus {
  outline: none;
}

.placeholder-text {
  position: absolute;
  top: 0; left: 0;
  color: rgba(239, 237, 253, 0.25);
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.placeholder-text.hidden {
  opacity: 0;
}

.cursor {
  display: inline-block;
  width: 2px;
  background: var(--accent-color);
  color: transparent;
  margin-left: 2px;
  font-weight: 100;
  animation: cursorBlink 1.1s infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* AI Assist Scan Line */
.rewrite-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent-color), transparent);
  box-shadow: 0 0 12px var(--accent-color), 0 0 4px var(--accent-color);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
}
.rewrite-scan-line.scanning {
  animation: scanEffect 1.2s ease-in-out forwards;
}
@keyframes scanEffect {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Editor Action Bar & Suggestion Pills */
.editor-action-bar {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ai-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-action-btn {
  background: rgba(11, 85, 255, 0.05);
  border: 1px solid rgba(11, 85, 255, 0.15);
  color: #0B55FF;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ai-action-btn span {
  font-size: 15px;
}
.ai-action-btn:hover {
  background: rgba(11, 85, 255, 0.12);
  border-color: rgba(11, 85, 255, 0.35);
  box-shadow: 0 0 12px rgba(11, 85, 255, 0.15);
  transform: translateY(-1px);
}
.ai-action-btn:active {
  transform: translateY(0);
}

.demo-controls {
  display: flex;
  gap: 10px;
}
.demo-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.demo-btn span {
  font-size: 15px;
}
.demo-btn.autoplay-btn {
  border-color: rgba(156, 178, 255, 0.3);
  color: #9cb2ff;
  background: rgba(156, 178, 255, 0.03);
}
.demo-btn.autoplay-btn:hover {
  background: rgba(156, 178, 255, 0.08);
  border-color: rgba(156, 178, 255, 0.5);
  box-shadow: 0 0 10px rgba(156, 178, 255, 0.1);
}
.demo-btn.reset-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Sleek macOS-style Virtual Keyboard */
.keyboard-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 14px;
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01), 0 20px 40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.keyboard-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.key {
  flex: 1;
  height: 42px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  color: rgba(239, 237, 253, 0.75);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.04), 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}
.key:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.key:active, .key.active {
  background: #4338CA !important;
  color: #ffffff;
  border-color: transparent;
  transform: scale(0.96);
  box-shadow: 0 0 20px rgba(67, 56, 202, 0.6), 0 0 8px rgba(30, 27, 75, 0.8);
  font-weight: 600;
}

/* Key size overrides */
.key-special {
  font-size: 11px;
  color: rgba(239, 237, 253, 0.45);
  background: rgba(255, 255, 255, 0.02);
}

.key-tab { flex-grow: 1.5; }
.key-caps { flex-grow: 1.8; }
.key-enter { flex-grow: 2.2; }
.key-lshift { flex-grow: 2.5; }
.key-rshift { flex-grow: 2.5; }
.key-cmd { flex-grow: 1.3; }
.key-space { flex-grow: 8; }

/* ── Value Cards Section (Apple MacBook Air Grid) ──────────────── */
.value-section {
  padding: 140px 0;
  position: relative;
  z-index: 2;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 24px;
}

.value-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 44px 36px;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.01);
}
.value-card:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(11, 85, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.value-icon {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 24px;
  text-shadow: 0 0 10px rgba(11, 85, 255, 0.3);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

.value-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Specifications Section (Linear Intake style) ─────────────── */
.specs-section {
  padding: 140px 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.specs-container {
  max-width: 760px;
  margin: 0 auto;
}

.specs-table {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px 28px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
  gap: 12px;
}
.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.spec-val {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ── CTA / Download Box ────────────────────────────────────────── */
.cta-box {
  background: radial-gradient(circle at 80% 20%, rgba(118, 75, 255, 0.12) 0%, transparent 60%),
              linear-gradient(135deg, #050215 0%, #0c082b 100%);
  border: 1px solid rgba(118, 75, 255, 0.25);
  border-radius: 28px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 48px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8),
              inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 0 50px rgba(118, 75, 255, 0.08);
  text-align: left;
  position: relative;
  overflow: hidden;
}
/* Subtle grid line overlay inside the box for high tech feel */
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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: 20px 20px;
  pointer-events: none;
  opacity: 0.7;
}
.cta-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.cta-math-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ba9cff; /* brand accent color */
  text-shadow: 0 0 10px rgba(186, 156, 255, 0.4);
}
.cta-pricing-headline {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin: 0;
}
.cta-underline {
  color: #00f0ff; /* high tech neon cyan highlight */
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2.5px;
}
.cta-pricing-sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(239, 237, 253, 0.65);
  max-width: 460px;
  margin: 0;
}
.cta-actions {
  margin-top: 8px;
}
.btn-android-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #050215;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(118, 75, 255, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-android-download:hover {
  background: #e9e5ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(118, 75, 255, 0.45), 0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn-ios-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  opacity: 0.6;
  cursor: not-allowed;
}
.apple-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.cta-right {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}
.cta-logo-card {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(118, 75, 255, 0.25);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
              inset 0 0 20px rgba(255, 255, 255, 0.05),
              0 0 30px rgba(118, 75, 255, 0.12);
  transform: perspective(1000px) rotateY(-12deg) rotateX(6deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  overflow: hidden;
  position: relative;
}
.cta-box:hover .cta-logo-card {
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg) translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75),
              inset 0 0 25px rgba(255, 255, 255, 0.08),
              0 0 45px rgba(118, 75, 255, 0.22);
}
.cta-logo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  pointer-events: none;
}
.cta-logo-img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(0, 71, 255, 0.65));
  animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 768px) {
  .cta-box {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 48px 32px !important;
    gap: 32px !important;
  }
  .cta-left {
    align-items: center !important;
  }
  .cta-pricing-sub {
    max-width: none !important;
  }
  .cta-right {
    justify-content: center !important;
  }
  .cta-logo-card {
    transform: none !important;
  }
  .cta-box:hover .cta-logo-card {
    transform: translateY(-4px) !important;
  }
}

/* ── Responsive Styling ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section {
    height: 650px;
    padding: 0;
  }
  .hero-keyboard-bg {
    width: 440px;
    bottom: -10px;
  }
  .demo-section, .value-section, .specs-section {
    padding: 80px 0;
  }
  
  .editor-action-bar {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
  }
  .ai-suggestions, .demo-controls {
    justify-content: center;
  }
  
  /* Keyboard collapses/scales down gracefully on mobile */
  .keyboard-container {
    padding: 8px;
    gap: 4px;
  }
  .key {
    height: 32px;
    font-size: 10px;
    border-radius: 4px;
  }
  .key-special {
    font-size: 8px;
  }
  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ── Hero Logo Wrapper ────────────────────────────────────────── */
.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(11, 85, 255, 0.35), 0 0 70px rgba(0, 40, 159, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
  background: var(--bg-secondary);
}
.hero-logo:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 0 50px rgba(11, 85, 255, 0.55), 0 0 100px rgba(0, 40, 159, 0.4);
}

.product-page .bg-orbits {
  position: absolute;
  top: -300px;
  left: 50%;
  transform: translateX(-50%) rotateX(65deg) rotateY(-15deg);
  transform-style: preserve-3d;
  width: 1000px;
  height: 1000px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
  mask-image: radial-gradient(circle at center, white 30%, rgba(255, 255, 255, 0.4) 60%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, white 30%, rgba(255, 255, 255, 0.4) 60%, transparent 85%);
}

.product-page .orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(11, 85, 255, 0.18) !important;
  box-shadow: 0 0 20px rgba(11, 85, 255, 0.05), inset 0 0 20px rgba(11, 85, 255, 0.05);
  animation: spin linear infinite;
}

.product-page .orbit-1 {
  width: 450px;
  height: 450px;
  animation-duration: 20s;
}

.product-page .orbit-2 {
  width: 700px;
  height: 700px;
  animation-duration: 35s;
  animation-direction: reverse;
}

.product-page .orbit-3 {
  width: 950px;
  height: 950px;
  animation-duration: 50s;
}

.product-page .planet {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--accent-color) !important;
  border-radius: 50%;
  box-shadow: 0 0 15px 4px var(--accent-color), 0 0 30px 8px rgba(11, 85, 255, 0.5) !important;
  transform: translateX(-50%);
}

.product-page .planet.p2 {
  top: auto;
  bottom: -6px;
  left: 20%;
  background: #818CF8 !important;
  box-shadow: 0 0 15px 4px #818CF8, 0 0 30px 8px rgba(129, 140, 248, 0.5) !important;
}

.product-page .planet.p3 {
  top: 50%;
  right: -6px;
  left: auto;
  background: #38BDF8 !important;
  box-shadow: 0 0 15px 4px #38BDF8, 0 0 30px 8px rgba(56, 189, 248, 0.5) !important;
}

.product-page .bg-orbits::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(11, 85, 255, 0.15) 0%, rgba(67, 56, 202, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  transform-style: preserve-3d;
}
.product-page .star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px #fff, 0 0 8px rgba(11, 85, 255, 0.65) !important;
}

/* ── Theme Showcase Section ───────────────────────────────────── */
.theme-showcase-section {
  padding: 140px 0;
  background: linear-gradient(180deg, transparent, rgba(6, 2, 34, 0.3) 50%, transparent 100%);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
}

.showcase-content {
  text-align: left;
}

.showcase-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin-top: 16px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.2;
}

.showcase-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.theme-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.theme-feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.theme-feature-item span {
  color: var(--accent-color);
  font-size: 26px;
  background: rgba(11, 85, 255, 0.08);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(11, 85, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.theme-feature-desc h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.theme-feature-desc p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Hardware Phone Frame Mockup ──────────────────────────────── */
.showcase-visual {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.phone-frame {
  width: 290px;
  height: 590px;
  border: 12px solid #1a1a24;
  border-radius: 42px;
  background: #04030B;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 60px rgba(11, 85, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
  transform: rotateY(-8deg) rotateX(4deg);
}

.phone-frame:hover {
  transform: rotateY(-16deg) rotateX(10deg) translateY(-8px);
  box-shadow: 0 40px 80px -10px rgba(0, 0, 0, 0.95), 0 0 80px rgba(11, 85, 255, 0.35);
}

.phone-speaker {
  width: 90px;
  height: 20px;
  background: #1a1a24;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.theme-svg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-home-bar {
  width: 110px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  z-index: 10;
}

/* Responsive showcase adjustments */
@media (max-width: 991px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .showcase-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .showcase-title {
    text-align: center;
  }
  .theme-feature-item {
    text-align: left;
  }
  .phone-frame {
    transform: none;
  }
  .phone-frame:hover {
    transform: translateY(-5px);
  }
}
@media (max-width: 768px) {
  .theme-showcase-section {
    padding: 80px 0;
  }
}

/* ── Speech-to-Text Feature Styles ───────────────────────────── */

.keyboard-row {
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.keyboard-container.listening .keyboard-row {
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
}

/* Spacebar Progress */
.key-space {
  position: relative;
  overflow: hidden;
}

.key-space .key-label {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.space-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 0%;
  background: rgba(11, 85, 255, 0.3);
  pointer-events: none;
  z-index: 1;
  transition: none;
}

.key-space.holding .space-progress {
  width: 100%;
  transition: width 3s linear;
}

/* Speech overlay container */
.speech-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0A0A0B;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 10;
  border-radius: 16px;
  padding: 12px;
}

.keyboard-container.listening .speech-text-overlay {
  opacity: 1;
  pointer-events: auto;
}

.speech-text-overlay svg {
  width: 100%;
  max-width: 390px;
  height: auto;
  display: block;
}

/* Audio wave animation rules */
.wave-path {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseWave var(--wave-duration) ease-in-out infinite alternate;
  animation-delay: var(--wave-delay);
}

@keyframes pulseWave {
  0% {
    transform: scaleY(0.25);
  }
  100% {
    transform: scaleY(1.4);
  }
}

/* Make Listen button interactive in the SVG */
.speech-text-overlay svg rect[x="135"],
.speech-text-overlay svg g[clip-path^="url(#clip1"],
.speech-text-overlay svg path[d^="M170.265"] {
  cursor: pointer;
}

.speech-text-overlay svg rect[x="135"]:hover {
  fill-opacity: 0.08 !important;
}

/* Editor listening status override */
.editor-status.listening {
  color: #FE3668 !important; /* Vibrant pink from speechtotext.svg */
}

.editor-status.listening::before {
  background: #FE3668 !important;
  box-shadow: 0 0 6px #FE3668 !important;
}

/* ── Speech-to-Text GIF Overlay Styles ───────────────────────── */
.speech-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.hero-keyboard-stt .speech-gif {
  border-radius: 20px; /* curved to match background keyboard tray */
}

/* Background spacebar hold glow progress simulation */
#hero-spacebar {
  transition: fill 0.2s ease, filter 0.2s ease;
}

.hero-keyboard-bg.holding #hero-spacebar {
  fill: #4338CA !important;
  filter: drop-shadow(0 0 10px rgba(67, 56, 202, 0.9)) !important;
  transition: fill 3s linear, filter 0.2s ease;
}

/* ── Product Page Button Overrides ────────────────────────────── */
.product-page .btn-primary {
  background: var(--plutotype-accent) !important;
  box-shadow: 0 4px 15px rgba(11, 85, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
}

.product-page .btn-primary:hover {
  background: #205FFF !important;
  box-shadow: 0 6px 20px rgba(11, 85, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

.product-page .btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  transition: all 0.25s ease !important;
}

.product-page .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

/* ══════════════════════════════════════════════════════════════════
   SPLASH HERO — New first section with BG.svg, starfield, logo lockup
   ══════════════════════════════════════════════════════════════════ */

.splash-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

/* ── Star canvas fills the whole section ── */
.stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ── BG.svg confined to bottom portion of hero ── */
.splash-bg-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 72%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Mask out the top edge seamlessly */
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

/* ── Mirrored BG.svg at the top of keyboard-hero section ── */
.keyboard-bg-glow-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 72%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Mask out the bottom edge seamlessly */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.keyboard-bg-svg-top {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  transform: scaleY(-1); /* Flips BG.svg upside down */
}

.splash-bg-svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ── Centered content ── */
.splash-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px 40px;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ── Logo only container ── */
.splash-logo-only {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  animation: splashFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash-logo-svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 20px rgba(11, 85, 255, 0.65));
  display: block;

  /* Mask sweep for left-to-right entrance (soft wipe) */
  -webkit-mask-image: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0) 100%);
  mask-image: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, 0) 100%);
  -webkit-mask-size: 200% 100%;
  mask-size: 200% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;

  animation: 
    splashFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both,
    revealSweep 1.6s cubic-bezier(0.25, 1, 0.35, 1) 0.1s forwards;
}

/* ── Main heading ── */
.splash-title {
  font-family: var(--font-heading, 'Host Grotesk', sans-serif);
  font-size: 72px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  animation: splashFadeUp 0.9s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash-title-gradient {
  background: linear-gradient(135deg, #6c8fff 0%, #205FFF 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Subtitle ── */
.splash-subtitle {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
  max-width: 680px;
  line-height: 1.7;
  margin: 0;
  animation: splashFadeUp 0.9s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── CTA button row ── */
.splash-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: splashFadeUp 0.9s 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.splash-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #0B55FF, #205FFF) !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(11, 85, 255, 0.45), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  animation: buttonGlow 3s infinite ease-in-out;
  position: relative;
  overflow: hidden;
}

.splash-btn-primary:hover {
  box-shadow: 0 0 42px rgba(11, 85, 255, 0.75), 0 6px 24px rgba(0, 0, 0, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* Pulsing Button Glow */
@keyframes buttonGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(11, 85, 255, 0.45), 0 4px 16px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 35px rgba(11, 85, 255, 0.85), 0 6px 22px rgba(11, 85, 255, 0.3);
  }
}

/* Floating Action Button (FAB) */
.floating-fab {
  position: fixed !important;
  bottom: 32px !important;
  right: 32px !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 9999 !important;
  background: linear-gradient(135deg, #0B55FF, #205FFF) !important;
  border: none !important;
  box-shadow: 0 0 20px rgba(11, 85, 255, 0.45), 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease !important;
  opacity: 0;
  transform: scale(0) translateY(40px);
  pointer-events: none;
  overflow: hidden;
  animation: buttonGlow 3s infinite ease-in-out;
}

.floating-fab.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.floating-fab .play-icon-img {
  margin: 0 !important;
  width: 24px !important;
  height: 24px !important;
  filter: invert(1);
}

.floating-fab:hover {
  box-shadow: 0 0 42px rgba(11, 85, 255, 0.75), 0 6px 24px rgba(0, 0, 0, 0.5) !important;
  transform: scale(1.05) !important;
}

/* Shimmer/Shine animation for FAB (runs continuously) */
.floating-fab::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: buttonShine 4s infinite linear;
  pointer-events: none;
}

/* Shimmer/Shine animation (sweeps across every few seconds) */
.splash-btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: buttonShine 4s infinite linear;
  pointer-events: none;
}

@keyframes buttonShine {
  0% {
    left: -150%;
  }
  30% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.play-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(1);
}

/* ── Scroll hint ── */
.splash-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: splashScrollFadeUp 1s 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.scroll-label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Keyframe animations ── */
@keyframes splashFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes splashScrollFadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, 22px);
  }
  to {
    opacity: 0.45;
    transform: translate(-50%, 0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50%       { transform: translateY(6px); opacity: 0.3; }
}

@keyframes revealSweep {
  0% {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  100% {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
  }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .splash-logo-wordmark {
    font-size: 1.15rem;
  }
  .splash-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ── Header Polish & Sticky Transition ── */
.header {
  transition: max-width 0.8s ease-in-out, 
              background 0.8s ease-in-out, 
              border 0.8s ease-in-out, 
              box-shadow 0.8s ease-in-out !important;
}

.header-container {
  transition: padding 0.8s ease-in-out !important;
}

.header .logo-back {
  transition: gap 0.5s ease-in-out;
}

.header .logo-icon {
  transition: width 0.6s ease-in-out, opacity 0.5s ease-in-out;
  width: 20px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Header Get Button - Outline state by default (unscrolled) */
.header-get-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(11, 85, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  height: 36px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.header-get-btn:hover {
  background: var(--plutotype-accent) !important;
  border-color: var(--plutotype-accent) !important;
  box-shadow: 0 0 16px rgba(11, 85, 255, 0.4) !important;
  transform: translateY(-1.5px) !important;
  color: #fff !important;
}

.header-get-btn .play-icon-img {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  opacity: 0.9;
  transition: opacity 0.3s ease;
  filter: none !important;
}

.header-get-btn .play-icon-img path,
.header-get-btn .play-icon-img circle {
  stroke: currentColor !important;
  fill: none !important;
}

.header-get-btn:hover .play-icon-img {
  opacity: 1;
}

/* Animated rotating gradient border for outline button in default unscrolled state */
.header-get-btn::before {
  content: '' !important;
  position: absolute !important;
  inset: -1px !important;
  border-radius: 999px !important;
  padding: 1.2px !important;
  background: linear-gradient(var(--angle), transparent 0%, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.3) 45%, #ffffff 50%, rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0.05) 75%, transparent 100%) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  opacity: 1 !important;
  animation: rotateBorder 3s linear infinite !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

/* Scrolled Floating Pill State (Reduced Width to Maximum Compactness) */
.header-container {
  position: relative;
}

.header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.header-star-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.header.scrolled {
  max-width: 480px;
  background: rgba(3, 0, 20, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(11, 85, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 0 16px rgba(11, 85, 255, 0.2);
}

.header.scrolled .header-container {
  padding: 12px 20px;
}

.header.scrolled .logo-icon {
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.header.scrolled .logo-back {
  gap: 0;
}

/* Header Get Button - Primary state (scrolled) */
.header.scrolled .header-get-btn {
  background: linear-gradient(135deg, #0B55FF, #205FFF) !important;
  border: 1px solid transparent !important;
  box-shadow: 0 0 16px rgba(11, 85, 255, 0.3) !important;
  color: #fff !important;
  transition: all 0.8s ease-in-out !important;
}

.header.scrolled .header-get-btn:hover {
  background: linear-gradient(135deg, #205FFF, #3b76ff) !important;
  box-shadow: 0 0 28px rgba(11, 85, 255, 0.6) !important;
  transition: all 0.3s ease !important;
}

.header.scrolled .header-get-btn::before {
  opacity: 0 !important;
  transition: opacity 0.8s ease-in-out !important;
}

.header.scrolled .header-get-btn:hover::before {
  opacity: 0 !important;
}

.header.scrolled .header-get-btn .play-icon-img {
  opacity: 1;
}

/* ── Hero Features Bar Styles ── */
.hero-features-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 36px;
  flex-wrap: nowrap;
}

.hero-features-bar .bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-features-bar .bar-icon {
  font-size: 16px;
  color: var(--accent-color);
  opacity: 0.95;
  filter: drop-shadow(0 0 6px var(--plutotype-glow));
}

.hero-features-bar .bar-text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-features-bar .bar-separator {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  font-size: 14px;
  user-select: none;
}

@media (max-width: 640px) {
  .hero-features-bar {
    flex-direction: column;
    gap: 12px;
  }
  .hero-features-bar .bar-separator {
    display: none;
  }
}

/* ── Hero & Splash Pricing Hint Styles ── */
.splash-pricing-hint,
.hero-pricing-hint {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  opacity: 0.85;
}

.splash-pricing-hint .old-price,
.hero-pricing-hint .old-price {
  text-decoration: line-through;
  opacity: 0.65;
  margin-right: 4px;
}

.splash-pricing-hint .new-price,
.hero-pricing-hint .new-price {
  color: #ffffff;
  font-weight: 600;
}

/* ── Responsive Heading Sizes (Normal standard overrides) ── */
@media (max-width: 768px) {
  .splash-title,
  .hero-title {
    font-size: 48px !important;
  }
  .section-title,
  .showcase-title {
    font-size: 32px !important;
  }
}

/* ==========================================================================
   FEATURES BENTO GRID SECTION
   ========================================================================== */
.features-grid-section {
  padding: 140px 0 100px;
  background-color: #000000;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.features-grid-section .container {
  position: relative;
  z-index: 2;
}


/* ═══════════════════════════════════════════════════════════════════
   FEATURES SHOWCASE — Futuristic boxy rectangular panels
   ═══════════════════════════════════════════════════════════════════ */
.features-showcase {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 72px;
}

.feature-showcase-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 32px 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;

  /* ── Deep glass background ── */
  background:
    linear-gradient(160deg,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(10, 10, 22, 0.22) 30%,
      rgba(10, 10, 22, 0.18) 70%,
      rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);

  /* ── Soft colored shadows ── */
  box-shadow:
    0 8px 32px rgba(99, 102, 241, 0.1),
    0 2px 8px rgba(139, 92, 246, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;

  /* Scroll animation */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease,
              box-shadow 0.5s ease;
}

.feature-showcase-row.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animated gradient grid-line background ── */
.feature-showcase-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 143, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 143, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(
    135deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,1) 80%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(
    135deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,1) 30%,
    rgba(0,0,0,0) 60%,
    rgba(0,0,0,1) 80%,
    rgba(0,0,0,0) 100%
  );
  mask-size: 300% 300%;
  -webkit-mask-size: 300% 300%;
  animation: gridFlow 8s ease-in-out infinite;
}

@keyframes gridFlow {
  0% { mask-position: 0% 0%; -webkit-mask-position: 0% 0%; }
  50% { mask-position: 100% 100%; -webkit-mask-position: 100% 100%; }
  100% { mask-position: 0% 0%; -webkit-mask-position: 0% 0%; }
}

/* ── Scan-line sweep ── */
.feature-showcase-row::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139, 92, 246, 0.04) 35%,
    rgba(108, 143, 255, 0.07) 50%,
    rgba(139, 92, 246, 0.04) 65%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
  animation: scanSweep 6s ease-in-out infinite;
}

@keyframes scanSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}


/* ── Corner bracket accents ── */
.feature-showcase-row > .feature-text,
.feature-showcase-row > .feature-visual {
  position: relative;
  z-index: 1;
}

/* ── Elegant hover glow ── */
.feature-showcase-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 12px 48px rgba(99, 102, 241, 0.14),
    0 4px 16px rgba(139, 92, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}



/* ── Direction swap for alternating rows ── */
.feature-showcase-row.reverse {
  direction: rtl;
}
.feature-showcase-row.reverse > * {
  direction: ltr;
}

/* ── Text side ── */
.feature-text {
  padding: 12px 0;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6c8fff;
  background: rgba(108, 143, 255, 0.06);
  border: 1px solid rgba(108, 143, 255, 0.2);
  border-radius: 10px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.feature-badge.accent {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.06);
  border-color: rgba(167, 139, 250, 0.2);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0 0 24px;
  max-width: 440px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(108, 143, 255, 0.1);
  border-color: rgba(108, 143, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(108, 143, 255, 0.1);
}

/* ── Visual side ── */
.feature-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 300px;
}

.feature-showcase-row.reverse > .feature-visual {
  justify-content: flex-start;
}

.bento-svg-showcase {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
}

/* ──────────────────────────────────────────────────────────────────
   Visual 1: Writing Assistant Editor Mockup
   ────────────────────────────────────────────────────────────────── */
.vis-editor {
  width: 100%;
  max-width: 420px;
  background: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(99, 102, 241, 0.15),
              0 0 30px rgba(139, 92, 246, 0.08);
}

.vis-editor-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vis-editor-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.r { background: #ef4444; }
.dot.y { background: #f59e0b; }
.dot.g { background: #22c55e; }

.vis-editor-title {
  font-family: var(--font-body);
  font-size: 12px;
  color: #6b7280;
  margin-left: 12px;
}

.vis-editor-body {
  padding: 24px 22px;
  min-height: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #e5e7eb;
  line-height: 1.7;
}

.vis-editor-line {
  display: inline;
}

.vis-cursor {
  color: #6c8fff;
  animation: visBlink 1s steps(2) infinite;
  font-weight: 300;
}

@keyframes visBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.vis-editor-body .corrected {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border-radius: 10px;
  padding: 0 2px;
}

.vis-editor-body .struck {
  color: #ef4444;
  text-decoration: line-through;
  opacity: 0.5;
}

.vis-editor-bar {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.015);
}

.vis-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vis-bar-btn.active {
  color: #ffffff;
  background: rgba(108, 143, 255, 0.15);
  border-color: rgba(108, 143, 255, 0.3);
  box-shadow: 0 0 12px rgba(108, 143, 255, 0.15);
}

.vis-bar-btn:hover {
  color: #d1d5db;
  border-color: rgba(255, 255, 255, 0.12);
}

/* ── SVG Bento Showcase Styling ── */
#bento-ai-text-container {
  font-weight: 500 !important;
}
#bento-ai-text-container .struck {
  color: #ef4444 !important;
  text-decoration: line-through !important;
  opacity: 0.6 !important;
}
#bento-ai-text-container .corrected {
  color: #22c55e !important;
  background: rgba(34, 197, 94, 0.08) !important;
  padding: 2px 4px !important;
  border-radius: 4px !important;
}
#bento-ai-text-container .vis-cursor {
  color: #6c8fff;
  animation: visBlink 1s steps(2) infinite;
  font-weight: 300;
  display: inline-block;
  margin-left: 2px;
}

/* ── Animated gradient stroke on Writing Assistant container ── */
.bento-content-anim-border {
  animation: bentoBorderPulse 2.5s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes bentoBorderPulse {
  0%   { stroke-opacity: 0.65; stroke-width: 1;   }
  100% { stroke-opacity: 1;    stroke-width: 1.8; }
}

#bento-ai-options-bar select {
  background: linear-gradient(135deg, #3730A3, #2E1065);
  border: none;
  color: #ffffff;
  border-radius: 19px;
  height: 38px;
  padding: 0 32px 0 20px;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 6px;
  box-shadow: 0 4px 12px rgba(55, 48, 163, 0.2);
}
#bento-ai-options-bar select:hover {
  background: linear-gradient(135deg, #4338CA, #31108F);
  box-shadow: 0 6px 16px rgba(67, 56, 202, 0.3);
  transform: scale(1.03);
}
#bento-ai-options-bar select:active {
  transform: scale(0.98);
}
#bento-ai-options-bar select option {
  background: #0a0a0c;
  color: #ffffff;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 12px;
}

.bento-tab .bento-tab-bg {
  fill: rgba(255, 255, 255, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-tab .bento-tab-border {
  stroke: url(#bento-inactive-border-grad);
  stroke-opacity: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-tab .bento-tab-txt {
  fill: #8e8e93;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-tab path:not(.bento-star-path) {
  stroke: #8e8e93;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-star-path {
  opacity: 0.6;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-tab:hover .bento-tab-bg {
  fill: rgba(255, 255, 255, 0.06);
}
.bento-tab:hover .bento-tab-txt {
  fill: #e5e7eb;
}
.bento-tab:hover path:not(.bento-star-path) {
  stroke: #e5e7eb;
}
.bento-tab:hover .bento-star-path {
  opacity: 0.85;
}

/* Active tab override */
.bento-tab.active .bento-tab-bg {
  fill: url(#bento-active-bg-grad) !important;
  fill-opacity: 1 !important;
}
.bento-tab.active .bento-tab-border {
  stroke: url(#bento-active-border-grad) !important;
  stroke-opacity: 1 !important;
}
.bento-tab.active .bento-tab-txt {
  fill: #ffffff !important;
  font-weight: 500 !important;
}
.bento-tab.active path:not(.bento-star-path) {
  stroke: #ffffff !important;
}
.bento-tab.active .bento-star-path {
  opacity: 1 !important;
}

/* Active tab highlight overlay in simulator */
.ai-tab-highlight {
  position: absolute;
  height: 36px;
  border-radius: 18px;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.2), rgba(255, 255, 255, 0.05)) padding-box,
              linear-gradient(135deg, rgba(165, 180, 252, 0.8), rgba(99, 102, 241, 0.5), rgba(67, 56, 202, 0.15)) border-box;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

/* Rewrite button logic */
#bento-ai-rewrite-btn {
  opacity: 0.35;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#bento-rewrite-btn-group:hover #bento-ai-rewrite-btn {
  opacity: 0.5;
}
#bento-rewrite-btn-group.active #bento-ai-rewrite-btn {
  opacity: 1 !important;
}
#bento-rewrite-btn-group.active:hover #bento-ai-rewrite-btn {
  transform: scale(1.03);
}

/* Container to wrap keyboard and helper note in a vertical flex layout */
.stt-visual-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
}

/* Wrapper: relative so overlays can be positioned inside */
.stt-keyboard-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  background: #0A0A0B; /* matches the SVG card background so transparent keys are solid */
}

/* The static keyboard SVG */
.stt-keyboard-static {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.stt-keyboard-static.stt-hidden { opacity: 0; }

/* GIF overlay – hidden until activated */
.stt-gif-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}
.stt-gif-overlay.stt-active { opacity: 1; }

/* Invisible spacebar hit zone
   SVG coords: x=130, y=249, w=130, h=48 in 390×329 viewport
   As %: left=33.3%, top=75.7%, width=33.3%, height=14.6%        */
.stt-spacebar-hit {
  position: absolute;
  left: 33.3%;
  top: 75.7%;
  width: 33.4%;
  height: 14.6%;
  cursor: pointer;
  border-radius: 6px;
  z-index: 5;
  /* Uncomment to debug: background: rgba(99,102,241,0.3); */
}

/* Hold progress bar – fills the entire spacebar key background */
.stt-hold-progress {
  position: absolute;
  left: 33.3%;
  top: 75.7%;
  width: 33.4%;
  height: 14.6%;
  background: transparent;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
}
.stt-hold-progress.stt-holding { opacity: 1; }

.stt-hold-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.45), rgba(59, 130, 246, 0.45), rgba(139, 92, 246, 0.45));
  border-radius: 8px;
}



/* ── Speech transcript overlay ──────────────────────────────────── */
.stt-transcript-overlay {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  height: 34px;
  width: max-content;
  max-width: 90%;
  background: rgba(10, 10, 11, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 8;
}
.stt-transcript-overlay.stt-active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Pulsing mic indicator dot */
.stt-mic-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6366F1;
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.6);
  animation: sttMicPulse 1.2s ease-out infinite;
}
@keyframes sttMicPulse {
  0%   { box-shadow: 0 0 0 0   rgba(99, 102, 241, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(99, 102, 241, 0);   }
}

/* Transcript text */
.stt-transcript-text {
  font-family: 'Host Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #FCFCFE;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* Blinking cursor */
.stt-transcript-cursor {
  flex-shrink: 0;
  display: inline-block;
  width: 2px;
  height: 14px;
  background: #6366F1;
  border-radius: 1px;
  animation: sttCursorBlink 0.75s step-end infinite;
}
@keyframes sttCursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Note text under the keyboard layout */
.stt-keyboard-note {
  margin-top: 18px;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(252, 252, 254, 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 20px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.05);
}
.stt-keyboard-note .material-symbols-rounded {
  font-size: 14px;
  color: rgba(129, 140, 248, 0.7);
}

/* ──────────────────────────────────────────────────────────────────
   Old vis-speech styles (kept for backwards compat, unused)
   ────────────────────────────────────────────────────────────────── */
.vis-speech {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 360px;
}

.vis-mic-ring {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vis-mic-ring-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 14px;
  border: 2px solid rgba(167, 139, 250, 0.3);
  animation: micPulse 2s ease-in-out infinite;
}

@keyframes micPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0; }
}

.vis-mic-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3730a3, #1e1b4b);
  border: 1px solid rgba(167, 139, 250, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.25);
}

.vis-mic-icon .material-symbols-rounded {
  font-size: 26px;
  color: #a78bfa;
}

.vis-waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 50px;
}

.vis-wave-bar {
  width: 4px;
  border-radius: 14px;
  background: linear-gradient(to top, #8b5cf6, #a78bfa);
  animation: visWave 1.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 0.1s);
  height: 12px;
}

@keyframes visWave {
  0% { height: 10px; opacity: 0.4; }
  100% { height: 48px; opacity: 1; }
}

.vis-transcript {
  font-family: var(--font-body);
  font-size: 15px;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 20px;
  min-width: 280px;
  min-height: 24px;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* ──────────────────────────────────────────────────────────────────
   Visual 3: 100% Local AI — Chip + Neural Network
   ────────────────────────────────────────────────────────────────── */
.vis-local {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.vis-cloud-crossed {
  color: #ef4444;
  opacity: 0.5;
}

.vis-cloud-crossed .material-symbols-rounded {
  font-size: 40px;
}

.vis-chip-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vis-chip {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #1e1e24, #111115);
  border: 2px solid rgba(108, 143, 255, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 30px rgba(108, 143, 255, 0.2),
              inset 0 0 20px rgba(108, 143, 255, 0.1);
  animation: pulseChip 4s ease-in-out infinite;
}

@keyframes pulseChip {
  0%, 100% {
    border-color: rgba(108, 143, 255, 0.3);
    box-shadow: 0 0 20px rgba(108, 143, 255, 0.15);
  }
  50% {
    border-color: rgba(108, 143, 255, 0.75);
    box-shadow: 0 0 35px rgba(108, 143, 255, 0.45);
  }
}

.vis-chip-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(108, 143, 255, 0.8);
}

.vis-neural {
  position: absolute;
  z-index: 2;
  opacity: 0.7;
}

.vis-neural.np-h {
  height: 2px;
  width: 90px;
  background: linear-gradient(90deg, transparent, rgba(108, 143, 255, 0.6), transparent);
  top: 50%;
  transform: translateY(-50%);
}

.np-h1 { left: 0; animation: neuralFlowLeft 3s infinite linear; }
.np-h2 { right: 0; animation: neuralFlowRight 3s infinite linear; }

.vis-neural.np-v {
  width: 2px;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(108, 143, 255, 0.6), transparent);
  left: 50%;
  transform: translateX(-50%);
}

.np-v1 { top: 0; animation: neuralFlowTop 3s infinite linear; }
.np-v2 { bottom: 0; animation: neuralFlowBottom 3s infinite linear; }

@keyframes neuralFlowLeft {
  0% { background-position: -90px 0; }
  100% { background-position: 90px 0; }
}
@keyframes neuralFlowRight {
  0% { background-position: 90px 0; }
  100% { background-position: -90px 0; }
}
@keyframes neuralFlowTop {
  0% { background-position: 0 -90px; }
  100% { background-position: 0 90px; }
}
@keyframes neuralFlowBottom {
  0% { background-position: 0 90px; }
  100% { background-position: 0 -90px; }
}

.vis-data-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 14px;
  background: #6c8fff;
  box-shadow: 0 0 8px rgba(108, 143, 255, 0.6);
  z-index: 4;
}

.d1 { top: 20px; left: 50%; animation: dotOrbit1 3s linear infinite; }
.d2 { bottom: 20px; left: 50%; animation: dotOrbit2 3s linear infinite; }
.d3 { left: 20px; top: 50%; animation: dotOrbit3 3s linear infinite; }
.d4 { right: 20px; top: 50%; animation: dotOrbit4 3s linear infinite; }

@keyframes dotOrbit1 {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(30px); opacity: 0.3; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes dotOrbit2 {
  0% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(-30px); opacity: 0.3; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
@keyframes dotOrbit3 {
  0% { transform: translateY(-50%) translateX(0); opacity: 1; }
  50% { transform: translateY(-50%) translateX(30px); opacity: 0.3; }
  100% { transform: translateY(-50%) translateX(0); opacity: 1; }
}
@keyframes dotOrbit4 {
  0% { transform: translateY(-50%) translateX(0); opacity: 1; }
  50% { transform: translateY(-50%) translateX(-30px); opacity: 0.3; }
  100% { transform: translateY(-50%) translateX(0); opacity: 1; }
}

.vis-local-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 10px;
  padding: 6px 16px;
}

/* ──────────────────────────────────────────────────────────────────
   Visual 4: AI Shortcuts — Keycaps + Command Palette
   ────────────────────────────────────────────────────────────────── */
.vis-shortcuts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 340px;
}

.vis-keys-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vis-keycap {
  width: 52px;
  height: 52px;
  background: linear-gradient(180deg, #2a2a35, #15151c);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
  transition: all 0.15s ease;
  animation: keyFloat 3s ease-in-out infinite alternate;
}

.vis-keycap[data-press="2"] {
  animation-delay: 0.5s;
}

.vis-keycap:hover {
  transform: translateY(3px);
  border-bottom-width: 1px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);
}

@keyframes keyFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.vis-keycap-plus {
  font-family: var(--font-heading);
  font-size: 16px;
  color: #4b5563;
}

.vis-palette {
  width: 100%;
  background: rgba(10, 10, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.12);
}

.vis-palette-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vis-palette-input {
  font-family: var(--font-body);
  font-size: 13px;
  color: #4b5563;
}

.vis-palette-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #9ca3af;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.vis-palette-item.active {
  background: rgba(108, 143, 255, 0.08);
  color: #ffffff;
}

.vis-palette-item:last-child {
  border-bottom: none;
}

.vis-palette-shortcut {
  margin-left: auto;
  font-size: 11px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 2px 6px;
}

/* ──────────────────────────────────────────────────────────────────
   Visual 5: AI Emoji Generator
   ────────────────────────────────────────────────────────────────── */
.vis-emoji {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 360px;
}

.vis-emoji-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  padding: 14px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-body);
  font-size: 14px;
  color: #e5e7eb;
  transition: opacity 0.4s ease;
}

.vis-emoji-suggestions {
  display: flex;
  gap: 12px;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.vis-emoji-orb {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1);
  animation: emojiFloat 4s ease-in-out infinite alternate;
  animation-delay: var(--delay);
  transition: all 0.3s ease;
}

.vis-emoji-orb:hover {
  transform: scale(1.2) translateY(-5px);
  background: rgba(108, 143, 255, 0.1);
  border-color: rgba(108, 143, 255, 0.3);
  box-shadow: 0 15px 30px rgba(108, 143, 255, 0.15);
}

@keyframes emojiFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ── Features Section Title ── */
.features-grid-section .section-title {
  font-size: 42px;
  line-height: 1.25;
  margin-top: 16px;
  margin-bottom: 20px;
}

/* ── Responsive Showcase ── */
@media (max-width: 900px) {
  .feature-showcase-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-showcase-row.reverse {
    direction: ltr;
  }
  .feature-title {
    font-size: 28px;
  }
  .feature-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .features-grid-section .section-title {
    font-size: 32px !important;
  }
  .features-grid-section {
    padding: 100px 0 60px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   Interactive Sandbox: Mobile device mockup & chat interface
   ────────────────────────────────────────────────────────────────── */

.sandbox-mobile-device {
  position: relative;
  width: 100%;
  max-width: 375px;
  height: 687px;
  margin: 0 auto;
  background: #08080F;
  border: 8px solid #1A1A2E;
  border-radius: 44px;
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.18),
    0 0 0 2px rgba(99, 102, 241, 0.06),
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(99, 102, 241, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.sandbox-mobile-device:hover {
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.28),
    0 0 0 2px rgba(99, 102, 241, 0.1),
    0 50px 100px rgba(0, 0, 0, 0.75),
    0 0 80px rgba(99, 102, 241, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.sandbox-mobile-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 14px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
  display: none;
}

.sandbox-mobile-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  background: linear-gradient(180deg, #0C0C16 0%, #08080F 100%);
  position: relative;
  min-height: 0;
  height: 100%;
}

.sandbox-chat-header {
  height: 44px;
  background: rgba(10, 10, 18, 0.97);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sandbox-chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.sandbox-chat-info {
  display: flex;
  flex-direction: column;
}

.sandbox-chat-name {
  color: #F4F4F5;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sandbox-chat-status {
  color: #818CF8;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.sandbox-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: none;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(99,102,241,0.04) 0%, transparent 70%);
}

.sandbox-chat-messages::-webkit-scrollbar {
  display: none;
}

.chat-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.chat-bubble.incoming {
  background: rgba(30, 30, 46, 0.9);
  color: #E4E4E7;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(10px);
}

.chat-bubble.outgoing {
  background: linear-gradient(135deg, #4F46E5 0%, #3B82F6 100%);
  color: #FCFCFE;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  box-shadow:
    0 4px 16px rgba(79, 70, 229, 0.35),
    0 0 0 1px rgba(139, 92, 246, 0.2);
}

.sandbox-input-bar {
  padding: 8px 10px;
  background: rgba(10, 10, 18, 0.97);
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sandbox-input-field-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 18px;
  padding: 2px 4px 2px 12px;
  gap: 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sandbox-input-field-wrap:focus-within {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.12);
}

.sandbox-input-field-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FCFCFE;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  padding: 5px 0;
}

.sandbox-input-field-wrap input::placeholder {
  color: #3F3F5C;
}

.sandbox-send-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  border: none;
  outline: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.sandbox-send-btn:hover {
  background: linear-gradient(135deg, #818CF8, #6366F1);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.6);
  transform: scale(1.08);
}

.sandbox-send-btn span {
  font-size: 14px;
}

.sandbox-suggestion-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(10, 10, 18, 0.97);
  border-top: 1px solid rgba(99, 102, 241, 0.08);
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
  padding: 6px 10px;
  gap: 6px;
}

.s-pill-btn {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.18);
  color: #818CF8;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.s-pill-btn:hover {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.45);
  color: #A5B4FC;
  transform: translateY(-0.5px);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.sandbox-keyboard-container {
  position: relative;
  width: 100%;
  background: #0A0A0B;
  flex-shrink: 0;
  overflow: hidden;
}

.sandbox-keyboard-img {
  width: 100%;
  height: auto;
  display: block;
}

.sandbox-keys-overlay {
  position: absolute;
  inset: 0;
}

.s-key {
  position: absolute;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.08s;
  z-index: 5;
}

.s-key:active, .s-key.active {
  background-color: rgba(255, 255, 255, 0.18) !important;
}

.s-key.special-key:active, .s-key.special-key.active {
  background-color: rgba(99, 102, 241, 0.25) !important;
}

.sandbox-external-controls {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
  width: 100%;
}

/* Futuristic button base — override demo-btn for sandbox */
.demo-details-col .demo-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #A1A1AA;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.demo-details-col .demo-btn span {
  font-size: 15px;
}

.demo-details-col .demo-btn.autoplay-btn {
  border-color: rgba(99, 102, 241, 0.3);
  color: #818CF8;
  background: rgba(99, 102, 241, 0.05);
}

.demo-details-col .demo-btn.autoplay-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
  color: #A5B4FC;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.15), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.demo-details-col .demo-btn.reset-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: #D4D4D8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

/* Typing Indicator inside Chat Bubble */
.chat-bubble.typing-bubble {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}
.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background-color: #A1A1AA;
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite both;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Split Layout for Interactive Sandbox Section */
.demo-split-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-details-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.demo-details-col .section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 16px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFF 30%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.demo-details-col .section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 36px;
  text-align: left;
  max-width: 100%;
  color: var(--text-muted);
}

.sandbox-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  width: 100%;
}

.sandbox-feat-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sandbox-feat-item:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(99, 102, 241, 0.08) inset;
}

.sandbox-feat-item .feat-icon {
  font-size: 18px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818CF8;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.sandbox-feat-item .feat-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #F4F4F5;
  margin: 0 0 3px;
  letter-spacing: 0.01em;
}

.sandbox-feat-item .feat-text p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #71717A;
  line-height: 1.5;
  margin: 0;
}

.demo-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  position: relative;
}

/* Ambient halo glow behind device */
.demo-visual-col::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 500px;
  background: radial-gradient(ellipse 60% 70% at 50% 50%,
    rgba(99, 102, 241, 0.12) 0%,
    rgba(139, 92, 246, 0.06) 45%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(30px);
}

.demo-visual-col .sandbox-mobile-device {
  position: relative;
  z-index: 1;
}

/* Controls centered below the phone mockup */
.sandbox-below-device-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .demo-split-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 16px;
  }
  .demo-details-col {
    align-items: center;
    text-align: center;
  }
  .demo-details-col .section-title {
    font-size: 32px;
  }
  .demo-details-col .section-subtitle {
    text-align: center;
  }
  .demo-details-col .sandbox-external-controls {
    justify-content: center;
  }
}

/* Mobile Status Bar at the top of the phone screen */
.sandbox-mobile-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 10, 18, 0.97);
  user-select: none;
  z-index: 9;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.07);
}

.status-bar-icons {
  display: flex;
  gap: 5px;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Chat Header Left & Right Layout */
.sandbox-chat-header {
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 14px !important;
  flex-shrink: 0 !important;
}

.sandbox-chat-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sandbox-chat-avatar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sandbox-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background-color: #10B981;
  border: 1.5px solid #08080F;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981, 0 0 14px rgba(16, 185, 129, 0.4);
  animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 8px #10B981, 0 0 14px rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 12px #10B981, 0 0 24px rgba(16, 185, 129, 0.6); }
}

.sandbox-chat-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.chat-action-icon {
  font-size: 18px !important;
  color: #818CF8;
  cursor: pointer;
  transition: color 0.15s;
}

.chat-action-icon:hover {
  color: #A5B4FC;
}

/* System Date Separator */
.chat-system-date {
  align-self: center;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: #52525B;
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  margin: 4px 0;
  user-select: none;
  letter-spacing: 0.04em;
}

/* Chat Bubbles Upgrades */
.chat-bubble {
  position: relative;
  max-width: 75%;
  padding: 10px 12px;
  font-size: 12.5px;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.chat-bubble.incoming {
  border-bottom-left-radius: 4px;
}

.chat-bubble.outgoing {
  border-bottom-right-radius: 4px;
}

.bubble-time {
  display: block;
  font-size: 8px;
  text-align: right;
  margin-top: 5px;
  opacity: 0.55;
  user-select: none;
}

.chat-bubble.incoming .bubble-time {
  color: #A1A1AA;
}

.chat-bubble.outgoing .bubble-time {
  color: rgba(255, 255, 255, 0.8);
}

/* Input Bar Upgrades */
.sandbox-input-bar {
  display: flex !important;
  align-items: center !important;
  padding: 8px 12px !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.sandbox-input-left-actions {
  display: flex;
  align-items: center;
}

.input-action-icon {
  font-size: 20px !important;
  color: #8E8E93;
  cursor: pointer;
  transition: color 0.15s;
}

.input-action-icon:hover {
  color: #AEAEB2;
}

.sandbox-input-field-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: #1C1C1E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 4px 10px 4px 14px;
  gap: 8px;
}

.sandbox-input-field-wrap input {
  font-size: 13px;
  padding: 4px 0;
}

.input-inner-emoji {
  font-size: 18px !important;
  color: #8E8E93;
  cursor: pointer;
  transition: color 0.15s;
}

.input-inner-emoji:hover {
  color: #AEAEB2;
}

.sandbox-send-btn {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0;
}

/* AI Features Keyboard Overlay Styles */
.sandbox-ai-keys-overlay {
  user-select: none;
}
.ai-key {
  transition: background-color 0.15s;
}
.ai-key:active {
  background-color: rgba(255, 255, 255, 0.1);
}
.ai-key[data-char="back"]:active {
  background-color: rgba(255, 255, 255, 0.12);
}
.ai-key[data-char="rewrite"]:active {
  background-color: rgba(99, 102, 241, 0.25);
}

/* Typing / AI correction glow */
#sandbox-chat-input.ai-correcting {
  border-color: #6366F1 !important;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.45) !important;
  color: #818CF8 !important;
  pointer-events: none;
}

#sandbox-ai-options-bar select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 15px;
  height: 30px;
  padding: 0 24px 0 12px;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px 5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#sandbox-ai-options-bar select:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
#sandbox-ai-options-bar select:active {
  transform: scale(0.98);
}
#sandbox-ai-options-bar select option {
  background: #141416;
  color: #ffffff;
  font-family: 'Host Grotesk', sans-serif;
  font-size: 11px;
}


/* ─────────────────────────────────────────────────────────────────
   Interactive Sandbox — Premium Left Column
   ───────────────────────────────────────────────────────────────── */

/* Shimmering badge */
.sandbox-badge {
  position: relative;
  overflow: hidden;
  border-color: rgba(99, 102, 241, 0.25) !important;
  background: rgba(99, 102, 241, 0.06) !important;
  color: #A5B4FC;
  gap: 8px;
}

.sandbox-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(165, 180, 252, 0.2),
    transparent
  );
  animation: badgeShimmer 3s ease-in-out infinite;
}

@keyframes badgeShimmer {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}

/* Live pulse dot on badge */
.sandbox-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
  flex-shrink: 0;
  animation: badgeDotPulse 2s ease-in-out infinite;
}

@keyframes badgeDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #10B981; }
  50%       { opacity: 0.6; box-shadow: 0 0 12px #10B981, 0 0 20px rgba(16,185,129,0.4); }
}

/* Section title — larger, bolder, dramatic */
.demo-section-title {
  font-size: 52px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 12px !important;
  background: linear-gradient(135deg, #FFFFFF 0%, #C7D2FE 50%, #818CF8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Decorative animated accent line under title */
.demo-title-accent {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6366F1, #8B5CF6, #3B82F6);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.demo-title-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: accentShimmer 2.5s ease-in-out infinite;
}

@keyframes accentShimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* Live stat chips row */
.sandbox-stat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.sandbox-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(99, 102, 241, 0.18);
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #A1A1AA;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.sandbox-stat-chip:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
  color: #C7D2FE;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
}

/* Pulsing dot on first chip */
.stat-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 5px #10B981;
  flex-shrink: 0;
  animation: badgeDotPulse 1.8s ease-in-out infinite;
}

.stat-chip-icon {
  font-size: 14px !important;
  color: #818CF8;
  flex-shrink: 0;
}

/* Feature icon — gradient background with glow, using Material Symbols */
.sandbox-feat-item .feat-icon {
  font-size: 0 !important;        /* hide any stray text */
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.08)) !important;
  border: 1px solid rgba(99, 102, 241, 0.22) !important;
  box-shadow: 0 0 14px rgba(99,102,241,0.12), inset 0 1px 0 rgba(255,255,255,0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: box-shadow 0.3s ease, background 0.3s ease !important;
}

.sandbox-feat-item:hover .feat-icon {
  background: linear-gradient(135deg, rgba(99,102,241,0.22), rgba(139,92,246,0.14)) !important;
  box-shadow: 0 0 22px rgba(99,102,241,0.22), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

.sandbox-feat-item .feat-icon .material-symbols-rounded {
  font-size: 20px;
  color: #A5B4FC;
  transition: color 0.25s ease;
}

.sandbox-feat-item:hover .feat-icon .material-symbols-rounded {
  color: #C7D2FE;
}

/* Feature card — stronger hover border glow */
.sandbox-feat-item {
  cursor: default;
}

.sandbox-feat-item:hover {
  transform: translateY(-2px) !important;
}

/* Responsive — stack title size on mobile */
@media (max-width: 992px) {
  .demo-section-title {
    font-size: 38px !important;
  }
  .sandbox-stat-chips {
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────────
   AI Keyboard Mic — Listening State
   ───────────────────────────────────────────────────────────────── */

#sandbox-ai-mic-btn:hover {
  background: rgba(99, 102, 241, 0.12);
}
#sandbox-ai-mic-btn:active,
#sandbox-ai-mic-btn.listening {
  background: rgba(99, 102, 241, 0.18);
}

/* Pulsing concentric rings centered over the mic SVG circle */
.mic-listen-ring {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  left: 11.65%;
  top: 88.4%;
  animation: micRingPulse 2s ease-out infinite;
  pointer-events: none;
}
.mic-ring-1 { width: 38px; height: 38px; border: 1.5px solid rgba(99,102,241,0.6);  animation-delay: 0s;   }
.mic-ring-2 { width: 60px; height: 60px; border: 1.5px solid rgba(139,92,246,0.35); animation-delay: 0.45s; }
.mic-ring-3 { width: 86px; height: 86px; border: 1.5px solid rgba(99,102,241,0.18); animation-delay: 0.9s;  }

@keyframes micRingPulse {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.65); }
  15%  { opacity: 1; }
  80%  { opacity: 0.2; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.35); }
}

/* Glowing center circle that replaces the static SVG mic */
.mic-listen-center {
  position: absolute;
  left: 11.65%;
  top: 88.4%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366F1, #4F46E5);
  box-shadow: 0 0 0 2px rgba(99,102,241,0.4), 0 0 18px rgba(99,102,241,0.65), 0 0 36px rgba(99,102,241,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: micCenterPulse 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes micCenterPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(99,102,241,0.4), 0 0 18px rgba(99,102,241,0.65), 0 0 36px rgba(99,102,241,0.3); }
  50%       { box-shadow: 0 0 0 3px rgba(99,102,241,0.6), 0 0 28px rgba(99,102,241,0.85), 0 0 52px rgba(99,102,241,0.45); }
}

.mic-listen-icon {
  font-size: 18px !important;
  color: #fff;
}

/* ─────────────────────────────────────────────────────────────────
   Footer — Cinematic Auditorium Stage
   ───────────────────────────────────────────────────────────────── */
.footer-stage { width:100%; background:#000; overflow:hidden; }
.stage-scene {
  position:relative; width:100%; min-height:500px;
  background:#000;
  display:flex; flex-direction:column; align-items:center;
  padding:48px 20px 60px; overflow:hidden;
  perspective: 1200px;
}
.stage-scene::before {
  content: '';
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90%);
  height: 120px;
  background: radial-gradient(ellipse, rgba(0, 71, 255, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.stage-ceiling {
  display: none;
}
.stage-screen {
  position:relative; width:min(920px,92%); aspect-ratio:16/6.0;
  background:linear-gradient(135deg, #003bff 0%, #002299 50%, #150066 100%);
  background-clip: padding-box;
  border: 1px solid transparent;
  border-radius:6px; overflow:hidden;
  display:grid; grid-template-columns:1.15fr 0.85fr; align-items:center;
  padding:32px 48px; z-index:4;
  box-shadow:0 0 50px rgba(0, 59, 255, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.08), 0 25px 50px rgba(0, 0, 0, 0.85);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stage-screen::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  z-index: -1;
  border-radius: 7px;
  background: linear-gradient(90deg, #0047ff, #7000ff, #00d9ff, #0047ff);
  background-size: 300% 100%;
  animation: borderGlow 8s linear infinite;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}
.stage-screen:hover::before {
  opacity: 1;
}
@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
.stage-screen:hover {
  transform: translateY(-8px) scale(1.01) rotateX(3deg);
  box-shadow: 0 0 70px rgba(0, 59, 255, 0.38), inset 0 0 25px rgba(255, 255, 255, 0.18), 0 35px 70px rgba(0, 0, 0, 0.95);
}

/* Volumetric Stage Light Rays */
.stage-light-rays {
  position: absolute;
  top: 220px;
  left: 0;
  width: 100%;
  height: 400px;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.light-ray {
  position: absolute;
  top: 0;
  left: 50%;
  width: 200px;
  height: 100%;
  transform-origin: top center;
  mix-blend-mode: screen;
  filter: blur(16px);
  pointer-events: none;
  animation: rayPulse 9s ease-in-out infinite;
  animation-delay: var(--delay);
}
.light-ray::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 140, 255, 0.6) 0%, rgba(0, 71, 255, 0.18) 50%, transparent 100%);
  clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
}
@keyframes rayPulse {
  0% {
    opacity: 0.25;
    transform: translateX(-50%) rotate(var(--rot)) scaleX(1);
  }
  50% {
    opacity: 0.55;
    transform: translateX(-50%) rotate(calc(var(--rot) + 2.5deg)) scaleX(1.15);
  }
  100% {
    opacity: 0.25;
    transform: translateX(-50%) rotate(var(--rot)) scaleX(1);
  }
}
@media (max-width: 700px) {
  .stage-light-rays {
    top: 150px;
    height: 300px;
  }
}
.screen-blob { position:absolute; border-radius:50%; pointer-events:none; }
.screen-blob-1 {
  width:65%; aspect-ratio:1; background:rgba(0, 50, 200, 0.45); left:-10%; top:-15%;
  animation: blobDrift1 12s ease-in-out infinite;
}
.screen-blob-2 {
  width:40%; aspect-ratio:1; background:rgba(0, 50, 200, 0.3); left:8%; bottom:-20%;
  animation: blobDrift2 16s ease-in-out infinite;
}
@keyframes blobDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -15px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes blobDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
.screen-slide-num {
  position:absolute; top:24px; right:32px;
  font-family:'Inter',sans-serif; font-size:clamp(13px, 1.4vw, 18px); font-weight:400;
  color:rgba(255,255,255,0.9); letter-spacing:.05em;
  transition: opacity 0.3s ease;
}
.screen-left {
  position:relative; z-index:1;
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  gap:12px;
  text-align:center;
}
.screen-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.screen-brand-logo {
  width: clamp(40px, 5.2vw, 58px);
  height: clamp(40px, 5.2vw, 58px);
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 71, 255, 0.45));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
  margin-bottom: 4px;
}
.stage-screen:hover .screen-brand-logo {
  transform: rotate(360deg) scale(1.1);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 25px rgba(0, 110, 255, 0.75));
}
.screen-headline {
  font-family: var(--font-heading); font-size:clamp(20px,3vw,32px);
  font-weight:800; line-height:1.0; letter-spacing:0.02em;
  color:#fff; text-transform:uppercase; margin:0;
  text-align:center;
  transition: text-shadow 0.4s ease;
}
.stage-screen:hover .screen-headline {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 30px rgba(0, 71, 255, 0.7);
}
.screen-stars { display:flex; gap:12px; align-items:center; justify-content:center; margin-top: 4px; }
.screen-stars svg {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.stage-screen:hover .screen-stars svg:first-child {
  transform: rotate(180deg) scale(1.25);
  filter: drop-shadow(0 0 8px #fff);
}
.stage-screen:hover .screen-stars svg:last-child {
  transform: rotate(-180deg) scale(1.2);
  filter: drop-shadow(0 0 5px #fff);
}
.screen-right {
  position:relative; z-index:1; padding-left:32px;
  border-left:1px solid rgba(255,255,255,0.2);
}
.screen-sub-title {
  font-family:'Inter',sans-serif; font-size:clamp(10px,1.2vw,13px);
  font-weight:700; letter-spacing:.12em; color:#fff; margin:0 0 10px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.screen-divider { width:100%; height:1px; background:rgba(255,255,255,0.4); margin-bottom:12px; }
.screen-body {
  font-family:'Inter',sans-serif; font-size:clamp(8px,1vw,12px);
  line-height:1.6; color:rgba(255,255,255,0.9); margin:0;
}
.stage-deck-audience {
  width:calc(100% + 40px);
  margin-left:-20px;
  margin-right:-20px;
  max-width:none;
  aspect-ratio:1024 / 226; /* crop the top 11px containing the green edge */
  background-image:url('footer_stage_audience.png');
  background-size:cover;
  background-position:center bottom;
  background-repeat:no-repeat;
  margin-top:32px;
  z-index:2;
  position:relative;
  box-shadow:0 10px 40px rgba(0, 0, 0, 0.8);
  filter: brightness(0.96) contrast(1.06);
}
.stage-deck-audience::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0, 71, 255, 0.12) 0%, rgba(0, 0, 0, 0.25) 25%, transparent 100%);
  pointer-events: none;
}
.stage-bottom-fade {
  display:none;
}
.stage-copyright {
  background:#000; display:flex; align-items:center; justify-content:space-between;
  padding:18px 48px; border-top:1px solid rgba(255,255,255,0.06);
}
.stage-copyright p { font-size:13px; color:rgba(255,255,255,0.3); margin:0; }
.stage-copyright-links { display:flex; align-items:center; gap:10px; }
.stage-copyright-links a {
  font-size:13px; color:rgba(255,255,255,0.3);
  text-decoration:none; transition:color .2s;
}
.stage-copyright-links a:hover { color:rgba(255,255,255,0.7); }
.stage-copyright-links span { color:rgba(255,255,255,0.15); }
@media(max-width:700px) {
  .stage-screen { grid-template-columns:1fr; aspect-ratio:auto; padding:24px 20px; gap:16px; }
  .screen-right { border-left:none; border-top:1px solid rgba(255,255,255,0.2); padding-left:0; padding-top:16px; }
  .stage-copyright { flex-direction:column; gap:10px; padding:16px 24px; text-align:center; }
}
