/* ══════════════════════════════════════════════
   MOVIEBOX WEBSITE — SHARED DESIGN SYSTEM
   Author: Muzamil Ahad | March 2026
   ══════════════════════════════════════════════ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bg: #08090d;
  --surface: #0f1018;
  --surface2: #14161f;
  --surface3: #1a1d2a;
  --border: #1e2235;
  --border2: #252840;
  --accent: #4f8ef7;
  --accent-dark: #3a72d8;
  --accent-light: rgba(79,142,247,0.12);
  --green: #34d399;
  --green-light: rgba(52,211,153,0.1);
  --yellow: #fbbf24;
  --yellow-light: rgba(251,191,36,0.1);
  --red: #e63a2e;
  --text: #e2e6f3;
  --text2: #a8b0cc;
  --muted: #6b7494;
  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-blue: 0 8px 32px rgba(79,142,247,0.2);
}

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── PAGE FADE IN ── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
body { animation: fadeIn 0.35s ease both; }

/* ── CONTAINER ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-nav.scrolled {
  background: rgba(8,9,13,0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo svg { width: 30px; height: 30px; flex-shrink: 0; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 1.5px;
  color: #fff;
  line-height: 1;
}
.nav-logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: var(--surface3); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px) !important; color: #fff !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,9,13,0.97);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.mobile-drawer.open { opacity: 1; pointer-events: auto; }
.mobile-drawer a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 1px;
  padding: 8px 24px;
  transition: color 0.2s;
}
.mobile-drawer a:hover { color: var(--accent); }
.mobile-drawer .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: flex; }
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  background: linear-gradient(135deg, #070a14 0%, #0d1628 55%, #060910 100%);
}
@keyframes heroGrad {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(79,142,247,0.14) 0%, transparent 60%),
              radial-gradient(ellipse at 75% 80%, rgba(52,211,153,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-badge {
  display: inline-block;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.3);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  color: var(--text2);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.trust-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2);
  padding: 7px 14px;
  border-radius: 40px;
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
}
.trust-badge svg { color: var(--accent); flex-shrink: 0; }

/* Phone mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-frame {
  width: 220px;
  height: 440px;
  border: 2px solid rgba(79,142,247,0.4);
  border-radius: 36px;
  background: #0a0c14;
  position: relative;
  box-shadow: 0 0 60px rgba(79,142,247,0.15), inset 0 0 30px rgba(79,142,247,0.05);
  overflow: hidden;
}
.phone-notch {
  width: 70px;
  height: 24px;
  background: #0a0c14;
  border: 2px solid rgba(79,142,247,0.3);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-screen {
  padding: 10px 10px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.movie-card {
  height: 80px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--surface3), #0f1322);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.movie-card::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 6px;
  right: 6px;
  height: 3px;
  background: rgba(79,142,247,0.4);
  border-radius: 2px;
}
@keyframes cardGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(79,142,247,0); }
  50% { box-shadow: 0 0 8px rgba(79,142,247,0.3); }
}
.movie-card:nth-child(odd) { animation: cardGlow 3s ease-in-out infinite; }
.movie-card:nth-child(even) { animation: cardGlow 3s ease-in-out 1.5s infinite; }

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(79,142,247,0.5);
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .phone-mockup { display: none; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .trust-badges { justify-content: center; }
  .hero-btns { justify-content: center; }
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(79,142,247,0.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,142,247,0.3);
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(79,142,247,0.5); }
  100% { box-shadow: 0 0 0 16px rgba(79,142,247,0); }
}
.btn-primary.pulse { animation: pulse-ring 1.8s ease-out infinite; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-secondary:hover { background: var(--surface3); color: #fff; border-color: var(--muted); }
.btn-green { background: var(--green); color: #032b1a; }
.btn-green:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-outline-accent {
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(79,142,247,0.3);
}
.btn-outline-accent:hover { background: rgba(79,142,247,0.2); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ══════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════ */
.section { padding: 60px 0; }
.section-alt { background: var(--surface); }
.section-sm { padding: 40px 0; }
.sec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.1;
}
.sec-desc { color: var(--muted); font-size: 15px; max-width: 600px; }

