/* ============================================
   NOOBIBUILDS DESIGN SYSTEM — SHARED.CSS
   Shared animations, utilities, and components
   ============================================ */

/* ============================================
   1. AMBIENT EFFECTS (Background Layer)
   ============================================ */

/* Dust Particles Canvas */
#dust-canvas {
  position: fixed;
  inset: 0;
  z-index: var(--z-base);
  pointer-events: none;
  opacity: 0.6;
}

/* Blueprint Grid Drift */
.grid-drift {
  position: fixed;
  inset: -100px;
  z-index: var(--z-ambient);
  pointer-events: none;
  background-image:
    linear-gradient(rgba(201, 149, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 149, 42, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 35s linear infinite;
  opacity: 0.6;
}

/* Gradient Drift */
.gradient-drift {
  position: fixed;
  inset: 0;
  z-index: var(--z-ambient);
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(201, 149, 42, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(0, 217, 255, 0.04) 0%, transparent 60%);
  animation: gradientDrift 30s ease-in-out infinite alternate;
}

/* Page Content (main content overlay) */
.page-content {
  position: relative;
  z-index: var(--z-content);
}

/* ============================================
   2. ANIMATION KEYFRAMES
   ============================================ */

/* Fade and Slide Up (entrance animation) */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Character Float (gentle bobbing) */
@keyframes characterFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Halo Breath (pulsing glow) */
@keyframes haloBreath {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-50%) scale(1.15);
    opacity: 1;
  }
}

/* Glow Pulse (for buttons and badges) */
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px var(--gold-glow); }
  50% { box-shadow: 0 0 24px var(--gold-glow), 0 0 48px rgba(201, 149, 42, 0.15); }
}

/* Cyan Glow Pulse */
@keyframes glowPulseCyan {
  0%, 100% { box-shadow: 0 0 12px var(--cyan-glow); }
  50% { box-shadow: 0 0 24px var(--cyan-glow), 0 0 48px rgba(0, 217, 255, 0.15); }
}

/* Saber Glow (lightsaber effect) */
@keyframes saberGlow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.6)); }
  50% { filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.9)) drop-shadow(0 0 40px rgba(0, 217, 255, 0.4)); }
}

/* Saber Flicker */
@keyframes saberFlicker {
  0%, 100% { opacity: 0.7; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.3); }
}

/* Grid Drift (background movement) */
@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* Gradient Drift (background movement) */
@keyframes gradientDrift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(2%, 3%); }
}

/* Scroll Line (scroll indicator) */
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* Arrow Pulse (assembly line arrows) */
@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.4;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

/* Step Float (assembly step icons) */
@keyframes stepFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Progress Load (loading animation) */
@keyframes progressLoad {
  0% { width: 0; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* Spin Fast (for hover effects) */
@keyframes spinFast {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Electric Pulse (icon animation) */
@keyframes electricPulse {
  0%, 90%, 100% { transform: scale(1); }
  95% { transform: scale(1.3); filter: brightness(1.5); }
}

/* Bounce Slow (icon animation) */
@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Check Draw (icon animation) */
@keyframes checkDraw {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1) rotate(5deg); }
}

/* Rotate Slow (icon animation) */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Shimmer (loading placeholder) */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   3. SCROLL REVEAL ANIMATIONS
   ============================================ */

/* Base Reveal Class */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal Delay Variants */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Reveal from Left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from Right */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale Reveal */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   4. NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 2rem;
  width: 100%;
}

.nav.scrolled {
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
}

.nav-logo-text {
  color: var(--brand-red);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 2vw, 2.6rem);
  list-style: none;
  min-width: 0;
  width: 100%;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.active {
  color: var(--gold-lite);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.2s ease;
}

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

.nav-item.has-dropdown {
  position: relative;
}

.nav-item.has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-dropdown-icon {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.nav-item.has-dropdown.open .nav-dropdown-icon,
.nav-item.has-dropdown:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  width: min(320px, 34vw);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 14px;
}

.nav-item.has-dropdown.open .nav-dropdown,
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown-inner {
  padding: 0.55rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 149, 42, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(11, 15, 20, 0.97);
  box-shadow: 0 22px 55px rgba(0,0,0,0.42), 0 0 24px rgba(201,149,42,0.08);
  backdrop-filter: blur(18px);
}

.nav-dropdown-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-item + .nav-dropdown-item {
  margin-top: 0.2rem;
}

