/* ==========================================================================
   ThreatLens — Apple Product Design System
   Inspired by apple.com (iPhone 16 Pro, M3 Max, Vision Pro product pages)
   Clean, cinematic, vast breathing room, editorial typography, Bento grid
   ========================================================================== */

:root {
  --bg: #0d111a;
  --bg-subtle: #111726;
  --surface: #151d30;
  --surface-2: #1b243b;
  --surface-3: #222d48;
  --surface-hover: #293656;

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.05);

  --text-primary: #f2f5fa;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;

  --apple-blue: #2997ff;
  --apple-blue-fill: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-green: #30d158;
  --apple-orange: #ff9f0a;
  --apple-red: #ff453a;
  --apple-purple: #bf5af2;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Inter, sans-serif;
  --font-mono: "SF Mono", Monaco, Menlo, Consolas, "JetBrains Mono", monospace;

  --nav-h: 48px;
  --max-w: 1120px;
  --max-w-wide: 1280px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 980px;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --dur: 0.3s;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: 
    radial-gradient(ellipse 1200px 700px at 50% -100px, rgba(41, 151, 255, 0.09), transparent 70%),
    radial-gradient(ellipse 900px 600px at 85% 40%, rgba(30, 58, 138, 0.07), transparent 60%),
    radial-gradient(ellipse 1000px 600px at 15% 80%, rgba(41, 151, 255, 0.06), transparent 70%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.015em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(41, 151, 255, 0.35);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

/* ─── Layout Container ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  width: 100%;
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 140px 0;
  position: relative;
}

.section-hero {
  padding-top: 100px;
  padding-bottom: 120px;
  text-align: center;
}

/* ─── Apple Navigation (48px Floating Frosted Glass) ───────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 9999;
  background: rgba(13, 17, 26, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.brand-shield {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 8px rgba(41, 151, 255, 0.5));
}

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

.nav-links a {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  font-weight: 400;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-pill-btn {
  background: var(--apple-blue-fill);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

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

.nav-github-link {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--dur) var(--ease);
}

.nav-github-link:hover {
  color: #ffffff;
}

.hamburger {
  display: none;
  font-size: 22px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  line-height: 1;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.hamburger:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 17, 26, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9998;
  flex-direction: column;
  padding: 40px 28px;
  gap: 24px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.mobile-drawer a:hover {
  color: #ffffff;
}

/* ─── Apple Typography & Headers ───────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 17px;
  font-weight: 600;
  color: var(--apple-blue);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.015em;
}

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

/* Apple Buttons */
.btn-apple-primary {
  background: var(--apple-blue-fill);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--dur) var(--ease);
}

.btn-apple-primary:hover {
  background: var(--apple-blue-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.4);
}

.btn-apple-large {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-apple-secondary {
  color: var(--apple-blue);
  font-size: 16px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 20px;
  transition: opacity var(--dur) var(--ease);
}

.btn-apple-secondary:hover {
  opacity: 0.8;
}

.btn-apple-secondary span {
  font-size: 14px;
  transition: transform var(--dur) var(--ease);
}

.btn-apple-secondary:hover span {
  transform: translateX(3px);
}

/* Feature tags pill strip */
.spec-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
}

.spec-strip span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-strip span::before {
  content: "•";
  color: var(--apple-blue);
}

.spec-strip span:first-child::before {
  display: none;
}

/* ─── Apple Segmented Control ──────────────────────────────────────────── */
.segmented-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px;
  border-radius: var(--r-pill);
  gap: 6px;
  margin-bottom: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 100%;
}

.segmented-btn {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  white-space: nowrap;
}

.segmented-btn:hover {
  color: #ffffff;
}

.segmented-btn.active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* ─── Cinematic Device Showcase Frame ───────────────────────────────────── */
.cinematic-window {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 40px 120px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(41, 151, 255, 0.15);
  transition: transform 0.6s var(--ease);
}

.window-titlebar {
  background: rgba(21, 29, 48, 0.95);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.traffic-dots {
  display: flex;
  gap: 8px;
}

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

.dot-close { background: #ff5f56; }
.dot-min { background: #ffbd2e; }
.dot-max { background: #27c93f; }

.window-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.window-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--apple-green);
  background: rgba(48, 209, 88, 0.12);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.window-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--apple-green);
  border-radius: 50%;
}

.window-canvas {
  position: relative;
  background: #0d1322;
}

.window-canvas img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity var(--dur) var(--ease);
}

.window-meta-bar {
  padding: 16px 24px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}

.window-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.window-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}

/* ─── Apple Bento Grid Section ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 400;
}

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

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* Bento Sizes */
.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--apple-blue);
  margin-bottom: 12px;
}

.bento-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.bento-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 28px;
}

/* 5-Point Graphic Mockup inside Bento 1 */
.five-point-preview {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fp-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
}

