/* ── 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%);
}

.product-page {
  --bg-color: #04030B;
  --bg-secondary: #060222;
  --accent-color: #0B55FF;
  --accent-gradient: linear-gradient(135deg, #0B55FF 0%, #205FFF 45%, #3C289F 100%);

  --font-heading: 'Host Grotesk', 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 (Linear-style) ──────────────────── */
.demo-section {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent, rgba(10, 5, 36, 0.3) 50%, transparent 100%);
  position: relative;
  z-index: 2;
}

.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.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  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: linear-gradient(135deg, rgba(10, 5, 36, 0.8) 0%, rgba(26, 12, 64, 0.4) 100%);
  border: 1px solid rgba(11, 85, 255, 0.15);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── 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: 48px 52px;

  /* ── Deep glass background ── */
  background:
    linear-gradient(160deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(10, 10, 22, 0.5) 30%,
      rgba(10, 10, 22, 0.45) 70%,
      rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);

  /* ── 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.07),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
  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);
}

/* ── Top-left and bottom-right corner accents ── */
.feature-showcase-row > .feature-text::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -12px;
  width: 24px;
  height: 24px;
  border-top: 2px solid rgba(108, 143, 255, 0.3);
  border-left: 2px solid rgba(108, 143, 255, 0.3);
  pointer-events: none;
}

.feature-showcase-row > .feature-visual::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -12px;
  width: 24px;
  height: 24px;
  border-bottom: 2px solid rgba(108, 143, 255, 0.3);
  border-right: 2px solid rgba(108, 143, 255, 0.3);
  pointer-events: none;
}

/* ── 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: center;
  min-height: 300px;
}

/* ──────────────────────────────────────────────────────────────────
   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);
}

/* ──────────────────────────────────────────────────────────────────
   Visual 2: Speech-to-Text
   ────────────────────────────────────────────────────────────────── */
.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: #0a0a0c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  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.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 20px;
  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.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  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;
  }
}