.nav-dropdown-item::after,
.nav-dropdown-item:hover::after {
  display: none;
}

.nav-dropdown-item:hover {
  background: rgba(255,255,255,0.04);
  transform: translateX(2px);
}

.nav-dropdown-icon-product {
  display: inline-grid;
  place-items: center;
  width: 24px;
  min-height: 24px;
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.nav-dropdown-content {
  min-width: 0;
}

.nav-dropdown-title {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.nav-dropdown-desc {
  display: block;
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.nav-dropdown-item.coming-soon .nav-dropdown-title,
.nav-dropdown-item.coming-soon .nav-dropdown-desc {
  opacity: 0.82;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(201, 149, 42, 0.18), rgba(240, 184, 74, 0.08));
  border: 1px solid rgba(240, 184, 74, 0.45);
  color: var(--gold-lite);
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  justify-self: end;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.nav-cta:hover {
  background: linear-gradient(135deg, rgba(240, 184, 74, 0.22), rgba(201, 149, 42, 0.14));
  border-color: rgba(240, 184, 74, 0.7);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 22px rgba(240, 184, 74, 0.16);
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Panel (replaces older .nav-mobile-menu) */
.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 410px;
  height: 100vh;
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.97), rgba(11, 15, 20, 0.985)),
    rgba(11, 15, 20, 0.98);
  backdrop-filter: blur(24px);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
}

.nav-mobile-panel.open {
  transform: translateX(0);
}

.nav-mobile-panel::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background:
    radial-gradient(circle at top right, rgba(240, 184, 74, 0.12), transparent 32%),
    radial-gradient(circle at 18% 72%, rgba(0, 217, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.nav-mobile-header,
.nav-mobile-links,
.nav-mobile-footer {
  position: relative;
  z-index: 1;
}

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-lite);
}

.nav-mobile-title::before {
  content: '';
  width: 1.8rem;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(240, 184, 74, 0.2);
}

.nav-mobile-close {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-mobile-close:hover {
  transform: rotate(90deg);
  border-color: rgba(240, 184, 74, 0.35);
  background: rgba(240, 184, 74, 0.08);
}

.nav-mobile-links {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem 1.1rem 0;
}

.nav-mobile-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1rem 1rem 0.95rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  transform: translateY(-2px);
  border-color: rgba(240, 184, 74, 0.22);
  background: linear-gradient(135deg, rgba(201, 149, 42, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.nav-mobile-link[data-page="learning-lab"]:hover,
.nav-mobile-link[data-page="learning-lab"].active {
  border-color: rgba(0, 217, 255, 0.24);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.nav-mobile-link[data-page="contact"]:hover,
.nav-mobile-link[data-page="contact"].active {
  border-color: rgba(231, 76, 60, 0.2);
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.08), rgba(255, 255, 255, 0.03));
}

.nav-mobile-link-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--gold-lite);
  line-height: 0;
  font-size: 1.1rem;
}

.nav-mobile-link[data-page="learning-lab"] .nav-mobile-link-icon {
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.08);
}

.nav-mobile-link[data-page="contact"] .nav-mobile-link-icon {
  color: var(--brand-red-lite);
  background: rgba(231, 76, 60, 0.08);
}