.fp-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(41, 151, 255, 0.15);
  color: var(--apple-blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fp-label {
  font-weight: 600;
  color: #ffffff;
  min-width: 140px;
}

.fp-desc {
  color: var(--text-secondary);
  flex: 1;
}

/* Visual Metric in Bento */
.bento-stat {
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  margin-top: auto;
}

.bento-stat-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ─── Apple Comparison Grid ("Compare Security Models") ────────────────── */
.compare-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow-x: auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 760px;
}

.compare-table th, .compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-2);
}

.compare-table th.tl-col {
  color: #ffffff;
  background: rgba(41, 151, 255, 0.12);
  border-top: 2px solid var(--apple-blue);
}

.compare-table td.tl-cell {
  background: rgba(41, 151, 255, 0.04);
  color: #ffffff;
  font-weight: 500;
}

.compare-dim-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
}

.compare-dim-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.tag-apple-check {
  color: var(--apple-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.tag-apple-cross {
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.tag-apple-warn {
  color: var(--apple-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

/* ─── Apple Tech Specs Section ─────────────────────────────────────────── */
.specs-section-wrap {
  border-top: 1px solid var(--border);
  padding-top: 80px;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.specs-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  gap: 32px;
}

.specs-category {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.specs-list strong {
  color: #ffffff;
}

/* ─── Apple Download Section ───────────────────────────────────────────── */
.download-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 72px 40px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9);
}

.download-card::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(41, 151, 255, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}



/* ─── Apple Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-notes {
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

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

.footer-col a {
  color: var(--text-secondary);
}

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

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

/* ─── Dynamic Responsive Design System ─────────────────────────────────── */

/* Large Tablets & Small Laptops (<= 1040px) */
@media (max-width: 1040px) {
  .hero-title {
    font-size: clamp(2.2rem, 5.8vw, 3.8rem);
  }
}

/* Tablets (<= 960px) */
@media (max-width: 960px) {
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .specs-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile & Small Tablets (<= 768px) */
@media (max-width: 768px) {
  .nav-links, .nav-pill-btn, .nav-github-link {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .section {
    padding: 72px 0;
  }
  .section-hero {
    padding-top: 96px;
  }
  .section-header {
    margin-bottom: 44px;
  }

  /* Segmented Control Touch-Scroll Track */
  .segmented-control {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 8px;
    border-radius: var(--r-pill);
    width: 100%;
    max-width: 100%;
    scroll-snap-type: x mandatory;
    gap: 6px;
  }
  .segmented-control::-webkit-scrollbar {
    display: none;
  }
  .segmented-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 12px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  /* Comparison Table Mobile Sticky Column */
  .compare-container {
    border-radius: var(--r-lg);
    -webkit-overflow-scrolling: touch;
  }
  .compare-table {
    min-width: 660px;
  }
  .compare-table th, .compare-table td {
    padding: 14px 16px;
  }
  .compare-table th:first-child,
  .compare-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--surface);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.4);
  }
  .compare-table th:first-child {
    background: var(--surface-2);
  }
}

/* Mobile Phones (<= 600px) */
@media (max-width: 600px) {
  .container, .container-wide {
    padding: 0 16px;
  }
  .section {
    padding: 56px 0;
  }
  .section-hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8.5vw, 2.75rem);
    line-height: 1.12;
    margin-bottom: 18px;
  }
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 36px;
  }
  .hero-actions .btn-apple-primary,
  .hero-actions .btn-apple-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .spec-strip {
    gap: 8px 14px;
    font-size: 12px;
  }

  /* Cinematic Device Window on Mobile */
  .cinematic-window {
    border-radius: var(--r-md);
  }
  .window-titlebar {
    padding: 10px 14px;
  }
  .traffic-dots {
    gap: 6px;
  }
  .traffic-dot {
    width: 9px;
    height: 9px;
  }
  .window-title {
    font-size: 11px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .window-badge {
    font-size: 10px;
    padding: 2px 8px;
  }
  .window-meta-bar {
    padding: 12px 14px;
    gap: 10px;
    font-size: 11px;
  }
  .window-pill {
    font-size: 11px;
    padding: 3px 8px;
  }

  /* Bento Cards on Mobile */
  .bento-card {
    padding: 24px 18px;
    border-radius: var(--r-lg);
  }
  .bento-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
  }
  .bento-card p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
  }
  .bento-stat {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  /* 5-Point Preview on Mobile */
  .five-point-preview {
    padding: 16px 14px;
    gap: 10px;
    border-radius: var(--r-md);
  }
  .fp-row {
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
  }
  .fp-label {
    min-width: unset;
  }

  /* Tech Specs on Mobile */
  .specs-section-wrap {
    padding-top: 48px;
  }
  .specs-row {
    padding: 20px 0;
  }
  .specs-category {
    font-size: 15px;
  }
  .specs-list {
    font-size: 14px;
    gap: 10px;
  }

  /* Download Card on Mobile */
  .download-card {
    padding: 44px 20px;
    border-radius: var(--r-lg);
  }
  .btn-apple-large {
    width: 100%;
    font-size: 15px;
    padding: 14px 18px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }

  /* Footer on Mobile */
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
