/* ==========================================================================
   FAIRSOFT — APPLE PRO SCROLLYTELLING DESIGN SYSTEM (2026 EDITION)
   Inspired by Apple Pro Product Showcases, Linear & Native macOS Craft
   ========================================================================== */

:root {
  --bg-black: #000000;
  --bg-deep: #05070C;
  --bg-card: rgba(18, 22, 34, 0.65);
  --bg-card-hover: rgba(26, 32, 50, 0.85);
  --bg-glass: rgba(14, 18, 28, 0.72);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.18);
  --border-glow-cyan: rgba(56, 189, 248, 0.35);
  --border-glow-emerald: rgba(16, 185, 129, 0.35);

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

  --apple-blue: #2997FF;
  --apple-blue-hover: #0077ED;
  --neon-cyan: #38BDF8;
  --neon-emerald: #10B981;
  --neon-purple: #A855F7;
  --neon-amber: #F59E0B;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-stage: 0 40px 120px -20px rgba(0, 0, 0, 0.95), 0 0 80px -10px rgba(41, 151, 255, 0.25);
  --shadow-card: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-black);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
.bg-ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, black 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, black 40%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.ambient-spotlight-top {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.18) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 75%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.text-gradient-apple {
  background: linear-gradient(135deg, #FFFFFF 20%, #7DD3FC 60%, #2997FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #C084FC 0%, #38BDF8 50%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   MINIMALIST APPLE NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  margin-bottom: 20px;
}

.header-container {
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.25) 0%, rgba(56, 189, 248, 0.5) 100%);
  border: 1px solid rgba(41, 151, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-product-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #7DD3FC;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #FFFFFF;
}

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

/* Sound Chime Toggle */
.sound-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sound-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.sound-toggle-btn.sound-on {
  color: var(--neon-cyan);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

/* Apple Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: var(--radius-full);
  padding: 9px 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--apple-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(41, 151, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: var(--apple-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(41, 151, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO INTRO SECTION
   ========================================================================== */
.hero-intro {
  padding: 70px 0 40px;
  text-align: center;
  position: relative;
}

.hero-pill-announcement {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(41, 151, 255, 0.08);
  border: 1px solid rgba(41, 151, 255, 0.25);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #7DD3FC;
  margin-bottom: 24px;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseBeacon 2s infinite;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.hero-giant-title {
  font-size: 5.2rem;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 400;
}

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

.scroll-hint-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

.scroll-hint-arrow {
  animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================================================
   APPLE PRO SCROLLYTELLING CONTAINER
   ========================================================================== */
.scrolly-section {
  position: relative;
  /* Tall scroll track for smooth narrative scrubbing */
  height: 380vh;
  margin-top: 20px;
}

.scrolly-sticky-frame {
  position: sticky;
  top: 90px;
  height: calc(100vh - 110px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: none; /* children enable pointer-events */
}

/* Chapter Progress Bar at Top of Sticky Viewport */
.scrolly-nav-tracker {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 50;
  margin-bottom: 16px;
}

.scrolly-chapter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.scrolly-chapter-btn:hover {
  color: #FFFFFF;
}

.scrolly-chapter-btn.active {
  background: rgba(41, 151, 255, 0.18);
  border: 1px solid rgba(41, 151, 255, 0.4);
  color: #7DD3FC;
  box-shadow: 0 0 15px rgba(41, 151, 255, 0.2);
}

.scrolly-chapter-btn .num-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.7;
}

/* Central MacBook Pro Hardware Display */
.scrolly-laptop-display {
  pointer-events: auto;
  width: 100%;
  max-width: 960px;
  background: #0B0E17;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px 26px 8px 8px;
  box-shadow: var(--shadow-stage);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
}

/* MacBook Bezel with Hardware Notch */
.macbook-hardware-bezel {
  background: #000000;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  font-size: 0.78rem;
}

.bezel-window-dots {
  display: flex;
  gap: 7px;
}

.bezel-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.apple-hardware-notch {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: #000000;
  width: 140px;
  height: 22px;
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 20;
}

.notch-camera-lens {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #080A10;
  border: 1px solid #1E293B;
}

.notch-indicator-led {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1E293B;
  transition: all 0.2s ease;
}

.notch-indicator-led.active {
  background: #10B981;
  box-shadow: 0 0 10px #10B981, 0 0 18px #10B981;
}

.bezel-status-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bezel-status-pill .indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--apple-blue);
}

/* ==========================================================================
   DISPLAY SCREEN STACK (CROSS-FADING CHAPTERS)
   ========================================================================== */
.display-screen-stack {
  position: relative;
  min-height: 440px;
  background: #05070E;
  overflow: hidden;
}

.screen-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97) translateY(10px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.screen-layer.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* LAYER 1: NATIVE SONOMA LOCK SCREEN */
.layer-lockscreen {
  background: 
    radial-gradient(ellipse at 50% 15%, rgba(30, 58, 138, 0.7) 0%, rgba(15, 23, 42, 0.95) 75%),
    linear-gradient(180deg, #090D1A 0%, #030508 100%);
}

.lock-reticle-wrap {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.reticle-bracket {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #38BDF8;
  border-style: solid;
  border-width: 0;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
  transition: border-color 0.3s;
}

.rb-tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.rb-tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.rb-bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.rb-br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }

.reticle-rotating-ring {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.35);
  animation: spinRing 8s linear infinite;
}

.reticle-laser-line {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38BDF8 50%, transparent);
  box-shadow: 0 0 12px #38BDF8;
  top: 15px;
  animation: laserSweep 1.3s ease-in-out infinite alternate;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes laserSweep {
  0% { top: 15px; opacity: 0.7; }
  100% { top: 155px; opacity: 1; }
}

.reticle-avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
  background: #0F172A;
}

