@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@500;600;700;800&family=Syne:wght@700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ==========================================================================
   LUMYN AI TECHNOLOGIES PVT LTD — THEME TOKENS
   Default: DARK THEME. Switchable to LIGHT THEME via data-theme attribute.
   Rule: Header & Footer are always inverted from page theme.
   ========================================================================== */

:root,
[data-theme="dark"] {
  /* Surfaces & Foundations (Dark Default) */
  --bg-deep: #060913;
  --bg-black: #060913;
  --bg-primary: #060913;
  --bg-secondary: #0b1120;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #162035;
  
  /* Glass Surfaces (Dark Cards) */
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(23, 37, 68, 0.88);
  --bg-card-active: rgba(30, 48, 88, 0.95);
  --bg-card-glass: rgba(15, 23, 42, 0.82);
  --bg-glass-dock: rgba(15, 23, 42, 0.94);
  --bg-glass-pill: rgba(255, 255, 255, 0.06);
  --bg-modal-overlay: rgba(2, 6, 18, 0.82);

  /* Typography Hierarchy (Brilliant Pure White & Luminous Silver on Dark) */
  --text-brand-white: #ffffff;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #f1f5f9;
  --text-dim: #cbd5e1;
  --text-inverse: #000000;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.1);
  --border-focus: #38bdf8;
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-light: rgba(255, 255, 255, 0.12);
  --border-glass-bright: rgba(56, 189, 248, 0.45);
  --border-glass-dim: rgba(255, 255, 255, 0.04);

  /* Brand Accents */
  --accent-primary: #38bdf8;
  --accent-cyan: #38bdf8;
  --accent-cyan-bright: #7dd3fc;
  --accent-cyan-glow: rgba(56, 189, 248, 0.28);
  --accent-cyan-dim: rgba(56, 189, 248, 0.1);
  --accent-blue: #3b82f6;
  --accent-blue-deep: #2563eb;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --accent-whatsapp: #10b981;
  --accent-whatsapp-glow: rgba(16, 185, 129, 0.3);
  --accent-amber: #f59e0b;
  --accent-silver: #94a3b8;

  /* Gradients */
  --grad-cyan-violet: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  --grad-hero-text: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  --grad-cyan-glow: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  --grad-card-border: linear-gradient(135deg, rgba(56, 189, 248, 0.35) 0%, rgba(255, 255, 255, 0.05) 100%);
  --grad-card-border-subtle: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
  --grad-accent-bar: linear-gradient(90deg, #0284c7 0%, #0099ff 50%, #38bdf8 100%);

  /* LUXURY CYBER FLOATING HEADER TOKENS (Dark Theme) */
  --header-bg: rgba(8, 14, 28, 0.85);
  --header-border: rgba(56, 189, 248, 0.28);
  --header-text: #ffffff;
  --header-link: #cbd5e1;
  --header-link-hover: #38bdf8;
  --header-pill-bg: rgba(15, 23, 42, 0.72);
  --header-pill-border: rgba(255, 255, 255, 0.09);
  --header-btn-bg: linear-gradient(135deg, #0284c7 0%, #0099ff 100%);
  --header-btn-text: #ffffff;
  --header-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.85), 0 0 20px rgba(56, 189, 248, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);

  --footer-bg: #ffffff;
  --footer-border: #e2e8f0;
  --footer-text: #0f172a;
  --footer-subtext: #475569;
  --footer-link: #334155;
  --footer-link-hover: #0284c7;
  --footer-bottom-bg: #f8fafc;
  --footer-bottom-border: #e2e8f0;

  /* Sizing & Sizing */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Layout Constraints */
  --container-max: 1240px;
  --container-wide: 1400px;
  --container-pad: clamp(1.25rem, 4vw, 2.75rem);

  /* Animation Timings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 180ms;
  --duration-normal: 280ms;
  --duration-slow: 450ms;
  --z-nav: 1000;
  --z-drawer: 1100;
}

/* ==========================================================================
   LIGHT THEME OVERRIDES
   ========================================================================== */
[data-theme="light"] {
  /* Surfaces & Foundations (Light Mode) */
  --bg-deep: #ffffff;
  --bg-black: #f8fafc;
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  
  /* Glass Surfaces (Light Cards) */
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-card-active: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.94);
  --bg-glass-dock: rgba(255, 255, 255, 0.96);
  --bg-glass-pill: rgba(15, 23, 42, 0.05);
  --bg-modal-overlay: rgba(15, 23, 42, 0.6);

  /* Typography Hierarchy (Deep Pitch Black & Rich Dark Slate on Light) */
  --text-brand-white: #000000;
  --text-primary: #000000;
  --text-secondary: #0f172a;
  --text-muted: #1e293b;
  --text-dim: #334155;
  --text-inverse: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #edf0f5;
  --border-default: #e2e8f0;
  --border-focus: #0284c7;
  --border-hairline: rgba(15, 23, 42, 0.07);
  --border-glass: rgba(15, 23, 42, 0.08);
  --border-glass-light: rgba(15, 23, 42, 0.1);
  --border-glass-bright: rgba(2, 132, 199, 0.4);
  --border-glass-dim: rgba(15, 23, 42, 0.04);

  /* Brand Accents */
  --accent-primary: #0284c7;
  --accent-cyan: #0284c7;
  --accent-cyan-bright: #0369a1;
  --accent-cyan-glow: rgba(2, 132, 199, 0.2);
  --accent-cyan-dim: rgba(2, 132, 199, 0.08);
  --accent-blue: #2563eb;
  --accent-blue-deep: #1d4ed8;
  --accent-indigo: #4f46e5;
  --accent-violet: #7c3aed;
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.25);
  --accent-whatsapp: #10b981;
  --accent-whatsapp-glow: rgba(16, 185, 129, 0.28);
  --accent-amber: #d97706;
  --accent-silver: #64748b;

  /* Gradients */
  --grad-cyan-violet: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  --grad-hero-text: linear-gradient(180deg, #0f172a 0%, #334155 100%);
  --grad-cyan-glow: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 70%);
  --grad-card-border: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(15, 23, 42, 0.08) 100%);
  --grad-card-border-subtle: linear-gradient(135deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.03) 100%);
  --grad-accent-bar: linear-gradient(90deg, #0284c7 0%, #0099ff 50%, #0284c7 100%);

  /* INVERTED HEADER & FOOTER TOKENS: Dark Theme in Light Mode */
  --header-bg: rgba(15, 23, 42, 0.94);
  --header-border: rgba(255, 255, 255, 0.12);
  --header-text: #ffffff;
  --header-link: #e2e8f0;
  --header-link-hover: #38bdf8;
  --header-pill-bg: rgba(255, 255, 255, 0.08);
  --header-pill-border: rgba(255, 255, 255, 0.12);
  --header-btn-bg: #ffffff;
  --header-btn-text: #0f172a;
  --header-shadow: 0 4px 24px rgba(15, 23, 42, 0.15);

  --footer-bg: #0a0f1d;
  --footer-border: rgba(255, 255, 255, 0.08);
  --footer-text: #ffffff;
  --footer-subtext: #94a3b8;
  --footer-link: #cbd5e1;
  --footer-link-hover: #38bdf8;
  --footer-bottom-bg: #060913;
  --footer-bottom-border: rgba(255, 255, 255, 0.06);
}
