/* ============================================================
   NEXUS CONTROLLER — APPLE-GRADE DESIGN SYSTEM & STYLESHEET
   ============================================================ */

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

:root {
  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont,
               'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;

  /* Color Palette — Apple Cinematic Pure Black */
  --bg-deep:        #000000;
  --bg-studio:      #060102;
  --bg-card:        #121214;
  --bg-card-hover:  #18181b;
  --border-subtle:  rgba(255, 255, 255, 0.08);
  --border-active:  rgba(0, 240, 255, 0.50);
  --border-glass:   rgba(255, 255, 255, 0.12);

  /* Accents — Neon Electric Cyan (PS5 Controller Lighting) */
  --accent-neon:    #00f0ff;
  --accent-cyan:    #00e5ff;
  --accent-glow:    rgba(0, 240, 255, 0.40);
  --accent-orange:  #00f0ff;
  --accent-crimson: #0284c7;

  /* Text Tiers */
  --text-primary:   #f5f5f7;
  --text-secondary: rgba(245, 245, 247, 0.65);
  --text-tertiary:  rgba(245, 245, 247, 0.40);
  --text-muted:     rgba(245, 245, 247, 0.26);

  /* Curvatures — Apple continuous radii */
  --radius-sm:      10px;
  --radius-md:      16px;
  --radius-lg:      22px;
  --radius-xl:      28px;
  --radius-pill:    999px;

  /* Transitions */
  --ease-apple:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   BASE SETUP
   ============================================================ */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color-scheme: dark;
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg-deep);
  font-family: var(--font-main);
  color: var(--text-primary);
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Minimal Apple-style Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* Safe scroll anchors for navigation */
section[id] {
  scroll-margin-top: 90px;
}

/* ============================================================
   OA DESIGN HEADER MORPH
   ============================================================ */
.oa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  padding: 0 1.25rem;
}

.oa-header-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 860px;
  height: 52px;
  padding: 0 8px 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(18, 19, 24, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: max-width 700ms cubic-bezier(0.32, 0.72, 0, 1),
              height 700ms cubic-bezier(0.32, 0.72, 0, 1),
              background-color 700ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 700ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.oa-header[data-scrolled="true"] .oa-header-pill {
  max-width: 660px;
  height: 46px;
  background: rgba(18, 19, 24, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 36px rgba(0, 0, 0, 0.55);
}

/* Brand */
.oa-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  color: #ffffff;
}

.oa-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(170deg, #2e2f36 0%, #15161a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
}

.oa-brand-text {
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #ffffff;
}

/* Nav Links */
.oa-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.oa-nav-item {
  color: var(--muted-foreground);
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: color 0.18s ease;
}

.oa-nav-item:hover {
  color: #ffffff;
}

.oa-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* OA Design Pill Button System */
.oa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
  user-select: none;
}

.oa-btn:active {
  transform: translateY(1px) scale(0.98);
}

.oa-btn--primary {
  height: 34px;
  padding: 0 14px;
  background: #ffffff;
  color: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 10px rgba(0, 0, 0, 0.3);
}

.oa-btn--primary:hover {
  background: #f0f0f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 14px rgba(255, 255, 255, 0.2);
}

.oa-btn--secondary {
  height: 34px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.oa-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}

.oa-btn-sep {
  opacity: 0.35;
  font-size: 0.85em;
}

.oa-btn-price {
  opacity: 0.85;
}

/* ============================================================
   STUDIO BACKGROUND
   ============================================================ */
.studio-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-deep);
}

.cyclorama-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 65% at 50% 48%, rgba(0, 36, 54, 0.40) 0%, rgba(4, 8, 14, 0.88) 60%, #000000 100%);
}

.radiant-hotspot {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.14) 0%, rgba(0, 140, 255, 0.05) 45%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
}

.studio-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.85);
}

/* ============================================================
   SPLINE 3D CANVAS & IFRAME
   ============================================================ */
#canvas-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: auto;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

#canvas-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
  pointer-events: auto;
  transform: none;
}

.canvas-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: transparent;
  transition: pointer-events 0.25s ease;
}

