/* ==============================================================================
   0xCyberLiTech · CLT1 — Master Design System "Luminous Supreme"
   Aesthetic: Ultra-Modern Luminous Tech / Radiant Glassmorphism & Sovereign AI
   Inspired by: Apple Vision Pro, Linear, Stripe, Modern Luxury Aerospace & AI Lab
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800&family=JetBrains+Mono:wght@400;500;600&family=Orbitron:wght@600;700;900&display=swap');

:root {
  /* Radiant Luminous Palette */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-elevated: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.78);
  --bg-glass-nav: rgba(248, 250, 252, 0.88);

  /* Modern Sovereign Accents */
  --accent-cyan: #0284c7;
  --accent-cyan-vibrant: #00b4d8;
  --accent-cyan-glow: rgba(0, 180, 216, 0.35);
  --accent-cyan-soft: rgba(2, 132, 199, 0.08);

  --accent-indigo: #4f46e5;
  --accent-indigo-glow: rgba(79, 70, 229, 0.35);
  --accent-indigo-soft: rgba(79, 70, 229, 0.08);

  --accent-purple: #7c3aed;
  --accent-purple-glow: rgba(124, 58, 237, 0.3);

  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.35);
  --accent-emerald-soft: rgba(5, 150, 105, 0.08);

  /* Deep Contrast Typography */
  --text-headline: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --border-card: rgba(226, 232, 240, 0.9);
  --border-luminous: rgba(0, 180, 216, 0.3);
  --border-focus: #0284c7;

  --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  --shadow-elevated: 0 20px 45px -10px rgba(15, 23, 42, 0.1);
  --shadow-luminous-cyan: 0 20px 50px -15px rgba(0, 180, 216, 0.25);
  --shadow-luminous-indigo: 0 20px 50px -15px rgba(79, 70, 229, 0.25);

  /* Typography */
  --font-display: 'Syne', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-hud: 'Orbitron', monospace;

  /* Glass Filter */
  --blur-glass: blur(16px);
  --speed-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(rgba(2, 132, 199, 0.07) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Luminous Ambient Background Glows */
.luminous-ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-mesh-radial {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.55;
  pointer-events: none;
  animation: meshFloat 22s ease-in-out infinite alternate;
}

.mesh-1 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.28) 0%, rgba(255, 255, 255, 0) 70%);
  top: -180px;
  left: 15%;
}

.mesh-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  top: 40%;
  right: 10%;
  animation-duration: 26s;
  animation-delay: -6s;
}

.mesh-3 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  bottom: 0%;
  left: 25%;
  animation-duration: 30s;
}

@keyframes meshFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.06); }
  100% { transform: translate(-40px, 60px) scale(0.96); }
}

/* Subtle Geometric Matrix Pattern */
.luminous-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.15) 85%);
}

/* Supreme Card Standard */
.supreme-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  box-shadow: var(--shadow-elevated);
  transition: all var(--speed-smooth);
  overflow: hidden;
  position: relative;
}

.supreme-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-luminous);
  box-shadow: var(--shadow-luminous-cyan);
}

/* Supreme Buttons */
.btn-supreme-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0284c7, #00b4d8);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 25px -4px rgba(2, 132, 199, 0.45);
  transition: all var(--speed-smooth);
}

.btn-supreme-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(2, 132, 199, 0.6);
  background: linear-gradient(135deg, #0369a1, #0284c7);
}

.btn-supreme-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #ffffff;
  color: var(--text-headline);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 12px;
  border: 1.5px solid rgba(148, 163, 184, 0.55);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all var(--speed-smooth);
}

.btn-supreme-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.2);
}

/* Pulsing Status Dot */
.supreme-pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.supreme-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-emerald);
  animation: supremePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes supremePing {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* ==============================================================================
   TACTILE BRUTALISM & OPTICAL GLASS GRAIN (STANDARD WEB DESIGN LUXE 2026)
   ============================================================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==============================================================================
   VIEW TRANSITIONS API (W3C NATIVE CROSS-DOCUMENT MORPHING 2026)
   ============================================================================== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 200ms cubic-bezier(0.16, 1, 0.3, 1) both fadeOutScale;
}

::view-transition-new(root) {
  animation: 200ms cubic-bezier(0.16, 1, 0.3, 1) both fadeInScale;
}

@keyframes fadeOutScale {
  to { opacity: 0; transform: scale(0.996); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(1.004); }
}

/* Scroll Reading Progress Indicator */
.scroll-progress-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c3ff, #4f46e5, #059669);
  z-index: 10000;
  width: 0%;
  transition: width 0.08s ease-out;
}
