/* ============================================
   MOVA — Styles
   Extends Orbital Lab design system.
   Overrides accent color to Mova green.
   ============================================ */

/* Import base styles */
@import url('styles.css');

/* ============================================
   Mova Nav Logo Size
   ============================================ */
.nav__logo-img {
  height: 25px;
}

/* ============================================
   Mova Accent Override
   ============================================ */
:root {
  --color-accent: #45FC95;
  --color-accent-soft: rgba(69, 252, 149, 0.10);
  --color-accent-glow: rgba(69, 252, 149, 0.22);
  --color-accent-glow-strong: rgba(69, 252, 149, 0.35);
  --color-sport: #45FC95;
}


/* ============================================
   Mova Hero
   ============================================ */
.mova-hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  padding-left: var(--section-pad-x);
  padding-right: var(--section-pad-x);
  padding-bottom: clamp(60px, 8vw, 100px);
  overflow: hidden;
}

.mova-hero__inner {
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mova-hero__content {
  position: relative;
  z-index: 1;
}

.mova-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(69, 252, 149, 0.25);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 32px;
  background: rgba(69, 252, 149, 0.05);
}

.mova-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.mova-hero__badge-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.mova-hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.mova-hero__headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-accent);
}

.mova-hero__subtext {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 440px;
  margin-bottom: 40px;
}

.mova-hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mova-hero__sport-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.mova-hero__sport-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-right: 4px;
}

.mova-hero__sport-tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 10px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.mova-hero__sport-tag:hover {
  border-color: rgba(69, 252, 149, 0.3);
  color: var(--color-accent);
}

/* Hero field visualization */
.mova-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mova-field-container {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.4;
}

.mova-field-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(69, 252, 149, 0.08));
}

/* Animated player nodes */
.field-node {
  animation: node-float 4s ease-in-out infinite;
}

.field-node:nth-child(1)  { animation-delay: 0s; }
.field-node:nth-child(2)  { animation-delay: 0.4s; }
.field-node:nth-child(3)  { animation-delay: 0.8s; }
.field-node:nth-child(4)  { animation-delay: 1.2s; }
.field-node:nth-child(5)  { animation-delay: 1.6s; }
.field-node:nth-child(6)  { animation-delay: 2.0s; }
.field-node:nth-child(7)  { animation-delay: 0.2s; }
.field-node:nth-child(8)  { animation-delay: 0.6s; }
.field-node:nth-child(9)  { animation-delay: 1.0s; }
.field-node:nth-child(10) { animation-delay: 1.4s; }
.field-node:nth-child(11) { animation-delay: 1.8s; }

@keyframes node-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(2px, -3px); }
  50% { transform: translate(-1px, 2px); }
  75% { transform: translate(3px, 1px); }
}

/* Connecting lines draw-in */
.field-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: line-draw 1.5s var(--ease-out-expo) forwards;
}

.field-line:nth-child(1) { animation-delay: 0.2s; }
.field-line:nth-child(2) { animation-delay: 0.4s; }
.field-line:nth-child(3) { animation-delay: 0.6s; }
.field-line:nth-child(4) { animation-delay: 0.8s; }
.field-line:nth-child(5) { animation-delay: 1.0s; }
.field-line:nth-child(6) { animation-delay: 1.2s; }

@keyframes line-draw {
  to { stroke-dashoffset: 0; }
}

/* AI annotation chip */
.field-chip {
  animation: chip-appear 0.6s var(--ease-out-expo) 1.5s both;
}

@keyframes chip-appear {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================
   Metrics Strip
   ============================================ */
.mova-metrics {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px var(--section-pad-x);
  background: var(--color-surface);
}

.mova-metrics__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mova-metric {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--color-border);
}

.mova-metric:last-child {
  border-right: none;
}

.mova-metric__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 6px;
}

.mova-metric__value span {
  color: var(--color-accent);
}

.mova-metric__label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


/* ============================================
   Features Section (Sport)
   Uses same .features classes from styles.css
   ============================================ */

/* Row wrapper: bullet + content always in a flex row */
.features__item-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

/* Override headline for features section on mova */
.mova-features-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: 48px;
}

/* Shot arc animation */
.shot-arc-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

.features__visual--active .shot-arc-path {
  animation: shot-draw 1.8s var(--ease-out-expo) 0.2s forwards;
}

@keyframes shot-draw {
  to { stroke-dashoffset: 0; }
}

/* Heat map pulse */
.heat-zone {
  animation: heat-pulse 3s ease-in-out infinite;
}

.heat-zone:nth-child(1) { animation-delay: 0s; }
.heat-zone:nth-child(2) { animation-delay: 0.5s; }
.heat-zone:nth-child(3) { animation-delay: 1s; }

@keyframes heat-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Report card line draw */
.report-line-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.features__visual--active .report-line-path {
  animation: report-draw 1.5s var(--ease-out-expo) 0.3s forwards;
}

@keyframes report-draw {
  to { stroke-dashoffset: 0; }
}