.nav-mobile-link-content {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.nav-mobile-link-title {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-mobile-link-desc {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.nav-mobile-flagship-badge {
  align-self: start;
  margin-top: 0.2rem;
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 217, 255, 0.24);
  background: rgba(0, 217, 255, 0.1);
  color: var(--cyan);
  font-size: 0.7rem;
  line-height: 1;
}

.nav-mobile-subsection {
  display: grid;
  gap: 0.55rem;
  margin: -0.2rem 0 0.1rem;
  padding: 0.2rem 0.1rem 0 0.5rem;
}

.nav-mobile-sublink {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.82rem 1rem;
  margin-left: 0.55rem;
  border-left: 2px solid rgba(240, 184, 74, 0.18);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-mobile-sublink:hover {
  color: var(--text-primary);
  border-left-color: rgba(240, 184, 74, 0.4);
  background: rgba(255, 255, 255, 0.045);
  transform: translateX(4px);
}

.nav-mobile-footer {
  margin-top: auto;
  padding: 1.15rem 1.1rem 1.35rem;
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lite));
  color: var(--bg-base);
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(201, 149, 42, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nav-mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(201, 149, 42, 0.26);
}

.nav-mobile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.nav-mobile-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-mobile-social a:hover {
  color: var(--text-primary);
  border-color: rgba(240, 184, 74, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .nav-container {
    grid-template-columns: auto 1fr auto;
    column-gap: 1rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
    justify-self: end;
  }

  .nav-dropdown {
    display: none;
  }
}


/* ============================================
   5. SECTION HEADERS
   ============================================ */

.section-header {
  margin-bottom: var(--space-12);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--gold);
}

.section-eyebrow.centered {
  justify-content: center;
}

.section-eyebrow.centered::after {
  display: none;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.section-headline.centered {
  text-align: center;
}

.section-sub {
  color: var(--text-secondary);
  font-size: var(--text-md);
  max-width: 520px;
  line-height: 1.7;
}

.section-sub.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   6. PRODUCT CARDS
   ============================================ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 24px var(--gold-glow);
}

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

.product-card-icon {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: var(--space-5);
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-icon {
  transform: scale(1.03);
}

.product-card-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.product-card-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.product-card-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-family: var(--font-mono);
  font-size: var(--text-md);
  color: var(--gold-lite);
  font-weight: 600;
}

.product-card-cta {
  font-size: var(--text-base);
  color: var(--cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease;
}

.product-card:hover .product-card-cta {
  gap: 0.6rem;
}

/* ============================================
   7. ROADMAP CARDS
   ============================================ */

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-16);
}

.roadmap-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.roadmap-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.roadmap-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 24px var(--gold-glow);
}

.roadmap-card:hover::after {
  opacity: 1;
}

.roadmap-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.roadmap-card:hover .roadmap-card-bg {
  opacity: 1;
  transform: scale(1.05);
}

.roadmap-coming-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  margin-bottom: var(--space-4);
}

.roadmap-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
  display: block;
  position: relative;
  z-index: 1;
}

.roadmap-card:hover .roadmap-icon {
  animation: bounceSlow 0.6s ease-in-out;
}

.roadmap-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.roadmap-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ============================================
   8. ASSEMBLY LINE (Philosophy Steps)
   ============================================ */

.assembly-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 800px;
  margin: 0 auto var(--space-12);
  flex-wrap: wrap;
}

.assembly-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8) 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  min-width: 160px;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
}

.assembly-step:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 20px var(--gold-glow);
}

.assembly-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  padding: 0 var(--space-2);
  flex-shrink: 0;
  animation: arrowPulse 2s ease-in-out infinite;
}

.assembly-icon {
  font-size: 2.5rem;
  animation: stepFloat 4s ease-in-out infinite;
}

.assembly-step:nth-child(3) .assembly-icon { animation-delay: -1s; }
.assembly-step:nth-child(5) .assembly-icon { animation-delay: -2s; }
.assembly-step:nth-child(7) .assembly-icon { animation-delay: -3s; }

.assembly-label {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--text-primary);
}

.assembly-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

/* Assembly Step Hover - Spin Effect */
.assembly-step:hover .assembly-icon {
  animation: spinFast 0.5s linear infinite;
}

.assembly-step:nth-child(1):hover .assembly-icon,
.assembly-step:nth-child(5):hover .assembly-icon,
.assembly-step:nth-child(7):hover .assembly-icon {
  animation: stepFloat 0.4s ease-in-out infinite;
}

/* ============================================
   9. PHILOSOPHY CARDS
   ============================================ */

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.philosophy-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s var(--ease-smooth);
}

.philosophy-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 16px var(--gold-glow);
}

.philosophy-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
  display: block;
}

.philosophy-card:nth-child(1) .philosophy-icon { animation: electricPulse 2s infinite; }
.philosophy-card:nth-child(2) .philosophy-icon { animation: bounceSlow 2.5s ease-in-out infinite; }
.philosophy-card:nth-child(3) .philosophy-icon { animation: checkDraw 3s ease-in-out infinite; }
.philosophy-card:nth-child(4) .philosophy-icon { animation: rotateSlow 6s linear infinite; }

.philosophy-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.philosophy-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   10. TRUST BADGES
   ============================================ */

.hero-trust {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.trust-badge {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-badge::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.65rem;
}

/* Trust Strip (for CTA sections) */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.trust-strip.visible {
  opacity: 1;
}

.trust-strip-item {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: fadeSlideUp 0.5s ease forwards;
}

.trust-strip-item:nth-child(1) { animation-delay: 0s; }
.trust-strip-item:nth-child(2) { animation-delay: 0.1s; }
.trust-strip-item:nth-child(3) { animation-delay: 0.2s; }
.trust-strip-item:nth-child(4) { animation-delay: 0.3s; }

.trust-strip-item::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.5rem;
}

