/* ==========================================================================
   PLUS CHRONOMTER — LAYOUT & STRUCTURAL STYLES
   ========================================================================== */

/* Page Wrapper */
.site-wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container — Expansive High-Impact Layout (1720px) */
.container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-wide {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --------------------------------------------------------------------------
   Top Industrial Telemetry HUD Bar
   -------------------------------------------------------------------------- */
.top-hud-bar {
  background: rgba(3, 7, 18, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 24px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color var(--transition-normal);
}

[data-theme="light"] .top-hud-bar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.hud-telemetry-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
}

.hud-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.hud-ticker-item strong {
  color: var(--text-white);
  font-weight: 600;
}

.hud-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-status-active);
  box-shadow: 0 0 10px var(--color-status-active);
  animation: pulseGlow 1.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 2px 10px;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.hud-btn:hover {
  color: var(--color-laser-cyan);
  border-color: var(--color-laser-cyan);
  background: var(--color-laser-cyan-dim);
}

/* --------------------------------------------------------------------------
   Main Navigation
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(7, 13, 29, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

[data-theme="light"] .main-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.main-header.scrolled {
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(59, 89, 152, 0.2);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-white);
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 0 15px rgba(59, 89, 152, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00f0ff;
  font-weight: 800;
  font-size: 1.3rem;
  font-family: var(--font-display);
  overflow: hidden;
}

.brand-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

[data-theme="light"] .brand-logo-icon {
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 89, 152, 0.35);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.brand-title span {
  color: var(--color-brand-blue-light);
}

[data-theme="dark"] .brand-title span {
  color: var(--color-laser-cyan);
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-blue), var(--color-laser-cyan));
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--color-brand-blue);
}

[data-theme="dark"] .nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 8px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 56px 0 60px;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(56, 189, 248, 0.14) 0%, rgba(59, 89, 152, 0.16) 45%, rgba(42, 65, 112, 0.20) 75%, transparent 100%);
  transition: background var(--transition-normal);
}

[data-theme="light"] .hero-section {
  background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(59, 89, 152, 0.08) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(59, 89, 152, 0.06);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--color-brand-blue);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(59, 89, 152, 0.1);
}

[data-theme="dark"] .hero-badge-live {
  background: rgba(0, 240, 255, 0.08);
  color: var(--color-laser-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

/* Hero Title */
.hero-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 24px;
}

[data-theme="light"] .hero-title {
  color: #0f172a;
}

.hero-title-highlight {
  display: inline;
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  filter: none;
}

[data-theme="light"] .hero-title-highlight {
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  filter: none;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 38px;
  line-height: 1.7;
}

.hero-cta-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-stat-card:hover .stat-icon {
  transform: translateY(-2px) scale(1.05);
}

.stat-icon-cyan {
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-laser-cyan, #00f0ff);
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.stat-icon-emerald {
  background: rgba(0, 255, 157, 0.1);
  color: #00ff9d;
  border: 1px solid rgba(0, 255, 157, 0.28);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.1);
}

.stat-icon-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.stat-icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
}

[data-theme="light"] .stat-icon-cyan {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: none;
}

[data-theme="light"] .stat-icon-emerald {
  background: rgba(5, 150, 105, 0.08);
  color: #059669;
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: none;
}