.scroll-guard-active .canvas-overlay {
  pointer-events: auto;
  cursor: grab;
}

.toggle-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-neon, #00f0ff);
  box-shadow: 0 0 8px var(--accent-neon, #00f0ff), 0 0 16px rgba(0, 240, 255, 0.5);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================================
   PINNED SCROLL STORY ARCHITECTURE
   ============================================================ */
.scroll-track {
  position: relative;
  width: 100%;
  height: 520vh; /* Smooth scrub track */
  z-index: 2;
}

.scroll-viewport-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Story Chapters inside Stage */
.story-chapter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.story-chapter.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Horizontal Alignments */
.story-chapter--left {
  justify-content: flex-start;
  padding-left: clamp(4vw, 8vw, 12vw);
  transform: translateX(-24px);
}
.story-chapter--left.is-active {
  transform: translateX(0);
}

.story-chapter--right {
  justify-content: flex-end;
  padding-right: clamp(4vw, 8vw, 12vw);
  transform: translateX(24px);
}
.story-chapter--right.is-active {
  transform: translateX(0);
}

.story-chapter--center {
  justify-content: center;
  align-items: flex-end;
  padding-bottom: clamp(50px, 8vh, 80px);
  transform: translateY(20px);
}
.story-chapter--center.is-active {
  transform: translateY(0);
}

.story-chapter--dock {
  justify-content: center;
  align-items: flex-end;
  padding-bottom: clamp(30px, 5vh, 60px);
  transform: translateY(24px);
}
.story-chapter--dock.is-active {
  transform: translateY(0);
}

/* ============================================================
   CHAPTER 1: OA DESIGN HERO SECTION (Bottom Anchored)
   ============================================================ */
#chapter-hero {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 1.5rem clamp(28px, 5.5vh, 48px);
  box-sizing: border-box;
  z-index: 10;
  pointer-events: none;
}

.story-chapter--bottom {
  justify-content: flex-end;
  align-items: center;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.story-chapter--bottom.is-active {
  transform: translateY(0);
}

/* Cinematic dark studio scrim ensuring 100% text contrast without obscuring the 3D controller */
.story-chapter--bottom::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 280px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.70) 50%, rgba(0, 0, 0, 0.20) 80%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.oa-hero-bottom-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  width: 100%;
  pointer-events: auto;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.oa-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(14, 16, 22, 0.88);
  border: 1px solid rgba(0, 240, 255, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 240, 255, 0.2);
}

.oa-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-neon, #00f0ff);
  box-shadow: 0 0 8px var(--accent-neon, #00f0ff), 0 0 16px rgba(0, 240, 255, 0.8);
}

.oa-hero-title {
  font-size: clamp(2.1rem, 4.0vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 0.65rem 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.98), 0 0 40px rgba(0, 0, 0, 0.8);
}

.oa-hero-neon {
  color: #00f0ff;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.8), 0 0 32px rgba(0, 240, 255, 0.45), 0 2px 14px rgba(0, 0, 0, 0.98);
  display: inline-block;
}

.oa-hero-sub {
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  font-weight: 400;
  line-height: 1.6;
  color: #e5e7eb;
  max-width: 620px;
  margin: 0 0 1.35rem 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.98), 0 0 12px rgba(0, 0, 0, 0.85);
}

