/* ============================================
   Cloud Pratica — Design Tokens
   ============================================ */

:root {
  /* ── Brand Colors ── */
  --color-brand-primary: #0D3B7A;
  --color-brand-primary-light: #1a4f9e;
  --color-brand-primary-dark: #082a5a;

  /* ── Accent ── */
  --color-accent: #6BA3F7;
  --color-accent-light: #93bbf9;
  --color-accent-dark: #4a8af5;
  --color-accent-glow: rgba(107, 163, 247, 0.15);

  /* ── Backgrounds ── */
  --color-bg-primary: #0a0e1a;
  --color-bg-secondary: #111827;
  --color-bg-tertiary: #1e293b;
  --color-bg-card: rgba(30, 41, 59, 0.6);
  --color-bg-card-hover: rgba(30, 41, 59, 0.9);
  --color-bg-glass: rgba(17, 24, 39, 0.8);

  /* ── Text ── */
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #94a3b8;
  --color-text-muted: #64748b;
  --color-text-accent: #6BA3F7;

  /* ── Borders ── */
  --color-border: rgba(148, 163, 184, 0.1);
  --color-border-hover: rgba(107, 163, 247, 0.3);
  --color-border-accent: rgba(107, 163, 247, 0.5);

  /* ── Gradients ── */
  --gradient-bg: linear-gradient(180deg, #0a0e1a 0%, #111827 100%);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #0D3B7A 50%, #0a0e1a 100%);
  --gradient-card: linear-gradient(135deg, rgba(13, 59, 122, 0.1) 0%, rgba(107, 163, 247, 0.05) 100%);
  --gradient-accent: linear-gradient(135deg, #0D3B7A 0%, #6BA3F7 100%);
  --gradient-cta: linear-gradient(135deg, #4a8af5 0%, #0D3B7A 100%);

  /* ── Typography ── */
  --font-primary: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --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;

  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* ── 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;
  --space-32: 8rem;

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

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(107, 163, 247, 0.15);
  --shadow-glow-strong: 0 0 60px rgba(107, 163, 247, 0.25);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-index ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* ── Container ── */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-padding: var(--space-6);
}

/* ── Responsive overrides ── */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;
    --text-6xl: 2.75rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --container-padding: var(--space-4);
  }
}