/* Tracking trail */
.tracking-trail {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.features__visual--active .tracking-trail {
  animation: trail-draw 1.2s ease-out 0.1s forwards;
}

@keyframes trail-draw {
  to { stroke-dashoffset: 0; }
}

/* Probability ring */
.prob-ring {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
}

.features__visual--active .prob-ring {
  animation: ring-fill 1.2s var(--ease-out-expo) 0.8s forwards;
}

@keyframes ring-fill {
  to { stroke-dashoffset: 40; }
}


/* ============================================
   How It Works (3-step)
   ============================================ */
.mova-how {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 10vw, 120px) var(--section-pad-x);
}

.mova-how__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.mova-how__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.mova-how__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 64px;
}

.mova-how__steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 0;
}

.mova-how__step {
  text-align: center;
}

.mova-how__step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-elevated);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.mova-how__step:hover .mova-how__step-icon {
  border-color: rgba(69, 252, 149, 0.3);
  background: rgba(69, 252, 149, 0.05);
}

.mova-how__step-icon svg {
  color: var(--color-accent);
}

.mova-how__step-num {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 8px;
}

.mova-how__step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.mova-how__step-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.mova-how__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}

.mova-how__connector svg {
  color: var(--color-border);
}


/* ============================================
   Use Cases Grid
   ============================================ */
.mova-usecases {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 8vw, 120px) var(--section-pad-x);
  background: var(--color-surface);
}

.mova-usecases__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.mova-usecases__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}

.mova-usecases__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.mova-usecases__headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

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

.mova-usecase-card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
  cursor: default;
}

.mova-usecase-card:hover {
  border-color: rgba(69, 252, 149, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(69, 252, 149, 0.06);
}

.mova-usecase-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.mova-usecase-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.mova-usecase-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text-secondary);
}


/* ============================================
   Demo Video Section
   ============================================ */
.mova-demo {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) var(--section-pad-x);
}

.mova-demo__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.mova-demo__label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.mova-demo__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: 56px;
}

.mova-demo__video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(69, 252, 149, 0.15);
  box-shadow: 0 0 60px rgba(69, 252, 149, 0.08), 0 32px 80px rgba(0, 0, 0, 0.5);
}

.mova-demo__video-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(69, 252, 149, 0.2);
  border-radius: 8px;
  padding: 8px 14px;
  z-index: 2;
}

.mova-demo__badge-logo {
  height: 14px;
  width: auto;
}

.mova-demo__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}


/* ============================================
   CTA Block (Mova)
   ============================================ */
.mova-cta {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) var(--section-pad-x);
  overflow: hidden;
}

.mova-cta__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mova-cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.mova-cta__orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(69, 252, 149, 0.07);
  top: -100px;
  right: -100px;
}

.mova-cta__orb--2 {
  width: 350px;
  height: 350px;
  background: rgba(69, 252, 149, 0.04);
  bottom: -80px;
  left: 10%;
}

.mova-cta__inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.mova-cta__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(69, 252, 149, 0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.mova-cta__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  max-width: 800px;
}

.mova-cta__subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 8px 0 24px;
}

.mova-cta__divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(69, 252, 149, 0.4), transparent);
  margin: 8px 0;
}


/* ============================================
   Buttons (Mova overrides)
   ============================================ */
.btn--mova-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #050505;
  background: var(--color-accent);
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn--mova-primary:hover {
  background: #5fffa0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(69, 252, 149, 0.25);
}

.btn--mova-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn--mova-ghost:hover {
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ============================================
   Section Divider
   ============================================ */
.mova-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
  margin: 0 var(--section-pad-x);
  position: relative;
  z-index: 2;
}


/* ============================================
   Scroll Reveal
   ============================================ */
.mova-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

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

.mova-reveal--delay-1 { transition-delay: 0.1s; }
.mova-reveal--delay-2 { transition-delay: 0.2s; }
.mova-reveal--delay-3 { transition-delay: 0.3s; }
.mova-reveal--delay-4 { transition-delay: 0.4s; }


/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .mova-usecases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mova-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mova-hero__visual {
    order: 1;
  }

  .mova-hero__headline {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .mova-metrics__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mova-metric {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0;
  }

  .mova-metric:last-child {
    border-bottom: none;
  }

  .mova-how__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mova-how__connector {
    display: none;
  }

  .mova-usecases__grid {
    grid-template-columns: 1fr;
  }

  .mova-usecases__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .features__item {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .features__item-row {
    width: 100%;
  }

  .features__visual {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none !important;
    margin-top: 24px;
    height: 280px;
    width: 100%;
  }

  .features__inner {
    display: flex;
    flex-direction: column;
  }

  .features__left {
    width: 100%;
    max-width: 100%;
  }

  .features__runway {
    height: auto;
  }

  .features__sticky {
    position: relative;
    height: auto;
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .mova-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn--mova-primary,
  .btn--mova-ghost {
    text-align: center;
    justify-content: center;
  }
}
