/* ============================================================
   OrbitHome — Orbital Command Center Design System
   Sci-Fi 3D Interface · Holographic Panels · CSS Depth
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Colors — Orbital Command Palette */
  --color-void:       #050510;   /* Deep space black */
  --color-space:      #0a0a1f;   /* Panel background */
  --color-nebula:     #0f0f2e;   /* Section background */
  --color-cyan:       #00d4ff;   /* Primary — electric cyan */
  --color-cyan-dim:   #0099bb;   /* Cyan muted */
  --color-cyan-glow:  rgba(0, 212, 255, 0.4);
  --color-violet:     #a855f7;   /* Accent — neon violet */
  --color-violet-dim: #7c3aed;
  --color-violet-glow: rgba(168, 85, 247, 0.35);
  --color-green:      #22c55e;   /* Energy / savings */
  --color-green-glow: rgba(34, 197, 94, 0.35);
  --color-amber:      #f59e0b;   /* Warning / caution */
  --color-red:        #ff4d4d;   /* Alert / over-limit */
  --color-red-glow:   rgba(255, 77, 77, 0.35);

  /* Surfaces */
  --surface-glass:    rgba(0, 212, 255, 0.04);
  --surface-panel:    rgba(10, 10, 31, 0.85);
  --surface-raised:   rgba(0, 212, 255, 0.08);
  --border-cyan:      rgba(0, 212, 255, 0.25);
  --border-violet:    rgba(168, 85, 247, 0.25);
  --border-dim:       rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-display:  'Orbitron', 'Courier New', monospace;
  --font-body:    'Exo 2', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'Courier New', monospace;

  /* Font sizes */
  --text-xs:   0.7rem;
  --text-sm:   0.85rem;
  --text-base: 1rem;
  --text-lg:   1.15rem;
  --text-xl:   1.35rem;
  --text-2xl:  1.7rem;
  --text-3xl:  2.2rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-pill: 9999px;

  /* Shadows / Glows */
  --glow-cyan:   0 0 15px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.2);
  --glow-cyan-sm: 0 0 8px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.15);
  --glow-violet: 0 0 15px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.2);
  --glow-green:  0 0 15px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.2);
  --glow-red:    0 0 15px rgba(255, 77, 77, 0.5), 0 0 40px rgba(255, 77, 77, 0.2);
  --shadow-panel: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(0, 212, 255, 0.1);
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.5);

  /* 3D transforms */
  --perspective: 1000px;
  --rotate-x:    0deg;
  --rotate-y:    0deg;
  --rotate-z:    0deg;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:  250ms ease;
  --transition-slow:  400ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index layers */
  --z-bg:     -1;
  --z-base:    0;
  --z-panel:   10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
}

/* ── Light Theme Override ─────────────────────────────────── */
[data-theme="light"] {
  --color-void:       #f0f4ff;
  --color-space:      #e8eeff;
  --color-nebula:     #e0e8ff;
  --color-cyan:       #0066cc;
  --color-cyan-dim:   #0055aa;
  --color-cyan-glow:  rgba(0, 102, 204, 0.2);
  --color-violet:     #7c3aed;
  --color-violet-glow: rgba(124, 58, 237, 0.2);
  --color-green:      #16a34a;
  --color-green-glow: rgba(22, 163, 74, 0.2);
  --surface-glass:    rgba(0, 102, 204, 0.05);
  --surface-panel:    rgba(255, 255, 255, 0.92);
  --surface-raised:   rgba(0, 102, 204, 0.08);
  --border-cyan:      rgba(0, 102, 204, 0.3);
  --border-violet:    rgba(124, 58, 237, 0.3);
  --border-dim:       rgba(0, 0, 0, 0.08);
  --shadow-panel: 0 8px 32px rgba(0, 102, 204, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: #e8f4ff;
  background-color: var(--color-void);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-theme="light"] body {
  color: #1a1a2e;
}

img, video { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
a { color: var(--color-cyan); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #fff; }
[data-theme="light"] a:hover { color: var(--color-violet); }

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-void); }
::-webkit-scrollbar-thumb {
  background: var(--border-cyan);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-cyan); }

