/* ==========================================================================
   CrazzyNotch 2.0 Landing Page Stylesheet
   Crafted with Luxury Apple Dark Aesthetics, Neon Halos, & Glassmorphism
   ========================================================================== */

:root {
  --bg-dark: #07080b;
  --bg-surface: #0e1117;
  --bg-card: #141720;
  --bg-card-hover: #1a1f2c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.22);
  --border-glass: rgba(255, 255, 255, 0.12);

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --accent-cyan: #00F2FE;
  --accent-blue: #4FACFE;
  --accent-purple: #8B5CF6;
  --accent-pink: #EC4899;
  --accent-amber: #F59E0B;
  --accent-green: #10B981;
  --accent-red: #EF4444;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #111522 0%, #07080b 60%);
}

/* ==========================================================================
   Ambient Background Lighting Orbs
   ========================================================================== */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.38;
}

.glow-top-left {
  top: -100px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0, 242, 254, 0) 70%);
}

.glow-top-right {
  top: -60px;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--accent-purple) 0%, rgba(139, 92, 246, 0) 70%);
}

.glow-center {
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18) 0%, rgba(0,0,0,0) 70%);
}

/* ==========================================================================
   Typography & Common Utilities
   ========================================================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  line-height: 1.65;
}

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

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

.gradient-headline {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 35%, var(--accent-cyan) 75%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  color: #07080B;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

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

.btn-glass {
  background: rgba(18, 22, 32, 0.7);
  border-color: var(--border-glass);
  color: var(--text-primary);
  backdrop-filter: blur(16px);
}

.btn-glass:hover {
  background: rgba(25, 30, 44, 0.9);
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: 16px;
}

.btn-text-stacked {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-main-label {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-sub-label {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  animation: btnGlowShine 4s infinite linear;
}

@keyframes btnGlowShine {
  0% { transform: translateX(-150%) rotate(45deg); }
  35%, 100% { transform: translateX(150%) rotate(45deg); }
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 8, 11, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-badge {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 80px 24px 40px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 760px;
  margin: 0 auto 36px;
  color: #94A3B8;
  font-weight: 400;
}

.hero-subtitle strong {
  color: #F1F5F9;
  font-weight: 600;
}

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

.hero-specs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.spec-chip svg {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Simulator Section & Event Trigger Controls
   ========================================================================== */
.simulator-section {
  position: relative;
  z-index: 10;
  padding: 40px 24px 80px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 14px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* Event Simulator Controls */
.simulator-event-triggers {
  max-width: 960px;
  margin: 0 auto 28px;
  background: rgba(18, 22, 32, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 16px 20px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.event-triggers-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.trigger-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94A3B8;
  margin-right: 4px;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.event-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  border-color: var(--border-active);
  transform: translateY(-1px);
}

.event-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(139, 92, 246, 0.25));
  border-color: rgba(0, 242, 254, 0.5);
  color: #FFF;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.btn-dot.green { background: #10B981; box-shadow: 0 0 6px #10B981; }

.event-toggles-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.toggle-pill-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-lbl {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 600;
}

.mini-pill-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mini-pill-btn:hover {
  color: #FFF;
}

.mini-pill-btn.active {
  background: #FFF;
  color: #07080B;
  border-color: #FFF;
}

#btn-toggle-always-glow.active {
  background: var(--accent-purple);
  color: #FFF;
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* ==========================================================================
   MacBook Pro Mockup Device
   ========================================================================== */
.macbook-stage {
  max-width: 1040px;
  margin: 0 auto;
}

.macbook-device {
  background: #1a1d26;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px 24px 0 0;
  padding: 12px 12px 0 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 70px rgba(0, 242, 254, 0.12);
  position: relative;
}

.macbook-screen {
  background: #000000;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  height: 560px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* macOS Menu Bar */
.macos-menubar {
  height: 34px;
  background: rgba(16, 20, 28, 0.88);
  backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 50;
  position: relative;
}

.menubar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #E2E8F0;
}

.apple-logo {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 17px;
  margin-top: -1px;
  color: currentColor;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.apple-logo:hover {
  opacity: 1;
}

.menubar-item.app-name {
  font-weight: 700;
}

.menubar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: #CBD5E1;
}

.menubar-item-text.bold {
  font-weight: 600;
}

/* ==========================================================================
   The Dynamic Notch
   ========================================================================== */
.notch-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
}

.dynamic-notch {
  position: relative;
  background: #000000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  overflow: visible;
  transition: width 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.35s ease,
              transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);

  /* Resting Hardware Notch: width ~216px, height ~34px */
  width: 216px;
  height: 34px;
  border-radius: 0 0 16px 16px;
}

/* Flare Wings on Left and Right at Screen Bezel */
.dynamic-notch::before,
.dynamic-notch::after {
  content: '';
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.dynamic-notch::before {
  left: -14px;
  background: radial-gradient(circle at 0 0, transparent 14px, #000 14px);
}

.dynamic-notch::after {
  right: -14px;
  background: radial-gradient(circle at 100% 0, transparent 14px, #000 14px);
}

/* Floating Pill Island Style */
.dynamic-notch.is-pill {
  margin-top: 6px;
  border-radius: 24px !important;
}

.dynamic-notch.is-pill::before,
.dynamic-notch.is-pill::after {
  opacity: 0;
}

/* Notch Hardware Camera Lens & Green LED Indicator */
.notch-hardware-sensors {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  pointer-events: none;
}

.hardware-lens {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a3142 0%, #0a0d14 70%, #000000 100%);
  box-shadow: inset 0 0 2px rgba(0, 242, 254, 0.4);
}

.hardware-indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hardware-indicator-dot.active {
  opacity: 1;
}

/* ==========================================================================
   Continuous Running Glow SVG
   (Open Rim: Left flare, bottom lip, and right flare only - ZERO DASHES)
   ========================================================================== */
.notch-glow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 20;
}

.glow-rim-stroke {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.4s ease;
}

/* 1. Volumetric Deep Ambient Halo */
.ambient-halo {
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.45));
}

/* 2. Primary Continuous Running Beam (Apple Intelligence Spectrum) */
.primary-beam {
  opacity: 0.95;
  stroke-dasharray: 140 180;
  animation: runningGlowCycle 2.4s infinite linear;
}

/* 3. Leading White-Hot Laser Glider Head */
.laser-head {
  opacity: 0.98;
  stroke-dasharray: 38 282;
  animation: runningGlowCycle 2.4s infinite linear;
  filter: drop-shadow(0 0 4px #FFFFFF);
}

/* 4. Secondary Chaser Wave (Warm Sunset, Offset by 50%) */
.chaser-beam {
  opacity: 0.88;
  stroke-dasharray: 110 210;
  animation: runningGlowCycleOffset 2.4s infinite linear;
}

@keyframes runningGlowCycle {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -320; }
}