[data-theme="light"] .stat-icon-blue {
  background: rgba(59, 89, 152, 0.07);
  color: var(--color-brand-blue, #3b5998);
  border-color: rgba(59, 89, 152, 0.22);
  box-shadow: none;
}

[data-theme="light"] .stat-icon-amber {
  background: rgba(217, 119, 6, 0.08);
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: none;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  transition: color 0.3s ease;
}

[data-theme="light"] .hero-stat-num {
  color: #0f172a;
}

.hero-stat-num span {
  color: var(--color-brand-blue);
  font-size: 1.1rem;
}

[data-theme="dark"] .hero-stat-num span {
  color: var(--color-laser-cyan);
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 5px;
  line-height: 1.3;
}

/* Hero Showcase Visual */
.hero-visual-wrapper {
  position: relative;
}

/* Hero Showcase Presentation Stage (Authentic Live ERP Dashboards) */
.hero-visual-wrapper {
  position: relative;
}

/* ==========================================================================
   HERO 3D FLOATING WORKSTATION STAGE & INTERACTIVE 3D DECK
   Luminous cyber-glass 3D perspective display with zero visual conflict,
   full-resolution uncropped ERP screenshots, 3D floating HUD chips,
   and interactive thumbnail switcher deck.
   ========================================================================== */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Ambient Luminous Glow Field (Eliminates pitch-black backing) */
.hero-stage-ambient-glow {
  position: absolute;
  inset: -6%;
  background: radial-gradient(ellipse at 50% 40%, rgba(0, 240, 255, 0.22) 0%, rgba(59, 130, 246, 0.14) 40%, rgba(139, 92, 246, 0.06) 65%, transparent 80%);
  filter: blur(65px);
  pointer-events: none;
  z-index: 0;
  animation: ambientGlowPulse 8s ease-in-out infinite alternate;
}

[data-theme="light"] .hero-stage-ambient-glow {
  background: radial-gradient(ellipse at 50% 40%, rgba(37, 99, 235, 0.16) 0%, rgba(0, 240, 255, 0.12) 45%, transparent 75%);
  filter: blur(55px);
}

@keyframes ambientGlowPulse {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

/* 3D Perspective Stage */
.hero-3d-stage {
  position: relative;
  width: 100%;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  transform-style: preserve-3d;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 4px;
}

/* Main Luminous 3D Glass Workstation Window */
.hero-3d-display-window {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  /* Luminous translucent cyber-glass with light reflection */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(20, 42, 85, 0.42) 45%, rgba(8, 18, 42, 0.68) 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.5);
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.6),
              0 0 35px rgba(0, 240, 255, 0.2),
              inset 0 1.5px 2px rgba(255, 255, 255, 0.55),
              inset 0 -1px 2px rgba(0, 240, 255, 0.25);
  backdrop-filter: blur(24px) saturate(175%);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
  transform-style: preserve-3d;
  transform: rotateY(-3.5deg) rotateX(2deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease, 
              border-color 0.4s ease;
  overflow: hidden;
}

[data-theme="light"] .hero-3d-display-window {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(241, 245, 249, 0.88) 55%, rgba(226, 232, 240, 0.85) 100%);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12),
              0 6px 24px rgba(37, 99, 235, 0.14),
              inset 0 2px 2px rgba(255, 255, 255, 0.95);
}

.hero-3d-display-window:hover {
  transform: rotateY(-1deg) rotateX(1deg) translateZ(10px);
  border-color: rgba(0, 240, 255, 0.75);
  box-shadow: 0 36px 95px rgba(0, 0, 0, 0.7),
              0 0 50px rgba(0, 240, 255, 0.32);
}

[data-theme="light"] .hero-3d-display-window:hover {
  border-color: var(--color-brand-blue);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2),
              0 8px 32px rgba(37, 99, 235, 0.25);
}

/* Window Chrome Header Bar */
.hero-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 240, 255, 0.05) 50%, rgba(255, 255, 255, 0.03) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  user-select: none;
}

[data-theme="light"] .hero-window-header {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 246, 255, 0.9) 100%);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.hero-window-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); }
.dot-amber { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); }
.dot-green { background: #10b981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.4); }

.hero-window-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 3px 12px;
  border-radius: 999px;
}

[data-theme="light"] .hero-window-badge {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}

.window-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: beaconPulse 1.8s infinite;
}

.hero-window-tag {
  color: var(--color-laser-cyan);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: opacity 0.2s ease;
}

[data-theme="light"] .hero-window-tag {
  color: var(--color-brand-blue);
}

