/* ==========================================================================
   Studio Six Design System — Variables & Design Tokens
   Crafted with impeccable typography, elevation, and dark palette standards
   ========================================================================== */

:root {
  /* Color Palette — Midnight Obsidian & Cyber-Luxury Luminescence (from research.md) */
  --bg-primary: #050508;
  --bg-base: #050508;
  --bg-surface: #0c0d14;
  --bg-surface-elevated: #151622;
  --bg-surface-glass: rgba(14, 15, 22, 0.75);
  --bg-surface-translucent: rgba(14, 16, 26, 0.7);
  --bg-surface-card: rgba(21, 22, 34, 0.6);
  --bg-surface-active: #1c1d2e;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: #5548f2;
  --border-glow: rgba(85, 72, 242, 0.35);
  --border-active: rgba(120, 119, 255, 0.3);

  /* Typography Colors (WCAG AA Compliant contrast on dark surfaces) */
  --text-primary: #f5f5f7;
  --text-secondary: #8f92a3;
  --text-muted: #515468;
  --text-inverse: #050508;

  /* Accent & Shader Tokens (research.md Section 5) */
  --accent-primary: #5548f2;
  --accent-primary-hover: #675cf8;
  --accent-primary-light: rgba(85, 72, 242, 0.15);
  --accent-cyan: #00f0ff;
  --accent-violet: #8000ff;
  --accent-electric: #7c4dff;
  --accent-magenta: #ff007f;
  --accent-cyan-glow: rgba(0, 240, 255, 0.2);
  --glow-radial: radial-gradient(circle, rgba(128, 0, 255, 0.18) 0%, rgba(0, 240, 255, 0.08) 50%, transparent 70%);
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #20bd5a;

  /* Technical Hairline & Metallic Gradient Tokens */
  --border-hairline: rgba(255, 255, 255, 0.06);
  --border-hairline-bright: rgba(255, 255, 255, 0.18);
  --gradient-silver: linear-gradient(180deg, #f0f1f8 0%, #7e8299 100%);
  --gradient-unique: linear-gradient(135deg, #b794f6 0%, #00f0ff 100%);
  --gradient-metallic-dark: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grid-line-color: rgba(255, 255, 255, 0.028);

  /* Typography Scales */
  --font-display: "Syne", "Cabinet Grotesk", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  /* Fluid Font Sizes */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.25vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.45vw, 1.25rem);
  --text-xl: clamp(1.3125rem, 1.2rem + 0.65vw, 1.625rem);
  --text-2xl: clamp(1.75rem, 1.5rem + 1.25vw, 2.375rem);
  --text-3xl: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --text-display: clamp(2.4rem, 1.8rem + 2.8vw, 4.25rem);

  /* Spacing System */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6.5rem;
  --space-5xl: 9rem;

  /* Layout Constrains */
  --container-max: 1320px;
  --container-narrow: 940px;
  --header-height: 80px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows with proper offset & soft blur (no harsh block shadows) */
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 12px 40px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 35px -5px var(--border-glow);

  /* Motion Timing */
  --ease-out-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 180ms var(--ease-out-smooth);
  --transition-normal: 320ms var(--ease-out-smooth);
  --transition-slow: 600ms var(--ease-out-smooth);

  /* Z-Index Hierarchy */
  --z-canvas: 1;
  --z-content: 10;
  --z-header: 100;
  --z-modal: 200;
  --z-cursor: 999;
}
