/* ==========================================================================
   Media Flow — Apple-Inspired Design System & Kinetic Motion Stylesheet
   Typography: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text"
   ========================================================================== */

:root {
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Apple Dark Palette */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-tertiary: #141416;
  --bg-card: #1c1c1e;
  --bg-card-hover: #242426;
  --bg-elevated: #2c2c2e;

  /* Glass Acrylic */
  --glass-bg: rgba(22, 22, 23, 0.78);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.05);

  /* Apple Accent Colors */
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-blue-glow: rgba(0, 113, 227, 0.35);
  --apple-cyan: #2997ff;
  --apple-purple: #af52de;
  --apple-green: #30d158;
  --apple-amber: #ff9f0a;
  --apple-pink: #ff375f;

  /* Typography Colors */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --text-link: #2997ff;

  /* Motion & Curves */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-normal: 0.6s;
}

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

html {
  font-family: var(--font-apple);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  background-color: var(--bg-primary);
}

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

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   GLOBAL APPLE NAV
   ========================================================================== */
.apple-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--glass-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: background-color 0.4s var(--ease-apple), border-color 0.4s var(--ease-apple);
}

.apple-nav-inner {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  transition: opacity 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.85;
}

.nav-logo-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

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

.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: var(--apple-blue);
  padding: 5px 14px;
  border-radius: 980px;
  transition: background-color 0.2s ease, transform 0.2s var(--ease-apple);
}

.btn-nav-download:hover {
  background: var(--apple-blue-hover);
  transform: scale(1.02);
}

/* Sticky Product Subnav */
.apple-subnav {
  position: sticky;
  top: 48px;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 990;
}

.apple-subnav-inner {
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subnav-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  font-size: 12px;
}

.subnav-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.subnav-links a:hover,
.subnav-links a.active {
  color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION (APPLE KEYNOTE CINEMATIC)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  padding: 130px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

/* Kinetic Aurora Glow Background */
.aurora-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.35) 0%, rgba(175, 82, 222, 0.25) 45%, rgba(41, 151, 255, 0.1) 70%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: floatAurora 12s ease-in-out infinite alternate;
}

@keyframes floatAurora {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
    filter: blur(80px);
  }
  50% {
    transform: translateX(-47%) translateY(-25px) scale(1.08);
    filter: blur(95px);
  }
  100% {
    transform: translateX(-53%) translateY(15px) scale(0.96);
    filter: blur(85px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--apple-cyan);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #d1d1d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 34px;
}

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

.btn-apple-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  background: var(--apple-blue);
  padding: 12px 28px;
  border-radius: 980px;
  box-shadow: 0 4px 24px var(--apple-blue-glow);
  transition: all 0.25s var(--ease-apple);
}

.btn-apple-primary:hover {
  background: var(--apple-blue-hover);
  transform: scale(1.03);
  box-shadow: 0 6px 30px rgba(0, 113, 227, 0.5);
}

.btn-apple-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 26px;
  border-radius: 980px;
  backdrop-filter: blur(10px);
  transition: all 0.25s var(--ease-apple);
}

.btn-apple-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.02);
}

/* ==========================================================================
   APP SHOWCASE MOCKUP (WITH KINETIC FLOATING BADGES)
   ========================================================================== */
.showcase-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  perspective: 1200px;
}

.showcase-card {
  position: relative;
  background: #141416;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 0.6s var(--ease-apple), box-shadow 0.6s var(--ease-apple);
}

