/* ═══════════════════════════════════════════════════════════════
   VARIABLES.CSS - Design System Tokens
   PMVW Landing Page - Phase 2
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ─────────────────────────────────────────
     Colors - Apple-esque Palette
     ───────────────────────────────────────── */
  --white: #ffffff;
  --off-white: #f9fafb;
  --soft-gray: #f3f4f6;
  --medium-gray: #e5e7eb;
  --text-gray: #6b7280;
  --dark-gray: #1f2937;
  --black: #111827;

  /* TV System UI Colors (Apple TV-style) */
  --tv-ui-bg: #e5e3e0;           /* Warm light gray background */
  --tv-ui-card: #eae8e5;         /* Nearly flush with background */
  --tv-ui-card-border: #e0dedb;  /* Barely visible separator */
  --tv-ui-card-hover: #edebe8;   /* Subtle hover state */
  --tv-ui-text-primary: #2a2a2a; /* Softer near-black for headings */
  --tv-ui-text-secondary: #636363; /* Muted gray for body */
  --tv-ui-text-tertiary: #8a8a8a;  /* Lighter muted gray */

  /* Primary Accent */
  --blue-primary: #3b82f6;
  --blue-hover: #2563eb;
  --blue-light: #dbeafe;

  /* Secondary Accents */
  --green-success: #10b981;
  --orange-accent: #f59e0b;
  --gold-star: #fbbf24;

  /* Semantic Colors */
  --cta-primary: var(--blue-primary);
  --cta-secondary: var(--orange-accent);
  --text-primary: var(--black);
  --text-secondary: var(--text-gray);
  --background-primary: var(--white);
  --background-secondary: var(--off-white);

  /* ─────────────────────────────────────────
     Typography
     ───────────────────────────────────────── */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* ─────────────────────────────────────────
     Spacing Scale
     ───────────────────────────────────────── */
  --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;

  /* Legacy spacing (for backward compatibility) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  /* ─────────────────────────────────────────
     Content Alignment
     ───────────────────────────────────────── */
  --content-right-offset: 8%;

  /* ─────────────────────────────────────────
     TV Screen Bounds - ZOOMED STATE
     Where TV appears after zoom completes (for .tv-screen)
     ───────────────────────────────────────── */
  --tv-top: 4.69%;
  --tv-left: 13.09%;
  --tv-width: 75.5%;
  --tv-height: 78.99%;

  /* ─────────────────────────────────────────
     TV Screen Bounds - UNZOOMED STATE
     Where TV appears at page load (for .tv-hero-fixed)
     Adjust these to position hero on TV at scale 1
     ───────────────────────────────────────── */
  --tv-unzoomed-top: 5.25%;
  --tv-unzoomed-left: 28.04%;
  --tv-unzoomed-width: 44.9%;
  --tv-unzoomed-height: 46.9%;

  /* ─────────────────────────────────────────
     Transitions
     ───────────────────────────────────────── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ─────────────────────────────────────────
     Border Radius
     ───────────────────────────────────────── */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ─────────────────────────────────────────
     Shadows
     ───────────────────────────────────────── */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
