/* ============================================
   BOX TELECOM — Premium CTV Platform Website
   Dark-first, B2B CTV, premium brand design
   ============================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* BOX TELECOM Brand Colors */
  --brand-red: #E01E2C;
  --brand-red-hover: #c0161f;
  --brand-red-dim: rgba(224, 30, 44, 0.15);
  --brand-red-glow: rgba(224, 30, 44, 0.25);

  /* Layout */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* Dark Mode (default) */
[data-theme='dark'], :root {
  --color-bg: #0d0d0f;
  --color-surface: #111113;
  --color-surface-2: #161618;
  --color-surface-offset: #1a1a1d;
  --color-surface-offset-2: #202023;
  --color-surface-dynamic: #2a2a2e;
  --color-divider: #222225;
  --color-border: #2e2e32;
  --color-text: #e8e8ea;
  --color-text-muted: #8a8a90;
  --color-text-faint: #4a4a50;
  --color-text-inverse: #0d0d0f;
  --color-primary: var(--brand-red);
  --color-primary-hover: var(--brand-red-hover);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--brand-red-glow);
}

/* Light Mode */
[data-theme='light'] {
  --color-bg: #f9f9fb;
  --color-surface: #ffffff;
  --color-surface-2: #f4f4f6;
  --color-surface-offset: #ededf0;
  --color-surface-offset-2: #e6e6ea;
  --color-surface-dynamic: #dddde3;
  --color-divider: #e0e0e5;
  --color-border: #d0d0d8;
  --color-text: #111113;
  --color-text-muted: #606068;
  --color-text-faint: #a0a0a8;
  --color-text-inverse: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 30px var(--brand-red-dim);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #f9f9fb;
    --color-surface: #ffffff;
    --color-surface-2: #f4f4f6;
    --color-surface-offset: #ededf0;
    --color-divider: #e0e0e5;
    --color-border: #d0d0d8;
    --color-text: #111113;
    --color-text-muted: #606068;
    --color-text-faint: #a0a0a8;
    --color-text-inverse: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  }
}

/* ===== BASE RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); text-wrap: balance; line-height: 1.1; }
p, li { text-wrap: pretty; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brand-red-dim); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 3px; border-radius: var(--radius-sm); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== UTILITIES ===== */
.container { max-width: var(--content-wide); margin: 0 auto; padding: 0 var(--space-6); }
@media (min-width: 1400px) { .container { padding: 0 var(--space-8); } }
@media (max-width: 600px) { .container { padding: 0 var(--space-4); } }

.section { padding-block: clamp(var(--space-16), 7vw, var(--space-24)); }
.section-header { margin-bottom: var(--space-12); }
.section-header.center { text-align: center; }
.section-header h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.section-desc { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch; }
.section-header.center .section-desc { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: var(--space-3);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--brand-red-hover); box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-text);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--brand-red); color: var(--brand-red); background: var(--brand-red-dim); }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.btn-ghost:hover { color: var(--color-text); border-color: var(--color-border); background: var(--color-surface-offset); }

.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-full { width: 100%; }

/* ===== NAVIGATION ===== */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in oklch, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: background var(--transition-med), box-shadow var(--transition-med);
}
.nav-header.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
  display: flex; align-items: center; gap: var(--space-8);
  max-width: var(--content-wide); margin: 0 auto;
  padding: var(--space-4) var(--space-6);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-svg { width: 160px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: var(--space-6); flex: 1; justify-content: center; }
.nav-links a {
  font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--brand-red); border-radius: 1px;
  transform: scaleX(0); transition: transform var(--transition-fast);
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; justify-content: center; align-items: center;
  background: none; border: 1px solid var(--color-border); border-radius: var(--radius-md);
}
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--color-text); border-radius: 1px; transition: transform var(--transition-fast), opacity var(--transition-fast); }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--color-divider); background: var(--color-bg);
}
.nav-mobile.open { display: flex; }
.nav-mobile-link { font-size: var(--text-base); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-divider); color: var(--color-text-muted); }
.nav-mobile-link:hover { color: var(--color-text); }
.nav-mobile-cta { margin-top: var(--space-4); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-actions { margin-left: auto; }
  .nav-actions + .nav-burger { margin-left: var(--space-2); }
  .nav-actions .btn-primary { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(80px + var(--space-16));
  padding-bottom: 0;
  background: var(--color-bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--color-divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-divider) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.hero-glow-1 { width: 600px; height: 400px; top: -100px; right: -100px; background: radial-gradient(circle, rgba(224,30,44,0.12) 0%, transparent 70%); }
.hero-glow-2 { width: 400px; height: 300px; bottom: 0; left: -100px; background: radial-gradient(circle, rgba(224,30,44,0.06) 0%, transparent 70%); }

.hero .container { position: relative; z-index: 1; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.hero-left { display: flex; flex-direction: column; gap: var(--space-6); }
.eyebrow-tag {
  display: inline-flex; width: fit-content;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-red);
  background: var(--brand-red-dim); border: 1px solid rgba(224,30,44,0.2);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
}
.hero-headline {
  font-size: var(--text-3xl); font-weight: 900; line-height: 1.0;
  letter-spacing: -0.02em; color: var(--color-text);
}
[data-theme='dark'] .hero-headline,
:root .hero-headline {
  background: linear-gradient(135deg, #fff 0%, #c8c8cc 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme='light'] .hero-headline { -webkit-text-fill-color: var(--color-text); background: none; }

.hero-subline { font-size: var(--text-base); color: var(--color-text-muted); max-width: 52ch; line-height: 1.7; }
.hero-subline strong { color: var(--color-text); }
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.hero-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill {
  font-size: var(--text-xs); font-weight: 600;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: var(--color-surface);
}

/* Hero Card */
.hero-right { display: flex; flex-direction: column; gap: var(--space-6); }
.hero-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand-red), transparent);
}
.hero-card-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700; color: #22c55e;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.hero-card-title { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-5); }
.hero-card-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-5); }
.metric { display: flex; flex-direction: column; gap: var(--space-1); }
.metric-value { font-size: var(--text-xl); font-weight: 900; color: var(--color-text); font-family: var(--font-display); }
.metric-label { font-size: var(--text-xs); color: var(--color-text-muted); }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.card-tag {
  font-size: var(--text-xs); font-weight: 600;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  background: var(--color-surface-offset); border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.card-tag.red { background: var(--brand-red-dim); border-color: rgba(224,30,44,0.25); color: var(--brand-red); }

/* Hero Mockup */
.hero-mockup {
  background: #0a0a0c;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.mockup-screen { background: #0f0f14; padding: var(--space-3); }
.mockup-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-2); }
.mockup-logo-area { display: flex; align-items: center; gap: var(--space-2); }
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot.red { background: var(--brand-red); }
.mockup-brand-name { font-size: var(--text-xs); font-weight: 800; color: white; font-family: var(--font-display); }