/* ── Text Selection ───────────────────────────────────────── */
::selection { background: rgba(0, 212, 255, 0.25); color: #fff; }

/* ── Focus Styles ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Typography Utilities ─────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

.text-cyan   { color: var(--color-cyan); }
.text-violet { color: var(--color-violet); }
.text-green  { color: var(--color-green); }
.text-amber  { color: var(--color-amber); }
.text-red    { color: var(--color-red); }
.text-muted  { color: rgba(255,255,255,0.45); }
[data-theme="light"] .text-muted { color: rgba(0,0,0,0.45); }

.text-xs  { font-size: var(--text-xs); }
.text-sm  { font-size: var(--text-sm); }
.text-lg  { font-size: var(--text-lg); }
.text-xl  { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.08em; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ── Layout ───────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }

/* ── Background Effects ───────────────────────────────────── */
.starfield {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  background:
    radial-gradient(ellipse at 20% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
    var(--color-void);
  pointer-events: none;
  overflow: hidden;
}

.starfield::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(255,255,255,0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 60%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 25%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(2px 2px at 85% 55%, rgba(0, 212, 255, 0.9) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 70%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 80%, rgba(255,255,255,0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 90%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 50%, rgba(168, 85, 247, 0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 75%, rgba(0, 212, 255, 0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 48% 35%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 92% 42%, rgba(168, 85, 247, 0.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 20% 85%, rgba(255,255,255,0.6) 0%, transparent 100%);
  animation: star-drift 120s linear infinite;
}

[data-theme="light"] .starfield {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
    var(--color-void);
}

[data-theme="light"] .starfield::before { display: none; }

/* Particle overlay for panels */
.particle-overlay {
  position: relative;
  overflow: hidden;
}
.particle-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(0, 212, 255, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.04) 0%, transparent 30%);
  pointer-events: none;
  animation: particle-drift 8s ease-in-out infinite alternate;
}

/* Grid lines background */
.grid-bg {
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Scan line effect */
.scanlines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-4) 0;
  background: rgba(5, 5, 16, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-dim);
  transition: background var(--transition-base);
}

[data-theme="light"] .nav {
  background: rgba(240, 244, 255, 0.88);
  border-bottom: 1px solid var(--border-dim);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-cyan);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: var(--glow-cyan-sm);
}

.nav-brand:hover { color: #fff; text-shadow: var(--glow-cyan); }
[data-theme="light"] .nav-brand:hover { color: var(--color-violet); }

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-cyan);
  box-shadow: var(--glow-cyan-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-glow 3s ease-in-out infinite;
}

.nav-logo svg { width: 20px; height: 20px; fill: var(--color-cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

[data-theme="light"] .nav-links a { color: rgba(0,0,0,0.6); }
.nav-links a:hover { color: var(--color-cyan); background: var(--surface-raised); }
.nav-links a.active { color: var(--color-cyan); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-cyan);
  background: var(--surface-glass);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  cursor: pointer;
}
.theme-toggle:hover {
  background: var(--surface-raised);
  box-shadow: var(--glow-cyan-sm);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  color: var(--color-cyan);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-mobile-toggle svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-space);
    border-bottom: 1px solid var(--border-cyan);
    padding: var(--space-4);
    gap: var(--space-2);
  }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.65rem 1.4rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan) 0%, #00aadd 100%);
  color: #050510;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #33ddff 0%, var(--color-cyan) 100%);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 4px 15px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: #050510;
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--surface-raised);
  color: var(--color-cyan);
  border: 1px solid var(--border-cyan);
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.05);
}
.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.15);
  box-shadow: var(--glow-cyan-sm);
  transform: translateY(-2px);
}

.btn-violet {
  background: linear-gradient(135deg, var(--color-violet) 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}
.btn-violet:hover {
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.6), 0 4px 15px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid var(--border-dim);
}
.btn-ghost:hover { color: var(--color-cyan); border-color: var(--border-cyan); background: var(--surface-glass); }
[data-theme="light"] .btn-ghost { color: rgba(0,0,0,0.6); }
[data-theme="light"] .btn-ghost:hover { color: var(--color-cyan); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: var(--text-xs); }
.btn-lg { padding: 0.85rem 2rem; font-size: var(--text-base); }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-md); }

/* ── Holographic Panel / Card ───────────────────────────── */
.panel {
  position: relative;
  background: var(--surface-panel);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  overflow: hidden;
  transition: all var(--transition-base);
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  opacity: 0.6;
}

.panel::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.03), transparent, rgba(168, 85, 247, 0.03), transparent);
  animation: rotate-glow 12s linear infinite;
  pointer-events: none;
}

.panel:hover {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: var(--shadow-panel), var(--glow-cyan-sm);
  transform: translateY(-3px);
}

.panel-inner { position: relative; z-index: 1; padding: var(--space-6); }
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-dim);
}
.panel-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.panel-title svg { width: 16px; height: 16px; fill: currentColor; }