.hero-window-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-window-res {
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.btn-hero-inspect {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.72rem;
}

.btn-hero-inspect:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--color-laser-cyan);
  color: var(--color-laser-cyan);
  transform: scale(1.08);
}

[data-theme="light"] .btn-hero-inspect {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #475569;
}

[data-theme="light"] .btn-hero-inspect:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
}

/* Screen Viewport: Light Ambient Cyan Backing (Zero pitch black, 100% full fit) */
.hero-screen-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  background: radial-gradient(circle at 50% 45%, rgba(0, 240, 255, 0.12) 0%, rgba(14, 28, 62, 0.45) 60%, rgba(6, 14, 32, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

[data-theme="light"] .hero-screen-viewport {
  background: radial-gradient(circle at 50% 45%, rgba(37, 99, 235, 0.08) 0%, rgba(241, 245, 249, 0.92) 65%, rgba(226, 232, 240, 0.98) 100%);
}

.hero-screen-active-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Guarantees 100% full view, zero cutoff or distortion */
  display: block;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  user-select: none;
}

.hero-screen-glass-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 25%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

[data-theme="light"] .hero-screen-glass-sheen {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.08) 30%, transparent 65%);
}

/* Active Screen Info Footer Bar */
.hero-screen-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(3, 8, 22, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

[data-theme="light"] .hero-screen-info-bar {
  background: rgba(255, 255, 255, 0.95);
  border-top-color: rgba(0, 0, 0, 0.08);
}

.hero-screen-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.2s ease;
}

.hero-screen-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.screen-pill, .screen-pill-green {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.screen-pill {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--color-laser-cyan);
}

[data-theme="light"] .screen-pill {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--color-brand-blue);
}

.screen-pill-green {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* 3D Spatial Floating HUD Chips (Non-Conflicting, Positioned Outside Viewport) */
.hero-3d-hud-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 11, 28, 0.88);
  border: 1.5px solid rgba(0, 240, 255, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 10;
  pointer-events: none;
  transition: transform 0.3s ease;
}

[data-theme="light"] .hero-3d-hud-float {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.5);
  color: #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(37, 99, 235, 0.16);
}

.hud-float-top {
  top: 4px;
  right: -12px;
  transform: translateZ(48px) rotate(-1.5deg);
  animation: hudFloatBob1 6s ease-in-out infinite alternate;
}

.hud-float-bottom {
  bottom: 2px;
  left: -12px;
  transform: translateZ(56px) rotate(1.5deg);
  animation: hudFloatBob2 7s ease-in-out infinite alternate;
}

@media (max-width: 991px) {
  .hud-float-top {
    right: 8px;
    top: -10px;
  }
  .hud-float-bottom {
    left: 8px;
    bottom: -10px;
  }
}

.hud-float-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-laser-cyan);
  box-shadow: 0 0 8px var(--color-laser-cyan);
}

.hud-float-dot.green {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

@keyframes hudFloatBob1 {
  0% { transform: translateZ(48px) translateY(0px) rotate(-1.5deg); }
  100% { transform: translateZ(54px) translateY(-7px) rotate(-0.5deg); }
}

@keyframes hudFloatBob2 {
  0% { transform: translateZ(56px) translateY(0px) rotate(1.5deg); }
  100% { transform: translateZ(62px) translateY(6px) rotate(2.2deg); }
}

/* Interactive 3D Thumbnail Switcher Deck */
.hero-3d-deck-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  z-index: 5;
}

