/* Hero-specific styles */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, transparent 0%, var(--bg-0) 95%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.4) 0%, transparent 30%, transparent 70%, var(--bg-0) 100%);
}

.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  background: rgba(5, 6, 8, 0.92);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s ease, padding 0.3s ease;
}

.hero-nav.scrolled {
  background: rgba(5, 6, 8, 0.55);
  padding: 16px 56px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.24em;
  font-size: 14px;
  color: var(--silver-100);
}

.nav-logo-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-size: 13.5px;
  letter-spacing: 0.01em;
  color: var(--silver-300);
  transition: color 0.2s;
  font-weight: 400;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #7AAAD8;
}

.nav-cta {
  font-size: 13.5px;
  color: var(--silver-300);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  background: none;
  padding: 0;
  border-radius: 0;
}

.nav-cta:hover {
  color: #7AAAD8;
  transform: none;
  box-shadow: none;
  background: none;
}

@media (max-width: 760px) {

  .hero-nav,
  .hero-nav.scrolled {
    padding: 14px 20px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a:nth-child(n+3) {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 140px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(122, 170, 216, 0.05);
  border: 1px solid rgba(122, 170, 216, 0.2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin-bottom: 32px;
}

.hero-kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 132px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
  max-width: 18ch;
}

.hero h1 .line {
  overflow: hidden;
}

.hero h1 .line>span {
  display: inline-block;
  transform: translateY(110%);
  animation: line-up 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero h1 .line:nth-child(2)>span {
  animation-delay: 0.1s;
}

.hero h1 .line:nth-child(3)>span {
  animation-delay: 0.2s;
}

@keyframes line-up {
  to {
    transform: none;
  }
}

.hero h1 em {
  font-style: normal;
  background: var(--chrome-blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(122, 170, 216, 0.25));
}

.hero-sub {
  margin-top: 32px;
  max-width: 540px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--silver-300);
  opacity: 0;
  animation: fade-up 1s 0.6s forwards;
}

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

  to {
    opacity: 1;
    transform: none;
  }
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 1s 0.75s forwards;
}

.hero-meta {
  margin-top: 72px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 1s 0.9s forwards;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-meta-item .val {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-meta-item .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-500);
}

.hero-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-500);
  z-index: 3;
  opacity: 0;
  animation: fade-up 1s 1.2s forwards;
}

.hero-corner.tl {
  top: 120px;
  left: 32px;
}

.hero-corner.tr {
  top: 120px;
  right: 32px;
  text-align: right;
}

.hero-corner.br {
  bottom: 40px;
  right: 32px;
  text-align: right;
}

@media (max-width: 720px) {
  .hero-corner {
    display: none;
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-500);
  opacity: 0;
  animation: fade-up 1s 1.4s forwards;
}

.hero-scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--silver-400));
  position: relative;
  overflow: hidden;
}

.hero-scroll-indicator .line::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--accent-hi));
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  to {
    top: 40px;
  }
}

/* Hero variant picker (Tweaks) */
.variant-switcher {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: rgba(10, 13, 19, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  min-width: 220px;
}

.variant-switcher.on {
  display: flex;
}

.variant-switcher .vs-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver-400);
  margin-bottom: 6px;
}

.variant-switcher .vs-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.variant-switcher button {
  flex: 1;
  padding: 8px 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--silver-300);
  transition: all 0.2s;
}

.variant-switcher button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--silver-100);
}

.variant-switcher button.active {
  background: rgba(122, 170, 216, 0.12);
  border-color: var(--accent);
  color: var(--accent-hi);
}