/* Glowing border variant */
.panel-glow { border-color: rgba(0, 212, 255, 0.4); box-shadow: var(--shadow-panel), var(--glow-cyan-sm); }
.panel-violet { border-color: rgba(168, 85, 247, 0.35); }
.panel-violet::before { background: linear-gradient(90deg, transparent, var(--color-violet), transparent); }
.panel-green { border-color: rgba(34, 197, 94, 0.35); }
.panel-green::before { background: linear-gradient(90deg, transparent, var(--color-green), transparent); }

/* Corner accents */
.panel-corner::before,
.panel-corner::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--color-cyan);
  border-style: solid;
  opacity: 0.7;
}
.panel-corner::before {
  top: -1px; left: -1px;
  border-width: 2px 0 0 2px;
  border-radius: var(--radius-sm) 0 0 0;
}
.panel-corner::after {
  bottom: -1px; right: -1px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 var(--radius-sm) 0;
}

/* ── 3D Card Effects ─────────────────────────────────────── */
.perspective { perspective: var(--perspective); }

.card-3d {
  transform-style: preserve-3d;
  transition: transform var(--transition-base);
}
.card-3d:hover { transform: rotateX(var(--rotate-x, -3deg)) rotateY(var(--rotate-y, 3deg)); }

/* Tilt on hover */
.card-tilt {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}
.card-tilt:hover { transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateZ(10px); }

/* ── Hero Section — Orbital Command ─────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-orbital {
  position: relative;
  text-align: center;
}

.hero-ring-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin-slow linear infinite;
}
.hero-ring-1 {
  inset: 0;
  border-color: rgba(0, 212, 255, 0.15);
  animation-duration: 30s;
}
.hero-ring-2 {
  inset: 40px;
  border-color: rgba(168, 85, 247, 0.12);
  animation-duration: 20s;
  animation-direction: reverse;
}
.hero-ring-3 {
  inset: 80px;
  border-color: rgba(0, 212, 255, 0.08);
  animation-duration: 40s;
}

.hero-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: var(--glow-cyan-sm);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: orbit-dot 8s linear infinite;
}
.hero-orbit-dot-2 {
  background: var(--color-violet);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
  animation-duration: 12s;
  animation-direction: reverse;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 1rem;
  background: var(--surface-raised);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-6);
}

[data-theme="light"] .hero-badge {
  background: rgba(0, 102, 204, 0.08);
  color: var(--color-cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
  margin-bottom: var(--space-6);
}

[data-theme="light"] .hero-title {
  color: var(--color-cyan-dim);
  text-shadow: none;
}

.hero-title .highlight-cyan { color: var(--color-cyan); text-shadow: var(--glow-cyan-sm); }
.hero-title .highlight-violet { color: var(--color-violet); text-shadow: var(--glow-violet); }
[data-theme="light"] .hero-title .highlight-cyan { color: var(--color-cyan); text-shadow: none; }
[data-theme="light"] .hero-title .highlight-violet { color: var(--color-violet); text-shadow: none; }

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}
[data-theme="light"] .hero-subtitle { color: rgba(0,0,0,0.55); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-cyan);
  text-shadow: var(--glow-cyan-sm);
  line-height: 1;
}

[data-theme="light"] .hero-stat-value { color: var(--color-cyan-dim); text-shadow: none; }

.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-1);
  font-family: var(--font-display);
}
[data-theme="light"] .hero-stat-label { color: rgba(0,0,0,0.4); }

/* Radar sweep */
.radar-sweep {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border-cyan);
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  overflow: hidden;
}
.radar-sweep::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 212, 255, 0.3) 30deg, transparent 60deg);
  animation: radar-sweep 4s linear infinite;
  transform-origin: center;
}
.radar-sweep::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--glow-cyan-sm);
  animation: radar-ping 4s ease-in-out infinite;
}

/* Orbital rings decorative */
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}
.orbital-ring-1 { width: 200px; height: 200px; top: -100px; right: -60px; animation-delay: 0s; }
.orbital-ring-2 { width: 140px; height: 140px; bottom: -70px; left: -40px; animation-delay: 2s; border-color: rgba(168, 85, 247, 0.1); }
.orbital-ring-3 { width: 80px; height: 80px; top: 30%; right: -30px; animation-delay: 4s; }

/* ── Grid Systems ────────────────────────────────────────── */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Isometric grid for data panels */
.grid-iso {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--space-4);
  transform: rotateX(10deg) rotateZ(-2deg);
  transform-style: preserve-3d;
}
.grid-iso > * { transform: translateZ(20px); }