/* ============================================
   11. FOOTER
   ============================================ */

.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-10);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer-logo-img {
  height: 60px;
  width: auto;
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.footer-brand-tagline .arrow {
  color: var(--brand-red);
}

.footer-brand-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: var(--text-base);
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-lite);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-badge::before {
  content: '◆';
  color: var(--gold);
  font-size: 0.4rem;
}

a.footer-bottom-badge:hover {
  color: var(--text-primary);
}

/* ============================================
   12. HERO COMPONENTS
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(3px) brightness(0.25);
  transform: scale(1.05);
  z-index: 0;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, transparent 40%, rgba(11, 15, 20, 0.7) 100%),
    linear-gradient(to right, rgba(11, 15, 20, 0.5) 0%, transparent 40%, transparent 60%, rgba(11, 15, 20, 0.5) 100%),
    linear-gradient(to bottom, rgba(11, 15, 20, 0.4) 0%, transparent 20%, transparent 80%, rgba(11, 15, 20, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
  padding-top: var(--space-20);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  min-height: 100vh;
}

/* Hero Character */
.hero-character {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-character-halo {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(201, 149, 42, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: haloBreath 5s ease-in-out infinite;
}

.hero-character-img {
  position: relative;
  z-index: 2;
  width: 420px;
  max-width: 100%;
  animation: characterFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.8));
}

.hero-saber-glow {
  position: absolute;
  bottom: 80px;
  left: 50px;
  width: 8px;
  height: 120px;
  background: linear-gradient(to top, rgba(0, 217, 255, 0.8), rgba(0, 217, 255, 0.1));
  border-radius: 4px;
  animation: saberFlicker 3s ease-in-out infinite;
  filter: blur(2px);
}

/* Hero Text */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold-lite);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-smooth) 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-smooth) 0.5s forwards;
}

.hero-headline .line-dim { color: var(--text-secondary); }
.hero-headline .line-gold { color: var(--gold-lite); }
.hero-headline .line-bright { color: var(--text-primary); }

.hero-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  color: var(--brand-red);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-smooth) 0.7s forwards;
}

.hero-tagline span {
  color: var(--text-secondary);
  margin: 0 0.4em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 440px;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-smooth) 0.9s forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.6s var(--ease-smooth) 1.1s forwards;
}

/* Scroll Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  animation: fadeSlideUp 0.6s ease 1.5s forwards;
}

.hero-scroll-cue span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================
   13. INVITATION/CTA SECTION
   ============================================ */

.invitation {
  background: var(--bg-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.invitation-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201, 149, 42, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.invitation-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--gold-lite);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  margin-bottom: var(--space-6);
  animation: glowPulse 5s ease-in-out infinite;
}

.invitation-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

/* ============================================
   14. DASHBOARD/CTA BOX
   ============================================ */

.dashboard-cta {
  text-align: center;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-4xl);
  padding: var(--space-12) var(--space-8);
  position: relative;
  overflow: hidden;
}

.dashboard-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201, 149, 42, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.dashboard-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.dashboard-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

.dashboard-cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================
   15. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: var(--space-16);
    gap: var(--space-8);
  }

  .hero-character {
    order: -1;
  }

  .hero-character-img {
    width: 260px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  /* Grids */
  .product-grid,
  .roadmap-grid,
  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Assembly Line */
  .assembly-line {
    flex-direction: column;
  }

  .assembly-arrow {
    transform: rotate(90deg);
  }

  /* Section Padding */
  .section-padding {
    padding: var(--space-16) 0;
  }
}

/* ============================================
   16. LOADING & UTILITY STATES
   ============================================ */

/* Loading Shimmer */
.shimmer {
  background: linear-gradient(
    90deg,
    var(--bg-raised) 25%,
    var(--bg-surface) 50%,
    var(--bg-raised) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Skeleton Placeholder */
.skeleton {
  background: var(--bg-raised);
  border-radius: var(--radius-md);
  animation: shimmer 1.5s infinite;
}

/* Disabled State */
.disabled,
[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Focus Visible (accessibility) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background: var(--gold-dim);
  color: var(--text-primary);
}