/* Wayo TV brand logo */
.mockup-wayo-logo { height: 18px; width: auto; display: block; }
.ptv-logo-img { height: 18px; width: auto; display: block; flex-shrink: 0; }
.wayo-brand-lockup { margin: 0 auto var(--space-5); display: flex; justify-content: center; }
.wayo-brand-img { height: 42px; width: auto; display: block; }
@media (max-width: 640px) {
  .wayo-brand-img { height: 32px; }
}
/* Real platform mockup image inside hero */
.mockup-screen-image { padding: 0 !important; overflow: hidden; }
.mockup-platform-img { width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
.mockup-nav-dots { display: flex; gap: var(--space-3); }
.mockup-nav-dots span { font-size: 9px; color: rgba(255,255,255,0.4); }
.mockup-hero-banner {
  height: 80px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: var(--radius-md); position: relative; overflow: hidden; margin-bottom: var(--space-2);
}
.mockup-hero-gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(224,30,44,0.3), transparent); }
.mockup-hero-info { position: absolute; bottom: var(--space-2); left: var(--space-3); }
.mockup-badge { font-size: 8px; font-weight: 800; color: white; background: var(--brand-red); padding: 1px 6px; border-radius: 3px; display: block; margin-bottom: 4px; }
.mockup-title { font-size: 10px; font-weight: 700; color: white; margin-bottom: 4px; font-family: var(--font-display); }
.mockup-cta-row { display: flex; gap: 6px; }
.mockup-play, .mockup-more { font-size: 8px; padding: 2px 8px; border-radius: 3px; }
.mockup-play { background: white; color: black; font-weight: 700; }
.mockup-more { background: rgba(255,255,255,0.2); color: white; }
.mockup-row-label { font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: var(--space-2); }
.mockup-channels, .mockup-creators-row { display: flex; gap: var(--space-2); overflow: hidden; margin-bottom: var(--space-3); }
.mockup-channel { width: 40px; height: 28px; border-radius: 4px; flex-shrink: 0; }
.ch1 { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.ch2 { background: linear-gradient(135deg, #2980b9, #3498db); }
.ch3 { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.ch4 { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.ch5 { background: linear-gradient(135deg, #f39c12, #e67e22); }
.mockup-creator { width: 54px; height: 36px; border-radius: 4px; flex-shrink: 0; position: relative; overflow: hidden; }
.cr1 { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.cr2 { background: linear-gradient(135deg, #f39c12, #e67e22); }
.cr3 { background: linear-gradient(135deg, #2980b9, #3498db); }
.cr4 { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.creator-badge {
  position: absolute; top: 2px; left: 2px;
  font-size: 6px; font-weight: 800; padding: 1px 3px; border-radius: 2px;
  background: rgba(0,0,0,0.7); color: white;
}
.mockup-remote {
  background: #1a1a1c; padding: var(--space-3); display: flex;
  align-items: center; justify-content: center; gap: var(--space-4);
}
.remote-btn { width: 24px; height: 24px; border-radius: 50%; background: #2a2a2e; }
.remote-dpad { width: 44px; height: 44px; background: #1e1e22; border-radius: 50%; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }
.remote-dpad-center { width: 16px; height: 16px; background: #2a2a30; border-radius: 50%; }

/* Hero Competitors Bar */
.hero-competitors {
  margin-top: var(--space-16);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-5) 0;
  background: var(--color-surface);
}
.competitors-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-3); }
.competitors-list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.competitors-list span { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 500; }
.competitors-list .sep { color: var(--color-text-faint); }

/* ===== REVENUE SECTION ===== */
.section-revenue { background: var(--color-bg); }
.revenue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-bottom: var(--space-10); }
.revenue-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  position: relative;
}
.revenue-card:hover { border-color: var(--brand-red); transform: translateY(-2px); }
.revenue-card.featured { border-color: var(--brand-red); background: linear-gradient(135deg, var(--color-surface) 0%, rgba(224,30,44,0.05) 100%); }
.revenue-icon { width: 48px; height: 48px; background: var(--brand-red-dim); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--brand-red); margin-bottom: var(--space-4); }
.revenue-card h3 { font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.revenue-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }
.revenue-tag {
  display: inline-block; margin-top: var(--space-3);
  font-size: var(--text-xs); font-weight: 700;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  background: var(--brand-red-dim); border: 1px solid rgba(224,30,44,0.2); color: var(--brand-red);
}
.revenue-bottom { text-align: center; }
.revenue-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
@media (max-width: 600px) {
  .revenue-flow { flex-direction: column; gap: var(--space-1); }
  .revenue-flow .flow-arrow { transform: rotate(90deg); width: 18px; height: 18px; }
  .flow-step { width: 80%; text-align: center; }
}
.flow-step {
  font-size: var(--text-sm); font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-muted);
}
.flow-step.highlight { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.flow-arrow { color: var(--color-text-faint); }
.flow-caption { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ===== PLATFORM / WAYO TV ===== */
.section-platform { background: var(--color-surface); }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.platform-left { display: flex; flex-direction: column; gap: var(--space-5); }
.platform-left h2 { font-size: var(--text-2xl); font-weight: 900; letter-spacing: -0.02em; }
.platform-left p { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; }
.platform-features { display: flex; flex-direction: column; gap: var(--space-4); }
.feature-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--brand-red-dim); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; color: var(--brand-red);
}
.feature-item div { display: flex; flex-direction: column; gap: var(--space-1); }
.feature-item strong { font-size: var(--text-sm); font-weight: 700; }
.feature-item span { font-size: var(--text-sm); color: var(--color-text-muted); }
.platform-compat { padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.compat-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-faint); font-weight: 600; margin-bottom: var(--space-2); }
.compat-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.compat-tag {
  font-size: var(--text-xs); font-weight: 600; padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full); background: var(--color-surface-offset);
  border: 1px solid var(--color-border); color: var(--color-text-muted);
}
.platform-tagline { font-size: var(--text-base); font-style: italic; color: var(--color-text-muted); border-left: 2px solid var(--brand-red); padding-left: var(--space-4); }

/* Platform TV Mockup */
.platform-mockup-wrap { position: relative; }
.platform-tv-frame {
  background: #0a0a0e; border: 2px solid #1e1e22;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(224,30,44,0.1);
  position: relative;
}
.platform-tv-frame::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-red), rgba(224,30,44,0.3), transparent);
}
.platform-tv-screen { padding: var(--space-3); }
.ptv-header { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-3); }
.ptv-logo { font-size: 13px; font-weight: 900; color: var(--brand-red); font-family: var(--font-display); flex-shrink: 0; }
.ptv-nav { display: flex; gap: var(--space-4); flex: 1; justify-content: center; }
.ptv-nav span { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 500; cursor: pointer; }
.ptv-nav span.active { color: white; font-weight: 700; }
.ptv-search { width: 28px; height: 28px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); }
.ptv-hero {
  height: 140px; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, #16213e 0%, #0f3460 40%, #533483 100%);
  position: relative; margin-bottom: var(--space-3);
}
.ptv-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.6), transparent 60%); }
.ptv-hero-content { position: absolute; bottom: var(--space-3); left: var(--space-4); right: var(--space-4); }
.ptv-apps-row { display: flex; gap: var(--space-2); margin-bottom: var(--space-2); }
.ptv-app {
  width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; color: white;
}
.ptv-app.netflix { background: #E50914; }
.ptv-app.disney { background: #113CCF; }
.ptv-app.prime { background: #00A8E0; }
.ptv-app.yt { background: #FF0000; }
.ptv-app.more { background: rgba(255,255,255,0.15); font-size: 12px; }
.ptv-badge-label { font-size: 8px; font-weight: 800; background: var(--brand-red); color: white; padding: 2px 6px; border-radius: 3px; display: inline-block; margin-bottom: 4px; }
.ptv-featured-title { font-size: 13px; font-weight: 800; color: white; font-family: var(--font-display); margin-bottom: 6px; line-height: 1.2; }
.ptv-btns { display: flex; gap: var(--space-2); }
.ptv-btn-play, .ptv-btn-info { font-size: 9px; padding: 3px 10px; border-radius: 3px; font-weight: 700; }
.ptv-btn-play { background: white; color: black; }
.ptv-btn-info { background: rgba(255,255,255,0.2); color: white; }
.ptv-row { margin-bottom: var(--space-3); }
.ptv-row-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.8); margin-bottom: var(--space-2); display: flex; align-items: center; gap: var(--space-2); }
.ptv-new-badge { font-size: 8px; background: #22c55e; color: white; padding: 1px 5px; border-radius: 3px; font-weight: 800; }
.ptv-channels { display: flex; gap: var(--space-2); }
.ptv-ch { width: 52px; height: 36px; border-radius: 6px; display: flex; align-items: flex-end; justify-content: flex-start; padding: 3px 4px; flex-shrink: 0; }
.ptv-ch span { font-size: 7px; font-weight: 800; color: white; }
.ptv-ch1 { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.ptv-ch2 { background: linear-gradient(135deg, #2980b9, #3498db); }
.ptv-ch3 { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.ptv-ch4 { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.ptv-ch5 { background: linear-gradient(135deg, #f39c12, #e67e22); }
.ptv-creators { display: flex; gap: var(--space-2); }
.ptv-creator { width: 64px; height: 44px; border-radius: 6px; position: relative; overflow: hidden; flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 3px 4px; }
.ptv-creator.c1 { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.ptv-creator.c2 { background: linear-gradient(135deg, #f39c12, #e67e22); }
.ptv-creator.c3 { background: linear-gradient(135deg, #2980b9, #3498db); }
.ptv-creator.c4 { background: linear-gradient(135deg, #27ae60, #2ecc71); }
.c-badge { font-size: 6px; font-weight: 800; padding: 1px 4px; border-radius: 2px; display: block; width: fit-content; margin-bottom: 2px; }
.c-badge.live { background: rgba(0,0,0,0.7); color: white; }
.c-badge.trend { background: rgba(243,156,18,0.9); color: white; }
.c-name { font-size: 7px; font-weight: 700; color: white; }
.platform-mockup-labels { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.mockup-label-item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-muted); }
.mockup-dot-label { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mockup-dot-label.red { background: var(--brand-red); }
.mockup-dot-label.orange { background: #f97316; }
.mockup-dot-label.green { background: #22c55e; }

/* ===== PREMIUM APPS ===== */
.section-apps { background: var(--color-bg); }
.apps-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
/* Single-column variant: full-width text, no tile grid */
.apps-content.apps-content-single { display: block; max-width: var(--content-md, 880px); margin: 0 auto; }
.apps-left { display: flex; flex-direction: column; gap: var(--space-6); }
.apps-left h2 { font-size: var(--text-2xl); font-weight: 900; letter-spacing: -0.02em; }
.apps-content-single .apps-left h2 { font-size: var(--text-3xl); line-height: 1.05; }
.apps-content-single .apps-left p { font-size: var(--text-lg); line-height: 1.6; }
.apps-content-single .apps-features { gap: var(--space-5); }
.apps-content-single .apps-feature-item { font-size: var(--text-base); }
.apps-content-single .apps-feature-item svg { width: 22px; height: 22px; }
.apps-content-single .apps-disclaimer { margin-top: var(--space-2); }
.apps-left p { color: var(--color-text-muted); line-height: 1.7; }
.apps-features { display: flex; flex-direction: column; gap: var(--space-4); }
.apps-feature-item { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-sm); line-height: 1.6; }
.apps-feature-item svg { flex-shrink: 0; color: var(--brand-red); margin-top: 2px; }
.apps-feature-item strong { color: var(--color-text); }
.apps-right { display: flex; flex-direction: column; gap: var(--space-4); }
.apps-grid-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
.app-tile { border-radius: var(--radius-lg); overflow: hidden; }
.app-tile-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-2); padding: var(--space-5) var(--space-3);
  border-radius: var(--radius-lg); border: 1px solid var(--color-border);
  background: var(--color-surface); transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.app-tile-inner:hover { transform: translateY(-2px); border-color: var(--brand-red); }
.app-letter { font-size: var(--text-lg); font-weight: 900; font-family: var(--font-display); }
.app-name { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); text-align: center; }
.netflix-tile { background: linear-gradient(135deg, rgba(229,9,20,0.1), var(--color-surface)); border-color: rgba(229,9,20,0.2); }
.netflix-tile .app-letter { color: #E50914; }
.disney-tile { background: linear-gradient(135deg, rgba(17,60,207,0.1), var(--color-surface)); border-color: rgba(17,60,207,0.2); }
.disney-tile .app-letter { color: #4f7ef7; }
.prime-tile { background: linear-gradient(135deg, rgba(0,168,224,0.1), var(--color-surface)); border-color: rgba(0,168,224,0.2); }
.prime-tile .app-letter { color: #00A8E0; }
.yt-tile { background: linear-gradient(135deg, rgba(255,0,0,0.1), var(--color-surface)); border-color: rgba(255,0,0,0.15); }
.apple-tile .app-letter { color: var(--color-text-muted); }
.hbo-tile { background: linear-gradient(135deg, rgba(90,20,180,0.1), var(--color-surface)); border-color: rgba(90,20,180,0.15); }
.hbo-tile .app-letter { color: #9b59b6; }
.para-tile .app-letter { color: #0072ce; }
.more-tile .app-letter { color: var(--brand-red); }
.apps-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); line-height: 1.5; }

/* ===== SOLUTIONS TABS ===== */
.section-solutions { background: var(--color-surface); }
.solutions-tabs { display: flex; flex-direction: column; gap: var(--space-4); }
.tab-buttons { display: flex; gap: var(--space-2); background: var(--color-surface-offset); border-radius: var(--radius-lg); padding: var(--space-2); flex-wrap: wrap; }
.tab-btn {
  flex: 1; min-width: 120px;
  font-size: var(--text-sm); font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: none; background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.tab-btn:hover { color: var(--color-text); background: var(--color-surface); }
.tab-btn.active { background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-sm); }
.tab-panels { }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; padding: var(--space-8) 0; }
.tab-text { display: flex; flex-direction: column; gap: var(--space-5); }
.tab-icon { width: 56px; height: 56px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.tab-icon.red { background: var(--brand-red-dim); color: var(--brand-red); }
.tab-icon.orange { background: rgba(249,115,22,0.1); color: #f97316; }
.tab-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.tab-icon.green { background: rgba(34,197,94,0.1); color: #22c55e; }
.tab-text h3 { font-size: var(--text-xl); font-weight: 800; }
.tab-text p { color: var(--color-text-muted); line-height: 1.7; }
.solution-list { display: flex; flex-direction: column; gap: var(--space-2); list-style: none; }
.solution-list li {
  font-size: var(--text-sm); color: var(--color-text-muted);
  padding-left: var(--space-5); position: relative;
}
.solution-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--brand-red); font-weight: 700;
}
.tab-visual { }
.solution-visual { background: var(--color-surface-offset); border-radius: var(--radius-xl); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); align-items: center; justify-content: center; min-height: 220px; }
.sv-step { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); padding: var(--space-3) var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.sv-step.active { background: var(--brand-red-dim); border-color: var(--brand-red); }
.sv-num { font-size: var(--text-xs); font-weight: 800; color: var(--brand-red); }
.sv-label { font-size: var(--text-sm); font-weight: 600; }
.sv-arrow { font-size: var(--text-lg); color: var(--color-text-faint); }
.sv-device { text-align: center; font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted); }
.sv-overlay { margin-top: var(--space-2); padding: var(--space-2) var(--space-4); background: var(--brand-red-dim); border: 1px solid var(--brand-red); border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 700; color: var(--brand-red); }
.sv-result { text-align: center; }
.sv-result-label { display: block; font-size: var(--text-xs); color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-1); }
.sv-result-value { font-size: var(--text-xl); font-weight: 900; color: var(--brand-red); font-family: var(--font-display); }
.tv-bundle { width: 100%; }
.bundle-label { display: block; font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-3); text-align: center; }
.bundle-items { display: flex; flex-direction: column; gap: var(--space-2); }
.bundle-items span { font-size: var(--text-sm); padding: var(--space-2) var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); text-align: center; color: var(--color-text-muted); }
.app-reach { text-align: center; }
.reach-label { display: block; font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.reach-value { display: block; font-size: var(--text-2xl); font-weight: 900; color: var(--brand-red); font-family: var(--font-display); margin-bottom: var(--space-1); }
.reach-sub { display: block; font-size: var(--text-sm); color: var(--color-text-muted); }

/* ===== CREATORS ===== */
.section-creators { background: var(--color-bg); }
.creators-intro { text-align: center; margin-bottom: var(--space-12); }
.creators-intro h2 { font-size: var(--text-2xl); font-weight: 900; letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.creators-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
/* Creator Section Mockup */
.creator-section-mockup {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.csm-header {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-divider);
}
.csm-label { font-size: var(--text-sm); font-weight: 800; font-family: var(--font-display); flex: 1; }
.csm-new-badge { font-size: var(--text-xs); font-weight: 800; background: #22c55e; color: white; padding: 2px 8px; border-radius: var(--radius-full); }
.csm-see-all { font-size: var(--text-xs); color: var(--brand-red); font-weight: 600; }
.csm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); padding: var(--space-4) var(--space-5); }
.csm-item { display: flex; flex-direction: column; gap: var(--space-2); }
.csm-item.csm-featured { grid-column: 1 / -1; display: flex; flex-direction: row; gap: var(--space-3); align-items: center; }
.csm-thumbnail {
  border-radius: var(--radius-md); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.csm-item .csm-thumbnail { height: 70px; }
.csm-item.csm-featured .csm-thumbnail { width: 120px; height: 70px; }
.red-thumb { background: linear-gradient(135deg, #c0392b, #e74c3c); }
.orange-thumb { background: linear-gradient(135deg, #e67e22, #f39c12); }
.blue-thumb { background: linear-gradient(135deg, #2980b9, #3498db); }
.purple-thumb { background: linear-gradient(135deg, #8e44ad, #9b59b6); }
.csm-badge-live, .csm-badge-trend, .csm-badge-new {
  position: absolute; top: var(--space-1); left: var(--space-1);
  font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 3px;
}
.csm-badge-live { background: rgba(0,0,0,0.7); color: white; }
.csm-badge-trend { background: rgba(249,115,22,0.9); color: white; }
.csm-badge-new { background: rgba(34,197,94,0.9); color: white; }
.csm-play-btn { position: absolute; width: 28px; height: 28px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #111; }
.csm-info { display: flex; flex-direction: column; gap: 2px; }
.csm-creator-name { font-size: var(--text-sm); font-weight: 700; }
.csm-duration { font-size: var(--text-xs); color: var(--color-text-muted); }
.csm-position-note {
  display: flex; justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface-offset); border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs); color: var(--color-text-faint);
}
/* Creator Right */
.creators-right { display: flex; flex-direction: column; gap: var(--space-6); }
.creators-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.creator-value-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); }
.cv-icon { width: 40px; height: 40px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-3); }
.cv-icon.red { background: var(--brand-red-dim); color: var(--brand-red); }
.cv-icon.orange { background: rgba(249,115,22,0.1); color: #f97316; }
.cv-icon.green { background: rgba(34,197,94,0.1); color: #22c55e; }
.cv-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.creator-value-card h4 { font-size: var(--text-sm); font-weight: 700; margin-bottom: var(--space-1); }
.creator-value-card p { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; }
.creators-monetization { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); }
.creators-monetization h4 { font-size: var(--text-sm); font-weight: 800; margin-bottom: var(--space-4); }
.mono-model-list { display: flex; flex-direction: column; gap: var(--space-3); }
.mono-model { display: flex; flex-direction: column; gap: var(--space-1); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-divider); }
.mono-model:last-child { border-bottom: none; padding-bottom: 0; }
.mono-title { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.mono-desc { font-size: var(--text-xs); color: var(--color-text-muted); }
.creators-roadmap { padding: var(--space-4); background: var(--color-surface-offset); border-radius: var(--radius-lg); }
.roadmap-title { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.roadmap-items { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.roadmap-items span { font-size: var(--text-xs); padding: var(--space-1) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-full); color: var(--color-text-muted); }

/* ===== WHY BOX ===== */
.section-why { background: var(--color-surface); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.why-card {
  background: var(--color-surface-offset); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
  position: relative; overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.why-card:hover { border-color: rgba(224,30,44,0.3); transform: translateY(-2px); }
.why-card.featured-card {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--color-surface-offset), rgba(224,30,44,0.05));
  border-color: var(--brand-red);
}
.why-num { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; color: var(--color-text-faint); }
.why-icon { width: 52px; height: 52px; border-radius: var(--radius-lg); background: var(--brand-red-dim); display: flex; align-items: center; justify-content: center; color: var(--brand-red); }
.why-card h3 { font-size: var(--text-base); font-weight: 800; }
.why-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; flex: 1; }
.why-stats { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.why-stat { font-size: var(--text-xs); font-weight: 700; padding: var(--space-1) var(--space-3); background: var(--brand-red-dim); border: 1px solid rgba(224,30,44,0.2); color: var(--brand-red); border-radius: var(--radius-full); }
.why-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.why-tags span { font-size: var(--text-xs); padding: var(--space-1) var(--space-3); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-full); color: var(--color-text-muted); }

/* ===== ECOSYSTEM ===== */
.section-ecosystem { background: var(--color-bg); }
.ecosystem-header { display: flex; gap: var(--space-12); align-items: flex-start; justify-content: space-between; margin-bottom: var(--space-10); }
.ecosystem-header h2 { font-size: var(--text-2xl); font-weight: 900; margin-bottom: var(--space-3); }
.ecosystem-header p { color: var(--color-text-muted); max-width: 40ch; }
.ecosystem-numbers { display: flex; gap: var(--space-8); flex-shrink: 0; }
.eco-num { text-align: center; }
.eco-val { display: block; font-size: var(--text-2xl); font-weight: 900; color: var(--brand-red); font-family: var(--font-display); }
.eco-label { font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 500; }
.oem-logos-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.oem-logo {
  padding: var(--space-3) var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: var(--color-surface);
  transition: border-color var(--transition-fast), color var(--transition-fast);
  cursor: default;
}
.oem-logo:hover { border-color: var(--brand-red); color: var(--color-text); }
.ecosystem-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--space-8); }
.ecosystem-compat { border-top: 1px solid var(--color-divider); padding-top: var(--space-6); }
.compat-title { font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.compat-env { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.env-badge {
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-text-muted);
  background: var(--color-surface);
}

/* ===== FAQ ===== */
.section-faq { background: var(--color-surface); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-2); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-6); background: var(--color-surface-offset);
  font-size: var(--text-base); font-weight: 600; text-align: left;
  transition: background var(--transition-fast);
}
.faq-question:hover { background: var(--color-surface-dynamic); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition-fast); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: var(--space-5) var(--space-6); border-top: 1px solid var(--color-divider); background: var(--color-surface); }
.faq-answer.open { display: block; }
.faq-answer p { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; }

/* ===== CONTACT ===== */
.section-contact { background: var(--color-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-16); align-items: start; }
.contact-left { display: flex; flex-direction: column; gap: var(--space-5); position: sticky; top: 100px; }
.contact-left h2 { font-size: var(--text-2xl); font-weight: 900; letter-spacing: -0.02em; }
.contact-left p { color: var(--color-text-muted); line-height: 1.7; }
.contact-bullets { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-bullet { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); }
.contact-bullet svg { color: #22c55e; flex-shrink: 0; }
.contact-powered { padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.powered-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-faint); margin-bottom: var(--space-2); }
.powered-brand { font-size: var(--text-base); font-weight: 800; color: var(--brand-red); font-family: var(--font-display); }
/* Form */
.demo-form, .popup-form { display: flex; flex-direction: column; gap: var(--space-4); width: 100%; }
.demo-form h3, .popup-form h3 { font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.01em; margin-bottom: var(--space-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-row.single { grid-template-columns: 1fr; }
.form-row.two-col { grid-template-columns: 1fr 1fr; }
.form-field, .form-group { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.form-group { width: 100%; }
label { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
input, select, textarea {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-red); box-shadow: 0 0 0 3px var(--brand-red-dim); }
input::placeholder, textarea::placeholder { color: var(--color-text-faint); }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8a90' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--space-3) center; padding-right: var(--space-10);
}
textarea { resize: vertical; min-height: 100px; }
.form-legal, .form-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); text-align: center; line-height: 1.6; margin-top: var(--space-2); }
.success-icon { width: 64px; height: 64px; background: rgba(34,197,94,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #22c55e; margin: 0 auto var(--space-4); }
.form-success { text-align: center; padding: var(--space-12) 0; }
.form-success h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.form-success p { color: var(--color-text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--color-surface); border-top: 1px solid var(--color-divider); padding: var(--space-16) 0 var(--space-8); }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: var(--space-16); margin-bottom: var(--space-12); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-brand p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 28ch; }
.footer-powered { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-powered strong { color: var(--brand-red); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.footer-col { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col h5 { font-size: var(--text-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text); margin-bottom: var(--space-1); }
.footer-col a { font-size: var(--text-sm); color: var(--color-text-muted); transition: color var(--transition-fast); }
.footer-col a:hover { color: var(--color-text); }
.footer-cta { margin-top: var(--space-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
.footer-legal { font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-legal-links { display: flex; gap: var(--space-4); }
.footer-legal-links a { font-size: var(--text-xs); color: var(--color-text-faint); transition: color var(--transition-fast); }
.footer-legal-links a:hover { color: var(--color-text-muted); }
.footer-disclaimer { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-4); text-align: center; padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-4);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition-med);
}
.popup-overlay.open { opacity: 1; pointer-events: all; }
.popup-box {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  padding: var(--space-8);
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-med);
}
.popup-overlay.open .popup-box { transform: translateY(0) scale(1); }
.popup-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-surface-offset); color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.popup-close:hover { background: var(--color-surface-dynamic); color: var(--color-text); }
.popup-content { display: flex; flex-direction: column; gap: var(--space-4); }
.popup-content h3 { font-size: var(--text-xl); font-weight: 900; }
.popup-content p { color: var(--color-text-muted); }
.popup-success { text-align: center; padding: var(--space-8) 0; }
.popup-success h4 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.popup-success p { color: var(--color-text-muted); }

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%) translateY(100px);
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-full); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-6);
  box-shadow: var(--shadow-lg);
  z-index: 90; white-space: nowrap;
  transition: transform var(--transition-slow);
}
.sticky-cta.visible { transform: translateX(-50%) translateY(0); }
.sticky-cta p { font-size: var(--text-sm); font-weight: 600; }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-right { display: none; }
  .platform-grid, .apps-content, .contact-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card.featured-card { grid-column: span 2; }
  .revenue-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-content { grid-template-columns: 1fr; }
  .tab-visual { display: none; }
  .ecosystem-header { flex-direction: column; gap: var(--space-6); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .creators-showcase { grid-template-columns: 1fr; }
  .form-row, .form-row.two-col { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .oem-logos-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card.featured-card { grid-column: 1 / -1; }
  .revenue-grid { grid-template-columns: 1fr; }
  .apps-grid-visual { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-numbers { gap: var(--space-4); }
  .eco-val { font-size: var(--text-xl); }
  .contact-left { position: static; }
}
@media (max-width: 500px) {
  .oem-logos-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-card.featured-card { grid-column: 1; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-ctas { flex-direction: column; }
  .tab-buttons { flex-direction: column; }
  .tab-btn { text-align: center; }
  .creators-value-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .sticky-cta { left: var(--space-4); right: var(--space-4); transform: translateX(0) translateY(100px); bottom: var(--space-4); border-radius: var(--radius-xl); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4); white-space: normal; gap: var(--space-2); }
  .sticky-cta p { font-size: var(--text-xs); line-height: 1.3; flex: 1; }
  .sticky-cta .btn-primary { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); flex-shrink: 0; }
  .sticky-cta.visible { transform: translateX(0) translateY(0); }
  /* Add bottom padding when sticky is potentially visible so content isn't covered */
  body { padding-bottom: 0; }
  .footer { padding-bottom: calc(var(--space-8) + 80px); }
}

/* ============================================
   PHASE 2 — Multi-page, landing pages, partners
   ============================================ */

/* Logo image (replaces inline SVG) */
.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.footer-brand .nav-logo-img { height: 72px; }
@media (max-width: 640px) {
  .nav-logo-img { height: 42px; }
}

/* Theme-aware logo swap: show dark-mode logo by default, light-mode logo when [data-theme='light'] */
.nav-logo-light { display: none; }
[data-theme='light'] .nav-logo-dark { display: none; }
[data-theme='light'] .nav-logo-light { display: block; }
/* System-preference fallback when no explicit data-theme attribute */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .nav-logo-dark,
  html:not([data-theme]) .nav-logo-dark { display: none; }
  :root:not([data-theme]) .nav-logo-light,
  html:not([data-theme]) .nav-logo-light { display: block; }
}

/* Active nav link */
.nav-links a.is-active { color: var(--color-text); }
.nav-links a.is-active::after { transform: scaleX(1); }
.nav-mobile-link.is-active { color: var(--color-text); }

/* Secondary CTA — "Monetize your devices" */
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--brand-red);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--brand-red);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--brand-red); color: #fff; box-shadow: var(--shadow-glow); transform: translateY(-1px); }

/* Generic page hero (sub-pages) */
.page-hero {
  position: relative;
  padding: calc(80px + var(--space-20)) 0 var(--space-16);
  background:
    radial-gradient(ellipse 800px 500px at 50% -10%, var(--brand-red-dim), transparent 60%),
    var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 600px 400px at 50% 0%, #000 30%, transparent 70%);
  pointer-events: none;
}
[data-theme='light'] .page-hero::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
.page-hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: var(--space-4) 0 var(--space-5);
}
.page-hero .lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto var(--space-8);
}
.page-hero-ctas {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

/* Generic content section */
.section-block { padding: var(--space-20) 0; border-bottom: 1px solid var(--color-divider); }
.section-block:last-of-type { border-bottom: none; }
.section-block h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
}
.section-block h2 + p.lede {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-bottom: var(--space-10);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-12); }
.section-head h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; margin-bottom: var(--space-4); }
.section-head p { color: var(--color-text-muted); font-size: var(--text-base); }

/* Feature grid (used on Wayo TV expanded, Why BOX) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
}
.feature-card:hover { border-color: var(--brand-red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature-card .feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-red-dim);
  color: var(--brand-red);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.feature-card h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-2); }
.feature-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

/* Benefits list — for landing pages */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
  margin: var(--space-8) 0;
}
.benefit-item {
  display: flex; gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  align-items: flex-start;
}
.benefit-check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit-item h4 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-1); }
.benefit-item p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }

/* Audience-tag pill in page hero */
.audience-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: var(--brand-red-dim);
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  border: 1px solid var(--brand-red);
}

/* Partner grid */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-10);
}
.partner-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: border-color var(--transition-med), transform var(--transition-med);
}
.partner-card:hover { border-color: var(--brand-red); transform: translateY(-2px); }
.partner-logo-frame {
  height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
  background: #000;
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.partner-logo-frame img { max-width: 100%; max-height: 60px; object-fit: contain; }
.partner-logo-frame svg { max-width: 100%; max-height: 60px; }
.partner-card h3 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.partner-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }

