/* ==========================================================================
   GIT-init Design System — Obsidian & Electric Amber / Gold Palette
   Supports Both Dark Theme (Default) and Refined Light Theme
   ========================================================================== */

:root,
[data-theme="dark"] {
  /* Dark Theme Tokens — Deep Obsidian & Radiant Amber / Gold */
  --bg-deep: #06070A;
  --bg-surface: #0B0D14;
  --bg-surface-elevated: #121520;
  --bg-card: rgba(15, 18, 27, 0.78);
  --bg-card-hover: rgba(22, 26, 39, 0.9);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold-subtle: rgba(245, 158, 11, 0.22);
  --border-gold: rgba(245, 158, 11, 0.45);
  --border-gold-active: rgba(251, 191, 36, 0.75);

  /* Primary Electric Gold / Amber Accent */
  --accent-gold: #F59E0B;
  --accent-gold-light: #FBBF24;
  --accent-gold-bright: #FCD34D;
  --accent-gold-dark: #D97706;
  --accent-amber-glow: rgba(245, 158, 11, 0.4);

  /* Complementary Accents */
  --accent-cyan: #38BDF8;
  --accent-cyan-light: #7DD3FC;
  --accent-emerald: #10B981;
  --accent-emerald-light: #34D399;
  --accent-orange: #FB923C;

  /* Typography Colors */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --text-code: #F1F5F9;

  /* Typography Fonts */
  --font-display: 'Outfit', 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Elevation & Glow Shadows */
  --shadow-glow-gold: 0 0 35px rgba(245, 158, 11, 0.35);
  --shadow-glow-cyan: 0 0 30px rgba(56, 189, 248, 0.25);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.35);
  --shadow-card: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-subtle);
  --shadow-card-hover: 0 22px 50px -10px rgba(245, 158, 11, 0.22), 0 0 0 1px var(--border-gold-active);

  /* Layout */
  --max-width: 1240px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Light Theme Tokens ([data-theme="light"])
   Crisp, modern, high-contrast light theme with rich amber & gold accents
   ========================================================================== */
[data-theme="light"] {
  --bg-deep: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #FFFFFF;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-gold-subtle: rgba(217, 119, 6, 0.25);
  --border-gold: rgba(217, 119, 6, 0.5);
  --border-gold-active: rgba(217, 119, 6, 0.85);

  --accent-gold: #D97706;
  --accent-gold-light: #B45309;
  --accent-gold-bright: #F59E0B;
  --accent-gold-dark: #92400E;
  --accent-amber-glow: rgba(217, 119, 6, 0.22);

  --accent-cyan: #0284C7;
  --accent-cyan-light: #0369A1;
  --accent-emerald: #059669;
  --accent-emerald-light: #047857;
  --accent-orange: #EA580C;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-faint: #64748B;
  --text-code: #1E293B;

  --shadow-glow-gold: 0 0 25px rgba(217, 119, 6, 0.2);
  --shadow-glow-cyan: 0 0 20px rgba(2, 132, 199, 0.15);
  --shadow-glow-emerald: 0 0 20px rgba(5, 150, 105, 0.2);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 18px 40px -8px rgba(217, 119, 6, 0.18), 0 0 0 1px var(--border-gold-active);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--text-main);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Cyber Grid */
.cyber-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .cyber-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

/* Ambient Radial Glow Blobs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: transform 0.2s ease-out, opacity 0.3s ease;
}

.glow-gold-center {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 60%);
}

.glow-cyan-corner {
  top: 45%;
  right: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10) 0%, transparent 70%);
}

.glow-amber-bottom {
  bottom: 0%;
  left: 10%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .glow-gold-center {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.10) 0%, transparent 70%);
}

[data-theme="light"] .glow-cyan-corner {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.07) 0%, transparent 70%);
}

[data-theme="light"] .glow-amber-bottom {
  background: radial-gradient(circle, rgba(217, 119, 6, 0.07) 0%, transparent 70%);
}

/* Centerpiece Glowing Lightning Geometry */
.lightning-graphic-wrap {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 700px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
}

