/* ========================================
   CSS Custom Properties — Dark Theme
   TermiTec Product Website
   ======================================== */

:root {
  /* === Backgrounds === */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-elevated: #222233;

  /* === Gradients === */
  --gradient-hero:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 63, 122, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(232, 114, 42, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0f 0%, #0d0d18 50%, #0a0a0f 100%);
  --gradient-section:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(26, 63, 122, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  --gradient-card:
    linear-gradient(135deg, rgba(26, 63, 122, 0.12) 0%, rgba(232, 114, 42, 0.06) 100%);
  --gradient-footer:
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(26, 63, 122, 0.15) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-secondary) 0%, #0a0a0f 100%);

  /* === Orb Colors === */
  --orb-blue: rgba(41, 121, 255, 0.15);
  --orb-orange: rgba(232, 114, 42, 0.12);
  --orb-purple: rgba(120, 80, 200, 0.1);

  /* === Text === */
  --text-primary: #e8e8f0;
  --text-secondary: #8888a0;
  --text-accent: #ffffff;

  /* === Primary Accent — Deep Blue === */
  --accent-primary: #1a3f7a;
  --accent-hover: #2456a3;
  --accent-light: #4a80cc;
  --accent-glow: rgba(26, 63, 122, 0.35);
  --accent-glow-strong: rgba(36, 86, 163, 0.5);

  /* === Secondary Accent — Orange (highlights & CTAs) === */
  --accent-orange: #e8722a;
  --accent-orange-hover: #f08a45;
  --accent-orange-glow: rgba(232, 114, 42, 0.3);
  --accent-orange-glow-strong: rgba(232, 114, 42, 0.5);

  /* === Borders & Effects === */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(18, 18, 26, 0.8);
  --glass-blur: 20px;
  --overlay-gradient: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.2) 0%,
    rgba(10, 10, 15, 0.6) 60%,
    rgba(10, 10, 15, 0.95) 100%
  );

  /* === Footer Glow === */
  --footer-glow: rgba(41, 121, 255, 0.08);

  /* === Typography === */
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Font sizes — responsive with clamp() — SCALED UP */
  --fs-hero: clamp(3.5rem, 8vw, 7rem);
  --fs-h1: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h2: clamp(2rem, 3.5vw, 3rem);
  --fs-h3: clamp(1.4rem, 2.2vw, 2rem);
  --fs-h4: clamp(1.15rem, 1.6vw, 1.35rem);
  --fs-body: clamp(1rem, 1.3vw, 1.15rem);
  --fs-small: clamp(0.85rem, 1vw, 0.95rem);
  --fs-label: 0.75rem;

  /* === Spacing — Increased section spacing === */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(3rem, 7vw, 6rem);

  /* === Layout === */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --nav-height: 72px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;

  /* === Transitions === */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out-smooth: cubic-bezier(0.45, 0, 0.55, 1);

  /* === Button Accent — Luminous Blue === */
  --btn-blue: #2979ff;
  --btn-blue-hover: #448aff;
  --btn-blue-glow: rgba(41, 121, 255, 0.35);
  --btn-blue-glow-strong: rgba(68, 138, 255, 0.55);

  /* === Shadows === */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--accent-glow);
}