@keyframes runningGlowCycleOffset {
  0% { stroke-dashoffset: -160; }
  100% { stroke-dashoffset: -480; }
}

/* When Glow is Inactive / Faded */
.dynamic-notch:not(.has-glow) .notch-glow-svg {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* ==========================================================================
   Interactive Island States & Views
   ========================================================================== */
.island-view {
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  flex: none;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.island-view.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

/* State-specific display rules must never expose an inactive view. */
.island-view:not(.active) {
  display: none !important;
}

/* Sizing Transitions for States */
.dynamic-notch.is-resting {
  width: 216px;
  height: 34px;
}

.dynamic-notch.is-resting:hover {
  width: 250px;
  height: 40px;
}

.dynamic-notch.is-expanded {
  width: 480px;
  height: 255px;
  border-radius: 0 0 24px 24px;
  cursor: default;
}

.dynamic-notch.is-faceid {
  width: 320px;
  height: 78px;
}

.dynamic-notch.is-call {
  width: 400px;
  height: 72px;
}

.dynamic-notch.is-notification {
  width: 390px;
  height: 72px;
}

/* --- STATE 1: Resting Notch View --- */
.view-resting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  width: 100%;
}

.resting-wing {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.resting-battery-icon {
  font-size: 0.85rem;
  color: #10B981;
}

.resting-camera-gap {
  width: 50px;
  height: 100%;
}

.resting-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.r-bar {
  width: 2.2px;
  background: var(--accent-cyan);
  border-radius: 1px;
  animation: eqJump 1s infinite alternate ease-in-out;
}
.b1 { height: 4px; animation-delay: 0.1s; }
.b2 { height: 11px; animation-delay: 0.4s; }
.b3 { height: 7px; animation-delay: 0.2s; }
.b4 { height: 9px; animation-delay: 0.5s; }

@keyframes eqJump {
  0% { height: 3px; }
  100% { height: 12px; }
}

.resting-time-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #94A3B8;
}

/* --- STATE 2: Full Expanded Command Center (UtilityIslandView) --- */
.view-expanded {
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px 18px 18px 18px;
}

.panel-frame-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  margin-bottom: 14px;
}

.header-main-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFF;
}

.header-sub-title {
  font-size: 0.72rem;
  color: #94A3B8;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

.panel-home-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cards-split-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.home-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px;
}

/* Media Card (Now Playing) */
.media-card {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
}

.media-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.media-art-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FF007F, #7928CA);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 0, 127, 0.35);
  flex-shrink: 0;
}

.media-art-note {
  font-size: 1.1rem;
}

.media-meta {
  overflow: hidden;
  white-space: nowrap;
}

.media-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFF;
  text-overflow: ellipsis;
  overflow: hidden;
}

.media-artist {
  display: block;
  font-size: 0.72rem;
  color: #94A3B8;
  text-overflow: ellipsis;
  overflow: hidden;
}

.media-card-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-top: 8px;
}

.media-ctrl-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.media-ctrl-btn:hover {
  color: #FFF;
}

.media-ctrl-btn.play-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFF;
  color: #07080B;
}

/* MacBook Control Center Sliders Card */
.sliders-card {
  width: 184px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 110px;
  justify-content: center;
}

.mac-control-slider-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94A3B8;
  font-weight: 600;
}

.mac-slider-container {
  height: 22px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.mac-slider-pill-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  pointer-events: none;
  transition: width 0.04s ease;
}

.mac-slider-inline-icon {
  position: relative;
  z-index: 4;
  font-size: 0.72rem;
  color: #07080B;
  pointer-events: none;
}

.mac-slider-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 6;
}

/* Bottom Quick Tool Shortcuts */
.home-tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 4px;
}

.tool-btn {
  flex: 1;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #CBD5E1;
  transition: var(--transition-smooth);
}

.tool-btn:hover {
  color: #FFF;
  transform: translateY(-1px);
}

.tool-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.tool-btn:hover .tool-icon-circle {
  background: rgba(255, 255, 255, 0.18);
}

.tool-name {
  font-size: 0.65rem;
  font-weight: 500;
}

/* Tool Subview */
.panel-subview-content {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  margin-top: 6px;
}

.subview-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.subview-metric-row:last-child {
  border-bottom: none;
}

/* --- STATE 3: Face ID View --- */
.view-faceid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.faceid-compact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faceid-iris-scanner {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--accent-cyan);
}

.faceid-iris-scanner.scanning {
  animation: irisScanPulse 1s infinite alternate;
}

@keyframes irisScanPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 4px var(--accent-cyan); }
  100% { transform: scale(1.05); box-shadow: 0 0 16px var(--accent-cyan); }
}

.faceid-msg-group {
  display: flex;
  flex-direction: column;
}

.faceid-main-msg {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFF;
}