[data-theme="light"] .lightning-graphic-wrap {
  opacity: 0.12;
}

.lightning-svg {
  width: 100%;
  height: 100%;
}

/* Interactive Particles Canvas */
#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-container.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Intro Video Overlay Screen
   ========================================================================== */
#intro-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #040507;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), filter 0.75s ease, transform 0.75s ease;
}

#intro-screen.fade-out {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(14px);
  pointer-events: none;
}

#intro-screen.hidden {
  display: none !important;
}

.intro-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-hud {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 40px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(4, 5, 8, 0.7) 0%, transparent 25%, transparent 75%, rgba(4, 5, 8, 0.9) 100%);
  z-index: 20;
}

.intro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(15, 18, 28, 0.85);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.intro-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
  animation: pulse-ring 1.8s infinite;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}

.btn-intro-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.btn-intro-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-skip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.25) 100%);
  border: 1px solid var(--border-gold-active);
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}

.btn-skip:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.45) 0%, rgba(217, 119, 6, 0.45) 100%);
  border-color: var(--accent-gold-light);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.intro-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.intro-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.intro-progress-bar-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.intro-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F59E0B, #FBBF24, #38BDF8);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.8);
  transition: width 0.1s linear;
}

/* ==========================================================================
   Navigation Bar (Persistent Across All Pages & Views)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(6, 7, 10, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 10, 16, 0.95);
  border-bottom-color: var(--border-gold-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.88);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border-gold-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  user-select: none;
}

.brand-logo:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.45));
}

.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 165px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

/* Default & Dark Theme: show dark logo, hide light logo */
.brand-logo-img.logo-dark {
  display: block;
}

.brand-logo-img.logo-light {
  display: none;
}

/* Light Theme: show light logo, hide dark logo */
[data-theme="light"] .brand-logo-img.logo-dark {
  display: none !important;
}

[data-theme="light"] .brand-logo-img.logo-light {
  display: block !important;
}

/* Footer logo sizing */
.site-footer .brand-logo-img {
  height: 38px;
}

/* Center Nav Menus */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 5px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  list-style: none;
}

[data-theme="light"] .nav-menu {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .nav-link:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.06);
}

.nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.2) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

[data-theme="light"] .nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-color: #D97706;
  box-shadow: 0 0 14px rgba(217, 119, 6, 0.35);
}

/* ==========================================================================
   Visualizer Dropdown Menu — ZERO-GAP HOVER BRIDGE & CLICK RELIABILITY
   ========================================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #0E1018;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 25px rgba(245, 158, 11, 0.2);
  padding: 8px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 250;
  margin-top: 6px;
}

/* Invisible hover bridge pseudo element */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

[data-theme="light"] .dropdown-menu {
  background: #FFFFFF;
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 20px rgba(217, 119, 6, 0.15);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  transition: var(--transition-fast);
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(245, 158, 11, 0.14);
  color: var(--text-main);
}

[data-theme="light"] .dropdown-item:hover {
  background: rgba(245, 158, 11, 0.12);
}

.dropdown-item-desc {
  display: flex;
  flex-direction: column;
}

.dropdown-item-desc strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.dropdown-item-desc span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Top Right Nav Controls: Theme Toggle Button
   ========================================================================== */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--accent-gold-light);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--border-gold);
  transform: scale(1.06);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode: show Sun icon */
.theme-toggle-btn .sun-icon {
  display: block;
}

.theme-toggle-btn .moon-icon {
  display: none;
}

/* Light mode: show Moon icon */
[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: block;
  color: #0F172A;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0F172A;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(217, 119, 6, 0.12);
  border-color: var(--border-gold);
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.2);
}

/* ==========================================================================
   SPA View Container & Embedded Workspace Frames
   ========================================================================== */
.view-panel {
  display: none;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
}

.view-panel.active-view {
  display: block;
}

.view-iframe-wrapper {
  width: 100%;
  height: calc(100vh - var(--header-height));
  border: none;
  background: var(--bg-deep);
}

