/* howtobuild.css - page-specific styles for how-we-build.html */

/* HERO - outline secondary button */
.btn-hero-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* CTA - scale on hover primary button (no glow) */
.btn-cta-scale {
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-cta-scale:hover {
  transform: scale(1.03);
}

/* Outcome box left accent with rounded ends */
.outcome-box {
  position: relative;
  background-color: rgba(30, 95, 255, 0.06);
  border-radius: 8px;
}

.outcome-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #1E5FFF;
  border-radius: 8px 0 0 8px;
}

/* Methodology stage marker */
.method-stage .stage-marker {
  transform: scale(1);
  transform-origin: center;
  background-color: rgba(30, 95, 255, 0.15);
  border: 1px solid rgba(30, 95, 255, 0.4);
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(30, 95, 255, 0.3);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.method-stage:hover .stage-marker,
.method-stage:focus-within .stage-marker {
  transform: scale(1.12);
  border-color: rgba(74, 163, 255, 0.7) !important;
  background-color: rgba(30, 95, 255, 0.22) !important;
  box-shadow: 0 0 24px rgba(74, 163, 255, 0.25) !important;
}

/* Why It Works - icon pulse */
@keyframes velorynIconPulse {
  0%,
  100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.why-icon-pulse {
  animation: velorynIconPulse 3.2s ease-in-out infinite;
  will-change: transform;
}

.why-icon-pulse-1 { animation-delay: 0s; }
.why-icon-pulse-2 { animation-delay: 0.35s; }
.why-icon-pulse-3 { animation-delay: 0.7s; }

/* Hero background image - responsive by viewport width */
.how-we-build-hero {
  background-image: url('../images/hero/howtobuild-1280.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

@media (min-width: 1280px) {
  .how-we-build-hero {
    background-image: url('../images/hero/howtobuild-1920.webp');
  }
}

@media (min-width: 1920px) {
  .how-we-build-hero {
    background-image: url('../images/hero/howtobuild-2560.webp');
  }
}

/* Inline accent link hover */
.inline-link-accent:hover {
  color: #F5F7FF !important;
}

/* Page extracted styles from how-we-build.html */
.surface-nav {
  background-color: #101522;
}

.nav-nudge {
  position: relative;
  top: -1px;
}

/* Header Get Started button (scoped) */
header .btn-get-started,
nav .btn-get-started {
  background-color: #1E5FFF;
  color: #F5F7FF;
  border-radius: 5px;
}

header .btn-get-started.nav-cta,
nav .btn-get-started.nav-cta {
  padding-top: calc(0.5rem + 2px);
  padding-bottom: calc(0.5rem + 2px);
  position: relative;
  top: -1px;
}

/* Mobile menu button spacing */
.hamburger-gap {
  gap: 6px;
}

/* Hero layout */
.hero-padding {
  padding: 140px 0 100px;
}

.hero-overlay-dark {
  background-color: #0A1224;
}

.hero-bottom-fade {
  background: linear-gradient(to bottom, transparent 0%, #0A1224 100%);
}

/* Common section backgrounds */
.section-bg-dark {
  background-color: #0A1224;
}

.section-bg-cta {
  background-color: #0D1627;
  border-color: rgba(57, 65, 86, 0.2);
}

/* Why It Works cards */
.why-card {
  background-color: #161e2e;
  transition: border-color 80ms ease, box-shadow 80ms ease;
}

.why-icon-tile {
  width: 48px;
  height: 48px;
  background-color: rgba(30, 95, 255, 0.06);
  border-radius: 12px;
  flex-shrink: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .why-icon-pulse {
    animation: none !important;
  }
}