/* OEM brand tiles */
.oem-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.oem-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.oem-tile:hover { border-color: var(--brand-red); color: var(--color-text); }

/* Big stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
}
.stat-cell { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }

/* Two-column split (landing pages) */
.split-2col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-12);
  align-items: center;
}
@media (max-width: 900px) {
  .split-2col { grid-template-columns: 1fr; gap: var(--space-8); }
}
.split-2col .visual {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}
.split-2col .visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, var(--brand-red-glow), transparent 60%);
  pointer-events: none;
}

/* CTA band */
.cta-band {
  padding: var(--space-16) 0;
  background:
    radial-gradient(ellipse 600px 300px at 50% 50%, var(--brand-red-dim), transparent 70%),
    var(--color-surface-2);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
}
.cta-band p { color: var(--color-text-muted); font-size: var(--text-base); max-width: 600px; margin: 0 auto var(--space-8); }
.cta-band-ctas { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* Process steps (Why BOX) */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
  counter-reset: step;
}
.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  counter-increment: step;
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: var(--space-3);
  letter-spacing: 0.05em;
}
.step-card h4 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-2); }
.step-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; }

/* Case Studies / Success Stories placeholder */
.case-studies-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}
.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}
.case-card .case-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: var(--space-3);
}
.case-card h4 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-2); }
.case-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.55; margin-bottom: var(--space-4); }
.case-card .case-status {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
}