.embedded-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================================
   Hero Section — FIXED LAYOUT SHIFT (align-items: start & fixed card heights)
   ========================================================================== */
.hero-section {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 80px;
  display: grid;
  grid-template-columns: 1.15fr 1.05fr;
  gap: 48px;
  align-items: start;
  /* FIXED: Left column NEVER moves vertically! */
}

/* Hero Left Column */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  align-self: flex-start;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-pill-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3.5s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-transform: uppercase;
}

.hero-title .glow-text {
  background: linear-gradient(135deg, #FDE047 10%, #F59E0B 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.55));
  display: inline-block;
}

[data-theme="light"] .hero-title .glow-text {
  background: linear-gradient(135deg, #D97706 10%, #F59E0B 50%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(217, 119, 6, 0.35));
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 540px;
}

.code-pill {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.95em;
  color: var(--accent-gold-light);
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #06070A;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .btn-primary {
  color: #FFFFFF;
}

.btn-primary .arrow-icon {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(14, 18, 28, 0.7);
  backdrop-filter: blur(12px);
  color: #E2E8F0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(22, 28, 42, 0.85);
  border-color: var(--border-gold-active);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

[data-theme="light"] .btn-secondary {
  background: #FFFFFF;
  color: #0F172A;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .btn-secondary:hover {
  background: #F8FAFC;
  border-color: var(--border-gold);
  color: #D97706;
}

/* Stats Row */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.stat-item strong {
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-display);
}

.stat-icon {
  color: var(--accent-gold-light);
  font-size: 1.1rem;
}

/* ==========================================================================
   Hero Right Column: Terminal & Visualizer Cards
   Fixed card height ensures zero layout jump
   ========================================================================== */
.hero-visuals {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 10;
}

/* Terminal Card (Fixed Height: 248px) */
.terminal-card {
  background: rgba(12, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  height: 248px;
  /* FIXED HEIGHT */
  display: flex;
  flex-direction: column;
}

.terminal-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .terminal-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

[data-theme="light"] .terminal-header {
  background: #F8FAFC;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red {
  background: #EF4444;
}

.dot-yellow {
  background: #F59E0B;
}

.dot-green {
  background: #10B981;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
}

.badge-live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-ring 1.5s infinite;
}

.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: 100%;
}

.terminal-prompt-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}

.prompt-user {
  color: var(--text-muted);
}

.prompt-at {
  color: var(--text-faint);
}

.prompt-host {
  color: var(--accent-gold-light);
  font-weight: 600;
}

.prompt-path {
  color: var(--accent-cyan);
}

.terminal-cmd-text {
  color: var(--text-main);
  font-weight: 600;
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--accent-gold-light);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

.terminal-output {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #CBD5E1;
  font-size: 0.84rem;
  height: 52px;
  /* FIXED HEIGHT FOR OUTPUT */
  overflow: hidden;
  justify-content: center;
}

[data-theme="light"] .terminal-output {
  color: #334155;
}

.output-success {
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.output-info {
  color: var(--text-muted);
}

.terminal-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  flex-shrink: 0;
}