.hero-deck-arrow {
  background: rgba(5, 12, 30, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 0.8rem;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.hero-deck-arrow:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--color-laser-cyan);
  color: var(--color-laser-cyan);
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

[data-theme="light"] .hero-deck-arrow {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.25);
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hero-deck-arrow:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: var(--color-brand-blue);
  color: var(--color-brand-blue);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

.hero-deck-thumbnails {
  display: flex;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  padding: 4px 2px;
  scrollbar-width: none;
  align-items: center;
}
.hero-deck-thumbnails::-webkit-scrollbar {
  display: none;
}

@media (max-width: 900px) {
  .hero-deck-thumbnails {
    overflow-x: auto;
  }
  .hero-deck-thumb {
    flex: 0 0 72px;
    min-width: 72px;
  }
}

@media (max-width: 540px) {
  .hero-deck-thumb {
    flex: 0 0 66px;
    min-width: 66px;
  }
}

.hero-deck-thumb {
  flex: 1 1 0px;
  min-width: 58px;
  max-width: 105px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(10, 22, 48, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(0);
}

.hero-deck-thumb:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(0, 240, 255, 0.25);
}

.hero-deck-thumb.active {
  border-color: var(--color-laser-cyan);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 240, 255, 0.55);
  transform: translateY(-4px);
}

[data-theme="light"] .hero-deck-thumb {
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .hero-deck-thumb:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .hero-deck-thumb.active {
  border-color: var(--color-brand-blue);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.hero-deck-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: filter 0.25s ease;
}

.hero-deck-thumb.active img,
.hero-deck-thumb:hover img {
  filter: brightness(1.08);
}

.hero-deck-thumb-num {
  position: absolute;
  bottom: 2px;
  left: 4px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  background: rgba(3, 8, 20, 0.85);
  color: var(--color-laser-cyan);
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1;
}

[data-theme="light"] .hero-deck-thumb-num {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-brand-blue);
}

/* Auto-Cycle Progress Bar */
.hero-deck-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}

[data-theme="light"] .hero-deck-progress-track {
  background: rgba(0, 0, 0, 0.08);
}

.hero-deck-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-brand-blue), var(--color-laser-cyan));
  box-shadow: 0 0 8px var(--color-laser-cyan);
  transition: width 0.05s linear;
}

