/* ==========================================================================
   DYGON AI Official Website V1.0 — Design Tokens
   Obsidian Optical Architecture · Unified with 小袋 Agent Design System 5.0
   ========================================================================== */

:root {
  color-scheme: dark;

  /* --- Typography --- */
  --font-sans: "Inter", "SF Pro Display", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, ui-monospace, monospace;

  /* --- Spatial Obsidian Surfaces --- */
  --bg-void: #06070b;
  --bg-space: #090b12;
  --bg-rail: #0d1018;
  --bg-surface: #121621;
  --bg-elev: #181d2b;
  --bg-elev-hover: #202638;
  --bg-inset: #0a0d14;

  /* --- Optical Glass Layers --- */
  --glass-nav: rgba(6, 7, 11, 0.72);
  --glass-panel: rgba(16, 20, 31, 0.72);
  --glass-float: rgba(20, 25, 38, 0.84);
  --glass-chip: rgba(255, 255, 255, 0.04);
  --glass-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 36%, rgba(255, 255, 255, 0) 100%);
  --specular-rim: inset 0 1px 0 rgba(255, 255, 255, 0.11), inset 0 0 0 0.5px rgba(255, 255, 255, 0.04);
  --specular-soft: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* --- Architectural Hairlines --- */
  --line-faint: rgba(255, 255, 255, 0.055);
  --line-base: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-accent: rgba(125, 153, 242, 0.36);

  /* --- Ink Hierarchy --- */
  --ink-1: #f3f5fa;
  --ink-2: #b4bdd1;
  --ink-3: #838ea6;
  --ink-4: #5c667d;

  /* --- Low-Saturation Optical Cobalt-Violet Spectrum --- */
  --cobalt: #7d99f2;
  --cobalt-bright: #9bb3fc;
  --violet: #9588f5;
  --cobalt-soft: rgba(125, 153, 242, 0.13);
  --violet-soft: rgba(149, 136, 245, 0.12);
  --accent-grad: linear-gradient(135deg, #8aa5fb 0%, #9b8cf5 55%, #b5c6ff 100%);
  --headline-grad: linear-gradient(180deg, #ffffff 0%, #eef2ff 58%, #b9c5e3 100%);

  /* --- Primary Action Surface (Alabaster on Obsidian) --- */
  --cta-bg: #f1f3f8;
  --cta-hover: #ffffff;
  --cta-ink: #07090f;

  /* --- Semantic Product Status (Matched to 小袋 Agent) --- */
  --ok-ink: #63d7a0;
  --ok-bg: rgba(56, 204, 138, 0.12);
  --ok-line: rgba(56, 204, 138, 0.30);

  --warn-ink: #f0bc6b;
  --warn-bg: rgba(232, 169, 76, 0.13);
  --warn-line: rgba(232, 169, 76, 0.30);

  --err-ink: #f58e88;
  --err-bg: rgba(240, 104, 98, 0.13);
  --err-line: rgba(240, 104, 98, 0.32);

  /* --- Geometry & Elevation --- */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.36);
  --shadow-md: 0 20px 52px rgba(0, 0, 0, 0.52);
  --shadow-lg: 0 36px 96px rgba(0, 0, 0, 0.72);
  --shadow-window: 0 40px 110px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.09);

  /* --- Motion Curves --- */
  --ease-ui: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: 480ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-reveal: 720ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Layout --- */
  --container: 1200px;
  --nav-h: 64px;
}