.term-pill {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.term-pill-branch {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
}

[data-theme="light"] .term-pill-branch {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(217, 119, 6, 0.35);
  color: #B45309;
}

.term-pill-head {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

[data-theme="light"] .term-pill-head {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

/* Branch Visualization Card (Fixed Height: 248px) */
.branch-card {
  background: rgba(12, 14, 22, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  height: 248px;
  /* FIXED HEIGHT */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.branch-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .branch-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.branch-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.branch-card-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.branch-interactive-hint {
  font-size: 0.75rem;
  color: var(--accent-gold-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.branch-interactive-hint:hover {
  text-decoration: underline;
}

/* SVG Branch Diagram */
.branch-svg-container {
  width: 100%;
  height: 120px;
  position: relative;
}

.branch-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Branch paths */
.path-main {
  stroke: var(--accent-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

.path-feature {
  stroke: var(--accent-cyan);
  stroke-width: 2.5;
  stroke-dasharray: 6 5;
  stroke-linecap: round;
  fill: none;
  animation: dash 12s linear infinite;
}

/* Commit Nodes */
.commit-node {
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.commit-node:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px #FBBF24);
}

.node-outer {
  stroke-width: 2;
  transition: all 0.3s ease;
}

[data-theme="light"] .commit-node circle.node-outer {
  fill: #FFFFFF !important;
}

.node-inner {
  transition: all 0.3s ease;
}

.node-head-pulse {
  animation: pulse-ring 2s infinite;
  transform-origin: center;
}

.branch-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

[data-theme="light"] .branch-legend {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-gold {
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.dot-cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.dot-emerald {
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* ==========================================================================
   Section: WHY GIT-INIT ("Built Different")
   ========================================================================== */
.section-why {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 90px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold-subtle);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

[data-theme="light"] .feature-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .feature-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.14);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.08);
}

.feature-card:nth-child(1) .feature-icon-wrapper {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--border-gold);
  color: #FBBF24;
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7DD3FC;
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34D399;
}

.feature-card:nth-child(4) .feature-icon-wrapper {
  background: rgba(251, 146, 60, 0.12);
  border-color: rgba(251, 146, 60, 0.35);
  color: #FB923C;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.feature-description {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.feature-action-link {
  margin-top: auto;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.feature-card:hover .feature-action-link {
  gap: 10px;
}

/* ==========================================================================
   Section: THE GIT SUITE — All Files in One Place
   ========================================================================== */
.section-ecosystem {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 100px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.suite-card {
  background: rgba(15, 18, 27, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  text-decoration: none;
  color: var(--text-main);
  cursor: pointer;
}

.suite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.suite-card:hover {
  background: rgba(22, 26, 39, 0.88);
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.2);
}

.suite-card:hover::before {
  opacity: 1;
}

[data-theme="light"] .suite-card {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .suite-card:hover {
  background: #FFFFFF;
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.14);
}

.suite-badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-viz {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
}

.badge-play {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
}

.badge-oss {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
}

.suite-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
}

.suite-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.suite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.suite-tag {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #94A3B8;
}

[data-theme="light"] .suite-tag {
  background: rgba(0, 0, 0, 0.04);
  color: #475569;
}

.suite-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-top: 8px;
  transition: all var(--transition-fast);
}

.suite-card:hover .suite-launch-btn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.3) 100%);
  border-color: var(--border-gold-active);
  color: #FFFFFF;
}

[data-theme="light"] .suite-launch-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: #0F172A;
}

[data-theme="light"] .suite-card:hover .suite-launch-btn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.18) 100%);
  color: #92400E;
  border-color: var(--border-gold);
}

/* ==========================================================================
   Learn Curriculum Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(14px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: #0E1018;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.25);
  overflow: hidden;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-content {
  transform: scale(1) translateY(0);
}

[data-theme="light"] .modal-content {
  background: #FFFFFF;
  border-color: var(--border-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  color: #0F172A;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .modal-header {
  background: #F8FAFC;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.curriculum-module {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

[data-theme="light"] .curriculum-module {
  background: #F8FAFC;
  border-color: rgba(0, 0, 0, 0.06);
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.module-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold-light);
  border: 1px solid var(--border-gold-subtle);
}

.module-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.lessons-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
}

.lesson-pill {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  color: var(--text-code);
  text-decoration: none;
  cursor: pointer;
}

.lesson-pill:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--border-gold);
  color: var(--text-main);
}

[data-theme="light"] .lesson-pill {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  color: #1E293B;
}

[data-theme="light"] .lesson-pill:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--border-gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 6, 9, 0.95);
  padding: 50px 24px 30px;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

[data-theme="light"] .site-footer {
  background: #FFFFFF;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
}

.footer-link:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  color: var(--text-faint);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.35);
    opacity: 0.4;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.9;
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 36px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .intro-hud {
    padding: 20px;
  }
}