@media (max-width: 768px) {
  .grid-iso { transform: none; }
  .grid-iso > * { transform: none; }
}

/* ── Data Visualization Components ───────────────────────── */
.stat-card {
  padding: var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--color-cyan);
  text-shadow: var(--glow-cyan-sm);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
}

[data-theme="light"] .stat-value { color: var(--color-cyan-dim); text-shadow: none; }

.stat-unit {
  font-size: var(--text-lg);
  font-weight: 400;
  opacity: 0.6;
}

.stat-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
[data-theme="light"] .stat-label { color: rgba(0,0,0,0.4); }

.stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: var(--text-xs);
  font-family: var(--font-display);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  margin-top: var(--space-2);
}
.stat-delta.up { background: rgba(255, 77, 77, 0.15); color: var(--color-red); border: 1px solid rgba(255, 77, 77, 0.3); }
.stat-delta.down { background: rgba(34, 197, 94, 0.15); color: var(--color-green); border: 1px solid rgba(34, 197, 94, 0.3); }

/* Gauge / Radial chart */
.gauge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-track {
  fill: none;
  stroke: rgba(0, 212, 255, 0.1);
  stroke-linecap: round;
}

.gauge-fill {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.gauge-label {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-cyan);
  text-align: center;
}
.gauge-unit {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Orbital chart */
.orbital-chart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbital-chart-center {
  position: absolute;
  text-align: center;
}

/* Bar chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 120px;
  padding: var(--space-4) 0;
}
.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.bar-fill {
  width: 100%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(to top, var(--color-cyan), rgba(0, 212, 255, 0.4));
  transition: height 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, transparent 0%, rgba(255,255,255,0.1) 100%);
  border-radius: inherit;
}
.bar-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
[data-theme="light"] .bar-label { color: rgba(0,0,0,0.4); }

/* ── Status Indicators ───────────────────────────────────── */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: var(--glow-cyan-sm);
  position: relative;
}
.status-dot.online { background: var(--color-green); box-shadow: var(--glow-green); }
.status-dot.warning { background: var(--color-amber); }
.status-dot.alert { background: var(--color-red); box-shadow: var(--glow-red); animation: pulse-glow 1s ease-in-out infinite; }

.pulse-ring {
  position: relative;
}
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
}

.scanner-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  animation: scan-line 3s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
[data-theme="light"] .form-label { color: rgba(0,0,0,0.55); }

.form-input {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-md);
  color: #e8f4ff;
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.65rem 1rem;
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}
[data-theme="light"] .form-input { color: #1a1a2e; background: rgba(0, 102, 204, 0.05); }

.form-input::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), var(--glow-cyan-sm);
  background: rgba(0, 212, 255, 0.08);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Toggle switch */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  user-select: none;
}
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid var(--border-cyan);
  position: relative;
  transition: all var(--transition-base);
}
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-cyan);
  transition: transform var(--transition-spring);
  box-shadow: var(--glow-cyan-sm);
}
.toggle input:checked ~ .toggle-track { background: rgba(0, 212, 255, 0.3); border-color: var(--color-cyan); }
.toggle input:checked ~ .toggle-track .toggle-thumb { transform: translateX(20px); }

