

.hero {
  position: relative;
  width: 100%;
  min-height: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: calc(var(--header-height, 72px) + 24px);
  padding-bottom: clamp(24px, 3vw, 40px);
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: var(--z-negative);
}

.hero-glow-primary {
  position: absolute;
  top: 5%;
  left: 35%;
  width: min(94vw, 1200px);
  height: 560px;
  background: radial-gradient(ellipse at center, var(--brand-blue-glow-strong) 0%, rgba(85, 158, 226, 0.05) 45%, transparent 70%);
  filter: blur(75px);
  opacity: 0.85;
  animation: heroGlowDriftA 26s ease-in-out infinite;
}

.hero-glow-accent {
  position: absolute;
  top: 15%;
  right: 5%;
  width: min(55vw, 600px);
  height: 540px;
  background: radial-gradient(circle, var(--brand-green-glow-strong) 0%, rgba(0, 98, 51, 0.04) 50%, transparent 70%);
  filter: blur(85px);
  opacity: 0.75;
  animation: heroGlowDriftB 32s ease-in-out infinite;
}

@keyframes heroGlowDriftA {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-46%, 4%) scale(1.08); }
}

@keyframes heroGlowDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, -5%) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow-primary,
  .hero-glow-accent {
    animation: none;
  }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 80%);
  opacity: 0.25;
}

.hero-container {
  position: relative;
  z-index: var(--z-elevated);
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 56px);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.28fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: var(--z-elevated);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 660px;
  min-width: 0;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1.2vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-dim);
}

.hero-overline::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--brand-blue);
  opacity: 0.85;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin-bottom: 20px;
  color: var(--text);
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero h1 span {
  background-image: var(--gk-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-headline-accent {
  font-weight: 400;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 0 28px 0;
  letter-spacing: 0.005em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  width: 100%;
}

.hero-link-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  padding: 10px 12px;
  min-height: var(--min-touch-target, 44px);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-link-tertiary .arrow {
  transition: transform 0.2s ease;
  color: var(--primary);
}

.hero-link-tertiary:hover {
  color: var(--text);
}

.hero-link-tertiary:hover .arrow {
  transform: translateX(4px);
}

.hero-link-tertiary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero-proof-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.78rem, 1vw, 0.84rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.015em;
}

.hero-proof-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
  stroke-width: 2;
}

.hero-proof-divider {
  width: 1px;
  height: 12px;
  background: var(--border-strong);
  opacity: 0.5;
}

.hero-visual-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-3d-stage {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: 460px;
  perspective: 1200px;
  perspective-origin: 55% 50%;
  user-select: none;
  z-index: var(--z-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.hero-stage-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 90%;
  height: 75%;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, rgba(0, 212, 126, 0.04) 50%, transparent 80%);
  filter: blur(60px);
  z-index: var(--z-negative);
  pointer-events: none;
  opacity: 0.85;
}

.hero-3d-deck {
  position: relative;
  width: min(100%, 600px);
  height: 338px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg, 18px);
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.2, 0.85, 0.25, 1), opacity 0.75s ease, filter 0.75s ease;
  will-change: transform, opacity;
}

.slide-tv-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg, 18px);
  background: #080E0B;
  padding: 8px;
  border: 1.5px solid rgba(0, 212, 126, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), -10px 10px 30px rgba(0, 0, 0, 0.35), 0 0 50px var(--primary-glow);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.hero-slide-card:hover .slide-tv-frame,
.hero-slide-card.is-active .slide-tv-frame {
  border-color: var(--primary);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), -12px 12px 40px rgba(0, 0, 0, 0.45), 0 0 75px var(--primary-glow-strong);
}

.slide-tv-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.slide-tv-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-info-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(10, 16, 13, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.76rem;
  font-weight: 500;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

[data-theme="light"] .slide-info-pill {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0D1512;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
  flex-shrink: 0;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  position: relative;
  z-index: 20;
}

.hero-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.hero-nav-btn:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--primary-glow);
}

.hero-nav-btn svg {
  width: 18px;
  height: 18px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--border-strong);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  padding: 0;
  position: relative;
}

.hero-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
}

.hero-dot.is-active {
  width: 26px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-card {
    transition: none !important;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding-top: calc(var(--header-height, 68px) + 20px);
    padding-bottom: 40px;
  }

  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
  }

  .hero-overline {
    align-self: center;
  }

  .hero-overline::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 1px;
    background: var(--primary);
    opacity: 0.85;
  }

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

  .hero-proof-row {
    justify-content: center;
  }

  .hero-3d-stage {
    max-width: 580px;
    height: 380px;
  }

  .hero-3d-deck {
    width: min(100%, 480px);
    height: 270px;
  }
}

@media (max-width: 600px) {
  .hero-3d-stage {
    max-width: 100%;
    height: 260px;
  }

  .hero-3d-deck {
    width: min(92vw, 340px);
    height: 192px;
  }
}