[data-theme="light"] .hero-deck-progress-bar {
  background: linear-gradient(90deg, #2563eb, #00f0ff);
}

/* Fallback for legacy preview card */
.hero-preview-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  transform: perspective(1000px) rotateY(-4deg) rotateX(3deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-preview-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-preview-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating-hud {
  position: absolute;
  backdrop-filter: var(--glass-blur);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(59, 89, 152, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(59, 89, 152, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  animation: floatHUD 4s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero-floating-hud {
  background: rgba(7, 13, 29, 0.85);
  border-color: var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
}

.hero-hud-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hero-hud-label.laser-label {
  color: var(--color-brand-blue);
}

[data-theme="dark"] .hero-hud-label.laser-label {
  color: var(--color-laser-cyan);
}

.hero-hud-label.nesting-label {
  color: #047857;
}

[data-theme="dark"] .hero-hud-label.nesting-label {
  color: var(--color-status-active);
}

.hero-hud-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-hud-icon {
  font-size: 1.25rem;
  color: #047857;
}

[data-theme="dark"] .hero-hud-icon {
  color: var(--color-status-active);
}

.hero-floating-hud.bottom-left {
  bottom: -25px;
  left: -20px;
}

.hero-floating-hud.top-right {
  top: -20px;
  right: -20px;
  animation-delay: -2s;
}

@keyframes floatHUD {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   Section Layouts
   -------------------------------------------------------------------------- */
.section {
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 28px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-blue);
  margin-bottom: 12px;
}

[data-theme="dark"] .section-tag {
  color: var(--color-laser-cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 0;
}

.section-description {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: transparent;
  border-top: 1px solid rgba(59, 89, 152, 0.15);
  padding: 48px 0 28px;
  position: relative;
  z-index: 10;
  transition: background-color var(--transition-normal);
}

[data-theme="dark"] .site-footer,
[data-theme="light"] .site-footer {
  background: transparent;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-brand-blue);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(59, 89, 152, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

[data-theme="dark"] .footer-social-link {
  background: rgba(255, 255, 255, 0.05);
}

.footer-social-link:hover {
  color: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  background: var(--color-laser-cyan-dim);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container, .container-wide {
    padding: 0 16px;
  }
  .hero-section {
    padding: 36px 0 40px;
  }
  .section {
    padding: 36px 0;
  }
  .section-header {
    margin: 0 auto 20px;
  }
  .site-footer {
    padding: 36px 0 20px;
  }
  .top-hud-bar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  @media (max-width: 480px) {
    .hero-stats-row {
      grid-template-columns: 1fr;
    }
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .hero-preview-card,
  .hero-presentation-card,
  .hero-bubbles-container {
    transform: none;
  }
  .hero-floating-hud {
    display: none;
  }
}

/* ==========================================================================
   DYNAMIC CHROMATIC AURORA BACKDROP & CYBER TACTILE MESH
   Multi-layered luminous energy orbs & high-detail blueprint dot matrix
   ========================================================================== */
.cyber-aurora-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #060f26 0%, #030712 65%, #01040a 100%);
  transition: background var(--transition-normal);
}

[data-theme="light"] .cyber-aurora-backdrop {
  background: radial-gradient(ellipse at 50% 0%, #f0f6ff 0%, #f8fafc 70%, #ffffff 100%);
}

/* Floating Chromatic Aurora Orbs (Hardware-Accelerated Zero-Lag Rendering) */
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px) saturate(170%);
  opacity: 0.78;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Orb 1: Electric Laser Cyan (Hero Focus & Top Ambient Glow) */
.aurora-orb-1 {
  width: 65vw;
  height: 55vh;
  top: -15vh;
  left: 8vw;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.42) 0%, rgba(0, 240, 255, 0.20) 30%, rgba(0, 240, 255, 0.05) 55%, rgba(0, 240, 255, 0) 70%);
  animation: auroraFloat1 22s ease-in-out infinite alternate;
}

/* Orb 2: Radiant Royal Blue & Deep Sapphire (Top-Right / Presentation Deck Glow) */
.aurora-orb-2 {
  width: 58vw;
  height: 60vh;
  top: 2vh;
  right: -8vw;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.44) 0%, rgba(59, 89, 152, 0.22) 32%, rgba(59, 89, 152, 0.06) 55%, rgba(59, 89, 152, 0) 70%);
  animation: auroraFloat2 26s ease-in-out infinite alternate;
}

/* Orb 3: Holographic Neon Violet & Electric Purple (Mid-Left Floating Aura) */
.aurora-orb-3 {
  width: 52vw;
  height: 52vh;
  top: 32vh;
  left: -6vw;
  background: radial-gradient(circle at center, rgba(168, 85, 247, 0.38) 0%, rgba(139, 92, 246, 0.18) 30%, rgba(139, 92, 246, 0.05) 55%, rgba(139, 92, 246, 0) 70%);
  animation: auroraFloat3 30s ease-in-out infinite alternate;
}

/* Orb 4: Laser Emerald Green (Center-Right Factory Twin Glow) */
.aurora-orb-4 {
  width: 48vw;
  height: 48vh;
  top: 50vh;
  right: 12vw;
  background: radial-gradient(circle at center, rgba(0, 255, 157, 0.30) 0%, rgba(16, 185, 129, 0.14) 30%, rgba(16, 185, 129, 0.04) 55%, rgba(16, 185, 129, 0) 70%);
  animation: auroraFloat4 25s ease-in-out infinite alternate;
}

/* Orb 5: Radiant Electric Sapphire & Laser Cyan Glint (Bottom Ambient Core) */
.aurora-orb-5 {
  width: 42vw;
  height: 42vh;
  bottom: -8vh;
  left: 28vw;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.28) 0%, rgba(3, 105, 161, 0.12) 30%, rgba(3, 105, 161, 0.03) 55%, rgba(3, 105, 161, 0) 70%);
  animation: auroraFloat5 34s ease-in-out infinite alternate;
}

/* Light Theme Softened Chromatic Orbs */
[data-theme="light"] .aurora-orb {
  opacity: 0.58;
  filter: blur(18px) saturate(145%);
}
[data-theme="light"] .aurora-orb-1 {
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.22) 0%, rgba(2, 132, 199, 0.08) 35%, rgba(2, 132, 199, 0) 70%);
}
[data-theme="light"] .aurora-orb-2 {
  background: radial-gradient(circle at center, rgba(59, 89, 152, 0.24) 0%, rgba(59, 89, 152, 0.08) 35%, rgba(59, 89, 152, 0) 70%);
}
[data-theme="light"] .aurora-orb-3 {
  background: radial-gradient(circle at center, rgba(147, 51, 234, 0.18) 0%, rgba(147, 51, 234, 0.06) 35%, rgba(147, 51, 234, 0) 70%);
}
[data-theme="light"] .aurora-orb-4 {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.16) 0%, rgba(16, 185, 129, 0.05) 35%, rgba(16, 185, 129, 0) 70%);
}
[data-theme="light"] .aurora-orb-5 {
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.17) 0%, rgba(14, 165, 233, 0.05) 35%, rgba(14, 165, 233, 0) 70%);
}

