/**
 * S. Video Creation — Design Tokens
 * Follows PROJECT_RULES.md brand specifications
 */

:root {
  /* Brand Color Palette */
  --color-brand-charcoal: #151515;       /* Primary near-black background */
  --color-brand-red: #E32636;            /* Primary brand accent */
  --color-brand-red-hover: #F03848;      /* Interactive hover state */
  --color-brand-red-subtle: rgba(227, 38, 54, 0.12);
  --color-brand-red-glow: rgba(227, 38, 54, 0.25);
  --color-brand-white: #FFFFFF;          /* High contrast text & elements */
  --color-brand-grey: #929292;           /* Neutral muted grey text */

  /* Neutral Surface System */
  --color-bg-base: #151515;
  --color-bg-surface: #1C1C1E;
  --color-bg-surface-elevated: #242428;
  --color-bg-surface-hover: #2B2B30;
  --color-bg-glass: rgba(21, 21, 21, 0.92);

  /* Border Tokens */
  --color-border: #2C2C30;
  --color-border-subtle: #222226;
  --color-border-focus: #E32636;
  --color-border-hover: #3E3E44;

  /* Text & Foreground */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #929292;
  --color-text-tertiary: #8E8E96;
  --color-text-inverse: #151515;

  /* State & Utility Colors */
  --color-whatsapp: #25D366;
  --color-whatsapp-subtle: rgba(37, 211, 102, 0.12);
  --color-tag-bg: rgba(255, 255, 255, 0.06);
  --color-badge-placeholder-bg: rgba(227, 38, 54, 0.08);
  --color-badge-placeholder-border: rgba(227, 38, 54, 0.35);

  /* Typography */
  --font-family-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-devanagari: 'Noto Sans Devanagari', 'Plus Jakarta Sans', sans-serif;

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Typography Scale */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */

  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Layout Breakpoints & Containers */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
  --header-height: 4.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 8px 24px rgba(227, 38, 54, 0.28);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Motion & Animation Tokens */
  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-fast: 0.18s;
  --duration-normal: 0.3s;
  --duration-reveal: 0.4s;
  --duration-entrance: 0.45s;

  /* Z-index layering */
  --z-nav: 100;
  --z-modal: 200;
  --z-banner: 90;
}