.showcase-card:hover {
  box-shadow: 0 40px 120px rgba(0, 113, 227, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.window-header {
  height: 40px;
  background: #1a1a1d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

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

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-title-tab {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-toggle-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 980px;
  padding: 2px;
}

.theme-opt-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 11px;
  font-family: inherit;
  padding: 3px 10px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-opt-btn.active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
}

.showcase-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Kinetic Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(28, 28, 30, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 10;
  pointer-events: none;
  animation: floatBadge 6s ease-in-out infinite alternate;
}

.floating-badge.badge-left {
  top: 15%;
  left: -28px;
  animation-delay: 0s;
}

.floating-badge.badge-right {
  bottom: 18%;
  right: -28px;
  animation-delay: -3s;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-14px); }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.badge-icon.blue { background: rgba(0, 113, 227, 0.25); color: var(--apple-cyan); }
.badge-icon.green { background: rgba(48, 209, 88, 0.25); color: var(--apple-green); }

.badge-text-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.badge-text-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

/* ==========================================================================
   INFINITE MARQUEE TICKER (FORMATS QUE SE MUEVEN)
   ========================================================================== */
.marquee-container {
  padding: 60px 0 20px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.marquee-track.track-forward {
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track.track-reverse {
  animation: marqueeScrollReverse 36s linear infinite;
  margin-top: 14px;
}

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

@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.format-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 980px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  cursor: default;
}

.format-pill:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.pill-dot.blue { background: var(--apple-cyan); }
.pill-dot.purple { background: var(--apple-purple); }
.pill-dot.green { background: var(--apple-green); }
.pill-dot.amber { background: var(--apple-amber); }

/* ==========================================================================
   METRICS SECTION (APPLE BIG NUMBERS)
   ========================================================================== */
.metrics-section {
  padding: 100px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

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

.metric-card {
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.metric-num {
  font-size: clamp(48px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   APPLE BENTO GRID (INNOVATION SHOWCASE)
   ========================================================================== */
.bento-section {
  padding: 60px 24px 120px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--apple-cyan);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

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

.bento-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  padding: 36px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple), border-color 0.4s ease;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-12 { grid-column: span 12; }

.bento-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apple-cyan);
  margin-bottom: 12px;
}

.bento-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #ffffff;
}

.bento-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 520px;
  margin-bottom: 24px;
}

/* GPU Chip Graphic */
.gpu-chip-visual {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.chip-core {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  border: 2px solid var(--apple-cyan);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(41, 151, 255, 0.4);
  position: relative;
}

.chip-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.chip-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--apple-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.chip-glow-ring {
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  border: 1px dashed rgba(41, 151, 255, 0.4);
  animation: rotateRing 20s linear infinite;
}

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

/* Audio Waveform Canvas */
.waveform-container {
  height: 120px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding: 10px 0;
}

.waveform-bar {
  width: 6px;
  background: linear-gradient(180deg, var(--apple-green) 0%, rgba(48, 209, 88, 0.2) 100%);
  border-radius: 3px;
  animation: waveMotion 1.4s ease-in-out infinite alternate;
}

@keyframes waveMotion {
  0% { height: 18px; }
  100% { height: 95px; }
}

/* ==========================================================================
   INTERACTIVE CONVERTER SIMULATOR (PLAYGROUND EN VIVO)
   ========================================================================== */
.simulator-section {
  padding: 60px 24px 120px;
  max-width: 1080px;
  margin: 0 auto;
}

.simulator-card {
  background: #161617;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 44px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.simulator-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 36px;
}

.sim-tabs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.sim-tab-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 980px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-tab-btn.active, .sim-tab-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.sim-console-box {
  background: #0a0a0c;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.sim-input-zone {
  border: 2px dashed rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.sim-input-zone:hover {
  border-color: var(--apple-cyan);
  background: rgba(41, 151, 255, 0.04);
}

.sim-output-zone {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-select-group {
  margin-bottom: 14px;
}

.sim-select-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.sim-dropdown {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1c1c1e;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
}

.btn-sim-start {
  width: 100%;
  padding: 14px;
  background: var(--apple-blue);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.btn-sim-start:hover {
  background: var(--apple-blue-hover);
  transform: translateY(-1px);
}

.sim-progress-box {
  margin-top: 18px;
  display: none;
}

.sim-bar-bg {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 8px;
}

.sim-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--apple-blue) 0%, var(--apple-cyan) 100%);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.sim-status-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}

/* ==========================================================================
   DOWNLOAD HUB (WINDOWS & LINUX)
   ========================================================================== */
.download-section {
  padding: 100px 24px 140px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 38px;
  position: relative;
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s ease;
}

.dl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.22);
}

.dl-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--apple-cyan);
  margin-bottom: 12px;
}

.dl-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dl-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 24px;
}

.dl-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-dl-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn-dl-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateX(4px);
}

.btn-dl-item.primary {
  background: var(--apple-blue);
  border-color: var(--apple-blue);
}

.btn-dl-item.primary:hover {
  background: var(--apple-blue-hover);
}

/* ==========================================================================
   FOOTER (APPLE STYLE)
   ========================================================================== */
.apple-footer {
  background: #0a0a0c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px 60px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
}

.footer-disclaimer {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   PRIVACY SUBPAGE (APPLE LEGAL / PRIVACY STYLE)
   ========================================================================== */
.policy-hero {
  position: relative;
  padding: 130px 24px 48px;
  text-align: center;
  overflow: hidden;
}

.policy-container {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 100px;
}

.policy-summary-banner {
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.16) 0%, rgba(41, 151, 255, 0.06) 100%);
  border: 1px solid rgba(41, 151, 255, 0.35);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.policy-summary-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(41, 151, 255, 0.2);
  color: var(--apple-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.policy-summary-text h2 {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.policy-summary-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.policy-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.policy-section p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  padding-left: 22px;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.policy-section li {
  margin-bottom: 8px;
}

.policy-section code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--apple-cyan);
  background: rgba(41, 151, 255, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
}

.policy-section a {
  color: var(--apple-cyan);
  font-weight: 500;
}

.policy-section a:hover {
  text-decoration: underline;
}

.policy-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 980px;
  margin-top: 16px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (OBSERVER)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento-span-8, .bento-span-4, .bento-span-6 { grid-column: span 12; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sim-console-box { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .floating-badge { display: none; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .policy-summary-banner { flex-direction: column; }
}