/* Range slider */
.form-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-cyan) 0%, rgba(0, 212, 255, 0.2) 0%);
  outline: none;
  cursor: pointer;
}
.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: var(--glow-cyan-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.form-range::-webkit-slider-thumb:hover { transform: scale(1.2); box-shadow: var(--glow-cyan); }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  position: relative;
  padding: var(--space-12) 0 var(--space-8);
  border-top: 1px solid var(--border-dim);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  text-align: left;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
[data-theme="light"] .footer-links a { color: rgba(0,0,0,0.5); }
.footer-links a:hover { color: var(--color-cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-dim);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: var(--space-3);
}
[data-theme="light"] .footer-bottom { color: rgba(0,0,0,0.35); }

/* ── Cookie Banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-overlay);
  width: calc(100% - var(--space-8));
  max-width: 600px;
  padding: var(--space-4) var(--space-6);
  background: var(--surface-panel);
  border: 1px solid var(--border-violet);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(168, 85, 247, 0.15);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: var(--text-sm); margin-bottom: var(--space-4); color: rgba(255,255,255,0.7); }
.cookie-banner .btn-group { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ── Pricing Cards ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

.pricing-card {
  padding: var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.pricing-card.featured {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-panel), var(--glow-cyan-sm);
  transform: scale(1.05);
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: var(--space-4);
  right: -28px;
  background: var(--color-cyan);
  color: #050510;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.25rem 2rem;
  transform: rotate(45deg);
  letter-spacing: 0.08em;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--color-cyan);
  text-shadow: var(--glow-cyan-sm);
  line-height: 1;
}
[data-theme="light"] .pricing-price { color: var(--color-cyan-dim); text-shadow: none; }
.pricing-period { font-size: var(--text-sm); color: rgba(255,255,255,0.4); margin-top: var(--space-1); }
.pricing-features { list-style: none; margin: var(--space-6) 0; text-align: left; }
.pricing-features li {
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--border-dim);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features svg { width: 14px; height: 14px; fill: var(--color-green); flex-shrink: 0; }

/* ── Auth Pages ──────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}

.auth-panel {
  width: 100%;
  max-width: 440px;
  padding: var(--space-8);
  text-align: center;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
[data-theme="light"] .auth-title { color: var(--color-cyan-dim); }

.auth-subtitle { font-size: var(--text-sm); color: rgba(255,255,255,0.5); margin-bottom: var(--space-8); }
[data-theme="light"] .auth-subtitle { color: rgba(0,0,0,0.45); }

.auth-form { display: flex; flex-direction: column; gap: var(--space-4); }
.auth-divider { display: flex; align-items: center; gap: var(--space-4); margin: var(--space-4) 0; color: rgba(255,255,255,0.3); font-size: var(--text-sm); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-dim); }
.auth-alt-link { font-size: var(--text-sm); color: rgba(255,255,255,0.5); margin-top: var(--space-4); }
.auth-alt-link a { color: var(--color-cyan); font-weight: 600; }

/* ── Animations ──────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 212, 255, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.3); }
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radar-ping {
  0%, 80% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-dot {
  from { transform: translateX(-50%) rotate(0deg) translateY(-250px) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg) translateY(-250px) rotate(-360deg); }
}

@keyframes scan-line {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

@keyframes star-drift {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-30px) translateX(20px); }
}

@keyframes particle-drift {
  from { opacity: 0.5; transform: translate(0, 0); }
  to { opacity: 1; transform: translate(10px, -10px); }
}

@keyframes rotate-glow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Entrance animations */
.animate-in { animation: fade-in-up 0.6s ease forwards; }
.animate-in-1 { animation: fade-in-up 0.6s 0.1s ease both; }
.animate-in-2 { animation: fade-in-up 0.6s 0.2s ease both; }
.animate-in-3 { animation: fade-in-up 0.6s 0.3s ease both; }
.animate-in-4 { animation: fade-in-up 0.6s 0.4s ease both; }
.animate-in-5 { animation: fade-in-up 0.6s 0.5s ease both; }

/* ── Utility ────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.w-full { width: 100%; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-1 { position: relative; z-index: 1; }

/* Devider line */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-cyan), transparent);
  margin: var(--space-8) 0;
  opacity: 0.4;
}

/* Alert/notification */
.alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-4) 0;
}
.alert-info { background: rgba(0, 212, 255, 0.08); border-color: var(--border-cyan); color: var(--color-cyan); }
.alert-success { background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.3); color: var(--color-green); }
.alert-error { background: rgba(255, 77, 77, 0.08); border-color: rgba(255, 77, 77, 0.3); color: var(--color-red); }
.alert-warning { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.3); color: var(--color-amber); }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
}
.badge-cyan { background: rgba(0, 212, 255, 0.1); color: var(--color-cyan); border-color: rgba(0, 212, 255, 0.3); }
.badge-violet { background: rgba(168, 85, 247, 0.1); color: var(--color-violet); border-color: rgba(168, 85, 247, 0.3); }
.badge-green { background: rgba(34, 197, 94, 0.1); color: var(--color-green); border-color: rgba(34, 197, 94, 0.3); }
.badge-amber { background: rgba(245, 158, 11, 0.1); color: var(--color-amber); border-color: rgba(245, 158, 11, 0.3); }

/* Tabs */
.tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--border-dim); margin-bottom: var(--space-6); }
.tab-btn {
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
[data-theme="light"] .tab-btn { color: rgba(0,0,0,0.4); }
.tab-btn:hover { color: var(--color-cyan); }
.tab-btn.active { color: var(--color-cyan); border-bottom-color: var(--color-cyan); }

/* Toast notification */
.toast {
  position: fixed;
  top: 100px;
  right: var(--space-6);
  z-index: var(--z-overlay);
  padding: var(--space-3) var(--space-4);
  background: var(--surface-panel);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-panel);
  animation: fade-in-up 0.3s ease;
  display: none;
}
.toast.show { display: block; }
