/**
 * Genpro Futuristic — Design tokens
 * Load after main.css; overrides :root for premium dark aesthetic.
 */

:root {
  /* Core palette */
  --fx-bg-deep: #050508;
  --fx-bg-elevated: #0c0e14;
  --fx-bg-glass: rgba(12, 14, 22, 0.72);
  --fx-bg-glass-strong: rgba(8, 10, 18, 0.92);
  --fx-surface: rgba(255, 255, 255, 0.04);
  --fx-surface-hover: rgba(255, 255, 255, 0.08);

  /* Brand neon accents */
  --fx-accent: #ff6600;
  --fx-accent-bright: #ff8533;
  --fx-accent-glow: rgba(255, 102, 0, 0.45);
  --fx-cyan: #00e5ff;
  --fx-cyan-glow: rgba(0, 229, 255, 0.35);
  --fx-violet: #a855f7;
  --fx-violet-glow: rgba(168, 85, 247, 0.3);

  /* Text */
  --fx-text: #eef1f6;
  --fx-text-muted: rgba(238, 241, 246, 0.65);
  --fx-text-dim: rgba(238, 241, 246, 0.45);

  /* Glass & borders */
  --fx-border: rgba(255, 255, 255, 0.08);
  --fx-border-accent: rgba(255, 102, 0, 0.35);
  --fx-blur: blur(18px);
  --fx-blur-heavy: blur(28px);

  /* Typography scale */
  --fx-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --fx-font-body: "Inter", system-ui, -apple-system, sans-serif;
  --fx-text-xs: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --fx-text-sm: clamp(0.82rem, 0.78rem + 0.25vw, 0.92rem);
  --fx-text-base: clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --fx-text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fx-text-xl: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
  --fx-text-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --fx-text-3xl: clamp(2rem, 1.6rem + 2vw, 3.25rem);

  /* Semantic typography roles */
  --fx-eyebrow-size: 0.62rem;
  --fx-eyebrow-tracking: 0.16em;
  --fx-section-title: clamp(1.15rem, 3.2vw, 1.55rem);
  --fx-section-lead: var(--fx-text-sm);
  --fx-card-title: var(--fx-text-sm);
  --fx-card-meta: var(--fx-text-xs);
  --fx-line-tight: 1.22;
  --fx-line-body: 1.55;
  --fx-line-heading: 1.15;

  /* Glass surfaces */
  --fx-glass-bg: rgba(255, 255, 255, 0.035);
  --fx-glass-border: rgba(255, 255, 255, 0.09);
  --fx-glass-radius: var(--fx-radius-md);
  --fx-glass-pad: clamp(0.85rem, 2.5vw, 1.15rem);

  /* Interactive */
  --fx-btn-h: 44px;
  --fx-btn-font: 0.78rem;
  --fx-btn-tracking: 0.06em;
  --fx-focus-ring: rgba(255, 102, 0, 0.45);
  --fx-focus-glow: rgba(255, 102, 0, 0.15);

  /* Spacing & layout */
  --fx-radius-sm: 8px;
  --fx-radius-md: 14px;
  --fx-radius-lg: 22px;
  --fx-radius-pill: 9999px;
  --fx-header-h: 72px;
  --fx-topbar-h: 36px;
  --fx-section-y: clamp(2.5rem, 5vw, 4.5rem);
  --fx-gap: clamp(1rem, 2vw, 1.5rem);

  /* Motion */
  --fx-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --fx-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fx-duration-fast: 0.18s;
  --fx-duration-base: 0.35s;
  --fx-duration-slow: 0.65s;

  /* Shadows & glow */
  --fx-shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.45);
  --fx-shadow-neon: 0 0 24px var(--fx-accent-glow), 0 0 48px rgba(255, 102, 0, 0.15);
  --fx-shadow-cyan: 0 0 20px var(--fx-cyan-glow);

  /* Z-index stack */
  --fx-z-overlay: 900;
  --fx-z-header: 1000;
  --fx-z-drawer: 1100;
  --fx-z-assistant: 1200;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --fx-duration-fast: 0.01ms;
    --fx-duration-base: 0.01ms;
    --fx-duration-slow: 0.01ms;
  }
}