/* Apps row (visual: app launcher mockup for landing pages) */
.mock-grid-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  position: relative; z-index: 1;
}
@media (max-width: 500px) {
  .mock-grid-tiles { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mock-tile { font-size: 9px; letter-spacing: 0.04em; }
}
.mock-tile {
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-surface-offset), var(--color-surface-offset-2));
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mock-tile.accent { background: linear-gradient(135deg, var(--brand-red), var(--brand-red-hover)); color: #fff; border-color: var(--brand-red); }


/* Contact page direct-email block */
.contact-direct { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
.contact-direct p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-2); }
.contact-direct a { color: var(--brand-red); font-weight: 600; text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; }

/* contact-bullet uses the existing pattern from index.html */
.contact-bullet span { font-size: var(--text-base); color: var(--color-text); }


/* ============================================
   LANGUAGE TOGGLE (EN / ES / 中文)
   ============================================ */
.lang-toggle {
  display: inline-flex; align-items: center;
  padding: 3px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  gap: 0;
}
.lang-toggle .lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 28px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-md) - 3px);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.lang-toggle .lang-btn:hover { color: var(--color-text); }
.lang-toggle .lang-btn.is-active {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Mobile language toggle inside hamburger menu */
.lang-toggle-mobile {
  align-self: flex-start;
  margin-bottom: var(--space-4);
}

@media (max-width: 900px) {
  /* On mobile, hide the desktop language toggle in nav-actions
     and rely on the mobile one inside the hamburger menu. */
  .nav-actions > .lang-toggle:not(.lang-toggle-mobile) { display: none; }
}

/* When zh is active, switch to a CJK-friendly fallback for body text */
html[lang="zh-CN"] body,
html[lang="zh"] body {
  font-family: 'Satoshi', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
}
html[lang="zh-CN"] .display-1,
html[lang="zh-CN"] .display-2,
html[lang="zh-CN"] .display-3,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] h4 {
  font-family: 'Cabinet Grotesk', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC', sans-serif;
  letter-spacing: 0;
}

/* ============================================
   LEGAL PAGES (Privacy / Terms / Cookies)
   ============================================ */
.legal-section {
  padding: var(--space-12) 0 var(--space-20);
}
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.legal-container .eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
}
.legal-container h1 {
  font-size: var(--text-4xl);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.legal-container .lede {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}
.legal-container h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  letter-spacing: -0.015em;
}
.legal-container h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-weight: 600;
}
.legal-container p,
.legal-container li {
  margin-bottom: var(--space-3);
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.legal-container ul {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}
.legal-container ul li {
  list-style: disc;
}
.legal-container a {
  color: var(--color-accent);
  text-decoration: underline;
}
.legal-container a:hover {
  opacity: 0.85;
}
.legal-container strong {
  color: var(--color-text-primary);
}
.legal-meta {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-style: italic;
}

@media (max-width: 768px) {
  .legal-container h1 { font-size: var(--text-3xl); }
  .legal-container h2 { font-size: var(--text-xl); margin-top: var(--space-8); }
  .legal-container h3 { font-size: var(--text-base); }
  .legal-section { padding: var(--space-8) 0 var(--space-12); }
}