/* Blueprint Dot-Matrix Overlay (Tactile High-Detail Engineering Texture) */
.cyber-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(0, 240, 255, 0.16) 1px, transparent 0),
    linear-gradient(to right, rgba(0, 240, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px, 72px 72px, 72px 72px;
  background-position: 0 0, 0 0, 0 0;
  opacity: 0.85;
  pointer-events: none;
}

[data-theme="light"] .cyber-grid-overlay {
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(59, 89, 152, 0.11) 1px, transparent 0),
    linear-gradient(to right, rgba(59, 89, 152, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 89, 152, 0.025) 1px, transparent 1px);
  opacity: 0.65;
}

/* Ultra-Fine Micro Scanline Shimmer */
.cyber-scanline-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 240, 255, 0.02) 3px,
    rgba(0, 240, 255, 0.02) 4px
  );
  pointer-events: none;
  opacity: 0.85;
}

/* Keyframe Animations for Organic Floating Aurora Drifts (Hardware-Accelerated 3D Translation) */
@keyframes auroraFloat1 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(7vw, 9vh, 0); }
  100% { transform: translate3d(-6vw, 4vh, 0); }
}

@keyframes auroraFloat2 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-9vw, -7vh, 0); }
  100% { transform: translate3d(5vw, 8vh, 0); }
}

@keyframes auroraFloat3 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(8vw, -9vh, 0); }
  100% { transform: translate3d(-5vw, 6vh, 0); }
}

@keyframes auroraFloat4 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-7vw, 7vh, 0); }
  100% { transform: translate3d(6vw, -6vh, 0); }
}

@keyframes auroraFloat5 {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(9vw, -6vh, 0); }
  100% { transform: translate3d(-7vw, -4vh, 0); }
}

/* ==========================================================================
   BOOM & BLOOM DESIGN INSPIRATION — AMBIENT ARCHITECTURE & PHYSICS
   ========================================================================== */

/* Full-Screen 3D WebGL Background Canvas (Boom & Bloom Inspiration) */
#webgl-3d-canvas,
#blooming-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  display: block;
}

/* Architectural 4-Column Guide Grid */
.architectural-grid-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.architectural-grid-col {
  flex: 0 0 25%;
  height: 100%;
  border-right: 1px solid var(--grid-line);
  position: relative;
  transition: border-color var(--transition-normal);
}

.architectural-grid-col:last-child {
  border-right: none;
}

[data-theme="light"] .architectural-grid-col {
  border-right-color: rgba(59, 89, 152, 0.05);
}

@media (max-width: 768px) {
  .architectural-grid-col {
    flex: 0 0 50%;
  }
  .architectural-grid-col:nth-child(2) {
    border-right: none;
  }
  .architectural-grid-col:nth-child(3),
  .architectural-grid-col:nth-child(4) {
    display: none;
  }
}