/* ══════════════════════════════════════════════
   QUICK ANSWER BOX (Featured Snippet Target)
   ══════════════════════════════════════════════ */
.answer-box {
  background: rgba(79,142,247,0.05);
  border: 1px solid rgba(79,142,247,0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}
.answer-box .answer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.answer-box h3 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.answer-box p { color: var(--text2); font-size: 15px; line-height: 1.7; }

/* ══════════════════════════════════════════════
   KEY TAKEAWAYS
   ══════════════════════════════════════════════ */
.takeaways {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.takeaways h3 {
  font-family: var(--font-head);
  font-size: 20px;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.takeaways ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.takeaways li {
  color: var(--text2);
  font-size: 14.5px;
  padding-left: 22px;
  position: relative;
}
.takeaways li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 4px;
}

/* ══════════════════════════════════════════════
   TABLE OF CONTENTS
   ══════════════════════════════════════════════ */
.toc {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}
.toc-title {
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc ol { padding-left: 18px; color: var(--text2); font-size: 14px; display: flex; flex-direction: column; gap: 5px; }
.toc a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
.toc a:hover { color: #fff; }

/* ══════════════════════════════════════════════
   CONTENT BODY
   ══════════════════════════════════════════════ */
.content-body { max-width: 800px; }
.content-body h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.5px;
  color: #fff;
  margin: 52px 0 16px;
  scroll-margin-top: 80px;
}
.content-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 28px 0 10px;
}
.content-body p {
  color: var(--text2);
  font-size: 15.5px;
  line-height: 1.78;
  margin-bottom: 16px;
}
.content-body p strong { color: var(--text); }
.content-body a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(79,142,247,0.3); transition: border-color 0.2s; }
.content-body a:hover { border-color: var(--accent); }
.content-body ul, .content-body ol { padding-left: 22px; color: var(--text2); font-size: 15.5px; line-height: 1.78; margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }

/* ══════════════════════════════════════════════
   STEP CARDS (HowTo)
   ══════════════════════════════════════════════ */
.steps { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 20px 72px;
  position: relative;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: var(--border2); }
.step-num {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-card h3 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 7px; }
.step-card p { color: var(--text2); font-size: 14.5px; line-height: 1.65; margin: 0; }

/* ══════════════════════════════════════════════
   FEATURE CARDS GRID
   ══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(79,142,247,0.4); transform: translateY(-3px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  border: 1px solid rgba(79,142,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--accent);
}
.feature-card h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .features-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════ */
.data-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  background: var(--surface2);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table td {
  padding: 11px 16px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.data-table td:first-child { color: var(--text); font-weight: 500; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--surface2); }
.badge-yes { color: var(--green); font-weight: 600; }
.badge-no { color: var(--red); font-weight: 600; }
.badge-partial { color: var(--yellow); font-weight: 600; }

/* ══════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  gap: 12px;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--surface2); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.25s;
  font-size: 14px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 20px 16px;
  color: var(--text2);
  font-size: 14.5px;
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.faq-a-inner a { color: var(--accent); }

/* ══════════════════════════════════════════════
   CALLOUT BOXES
   ══════════════════════════════════════════════ */
.callout {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.callout-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.callout-body strong { display: block; margin-bottom: 4px; font-size: 13.5px; }
.callout-body p { font-size: 13.5px; line-height: 1.6; }
.callout.tip { background: rgba(52,211,153,0.07); border: 1px solid rgba(52,211,153,0.25); color: #a7f3d0; }
.callout.tip strong { color: var(--green); }
.callout.warn { background: rgba(251,191,36,0.07); border: 1px solid rgba(251,191,36,0.25); color: #fde68a; }
.callout.warn strong { color: var(--yellow); }
.callout.info { background: var(--accent-light); border: 1px solid rgba(79,142,247,0.25); color: #c3d7fc; }
.callout.info strong { color: var(--accent); }
.callout.danger { background: rgba(230,58,46,0.07); border: 1px solid rgba(230,58,46,0.25); color: #fca5a5; }
.callout.danger strong { color: var(--red); }

/* ══════════════════════════════════════════════
   BREADCRUMBS
   ══════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border2); }
.breadcrumb-current { color: var(--text2); }

/* ══════════════════════════════════════════════
   STAR RATINGS
   ══════════════════════════════════════════════ */
.stars { color: #fbbf24; font-size: 14px; letter-spacing: 1px; }
.rating-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.rating-num { font-family: var(--font-head); font-size: 48px; color: #fff; line-height: 1; }
.rating-meta { font-size: 13px; color: var(--muted); }

/* ══════════════════════════════════════════════
   REVIEW CARDS
   ══════════════════════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.review-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.reviewer-name { font-weight: 600; color: #fff; font-size: 14px; }
.reviewer-device { font-size: 12px; color: var(--muted); margin-top: 2px; }
.review-text { color: var(--text2); font-size: 14px; line-height: 1.7; }
@media (max-width: 600px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   DOWNLOAD CTA SECTION
   ══════════════════════════════════════════════ */
.download-cta {
  background: linear-gradient(135deg, #0a1128 0%, #0d1828 50%, #070c1a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}
.download-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(79,142,247,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.download-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 52px);
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.download-cta p { color: var(--text2); font-size: 15px; margin-bottom: 28px; }
.download-cta .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.version-info { display: flex; gap: 20px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.version-badge {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════
   PLATFORM QUICK LINKS BAR
   ══════════════════════════════════════════════ */
.platform-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.platform-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.platform-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  text-decoration: none;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.platform-link:last-child { border-right: none; }
.platform-link:hover { background: var(--surface2); }
.platform-link svg { color: var(--accent); }
.platform-link span { font-size: 13px; color: var(--text2); font-weight: 500; }
.platform-link small { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
@media (max-width: 600px) {
  .platform-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .platform-link:nth-child(2) { border-right: none; }
}

/* ══════════════════════════════════════════════
   SPEC TABLE
   ══════════════════════════════════════════════ */
.spec-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
}

/* ══════════════════════════════════════════════
   AUTHOR BIO
   ══════════════════════════════════════════════ */
.author-bio {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 48px 0 24px;
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(79,142,247,0.3);
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 2px; }
.author-role { font-size: 12px; color: var(--accent); font-family: var(--font-mono); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.author-desc { color: var(--text2); font-size: 13.5px; line-height: 1.7; margin-bottom: 14px; }
.author-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 30px;
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  transition: all 0.2s;
}
.social-link:hover { background: var(--accent-light); border-color: rgba(79,142,247,0.3); color: var(--accent); }
@media (max-width: 600px) {
  .author-bio { flex-direction: column; }
  .author-avatar { width: 64px; height: 64px; }
}

/* ══════════════════════════════════════════════
   EMAIL CAPTURE
   ══════════════════════════════════════════════ */
.email-capture {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 48px 0;
}
.email-capture h3 { font-family: var(--font-head); font-size: 26px; color: #fff; margin-bottom: 8px; letter-spacing: 0.5px; }
.email-capture p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.email-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.email-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border2);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s;
}
.email-form input:focus { border-color: var(--accent); }
.email-form input::placeholder { color: var(--muted); }
.email-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 14px;
  transition: background 0.2s;
  white-space: nowrap;
}
.email-form button:hover { background: var(--accent-dark); }
.email-success { display: none; color: var(--green); font-weight: 500; margin-top: 10px; }
@media (max-width: 500px) { .email-form { flex-direction: column; } }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.site-footer {
  background: #070809;
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
.footer-brand { margin-bottom: 0; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 1px;
  color: #fff;
}
.footer-logo-text span { color: var(--accent); }
.footer-about { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin-bottom: 16px; }
.footer-col-title { font-weight: 700; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; font-family: var(--font-mono); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-disclaimer { font-size: 11px; color: #3a3f55; max-width: 600px; text-align: right; line-height: 1.5; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

/* ══════════════════════════════════════════════
   TAB SWITCHER (Platform Tabs)
   ══════════════════════════════════════════════ */
.tabs { margin: 24px 0; }
.tab-buttons { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 0; }
.tab-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover:not(.active) { color: var(--text); }
.tab-panels { overflow: visible; }
.tab-panel { display: none; padding: 24px 0; }
.tab-panel.active { display: block; }

/* ══════════════════════════════════════════════
   FADE-IN ON SCROLL
   ══════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   COMPARISON TABLE (vs page)
   ══════════════════════════════════════════════ */
.compare-header-cell { text-align: center; }
.compare-header-moviebox { color: var(--accent); }
.compare-header-netflix { color: #e50914; }
.data-table td:nth-child(2),
.data-table td:nth-child(3) { text-align: center; }
.data-table th:nth-child(2),
.data-table th:nth-child(3) { text-align: center; }

/* ══════════════════════════════════════════════
   BLOG CARDS
   ══════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(79,142,247,0.3); }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 18px; }
.blog-card-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 30px;
  margin-bottom: 10px;
}
.blog-card h3 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .blog-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════
   UTILITY
   ══════════════════════════════════════════════ */
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-muted { color: var(--muted); }
.text-white { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ══════════════════════════════════════════════
   SHARED VANILLA JS BEHAVIOURS (inline paste note)
   ══════════════════════════════════════════════
   Each page includes this script block at bottom:
   - Nav scroll class toggle
   - Hamburger menu open/close
   - FAQ accordion
   - Tab switcher
   - Intersection Observer fade-up
   ══════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE OVERRIDES
   Covers every page / component in the site
   ══════════════════════════════════════════════ */

/* ── Tablet (≤ 860px) ── */
@media (max-width: 860px) {
  /* Container padding */
  .container, .container-wide { padding: 0 16px; }

  /* Content body full-width */
  .content-body { max-width: 100%; }

  /* Tab buttons scroll horizontally */
  .tab-buttons {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .tab-buttons::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; flex-shrink: 0; }

  /* Platform quick bar → 2×2 on tablet */
  .platform-quick { grid-template-columns: repeat(2, 1fr) !important; }
  .pq-link:nth-child(2) { border-right: none; }
  .pq-link:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .pq-link:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  /* Blog grid → 2 col on tablet */
  .blog-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Review grid → 1 col on tablet */
  .reviews-grid { grid-template-columns: 1fr !important; }

  /* Features grid → 2 col */
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Spec table labels */
  .spec-label { width: auto !important; min-width: 110px; }

  /* Homepage spec-table-wrap override */
  .spec-table-wrap .spec-row { flex-direction: column; }
  .spec-table-wrap .spec-label { border-right: none; border-bottom: 1px solid var(--border); width: 100% !important; }

  /* Fix homepage specific overrides */
  .spec-row { flex-wrap: wrap; }

  /* Inline 2-col grids used on homepage become 1-col */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer disclaimer left-aligned */
  .footer-disclaimer { text-align: left; }
}

/* ── Small phone (≤ 600px) ── */
@media (max-width: 600px) {
  /* Global padding */
  .container, .container-wide { padding: 0 14px; }

  /* Hero */
  .hero { padding: 48px 0 44px; }
  .hero-inner { gap: 28px; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero-sub { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .trust-badges { gap: 10px; }
  .trust-badge { font-size: 12px; padding: 6px 12px; }

  /* Nav */
  .nav-inner { height: 56px; padding: 0 14px; }
  .nav-logo-text { font-size: 18px; }

  /* Section headings */
  .content-body h2 { font-size: clamp(22px, 6vw, 30px); scroll-margin-top: 70px; }
  .content-body h3 { font-size: 16px; }
  .content-body p { font-size: 14.5px; }

  /* Answer box */
  .answer-box { padding: 16px 18px; }

  /* Takeaways box */
  .takeaways { padding: 18px 16px; }

  /* TOC */
  .toc { padding: 16px 18px; }

  /* Steps */
  .step-card { padding: 16px 16px 16px 62px; }
  .step-num { left: 14px; top: 16px; width: 32px; height: 32px; font-size: 17px; }

  /* Platform cards with absolute-positioned buttons */
  .step-card[style*="padding-bottom:76px"],
  .step-card[style*="padding-bottom: 76px"] {
    padding-bottom: 24px !important;
    position: static !important;
  }
  .step-card[style*="padding-bottom:76px"] .btn,
  .step-card[style*="padding-bottom: 76px"] .btn {
    position: static !important;
    display: block;
    margin-top: 14px;
    text-align: center;
    justify-content: center;
  }

  /* Feature grid → 1 col */
  .features-grid { grid-template-columns: 1fr !important; }

  /* Data tables — horizontal scroll */
  .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); }
  .data-table { font-size: 13px; min-width: 480px; }
  .data-table th, .data-table td { padding: 9px 12px; }

  /* FAQ */
  .faq-q { font-size: 14px; padding: 14px 16px; }
  .faq-a-inner { padding: 12px 16px; font-size: 13.5px; }
  .faq-item.open .faq-a { max-height: 600px; }

  /* Callouts */
  .callout { flex-direction: column; gap: 8px; padding: 14px 16px; }

  /* Reviews grid */
  .reviews-grid { grid-template-columns: 1fr !important; }
  .review-card { padding: 16px; }

  /* Download CTA */
  .download-cta { padding: 44px 16px; }
  .download-cta h2 { font-size: clamp(26px, 7vw, 40px); }
  .download-cta .btn-row { flex-direction: column; align-items: center; }
  .download-cta .btn-row .btn { width: 100%; max-width: 320px; justify-content: center; }
  .version-info { gap: 10px; }

  /* Email capture */
  .email-capture { padding: 24px 16px; }
  .email-form { flex-direction: column; gap: 10px; }
  .email-form input, .email-form button { width: 100%; border-radius: var(--radius-sm); }

  /* Author bio */
  .author-bio { flex-direction: column; gap: 16px; padding: 20px; }
  .author-avatar { width: 60px; height: 60px; }
  .author-desc { font-size: 13px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }

  /* Blog grid → 1 col */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* Platform quick bar → 2×2 */
  .platform-quick { grid-template-columns: repeat(2, 1fr) !important; }

  /* Inline grid overrides from homepage */
  [style*="grid-template-columns:repeat(auto-fill"],
  [style*="grid-template-columns: repeat(auto-fill"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Breadcrumbs */
  .breadcrumb { font-size: 12px; gap: 5px; }

  /* Spec row in homepage */
  .spec-row { flex-direction: column !important; }
  .spec-label { width: 100% !important; border-right: none !important; border-bottom: 1px solid var(--border) !important; }

  /* Tab buttons — smaller */
  .tab-btn { padding: 8px 14px; font-size: 13px; }

  /* Images */
  img { max-width: 100%; height: auto; width: 100%; }

  /* Buttons full-width on very small screens */
  .btn-lg { padding: 14px 24px; font-size: 15px; }

  /* Blog article author */
  .author-bio > div { width: 100%; }

  /* Inline ordered list (tips) */
  ol[style*="margin-left:20px"] { margin-left: 16px !important; font-size: 14px !important; }
}

/* ── Extra small (≤ 380px) ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 30px; }
  .nav-logo-text { font-size: 16px; }
  .nav-logo svg { width: 24px; height: 24px; }
  .trust-badge { font-size: 11px; padding: 5px 10px; }
  .content-body h2 { font-size: 20px; }
  .tab-btn { padding: 7px 11px; font-size: 12px; }
  .mobile-drawer a { font-size: 24px; }
  .download-cta h2 { font-size: 24px; }
  .step-card { padding: 14px 14px 14px 56px; }
  .step-num { width: 28px; height: 28px; font-size: 14px; left: 12px; }
}