.oa-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@keyframes mouseWheelMove {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   APPLE FROSTED GLASS STORY CARDS (Chapters 2, 3, 4)
   ============================================================ */
.apple-glass-card {
  max-width: 420px;
  padding: 2.4rem 2.4rem;
  border-radius: var(--radius-xl);
  background: rgba(14, 14, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  pointer-events: auto;
}

.card-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.card-headline {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.10;
  color: var(--text-primary);
  margin-bottom: 1.0rem;
}

.card-description {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

.card-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.card-stat-desc {
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-tertiary);
}

/* ============================================================
   CHAPTER 5: FLOATING PILL BANNER
   ============================================================ */
.apple-pill-banner {
  max-width: 640px;
  padding: 1.4rem 2.0rem;
  border-radius: var(--radius-xl);
  background: rgba(14, 14, 16, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(28px) saturate(180%);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}

.banner-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.banner-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.banner-sub {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   CHAPTER 6: APPLE STUDIO DOCK
   ============================================================ */
.studio-dock-card {
  width: 580px;
  max-width: 92vw;
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius-xl);
  background: rgba(14, 14, 16, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(34px) saturate(200%);
  -webkit-backdrop-filter: blur(34px) saturate(200%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.dock-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.dock-eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.dock-headline {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.dock-active-color-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
}

.dock-swatches {
  display: flex;
  gap: 0.8rem;
}

.apple-swatch-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apple-swatch-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.apple-swatch-btn.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.swatch-ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
}

.apple-swatch-btn.active .swatch-ring {
  border-color: #ffffff;
}

.swatch-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.swatch-dot.obsidian {
  background: #12141a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.swatch-dot.crimson {
  background: #7f1d1d;
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.5);
}

.swatch-dot.arctic {
  background: #f1f5f9;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.dock-action-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.4rem;
}

.apple-turntable-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.80rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.apple-turntable-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.dock-order-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
  transition: transform 0.2s var(--ease-apple), box-shadow 0.2s ease;
}

.dock-order-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.35);
}

/* ============================================================
   EDITORIAL CONTENT FLOW (Apple Style Sections)
   ============================================================ */
.content-sections-wrapper {
  position: relative;
  z-index: 10;
  background-color: var(--bg-deep);
  width: 100%;
}

/* SECTION A: TICKER MARQUEE */
.marquee-section {
  width: 100%;
  overflow: hidden;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 14, 16, 0.5);
  backdrop-filter: blur(12px);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track span {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.marquee-dot {
  color: var(--accent-orange) !important;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTION B: STATEMENT SECTION */
.statement-section {
  padding: clamp(100px, 16vh, 160px) 2rem clamp(60px, 10vh, 100px);
  text-align: center;
  display: flex;
  justify-content: center;
}

.statement-inner {
  max-width: 820px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.statement-heading {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 40%, #8e8e93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.4rem;
}

.statement-sub {
  font-size: clamp(1.0rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* EDITORIAL SECTION COMMON */
.editorial-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 100px) 2rem;
}

.section-intro {
  margin-bottom: 3.2rem;
}

.section-heading {
  font-size: clamp(2.0rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-top: 0.6rem;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 0.8rem;
  max-width: 620px;
}

/* SECTION C: THREE PILLARS (Apple Bento Grid) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  padding: 2.6rem 2.2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-apple), border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.pillar-card--featured {
  border-color: rgba(255, 107, 26, 0.35);
  background: radial-gradient(circle at top right, rgba(255, 107, 26, 0.08) 0%, #121214 70%);
}

.pillar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  margin-bottom: 0.6rem;
}

.pillar-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.pillar-body {
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.8rem;
}

.pillar-highlight {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ph-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-orange);
  margin-bottom: 0.25rem;
}

.ph-desc {
  font-size: 0.76rem;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* SECTION D: STATS STRIP */
.stats-strip-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 80px) 2rem;
}

.stats-strip-inner {
  padding: 3.5rem 3.0rem;
  border-radius: var(--radius-xl);
  background: #0d0d0f;
  border: 1px solid var(--border-subtle);
}

.stats-strip-header {
  margin-bottom: 2.8rem;
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.0rem;
}

.stat-card-val {
  font-size: clamp(2.4rem, 4.0vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.0;
  margin-bottom: 0.6rem;
}

.stat-card-unit {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-left: 0.15rem;
}

.stat-card-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.stat-card-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* SECTION E: STRUCTURAL INTEGRITY FULL CARD */
.feature-full-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.0rem;
  padding: 3.5rem 3.5rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  align-items: center;
}

.section-heading-sm {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0.6rem 0 1.2rem;
  line-height: 1.15;
}

.feature-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.0rem;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-bullets strong {
  display: block;
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.feature-bullets span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.feature-full-stat {
  display: flex;
  justify-content: center;
}

.big-stat-block {
  padding: 2.8rem 2.4rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.big-stat-number {
  font-size: 4.8rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
  line-height: 1.0;
  margin-bottom: 0.6rem;
}

.big-stat-unit {
  font-size: 2.2rem;
  color: var(--accent-orange);
  margin-left: 0.2rem;
}

.big-stat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.big-stat-desc {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  line-height: 1.55;
  max-width: 260px;
  margin: 0 auto;
}

/* SECTION F: TECHNICAL SPECIFICATIONS TABLE */
.specs-section {
  padding-top: clamp(80px, 12vh, 120px);
}

.specs-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

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

.authentic-specs-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.authentic-specs-table tr:last-child {
  border-bottom: none;
}

.authentic-specs-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.authentic-specs-table th {
  padding: 1.4rem 2.0rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  width: 32%;
  vertical-align: middle;
}

.authentic-specs-table td {
  padding: 1.4rem 2.0rem;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  vertical-align: middle;
}

/* SECTION G: FAQ ACCORDION */
.faq-section {
  padding-top: clamp(80px, 12vh, 120px);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.0rem;
}

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

.faq-row[open] {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-title {
  padding: 1.5rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-title::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-tertiary);
  transition: transform 0.25s ease;
}

.faq-row[open] .faq-title::after {
  content: '−';
  color: var(--accent-orange);
}

.faq-content {
  padding: 0 1.8rem 1.6rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* SECTION H: APPLE PURCHASE BOX */
.purchase-section {
  padding-top: clamp(80px, 12vh, 120px);
  padding-bottom: clamp(100px, 16vh, 160px);
}

.purchase-box {
  padding: clamp(3.5rem, 6.0vw, 5.0rem) 3.0rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at center top, rgba(255, 107, 26, 0.12) 0%, #101012 65%);
  border: 1px solid rgba(255, 107, 26, 0.35);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.purchase-badge {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-orange);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.purchase-title {
  font-size: clamp(2.2rem, 4.0vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.purchase-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.purchase-price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 2.2rem;
}

.price-val {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  line-height: 1.0;
}

.price-tax {
  font-size: 0.86rem;
  color: var(--text-tertiary);
}

.purchase-actions {
  display: flex;
  align-items: center;
  gap: 1.0rem;
  margin-bottom: 2.2rem;
}

.purchase-main-btn {
  padding: 0.9rem 2.4rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  transition: transform 0.25s var(--ease-apple), box-shadow 0.25s ease;
}

.purchase-main-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.5);
}

.purchase-learn-btn {
  padding: 0.88rem 1.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.purchase-learn-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.purchase-guarantees {
  display: flex;
  gap: 1.8rem;
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* FOOTER */
.product-footer {
  border-top: 1px solid var(--border-subtle);
  background: #08080a;
  padding: 4.5rem 2.0rem 2.5rem;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.0rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  display: block;
  margin-bottom: 0.8rem;
}

.footer-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 320px;
}

.footer-header {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.0rem;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-group a {
  font-size: 0.84rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

/* ============================================================
   LOADING SCREEN
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-orange);
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--text-tertiary);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ============================================================ */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-full-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .oa-header-pill {
    padding: 0 6px 0 12px;
  }
  .oa-nav-links {
    display: none;
  }
  .oa-hero-top {
    padding-top: 60px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .oa-hero-title {
    font-size: 1.6rem;
  }
  .oa-hero-sub {
    font-size: 0.82rem;
  }
  .oa-dock-plate {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 18px;
    padding: 10px 14px;
    gap: 12px;
  }
  .oa-dock-sep {
    display: none;
  }
  .story-chapter--left,
  .story-chapter--right {
    padding-left: 5vw;
    padding-right: 5vw;
    justify-content: center;
  }
  .apple-glass-card {
    max-width: 90vw;
    padding: 1.8rem 1.6rem;
  }
  .stats-strip-grid {
    grid-template-columns: 1fr;
  }
  .purchase-guarantees {
    flex-direction: column;
    gap: 0.5rem;
  }
}