/* Rotated Vertical Exploration Indicator (Boom & Bloom style) */
.scroll-explore-indicator {
  position: fixed;
  bottom: 60px;
  left: 28px;
  transform-origin: 0% 50%;
  transform: rotate(-90deg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 70;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.scroll-explore-indicator .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-laser-cyan);
  box-shadow: 0 0 8px var(--color-laser-cyan);
  animation: pulseGlow 2s infinite ease-in-out;
}

[data-theme="light"] .scroll-explore-indicator {
  color: var(--text-secondary);
}

[data-theme="light"] .scroll-explore-indicator .dot {
  background-color: var(--color-brand-blue);
  box-shadow: 0 0 8px rgba(59, 89, 152, 0.4);
}

@media (max-width: 991px) {
  .scroll-explore-indicator {
    display: none;
  }
}

/* Giant Stroke Typography Background Marquee / Watermarks */
.section-stroke-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  overflow: hidden;
}

.stroke-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 14rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
  -webkit-text-stroke: 1.5px rgba(0, 240, 255, 0.12);
  color: transparent;
  opacity: 0.22;
  transform: translateY(0);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-normal);
}

[data-theme="light"] .stroke-text {
  -webkit-text-stroke: 1.5px rgba(59, 89, 152, 0.18);
  opacity: 0.32;
}

/* HoverWord Kinetic Dual-Layer Text Roll (Boom & Bloom Signature Interaction) */
.hover-word {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  line-height: 1.25;
  vertical-align: middle;
}

.hover-word-label-1,
.hover-word-label-2 {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.38s ease;
}

.hover-word-label-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(120%);
  color: var(--color-laser-cyan);
}

[data-theme="light"] .hover-word-label-2 {
  color: var(--color-brand-blue-light);
}

/* Trigger roll when parent link or button is hovered */
a:hover > .hover-word .hover-word-label-1,
button:hover > .hover-word .hover-word-label-1,
a:hover .hover-word .hover-word-label-1,
button:hover .hover-word .hover-word-label-1 {
  transform: translateY(-120%);
}

a:hover > .hover-word .hover-word-label-2,
button:hover > .hover-word .hover-word-label-2,
a:hover .hover-word .hover-word-label-2,
button:hover .hover-word .hover-word-label-2 {
  transform: translateY(0);
}

/* ==========================================================================
   FLOATING BACK-TO-TOP BUTTON WITH PROGRESS RING HUD
   ========================================================================== */
.back-to-top-hud {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(59, 89, 152, 0.25);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  cursor: pointer;
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(59, 89, 152, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.92);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              background-color 0.2s ease;
}

.back-to-top-hud.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top-hud:hover {
  transform: translateY(-4px) scale(1.06);
  border-color: var(--color-brand-blue);
  box-shadow: 0 12px 28px rgba(59, 89, 152, 0.22);
}

[data-theme="dark"] .back-to-top-hud {
  background: rgba(7, 13, 29, 0.88);
  border-color: var(--border-cyan);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .back-to-top-hud:hover {
  border-color: var(--color-laser-cyan);
  box-shadow: 0 0 24px var(--shadow-glow-cyan), 0 10px 30px rgba(0, 0, 0, 0.7);
}

.scroll-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.progress-ring-bg {
  fill: none;
  stroke: rgba(59, 89, 152, 0.12);
  stroke-width: 2.5;
}

[data-theme="dark"] .progress-ring-bg {
  stroke: rgba(0, 240, 255, 0.12);
}

.progress-ring-fill {
  fill: none;
  stroke: var(--color-brand-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.1s ease-out;
}

[data-theme="dark"] .progress-ring-fill {
  stroke: var(--color-laser-cyan);
}

.back-to-top-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-blue);
  font-size: 1.05rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

[data-theme="dark"] .back-to-top-inner {
  color: var(--color-laser-cyan);
}

.back-to-top-hud:hover .back-to-top-inner {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top-hud {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}


