/* ========================================
   PORSCHE ELECTRIC DESIGN TOKENS
   Dark Atmosphere | Electric Skyblue | Taycan Precision
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  /* ===== ELECTRIC SKYBLUE ACCENT ===== */
  --electric: #38BDF8;
  --electric-bright: #7DD3FC;
  --electric-dim: #0EA5E9;
  --electric-deep: #0369A1;
  --electric-glow: rgba(56, 189, 248, 0.15);
  --electric-glow-strong: rgba(56, 189, 248, 0.3);
  --electric-gradient: linear-gradient(135deg, #38BDF8 0%, #818CF8 100%);
  --electric-gradient-subtle: linear-gradient(135deg, rgba(56,189,248,0.1) 0%, rgba(129,140,248,0.05) 100%);

  /* ===== DARK ATMOSPHERE BACKGROUNDS ===== */
  --surface-0: #09090B;        /* Deepest - main background */
  --surface-1: #111114;        /* Raised surfaces */
  --surface-2: #18181B;        /* Cards, panels */
  --surface-3: #1F1F23;        /* Elevated elements */
  --surface-4: #27272A;        /* Hover states */
  --surface-5: #3F3F46;        /* Borders, dividers */
  --surface-glass: rgba(17, 17, 20, 0.8);

  /* ===== TEXT HIERARCHY ===== */
  --text-primary: #FAFAFA;     /* Headlines, important */
  --text-secondary: #A1A1AA;   /* Body, descriptions */
  --text-tertiary: #71717A;    /* Hints, muted */
  --text-disabled: #52525B;    /* Disabled state */
  --text-inverse: #09090B;     /* On accent backgrounds */

  /* ===== SEMANTIC ===== */
  --success: #34D399;
  --success-bg: rgba(52, 211, 153, 0.1);
  --success-border: rgba(52, 211, 153, 0.25);
  --warning: #FBBF24;
  --warning-bg: rgba(251, 191, 36, 0.1);
  --warning-border: rgba(251, 191, 36, 0.25);
  --error: #F87171;
  --error-bg: rgba(248, 113, 113, 0.1);
  --error-border: rgba(248, 113, 113, 0.25);
  --info: var(--electric);
  --info-bg: var(--electric-glow);
  --info-border: rgba(56, 189, 248, 0.25);

  /* ===== BORDERS ===== */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-electric: rgba(56, 189, 248, 0.4);

  /* ===== TYPOGRAPHY ===== */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;

  /* Type Scale */
  --text-xs: 0.6875rem;    /* 11px */
  --text-sm: 0.8125rem;    /* 13px */
  --text-base: 0.9375rem;  /* 15px */
  --text-lg: 1.0625rem;    /* 17px */
  --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 */

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Letter Spacing */
  --ls-tight: -0.03em;
  --ls-normal: -0.01em;
  --ls-wide: 0.02em;
  --ls-wider: 0.06em;
  --ls-widest: 0.1em;

  /* ===== SPACING (4pt grid) ===== */
  --s-1: 0.25rem;   /* 4px */
  --s-2: 0.5rem;    /* 8px */
  --s-3: 0.75rem;   /* 12px */
  --s-4: 1rem;      /* 16px */
  --s-5: 1.25rem;   /* 20px */
  --s-6: 1.5rem;    /* 24px */
  --s-8: 2rem;      /* 32px */
  --s-10: 2.5rem;   /* 40px */
  --s-12: 3rem;     /* 48px */
  --s-16: 4rem;     /* 64px */

  /* ===== RADII ===== */
  --r-sm: 0.375rem;   /* 6px */
  --r-md: 0.5rem;     /* 8px */
  --r-lg: 0.75rem;    /* 12px */
  --r-xl: 1rem;       /* 16px */
  --r-2xl: 1.25rem;   /* 20px */
  --r-full: 9999px;

  /* ===== SHADOWS ===== */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.5), 0 2px 4px -2px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.6), 0 4px 6px -4px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 50px -5px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.15);
  --shadow-glow-strong: 0 0 60px rgba(56, 189, 248, 0.25);

  /* ===== TRANSITIONS ===== */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* ===== Z-INDEX ===== */
  --z-dropdown: 50;
  --z-sticky: 100;
  --z-fixed: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-popover: 500;
  --z-tooltip: 600;
}