.reticle-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lock-success-shield {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lock-reticle-wrap.verified .lock-success-shield {
  opacity: 1;
  transform: scale(1);
}

.lock-reticle-wrap.verified .reticle-bracket {
  border-color: #34D399;
  filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.8));
}

.lock-reticle-wrap.verified .reticle-rotating-ring {
  border-color: #34D399;
  animation: none;
}

.lock-clock {
  font-size: 2.8rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
  margin-bottom: 2px;
}

.lock-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.lock-username {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.lock-status-prompt {
  font-size: 0.82rem;
  color: var(--neon-cyan);
  min-height: 18px;
  font-family: var(--font-mono);
  margin-bottom: 14px;
}

.lock-password-capsule {
  position: relative;
  width: 200px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lock-capsule-dots {
  display: flex;
  gap: 4px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity 0.15s;
}

.lock-capsule-dots.typing {
  opacity: 1;
}

.lock-capsule-unlocked-pill {
  position: absolute;
  inset: 0;
  background: #10B981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lock-capsule-unlocked-pill.active {
  transform: translateY(0);
}

/* LAYER 2: TERMINAL SUDO PAM */
.layer-terminal {
  background: #080B12;
  align-items: stretch;
  padding: 24px 32px;
}

.terminal-inner-window {
  background: #0B0E17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.8;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.t-prompt { color: #38BDF8; font-weight: 700; }
.t-cmd { color: #F8FAFC; font-weight: 600; }
.t-comment { color: #94A3B8; font-size: 0.85rem; }
.t-pam-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 12px;
  border-radius: var(--radius-sm);
  color: #34D399;
  font-size: 0.84rem;
  margin: 6px 0;
}
.t-success { color: #34D399; font-weight: 700; }

/* LAYER 3: ARCHITECTURE PIPELINE & NEURAL ENGINE */
.layer-architecture {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5) 0%, #05070D 100%);
  padding: 30px;
}

.arch-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 820px;
  flex-wrap: wrap;
}

.arch-node {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  flex: 1;
  min-width: 160px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.arch-node-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.arch-node-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 4px;
}

.arch-node-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.arch-connector {
  color: #38BDF8;
  font-size: 1.2rem;
  font-weight: 800;
}

/* LAYER 4: SETTINGS & CLAMSHELL ECOSYSTEM */
.layer-clamshell {
  background: #090C16;
  padding: 30px 40px;
  align-items: stretch;
}

.pref-clean-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pref-clean-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.pref-clean-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.toggle-switch-apple {
  width: 44px;
  height: 24px;
  background: #10B981;
  border-radius: var(--radius-full);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.toggle-knob-apple {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}

/* Hardware Telemetry Bar at bottom of Laptop */
.hardware-telemetry-bar {
  background: rgba(8, 11, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 12px;
}

.hardware-telemetry-bar strong {
  color: #7DD3FC;
}

/* Narrative Story Caption Pinned Below Laptop */
.scrolly-caption-card {
  pointer-events: auto;
  margin-top: 14px;
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 28px;
  text-align: center;
  max-width: 720px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.caption-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.caption-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   GIANT APPLE STAT METRICS (PUNCHY NUMBERS)
   ========================================================================== */
.section-metrics {
  padding: 100px 0 80px;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.metric-big-num {
  font-size: 4.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.metric-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   BENTO ENGINEERING GRID
   ========================================================================== */
.section-bento {
  padding: 80px 0 100px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon-cyan);
  margin-bottom: 10px;
}

.section-main-title {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-main-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 50px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow-cyan);
  box-shadow: 0 0 40px -10px rgba(56, 189, 248, 0.25);
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-icon-capsule {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.3);
  color: var(--apple-blue);
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-tech-tag {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #38BDF8;
}

/* ==========================================================================
   PRICING MONOLITH ($19 PERPETUAL LIFETIME)
   ========================================================================== */
.section-pricing {
  padding: 100px 0;
  text-align: center;
}

.pricing-monolith-box {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(180deg, #101524 0%, #060810 100%);
  border: 1px solid rgba(41, 151, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 60px rgba(41, 151, 255, 0.2);
  position: relative;
}

.pricing-badge-perpetual {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #FBBF24;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.price-monolith-amount {
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-currency {
  font-size: 2.2rem;
  color: var(--text-secondary);
}

.pricing-checklist-apple {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin: 30px 0 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-checklist-apple li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  color: #E2E8F0;
}

.pricing-checklist-apple svg {
  color: #10B981;
  flex-shrink: 0;
}

/* ==========================================================================
   DOWNLOAD FREE TRIAL SECTION
   ========================================================================== */
.section-download {
  padding: 80px 0 100px;
  text-align: center;
}

.download-glass-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
}

.download-specs-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ==========================================================================
   MINIMALIST FAQ ACCORDION
   ========================================================================== */
.section-faq {
  padding: 60px 0 100px;
}

.faq-apple-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-apple-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-apple-item.active {
  border-color: rgba(41, 151, 255, 0.4);
}

.faq-apple-btn {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.02rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.faq-apple-btn svg {
  transition: transform 0.25s ease;
  color: var(--text-secondary);
}

.faq-apple-item.active .faq-apple-btn svg {
  transform: rotate(180deg);
  color: var(--apple-blue);
}

.faq-apple-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-apple-item.active .faq-apple-content {
  max-height: 200px;
  padding-bottom: 20px;
}

/* ==========================================================================
   1-CLICK FAST EXPRESS CHECKOUT MODAL
   ========================================================================== */
.express-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.express-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.express-modal-card {
  background: #0B0E17;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95), 0 0 60px rgba(41, 151, 255, 0.25);
  position: relative;
  overflow: hidden;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.express-modal-backdrop.open .express-modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.modal-body {
  padding: 24px 26px 30px;
}

.order-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(41, 151, 255, 0.08);
  border: 1px solid rgba(41, 151, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-bottom: 18px;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span {
  padding: 0 12px;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #FFFFFF;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.2);
}

.modal-success-screen {
  display: none;
  text-align: center;
  padding: 16px 0;
}

.success-check-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34D399;
  margin: 0 auto 16px;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   CLEAN FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 36px;
}

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

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

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-giant-title { font-size: 3rem; }
  .scrolly-section { height: auto; margin-top: 0; }
  .scrolly-sticky-frame { position: static; height: auto; }
  .scrolly-laptop-display { margin-bottom: 20px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-span-2 { grid-column: span 1; }
  .nav-links { display: none; }
}
