/* UMS Auto Selector PRO v3 — Flagship Cyber-SaaS Design System
 * Fonts: Outfit (Geometric Display) + DM Sans (Body UI) + Fira Code (Telemetry Mono)
 * Inspired by UI/UX Pro Max (OLED Dark + Variance 7), Animated UI, and React Bits
 */

:root,
[data-theme="graphite"] {
  /* Deep OLED Obsidian & Slate Surfaces */
  --color-paper: #06070c;
  --color-paper-2: #0d101b;
  --color-paper-3: #090b13;
  --color-paper-hover: #14192b;
  --color-surface-glass: rgba(13, 16, 27, 0.72);
  --color-backdrop: rgba(4, 5, 10, 0.84);

  /* Crisp Ink Hierarchy (WCAG AA/AAA Contrast) */
  --color-ink: #f8fafc;
  --color-ink-2: #cbd5e1;
  --color-muted: #94a3b8;

  /* Hairline Borders & Top Specular Edge */
  --color-rule: rgba(148, 163, 184, 0.14);
  --color-rule-2: rgba(148, 163, 184, 0.26);
  --color-specular: rgba(255, 255, 255, 0.08);

  /* Signature Indigo-Cyan Electric Accent System */
  --color-accent: #6366f1;
  --color-accent-hover: #818cf8;
  --color-accent-2: #06b6d4;
  --color-accent-3: #a855f7;
  --color-accent-ink: #ffffff;
  --color-accent-soft: rgba(99, 102, 241, 0.16);
  --color-focus: #38bdf8;

  /* Telemetry Cyan / Cool Accent */
  --color-cool: #22d3ee;
  --color-cool-soft: rgba(34, 211, 238, 0.14);

  /* Semantic Status Signals */
  --color-ok: #10b981;
  --color-ok-soft: rgba(16, 185, 129, 0.15);
  --color-bad: #f43f5e;
  --color-bad-soft: rgba(244, 63, 94, 0.15);
  --color-warn: #f59e0b;
  --color-warn-soft: rgba(245, 158, 11, 0.15);

  /* Spotlight & Mesh Glows */
  --spotlight-color: rgba(99, 102, 241, 0.18);
  --orb-1: rgba(99, 102, 241, 0.22);
  --orb-2: rgba(6, 182, 212, 0.18);
  --orb-3: rgba(168, 85, 247, 0.14);

  /* Official Bangladesh MFS Brand Colours */
  --mfs-bkash: #e2136e;
  --mfs-nagad: #f7931e;
  --mfs-rocket: #8c3494;

  /* Elevation */
  --shadow-card: 0 12px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 var(--color-specular);
  --shadow-elevated: 0 24px 64px rgba(0, 0, 0, 0.65), inset 0 1px 0 var(--color-specular);
  --shadow-glow: 0 8px 30px rgba(99, 102, 241, 0.35);

  /* Upgraded Typography Stack */
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Geometry & 4px Grid Rhythm */
  --radius-card: 18px;
  --radius-pill: 12px;
  --radius-chip: 8px;
  --rule-hair: 1px;
  --tracking-display: -0.035em;
  --display-weight: 700;

  --container: 1240px;
  --gutter: 32px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 68px;
  --space-3xl: 96px;

  --text-display: clamp(2.5rem, 4.8vw, 4.15rem);
  --text-section: clamp(1.85rem, 3.2vw, 2.65rem);
  --text-title: 1.25rem;
  --text-lead: 1.075rem;
  --text-md: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.8125rem;

  --dur-micro: 150ms;
  --dur-short: 260ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="paper"] {
  --color-paper: #f6f8fc;
  --color-paper-2: #ffffff;
  --color-paper-3: #eef2f9;
  --color-paper-hover: #e5ebf6;
  --color-surface-glass: rgba(255, 255, 255, 0.86);
  --color-backdrop: rgba(15, 23, 42, 0.52);

  --color-ink: #0b1120;
  --color-ink-2: #334155;
  --color-muted: #475569;

  --color-rule: #dbe3f0;
  --color-rule-2: #c5d1e4;
  --color-specular: rgba(255, 255, 255, 0.9);

  --color-accent: #4f46e5;
  --color-accent-hover: #4338ca;
  --color-accent-2: #0891b2;
  --color-accent-3: #9333ea;
  --color-accent-ink: #ffffff;
  --color-accent-soft: rgba(79, 70, 229, 0.11);
  --color-focus: #4f46e5;

  --color-cool: #0284c7;
  --color-cool-soft: rgba(2, 132, 199, 0.11);

  --color-ok: #059669;
  --color-ok-soft: rgba(5, 150, 105, 0.11);
  --color-bad: #e11d48;
  --color-bad-soft: rgba(225, 29, 72, 0.11);
  --color-warn: #d97706;
  --color-warn-soft: rgba(217, 119, 6, 0.12);

  --spotlight-color: rgba(79, 70, 229, 0.10);
  --orb-1: rgba(79, 70, 229, 0.12);
  --orb-2: rgba(6, 182, 212, 0.10);
  --orb-3: rgba(147, 51, 234, 0.08);

  --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-elevated: 0 20px 50px rgba(15, 23, 42, 0.11), 0 4px 10px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 8px 24px rgba(79, 70, 229, 0.25);
}