.faceid-sub-msg {
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

/* --- STATE 4: Ongoing Call View --- */
.view-call {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.call-compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.call-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #10B981;
  color: #07080B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

.call-text-meta {
  flex: 1;
  margin-left: 10px;
}

.call-person {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFF;
}

.call-sub-meta {
  font-size: 0.72rem;
  color: #10B981;
  font-family: var(--font-mono);
}

.call-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.call-action-btn {
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  transition: var(--transition-smooth);
}

.call-action-btn.mute-btn {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-action-btn.mute-btn.muted {
  background: rgba(239, 68, 68, 0.25);
  color: #EF4444;
}

.call-action-btn.end-btn {
  background: #EF4444;
  color: #FFF;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- STATE 5: Notification View --- */
.view-notification {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.notif-compact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.notif-spark-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid rgba(0, 242, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.notif-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-title-row strong {
  font-size: 0.85rem;
  color: #FFF;
}

.notif-time-badge {
  font-size: 0.68rem;
  color: #64748B;
}

.notif-desc-text {
  font-size: 0.74rem;
  color: #CBD5E1;
}

/* ==========================================================================
   Desktop Wallpaper & Lock Screen
   ========================================================================== */
.macbook-desktop-view {
  flex: 1;
  background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #0f172a 60%, #020617 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.wallpaper-aurora {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  filter: blur(90px);
}

.desktop-click-prompt {
  background: rgba(18, 22, 32, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 16px 24px;
  text-align: center;
  backdrop-filter: blur(20px);
  z-index: 10;
  max-width: 440px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}

.prompt-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.desktop-click-prompt p {
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.4;
}

/* Lockscreen Simulation */
.lockscreen-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.75);
  backdrop-filter: blur(35px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
}

.lockscreen-clock {
  text-align: center;
  margin-bottom: 24px;
}

.lock-time {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.lock-date {
  font-size: 1.05rem;
  color: #CBD5E1;
}

.lock-prompt-text {
  font-size: 0.85rem;
  color: #94A3B8;
  animation: pulseLock 2s infinite alternate;
}

@keyframes pulseLock {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* CrazzyNotch landing refresh: quieter editorial type, stronger product focus. */
:root {
  --bg-dark: #08090d;
  --bg-surface: #101218;
  --bg-card: rgba(19, 22, 30, 0.82);
  --text-secondary: #a5adbd;
  --accent-cyan: #8df4e3;
  --accent-blue: #71baff;
  --accent-purple: #a993ff;
  --accent-pink: #ef9acb;
}

body {
  background:
    radial-gradient(ellipse at 50% 5%, rgba(91, 84, 184, .16), transparent 42rem),
    radial-gradient(ellipse at 8% 30%, rgba(58, 174, 157, .09), transparent 34rem),
    #08090d;
}

.ambient-glow { opacity: .16; filter: blur(140px); }
.navbar { background: rgba(8, 9, 13, .78); border-bottom-color: rgba(255,255,255,.055); }
.nav-container { max-width: 1320px; }
.hero-section { padding: clamp(72px, 10vw, 132px) 24px 52px; }
.hero-content { max-width: 980px; }
.hero-pill-badge { border-color: rgba(141,244,227,.2); background: rgba(141,244,227,.06); box-shadow: 0 0 35px rgba(141,244,227,.06); }
.hero-title { font-size: clamp(3.2rem, 8.5vw, 7.3rem); line-height: .98; letter-spacing: -.07em; margin-bottom: 26px; }
.gradient-headline { background: linear-gradient(105deg, #fafaff 5%, #c9c5ff 52%, #89ede0 100%); -webkit-background-clip: text; }
.hero-subtitle { max-width: 650px; font-size: clamp(1rem, 1.6vw, 1.16rem); color: #a5adbd; }
.hero-cta-group { margin-bottom: 28px; }
.btn-large { border-radius: 14px; }
.hero-specs-row { gap: 9px; }
.spec-chip { background: rgba(255,255,255,.025); font-size: .75rem; }
.simulator-section { max-width: 1320px; padding-top: 56px; }
.section-header { margin-bottom: 35px; }
.section-title { font-size: clamp(2.1rem, 4vw, 3.3rem); letter-spacing: -.045em; }
.section-desc { color: #929bad; }
.section-tag { color: #a5f5e7; background: rgba(141,244,227,.07); border-color: rgba(141,244,227,.14); }
.simulator-event-triggers { max-width: 1040px; background: rgba(17,19,26,.72); border-color: rgba(255,255,255,.07); box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.event-btn, .mini-pill-btn { background: rgba(255,255,255,.035); }
.event-btn.active { background: rgba(141,244,227,.1); border-color: rgba(141,244,227,.36); box-shadow: 0 0 18px rgba(141,244,227,.09); }
.mini-pill-btn.active { background: #e9fff9; border-color: #e9fff9; color: #101218; }
#btn-toggle-always-glow.active { background: #8272dd; border-color: #8272dd; }
.macbook-stage { max-width: 1120px; perspective: 1400px; }
.macbook-device { background: linear-gradient(145deg,#252833,#11131a); border-color: rgba(255,255,255,.19); box-shadow: 0 50px 120px rgba(0,0,0,.7), 0 0 90px rgba(141,244,227,.07); }
.macbook-screen { height: clamp(390px, 48vw, 620px); }
.macos-menubar { background: rgba(14,16,22,.88); }
.macbook-desktop-view { background: radial-gradient(ellipse at 48% 24%, #262449 0%, #121525 46%, #06080e 100%); }
.wallpaper-aurora { width: min(68vw, 800px); height: min(68vw, 800px); background: radial-gradient(circle, rgba(128,105,221,.2), rgba(93,211,191,.08) 35%, transparent 70%); }
.desktop-click-prompt { background: rgba(16,18,27,.72); border-color: rgba(255,255,255,.12); box-shadow: 0 24px 80px rgba(0,0,0,.34); }
.dynamic-notch { box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.dynamic-notch.is-expanded { box-shadow: 0 20px 60px rgba(0,0,0,.58); }
.features-section, .steps-section, .specs-section { max-width: 1320px; }
.features-section { padding-top: 100px; }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { background: linear-gradient(145deg, rgba(20,23,32,.9), rgba(13,15,21,.9)); border-color: rgba(255,255,255,.07); border-radius: 22px; padding: 28px; }
.feature-card:hover { border-color: rgba(141,244,227,.25); transform: translateY(-3px); }
.feature-title { letter-spacing: -.035em; }
.steps-section { padding: 88px 24px; }
.step-card { border-color: rgba(255,255,255,.08); background: rgba(15,17,24,.62); }
.specs-box { border-color: rgba(255,255,255,.08); background: linear-gradient(120deg,rgba(18,20,28,.96),rgba(12,14,19,.92)); }
.download-cta-section { padding-top: 30px; }
.cta-box { background: radial-gradient(ellipse at 50% 0%,rgba(123,111,214,.16),transparent 60%), #11131a; border-color: rgba(255,255,255,.08); }
.footer { background: rgba(5,6,9,.5); }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid #9ef6e7;
  outline-offset: 4px;
}

@media (max-width: 850px) {
  .nav-links { gap: 15px; }
  .nav-link { font-size: .82rem; }
  .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .macbook-screen { height: 470px; }
}

@media (max-width: 620px) {
  .navbar { padding: 9px 0; }
  .nav-container { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 9px 12px; font-size: .8rem; }
  .hero-section { padding: 74px 18px 35px; }
  .hero-title { font-size: clamp(3.05rem, 14vw, 5rem); }
  .hero-pill-badge { margin-bottom: 22px; font-size: .78rem; }
  .hero-subtitle { font-size: .98rem; margin-bottom: 26px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { width: 100%; }
  .hero-specs-row { display: grid; grid-template-columns: 1fr; justify-items: center; }
  .simulator-section { padding: 40px 14px 60px; }
  .section-desc { font-size: .93rem; }
  .simulator-event-triggers { padding: 14px 12px; border-radius: 16px; }
  .event-triggers-row { justify-content: flex-start; }
  .trigger-group-title { width: 100%; }
  .event-btn { padding: 8px 11px; font-size: .75rem; }
  .event-toggles-row { justify-content: flex-start; gap: 12px; }
  .toggle-pill-wrap { flex-wrap: wrap; }
  .macbook-device { padding: 7px 7px 0; border-radius: 16px 16px 0 0; }
  .macbook-screen { height: 410px; border-radius: 10px 10px 0 0; }
  .macos-menubar { height: 28px; padding: 0 8px; }
  .menubar-left { gap: 8px; font-size: .68rem; }
  .menubar-right { gap: 7px; font-size: .65rem; }
  .menubar-item-text:not(.bold), .menubar-item-icon { display: none; }
  .dynamic-notch.is-expanded { width: min(480px, calc(100vw - 48px)); height: 260px; }
  .dynamic-notch.is-call { width: min(400px, calc(100vw - 34px)); }
  .dynamic-notch.is-notification { width: min(390px, calc(100vw - 34px)); }
  .dynamic-notch.is-faceid { width: min(320px, calc(100vw - 34px)); }
  .view-expanded { padding: 12px; }
  .panel-frame-header { margin-top: 15px; margin-bottom: 10px; }
  .cards-split-row { gap: 7px; }
  .home-card { padding: 9px; }
  .media-card { min-width: 0; }
  .sliders-card { width: 42%; min-width: 126px; }
  .media-card-buttons { gap: 16px; }
  .tool-icon-circle { width: 29px; height: 29px; }
  .tool-name { font-size: .58rem; }
  .desktop-click-prompt { max-width: 86%; padding: 12px 14px; }
  .desktop-click-prompt p { font-size: .75rem; }
  .features-section { padding: 70px 18px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 23px; }
  .steps-row { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .specs-section { padding: 0 18px 70px; }
  .specs-box { padding: 22px; }
  .specs-table .spec-row { flex-direction: column; gap: 5px; }
  .cta-box { margin: 0 16px; padding: 34px 20px; }
  .cta-meta-notes { line-height: 1.9; }
}

/* Full-screen macOS desktop preview, inspired by the Vorssaint live demo. */
html { scroll-behavior: smooth; }
body { background: #080810; }
.navbar,
.hero-section { display: none !important; }
.simulator-section {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.simulator-section > .section-header { display: none; }
.macbook-stage {
  width: 100%;
  max-width: none;
  height: 100svh;
  min-height: 580px;
  margin: 0;
  perspective: none;
}
.macbook-device {
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.macbook-screen {
  width: 100%;
  height: 100%;
  min-height: 580px;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #080810;
}
.macbook-chassis { display: none; }

.macos-menubar {
  flex: 0 0 34px;
  height: 34px;
  padding: 0 18px;
  color: rgba(255,255,255,.92);
  background: rgba(10, 10, 17, .38);
  border: 0;
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  z-index: 50;
  overflow: visible;
}
.menubar-left { gap: 17px; font-size: .78rem; }
.menubar-item.app-name { font-weight: 650; }
.menubar-right { gap: 14px; font-size: .75rem; }
.notch-wrapper {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: auto;
  height: 0;
  transform: none;
  z-index: 60;
  pointer-events: none;
}
.dynamic-notch {
  flex: 0 0 auto;
  transform: none !important;
  transform-origin: top center;
  pointer-events: auto;
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
}
.dynamic-notch.is-resting { width: 216px; height: 34px; }
.dynamic-notch.is-resting:hover { width: 216px; height: 34px; }
.dynamic-notch.is-expanded { width: min(480px, calc(100vw - 36px)); height: 255px; }
.dynamic-notch.is-music { width: min(400px, calc(100vw - 36px)); height: 94px; }
.dynamic-notch.is-call,
.dynamic-notch.is-notification { width: min(400px, calc(100vw - 36px)); height: 74px; }
.dynamic-notch.is-faceid { width: min(320px, calc(100vw - 36px)); height: 78px; }

.macbook-desktop-view {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  justify-content: stretch;
  background: #071316 url("assets/crazzy-aurora.svg") center / cover no-repeat;
}
.macbook-desktop-view::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,14,.05), transparent 22%, rgba(4,4,12,.05));
}
.wallpaper-aurora { display: none; }
.desktop-click-prompt {
  position: absolute;
  top: 42%;
  left: clamp(26px, 9vw, 142px);
  z-index: 8;
  width: min(490px, calc(100vw - 52px));
  max-width: 490px;
  padding: 24px 26px 20px;
  text-align: left;
  color: #fff;
  background: rgba(20, 20, 30, .38);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 21px;
  box-shadow: 0 24px 80px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  transform: translateY(-50%);
}
.desktop-click-prompt .prompt-chip {
  margin: 0 0 13px;
  color: #c9b6ff;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .12em;
}
.desktop-click-prompt h1 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(2.2rem, 3.4vw, 3.55rem);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.065em;
}
.desktop-click-prompt p {
  max-width: 400px;
  margin: 0;
  color: rgba(245,245,255,.72);
  font-size: .98rem;
  line-height: 1.55;
}
.desktop-hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.desktop-hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: #f8f7ff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.17);
  background: rgba(255,255,255,.07);
  transition: background .18s ease, transform .18s ease;
}
.desktop-hero-links a:first-child { color: #171222; background: #e8dcff; border-color: #e8dcff; }
.desktop-hero-links a:hover { transform: translateY(-2px); background: rgba(255,255,255,.15); }
.desktop-hero-links a:first-child:hover { background: #f4efff; }
.desktop-hint { display: block; margin-top: 18px; color: rgba(235,232,247,.5); font-size: .74rem; }

.desktop-icons {
  position: absolute;
  top: 58px;
  right: clamp(18px, 3vw, 44px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.desktop-icon {
  display: flex;
  width: 86px;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: .72rem;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.desktop-icon-art {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 15px;
  color: white;
  font-size: 2rem;
  font-weight: 400;
  box-shadow: 0 8px 20px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.22);
  transition: transform .18s ease;
}
.desktop-icon:hover .desktop-icon-art { transform: translateY(-3px) scale(1.04); }
.download-art { background: linear-gradient(150deg,#71b9ff,#3674e8); }
.github-art { background: linear-gradient(150deg,#41414c,#191922); }

.desktop-dock {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 20px;
  background: rgba(31,30,43,.54);
  box-shadow: 0 12px 36px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.14);
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  transform: translateX(-50%);
}
.dock-app {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 600;
  box-shadow: inset 0 1px rgba(255,255,255,.35), 0 5px 14px rgba(0,0,0,.24);
  transition: transform .18s cubic-bezier(.2,.8,.2,1);
}
.dock-app:hover { transform: translateY(-7px) scale(1.08); }
.settings-app { background: linear-gradient(145deg,#a1a2ab,#53545e); }
.download-app { background: linear-gradient(145deg,#75bdff,#3479ea); }
.github-app { background: linear-gradient(145deg,#454550,#17171f); }
.docs-app { background: linear-gradient(145deg,#fff1a8,#efc945); color: #352c11; }

/* The preview controls sit like a compact macOS utility window on the desktop. */
.simulator-event-triggers {
  position: absolute;
  top: 52px;
  left: 20px;
  z-index: 70;
  width: min(294px, calc(100vw - 40px));
  max-width: 294px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 17px;
  background: rgba(19,19,29,.56);
  box-shadow: 0 16px 45px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  transition: opacity .2s ease, transform .2s ease;
}
.simulator-section:has(#dynamic-notch.is-expanded) .simulator-event-triggers { opacity: 0; pointer-events: none; transform: translateY(-5px); }
.event-triggers-row { display: flex; flex-wrap: wrap; gap: 6px; }
.event-triggers-row + .event-triggers-row { margin-top: 11px; }
.trigger-group-title { width: 100%; margin: 0 0 2px; color: rgba(255,255,255,.58); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.event-btn, .mini-pill-btn {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  font-size: .7rem;
  line-height: 1.1;
  cursor: pointer;
}
.event-btn.active, .mini-pill-btn.active { color: #f3eaff; background: rgba(164,130,255,.2); border-color: rgba(194,167,255,.38); box-shadow: none; }
.activity-row { display: flex; gap: 6px; padding-top: 0; border: 0; }
.activity-row .hover-toggle { width: 100%; color: rgba(255,255,255,.62); font-size: .68rem; }
.activity-row .hover-toggle input { accent-color: #bda3ff; }
.activity-row #btn-pin-island { flex: 1; }
.event-toggles-row { gap: 8px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.toggle-pill-wrap { flex-wrap: wrap; gap: 5px; }
.toggle-lbl { display: none; }
.dynamic-notch.is-gallery { width: min(560px, calc(100vw - 36px)); height: 360px; }

@media (max-width: 760px) {
  .macbook-stage, .macbook-screen { min-height: 100svh; }
  .macbook-screen { height: 100svh; }
  .macos-menubar { flex-basis: 30px; height: 30px; padding: 0 10px; }
  .menubar-left { gap: 8px; font-size: .68rem; }
  .menubar-right { gap: 6px; font-size: .62rem; }
  .menubar-item-text:not(.bold), .menubar-item-icon, .menubar-left .hide-small { display: none; }
  .simulator-event-triggers { top: 42px; left: 10px; width: 232px; padding: 9px; }
  .event-triggers-row { gap: 4px; }
  .event-btn, .mini-pill-btn { padding: 6px 7px; font-size: .63rem; }
  .activity-row .hover-toggle { font-size: .61rem; }
  .desktop-click-prompt { top: auto; bottom: 92px; left: 16px; width: min(360px, calc(100vw - 32px)); padding: 18px; transform: none; }
  .desktop-click-prompt h1 { font-size: clamp(2rem, 9vw, 3.2rem); }
  .desktop-click-prompt p { font-size: .86rem; }
  .desktop-hint { margin-top: 12px; font-size: .68rem; }
  .desktop-icons { top: 50px; right: 8px; gap: 13px; }
  .desktop-icon { width: 68px; font-size: .62rem; }
  .desktop-icon-art { width: 42px; height: 42px; border-radius: 12px; font-size: 1.65rem; }
  .desktop-dock { bottom: 8px; gap: 7px; padding: 6px 8px; }
  .dock-app { width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .simulator-event-triggers { width: 208px; }
  .desktop-click-prompt { bottom: 83px; }
  .desktop-icons { right: 4px; }
  .desktop-icon { width: 60px; }
  .desktop-icon-art { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dock-app, .desktop-icon-art, .desktop-hero-links a { transition: none; }
}

.tool-icon-circle svg { display: block; width: 18px; height: 18px; }
.mac-slider-inline-icon svg { display: block; width: 15px; height: 15px; }
.media-art-note { font-family: Georgia, serif; font-size: 1.5rem; line-height: 1; }
.call-action-btn.muted { color: #ff7d86; background: rgba(255,87,97,.16); }

@media (max-height: 960px) and (min-width: 761px) {
  .desktop-click-prompt { top: 39%; width: min(460px, calc(100vw - 540px)); padding: 18px 20px 15px; }
  .desktop-click-prompt h1 { font-size: clamp(1.9rem, 2.55vw, 2.7rem); }
  .desktop-click-prompt p { font-size: .88rem; }
  .desktop-hero-links { margin-top: 16px; }
  .desktop-hint { margin-top: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Reference-style interaction controls, rendered with CrazzyNotch's notch. */
.simulator-event-triggers { gap: 13px; padding: 14px 16px; }
.event-triggers-row { justify-content: flex-start; }
.trigger-group-title { min-width: 86px; color: #a7afbf; }
.activity-row { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.hover-toggle { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #a7afbf; font-size: .76rem; }
.hover-toggle input { accent-color: #9de8dc; width: 14px; height: 14px; }
.event-btn, .mini-pill-btn { border-radius: 9px; }
.event-btn.active { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); box-shadow: none; }
.event-btn.active[data-activity="call"] { color: #a7e9c1; border-color: rgba(141,222,170,.35); background: rgba(141,222,170,.11); }
.event-btn.active[data-activity="music"] { color: #f1c3d9; border-color: rgba(221,162,188,.35); background: rgba(221,162,188,.11); }
.event-btn.active[data-activity="idle"] { color: #e8e8ee; }
.dynamic-notch.is-music { width: 400px; height: 94px; border-radius: 0 0 25px 25px; cursor: default; }
.view-music { display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px; padding: 0 17px 10px; }
.now-playing-art { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 9px; background: radial-gradient(circle at 60% 35%, #ffd6ae 0 9%, transparent 30%), linear-gradient(145deg,#e5ac7b,#723e70 55%,#263c57); box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.now-playing-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; padding-bottom: 2px; }
.now-playing-kicker { color: #8d93a1; font-size: .55rem; font-weight: 700; letter-spacing: .1em; }
.now-playing-copy strong { max-width: 100%; overflow: hidden; color: white; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.now-playing-copy > span:last-child { max-width: 100%; overflow: hidden; color: #969baa; font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.now-playing-actions { display: flex; align-items: center; gap: 12px; padding-bottom: 2px; }
.now-playing-actions .media-ctrl-btn:not(.play-circle) { color: #d4d7de; font-size: 1.3rem; }
.now-playing-actions .play-circle { width: 25px; height: 25px; }
.resting-music-art { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 4px; background: linear-gradient(145deg,#e5ac7b,#723e70,#263c57); color: white; font-size: .7rem; }
.resting-call-icon { color: #8ddeaa; font-size: .72rem; }
.resting-call-text { color: #8ddeaa; font-family: var(--font-mono); font-size: .62rem; }
.resting-prayer-text { color: #8ddeaa; font-size: .62rem; }
.resting-eq-bars.paused .r-bar { animation-play-state: paused; }
.dynamic-notch.is-resting:not(.has-glow) { box-shadow: none; }
.header-icon-btn[aria-pressed="true"], #btn-pin-island.active { background: rgba(169,147,255,.25); color: #d6cbff; border-color: rgba(169,147,255,.4); }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.gallery-preview-tool { display: flex; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.055); color: #ddd; cursor: pointer; font-size: 1rem; }
.gallery-preview-tool span { font-size: .58rem; text-align: center; }
.gallery-preview-tool:hover { background: rgba(255,255,255,.13); color: white; }
.device-preview-card { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.device-preview-card:last-child { border-bottom: 0; }
.device-preview-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: rgba(255,255,255,.09); color: #9de8dc; }
.device-preview-card > div { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.device-preview-card strong { color: white; font-size: .72rem; }
.device-preview-card small { color: #959baa; font-size: .59rem; }
.device-status { color: #9de8dc; font-size: .59rem; }
.view-expanded .panel-frame-header { margin-top: 18px; }

@media (max-width: 760px) {
  .trigger-group-title { min-width: auto; width: 100%; }
  .hover-toggle { margin: 0; }
}
@media (max-width: 620px) {
  .event-triggers-row { gap: 6px; }
  .event-btn { padding: 7px 9px; font-size: .72rem; }
  .event-toggles-row .toggle-pill-wrap { width: 100%; }
  .hover-toggle { width: 100%; padding: 4px 2px; }
  .dynamic-notch.is-music { width: min(400px, calc(100vw - 34px)); height: 92px; }
  .view-music { gap: 8px; padding: 0 10px 9px; }
  .now-playing-art { width: 34px; height: 34px; }
  .now-playing-actions { gap: 6px; }
  .now-playing-copy strong { font-size: .72rem; }
  .now-playing-copy > span:last-child { font-size: .55rem; }
  .gallery-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

/* MacBook Chassis Lip */
.macbook-chassis {
  height: 16px;
  background: #252a36;
  border-radius: 0 0 24px 24px;
  position: relative;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chassis-notch-thumb {
  width: 140px;
  height: 6px;
  background: #141720;
  border-radius: 0 0 8px 8px;
}

/* ==========================================================================
   Features Section Grid
   ========================================================================== */
.features-section {
  position: relative;
  z-index: 10;
  padding: 100px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-highlight {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.95), rgba(16, 20, 28, 0.95));
}

.feature-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 70%);
  filter: blur(40px);
}

.feature-card-glow.pink {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
}

.feature-icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-bubble.cyan { background: rgba(0, 242, 254, 0.12); color: var(--accent-cyan); border: 1px solid rgba(0, 242, 254, 0.25); }
.feature-icon-bubble.pink { background: rgba(236, 72, 153, 0.12); color: var(--accent-pink); border: 1px solid rgba(236, 72, 153, 0.25); }
.feature-icon-bubble.purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.25); }
.feature-icon-bubble.green { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); border: 1px solid rgba(16, 185, 129, 0.25); }
.feature-icon-bubble.amber { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); border: 1px solid rgba(245, 158, 11, 0.25); }
.feature-icon-bubble.blue { background: rgba(79, 172, 254, 0.12); color: var(--accent-blue); border: 1px solid rgba(79, 172, 254, 0.25); }

.feature-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.feature-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-bullets li span {
  color: var(--accent-cyan);
  font-weight: 800;
}

/* ==========================================================================
   How It Works Steps
   ========================================================================== */
.steps-section {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.step-card {
  flex: 1;
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(0, 242, 254, 0.4);
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
}

.step-arrow {
  font-size: 1.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Specs & Architecture
   ========================================================================== */
.specs-section {
  position: relative;
  z-index: 10;
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.specs-box {
  background: linear-gradient(135deg, rgba(20, 24, 34, 0.9), rgba(14, 18, 26, 0.9));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  backdrop-filter: blur(20px);
}

.specs-heading {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.specs-paragraph {
  font-size: 1rem;
  margin-bottom: 30px;
}

.specs-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.spec-key {
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 35%;
}

.spec-val {
  color: #FFF;
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.specs-card-preview {
  background: #090B0F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-mini-notch {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.mini-notch-bar {
  width: 140px;
  height: 24px;
  background: #000;
  border-radius: 0 0 12px 12px;
  border-bottom: 2px solid var(--accent-cyan);
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.35);
}

.specs-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 12px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Big Download CTA Section
   ========================================================================== */
.download-cta-section {
  position: relative;
  z-index: 10;
  padding: 100px 24px;
  text-align: center;
}

.cta-glow-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(18, 22, 32, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 60px 32px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
}

.cta-app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
}

.cta-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.cta-buttons-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.cta-meta-notes {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-meta-notes a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #050608;
  padding: 60px 24px 30px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-left {
  max-width: 420px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
}

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

.link-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-col-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.link-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.link-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .specs-box {
    grid-template-columns: 1fr;
  }
  .macbook-screen {
    height: 480px;
  }
}

@media (max-width: 768px) {
  .hide-small { display: none; }
  .nav-links { display: none; }
  .steps-arrow { display: none; }
  .macbook-device {
    border-radius: 14px 14px 0 0;
    padding: 8px 8px 0 8px;
  }
  .macbook-screen {
    height: 420px;
  }
  .dynamic-notch {
    transform: scale(0.85) translateX(-58%);
    transform-origin: top center;
  }
}

/* Final responsive pass overrides legacy layout rules above. */
.features-section, .steps-section, .specs-section { max-width: 1320px; }
.features-section { padding: 100px 24px; }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { background: linear-gradient(145deg, rgba(20,23,32,.9), rgba(13,15,21,.9)); border-color: rgba(255,255,255,.07); border-radius: 22px; padding: 28px; }
.feature-card:hover { border-color: rgba(141,244,227,.25); transform: translateY(-3px); }
.steps-row { display: flex; }
.specs-box { border-color: rgba(255,255,255,.08); background: linear-gradient(120deg,rgba(18,20,28,.96),rgba(12,14,19,.92)); }
.cta-box { background: radial-gradient(ellipse at 50% 0%,rgba(123,111,214,.16),transparent 60%), #11131a; border-color: rgba(255,255,255,.08); }
.download-cta-section { padding-top: 30px; }
.footer { background: rgba(5,6,9,.5); }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .macbook-screen { height: 470px; }
}

@media (max-width: 768px) {
  .features-section { padding: 70px 18px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 23px; }
  .steps-row { flex-direction: column; }
  .step-arrow { display: block; transform: rotate(90deg); }
  .specs-section { padding: 0 18px 70px; }
  .macbook-screen { height: 410px; }
  .macos-menubar { height: 28px; padding: 0 8px; }
  .menubar-left { gap: 8px; font-size: .68rem; }
  .menubar-right { gap: 7px; font-size: .65rem; }
  .menubar-item-text:not(.bold), .menubar-item-icon { display: none; }
  .dynamic-notch { transform: none; }
  .dynamic-notch.is-expanded { width: min(480px, calc(100vw - 48px)); height: 260px; }
  .dynamic-notch.is-call, .dynamic-notch.is-notification { width: min(400px, calc(100vw - 34px)); }
  .dynamic-notch.is-faceid { width: min(320px, calc(100vw - 34px)); }
  .view-expanded { padding: 12px; }
  .panel-frame-header { margin-top: 15px; margin-bottom: 10px; }
  .cards-split-row { gap: 7px; }
  .home-card { padding: 9px; }
  .sliders-card { width: 42%; min-width: 126px; }
  .media-card-buttons { gap: 16px; }
  .tool-icon-circle { width: 29px; height: 29px; }
  .tool-name { font-size: .58rem; }
  .desktop-click-prompt { max-width: 86%; padding: 12px 14px; }
  .desktop-click-prompt p { font-size: .75rem; }
  .cta-box { margin: 0 16px; padding: 34px 20px; }
  .specs-box { padding: 22px; }
  .specs-table .spec-row { flex-direction: column; gap: 5px; }
  .cta-meta-notes { line-height: 1.9; }
}

@media (max-width: 620px) {
  .navbar { padding: 9px 0; }
  .nav-container { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 9px 12px; font-size: .8rem; }
  .hero-section { padding: 74px 18px 35px; }
  .hero-title { font-size: clamp(3.05rem, 14vw, 5rem); }
  .hero-pill-badge { margin-bottom: 22px; font-size: .78rem; }
  .hero-subtitle { font-size: .98rem; margin-bottom: 26px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { width: 100%; }
  .hero-specs-row { display: grid; grid-template-columns: 1fr; justify-items: center; }
  .simulator-section { padding: 40px 14px 60px; }
  .section-desc { font-size: .93rem; }
  .simulator-event-triggers { padding: 14px 12px; border-radius: 16px; }
  .event-triggers-row { justify-content: flex-start; }
  .trigger-group-title { width: 100%; }
  .event-btn { padding: 8px 11px; font-size: .75rem; }
  .event-toggles-row { justify-content: flex-start; gap: 12px; }
  .toggle-pill-wrap { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Live activity controls: final cascade for the CrazzyNotch island preview. */
.simulator-event-triggers { gap: 13px; padding: 14px 16px; }
.event-triggers-row { justify-content: flex-start; }
.trigger-group-title { min-width: 86px; color: #a7afbf; }
.activity-row { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.hover-toggle { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #a7afbf; font-size: .76rem; }
.hover-toggle input { accent-color: #9de8dc; width: 14px; height: 14px; }
.event-btn, .mini-pill-btn { border-radius: 9px; }
.event-btn.active { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.24); box-shadow: none; }
.event-btn.active[data-activity="call"] { color: #a7e9c1; border-color: rgba(141,222,170,.35); background: rgba(141,222,170,.11); }
.event-btn.active[data-activity="music"] { color: #f1c3d9; border-color: rgba(221,162,188,.35); background: rgba(221,162,188,.11); }
.event-btn.active[data-activity="idle"] { color: #e8e8ee; }
.dynamic-notch.is-music { width: 400px; height: 94px; border-radius: 0 0 25px 25px; cursor: default; }
.view-music { display: flex; align-items: flex-end; justify-content: flex-start; gap: 12px; padding: 0 17px 10px; }
.now-playing-art { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 9px; background: radial-gradient(circle at 60% 35%, #ffd6ae 0 9%, transparent 30%), linear-gradient(145deg,#e5ac7b,#723e70 55%,#263c57); box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.now-playing-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; padding-bottom: 2px; }
.now-playing-kicker { color: #8d93a1; font-size: .55rem; font-weight: 700; letter-spacing: .1em; }
.now-playing-copy strong { max-width: 100%; overflow: hidden; color: white; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.now-playing-copy > span:last-child { max-width: 100%; overflow: hidden; color: #969baa; font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.now-playing-actions { display: flex; align-items: center; gap: 12px; padding-bottom: 2px; }
.now-playing-actions .media-ctrl-btn:not(.play-circle) { color: #d4d7de; font-size: 1.3rem; }
.now-playing-actions .play-circle { width: 25px; height: 25px; }
.resting-music-art { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 4px; background: linear-gradient(145deg,#e5ac7b,#723e70,#263c57); color: white; font-size: .7rem; }
.resting-call-icon { color: #8ddeaa; font-size: .72rem; }
.resting-call-text { color: #8ddeaa; font-family: var(--font-mono); font-size: .62rem; }
.resting-prayer-text { color: #8ddeaa; font-size: .62rem; }
.resting-eq-bars.paused .r-bar { animation-play-state: paused; }
.header-icon-btn[aria-pressed="true"], #btn-pin-island.active { background: rgba(169,147,255,.25); color: #d6cbff; border-color: rgba(169,147,255,.4); }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.gallery-preview-tool { display: flex; min-height: 58px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.055); color: #ddd; cursor: pointer; font-size: 1rem; }
.gallery-preview-tool span { font-size: .58rem; text-align: center; }
.gallery-preview-tool:hover { background: rgba(255,255,255,.13); color: white; }
.device-preview-card { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.device-preview-card:last-child { border-bottom: 0; }
.device-preview-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: rgba(255,255,255,.09); color: #9de8dc; }
.device-preview-card > div { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.device-preview-card strong { color: white; font-size: .72rem; }
.device-preview-card small { color: #959baa; font-size: .59rem; }
.device-status { color: #9de8dc; font-size: .59rem; }

@media (max-width: 760px) {
  .trigger-group-title { min-width: auto; width: 100%; }
  .hover-toggle { margin: 0; }
}
@media (max-width: 620px) {
  .event-triggers-row { gap: 6px; }
  .event-btn { padding: 7px 9px; font-size: .72rem; }
  .event-toggles-row .toggle-pill-wrap { width: 100%; }
  .hover-toggle { width: 100%; padding: 4px 2px; }
  .dynamic-notch { transform: none; }
  .dynamic-notch.is-music { width: min(400px, calc(100vw - 34px)); height: 92px; }
  .view-music { gap: 8px; padding: 0 10px 9px; }
  .now-playing-art { width: 34px; height: 34px; }
  .now-playing-actions { gap: 6px; }
  .now-playing-copy strong { font-size: .72rem; }
  .now-playing-copy > span:last-child { font-size: .55rem; }
  .gallery-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
.dynamic-notch.is-gallery { width: 560px; height: 330px; border-radius: 0 0 26px 26px; }
@media (max-width: 620px) {
  .dynamic-notch.is-gallery { width: min(560px, calc(100vw - 34px)); height: 360px; }
}
.resting-clock-separator { width: 1px; height: 11px; margin: 0 3px; background: rgba(255,255,255,.2); }
.resting-clock-group { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.resting-time-text { font-size: .62rem; line-height: 1; }
.resting-period-text { color: rgba(255,255,255,.58); font-size: .43rem; font-weight: 700; line-height: 1; }
.gallery-search { display: flex; align-items: center; gap: 7px; height: 29px; padding: 0 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.055); color: #8f97a6; }
.gallery-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font: inherit; font-size: .68rem; }
.gallery-search input::placeholder { color: #8f97a6; }
.gallery-categories { display: flex; gap: 5px; margin: 8px 0; }
.gallery-category { padding: 4px 9px; border: 0; border-radius: 99px; background: rgba(255,255,255,.06); color: #aab0bc; font: inherit; font-size: .58rem; cursor: pointer; }
.gallery-category.selected { background: #dce5f1; color: #17191e; }
.gallery-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 8px; color: #9ba2b0; font-size: .6rem; }
.gallery-pager button { width: 22px; height: 20px; border: 0; border-radius: 6px; background: rgba(255,255,255,.07); color: white; cursor: pointer; }
.gallery-pager button:disabled { opacity: .35; cursor: default; }
.dynamic-notch.is-gallery { height: 360px; }
@media (max-width: 620px) { .gallery-categories { gap: 3px; } .gallery-category { padding: 4px 7px; font-size: .55rem; } .dynamic-notch.is-gallery { height: 360px; } }
.dynamic-notch.is-gallery .panel-subview-content { margin-top: 2px; padding: 8px 10px; }
.dynamic-notch.is-gallery .gallery-search { height: 24px; }
.dynamic-notch.is-gallery .gallery-categories { margin: 6px 0; }
.dynamic-notch.is-gallery .gallery-category { padding: 3px 8px; }
.dynamic-notch.is-gallery .gallery-preview-tool { min-height: 42px; gap: 3px; padding: 3px; font-size: .85rem; }
.dynamic-notch.is-gallery .gallery-preview-tool span { font-size: .53rem; }
.dynamic-notch.is-gallery .gallery-pager { margin-top: 4px; }
.dynamic-notch.is-gallery .gallery-pager button { height: 18px; }

/* Keep the desktop canvas full-bleed after older breakpoint rules. */
.simulator-section { margin: 0 !important; padding: 0 !important; }
@media (max-width: 768px) {
  .macbook-stage { height: 100svh !important; min-height: 100svh !important; }
  .macbook-device { height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
  .macbook-screen { height: 100% !important; min-height: 100svh !important; border-radius: 0 !important; }
  .simulator-event-triggers { width: min(232px, calc(100vw - 20px)); padding: 9px !important; }
  .desktop-click-prompt { max-width: none; }
  .desktop-click-prompt p { font-size: .82rem; }
}
@media (max-width: 620px) {
  .desktop-click-prompt { width: min(360px, calc(100vw - 32px)); padding: 17px !important; }
  .desktop-click-prompt h1 { font-size: clamp(1.8rem, 8vw, 2.65rem); }
  .simulator-event-triggers { width: min(208px, calc(100vw - 20px)); }
}
.desktop-click-prompt { width: min(450px, calc(100vw - 52px)); }
.dynamic-notch.is-expanded { height: 276px; }
.dynamic-notch.is-gallery { height: 360px !important; }
.simulator-event-triggers { gap: 0; padding: 13px; }
.event-triggers-row { gap: 6px; }
.event-triggers-row + .event-triggers-row { margin-top: 10px; }
.trigger-group-title { min-width: 0; width: 100%; margin-bottom: 2px; }
.activity-row { padding-top: 0; border-top: 0; }
.activity-row .hover-toggle { width: 100%; margin-left: 0; }
@media (max-width: 768px) {
  .dynamic-notch.is-expanded { height: 276px !important; }
  .desktop-click-prompt { width: min(360px, calc(100vw - 32px)); }
}
.desktop-preview-toggle {
  position: absolute;
  top: 13px;
  left: 20px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(25,24,36,.48);
  box-shadow: 0 6px 18px rgba(0,0,0,.16), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font: inherit;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.desktop-preview-toggle:hover,
#simulator.show-preview-controls .desktop-preview-toggle {
  background: rgba(82,67,120,.68);
  border-color: rgba(220,205,255,.35);
}
.desktop-preview-toggle svg { width: 15px; height: 15px; }
.simulator-event-triggers {
  top: 92px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
#simulator.show-preview-controls .simulator-event-triggers {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
#simulator:has(#dynamic-notch.is-expanded) .simulator-event-triggers {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.view-expanded {
  box-sizing: border-box;
  align-items: stretch;
  overflow: hidden;
}
.panel-frame-header { flex: 0 0 auto; min-width: 0; }
.header-titles { flex: 1 1 auto; min-width: 0; padding-right: 12px; }
.header-main-title { white-space: nowrap; }
.header-sub-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-home-content,
.panel-subview-content { box-sizing: border-box; min-width: 0; }
.panel-home-content { flex: 1 1 auto; min-height: 0; }
.panel-subview-content {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(100% - 68px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent;
}
.subview-metric-row { align-items: center; gap: 16px; }
.subview-metric-row > span { flex: 1 1 auto; min-width: 0; }
.subview-metric-row > strong { flex: 0 1 62%; min-width: 0; text-align: right; }
.dynamic-notch.is-gallery { height: 440px !important; }
@media (max-width: 768px) {
  .desktop-preview-toggle { top: 10px; left: 10px; min-height: 29px; }
  .simulator-event-triggers { top: 83px; left: 10px; }
  .dynamic-notch.is-gallery { height: 440px !important; }
  .dynamic-notch.is-expanded:not(.is-gallery) { height: 276px !important; }
  .panel-frame-header { margin-top: 13px; margin-bottom: 10px; }
}
@media (max-width: 420px) {
  .desktop-preview-toggle span { display: none; }
  .desktop-preview-toggle { width: 31px; justify-content: center; padding: 0; }
  .simulator-event-triggers { top: 77px; }
}

/* ==========================================================================
   FAQ Section (GEO / AEO / Mobile-Friendly Glassmorphism)
   ========================================================================== */
.faq-section {
  position: relative;
  max-width: 980px;
  margin: 0 auto 100px;
  padding: 0 24px;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: rgba(14, 17, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md, 14px);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(79, 172, 254, 0.35);
  background: rgba(20, 24, 34, 0.88);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  user-select: none;
  list-style: none;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted, #64748B);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan, #00F2FE);
}

.faq-answer {
  padding: 0 24px 22px;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary, #94A3B8);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 14px;
}

@media (max-width: 620px) {
  .faq-section {
    padding: 0 16px;
    margin-bottom: 60px;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.98rem;
  }
  .faq-answer {
    padding: 0 18px 18px;
    font-size: 0.88rem;
  }
}

