/* ============================================================
   HERO — VERBATIM CODE FROM LIVE fullwavedev.com (css/style.css)
   Do not edit the live blocks. The ONLY changes are in the
   "LIGHT OVERRIDES" section at the very bottom.
   ============================================================ */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0d1526;
  --bg-card: #111827;
  --accent-blue: #0066ff;
  --accent-cyan: #00d4ff;
  --accent-purple: #7c3aed;
  --gradient-main: linear-gradient(135deg, #0066ff, #00d4ff);
  --gradient-hero: linear-gradient(135deg, #112c63 0%, #0a1d47 45%, #061429 100%);
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.25);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
}



/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 56px;
}

@media (max-width: 1024px) {

  .container { padding: 0 32px; }
}

@media (max-width: 768px) {

  .container { padding: 0 20px; }
}



.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-main);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
  position: relative;
  overflow: hidden;
}



.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}



.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.55);
}



.btn-primary:hover::before {
  opacity: 1;
}



.btn-primary span {
  position: relative;
  z-index: 1;
}



.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}



.btn-secondary:hover {
  border-color: var(--accent-blue);
  color: var(--accent-cyan);
  background: rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}



/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 100px;
  overflow: hidden;
}



.hero > .container {
  position: relative;
  z-index: 1;
}



/* Animated gradient background with darkened Cincinnati skyline backdrop.
   Three stacked layers (top → bottom):
   1. Centered vignette (deepens the edges, lifts center slightly)
   2. Blue brand-color tint
   3. The skyline photo */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #061429;
  background-image:
    radial-gradient(ellipse at center, rgba(10, 28, 55, 0.1) 0%, rgba(10, 28, 55, 0.45) 70%, rgba(10, 28, 55, 0.75) 100%),
    linear-gradient(135deg, rgba(30, 70, 140, 0.85) 0%, rgba(20, 50, 105, 0.9) 50%, rgba(12, 32, 70, 0.94) 100%),
    url('../images/cincySkyline.jpg');
  background-size: cover, cover, cover;
  background-position: center, center, center bottom;
  background-repeat: no-repeat, no-repeat, no-repeat;
  z-index: 0;
}



.hero-bg::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.32) 0%, transparent 70%);
  animation: float-orb 8s ease-in-out infinite;
}



.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.22) 0%, transparent 70%);
  animation: float-orb 10s ease-in-out infinite reverse;
}



@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}



/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%);
  z-index: 0;
}



.hero-text {
  max-width: 580px;
}



.hero-badge {
  display: block;
  color: #aab4c6;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}



.hero-badge .badge-dot {
  display: none;
}



.hero-title {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}




.hero-title .line-highlight {
  display: block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



.hero-description {
  font-size: clamp(0.98rem, 1.2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: clamp(24px, 2.4vw, 36px);
}



.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
  animation: fade-in-up 0.6s ease 0.3s both;
}



.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fade-in-up 0.6s ease 0.4s both;
}



.hero-stat {
  display: flex;
  flex-direction: column;
}



.hero-stat .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}



.hero-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}



/* =========================================
   HERO — SINGLE COLUMN + CHART CARD
   ========================================= */

.hero-single {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}



/* =========================================
   HERO — TWO-COLUMN LAYOUT (text + visual)
   ========================================= */

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: 100%;
}



.hero-text-col {
  text-align: left;
  max-width: 640px;
  will-change: transform, opacity;
}



/* Drop OUT — slides down and fades */
@keyframes hero-drop-out {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(80px); }
}



/* Drop IN — starts above, drops down into spot.
   Opacity hits 1 early so the drop is visible the whole way. */
@keyframes hero-drop-in {
  0%   { opacity: 0; transform: translateY(-90px); }
  35%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}



.hero-text-col.is-leaving {
  animation: hero-drop-out 0.38s cubic-bezier(0.4, 0, 1, 1) forwards;
}



.hero-text-col.is-entering {
  animation: hero-drop-in 0.7s cubic-bezier(0.22, 1.05, 0.36, 1) forwards;
}



.hero-text-col .hero-title {
  text-align: left;
}



.hero-text-col .hero-description {
  max-width: 520px;
}



.hero-text-col .hero-actions {
  justify-content: flex-start;
}



/* Visual column — overlapping image stack */
.hero-visual-col {
  position: relative;
  min-height: clamp(380px, 42vw, 520px);
  will-change: transform, opacity;
}



/* Visual just fades — no vertical motion */
@keyframes hero-visual-out {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}



@keyframes hero-visual-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}



.hero-visual-col.is-leaving {
  animation: hero-visual-out 0.35s ease-out forwards;
}



.hero-visual-col.is-entering {
  animation: hero-visual-in 0.45s ease-out forwards;
}



.hero-visual-col.no-transition {
  transition: none !important;
}



.hero-image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 38vw, 460px);
}



.hero-img-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1426;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 102, 255, 0.15),
    0 0 60px rgba(0, 102, 255, 0.18);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}



.hero-img-card img {
  display: block;
  width: 100%;
  height: auto;
}



.hero-image-stack {
  --back-w: 60%;
  --back-top: 0%;
  --back-right: 0%;
  --back-rot: 1.5deg;
  --front-w: 60%;
  --front-bottom: 0%;
  --front-left: 0%;
  --front-rot: -1deg;
  --stat-bottom: -2%;
  --stat-right: -2%;
}



.hero-img-back {
  top: var(--back-top);
  right: var(--back-right);
  width: var(--back-w);
  transform: rotate(var(--back-rot));
  z-index: 1;
  animation: hero-img-float-a 7s ease-in-out infinite;
}



.hero-img-front {
  bottom: var(--front-bottom);
  left: var(--front-left);
  width: var(--front-w);
  transform: rotate(var(--front-rot));
  z-index: 2;
  animation: hero-img-float-b 8s ease-in-out infinite;
}



.hero-img-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 212, 255, 0.4),
    0 0 80px rgba(0, 212, 255, 0.3);
  z-index: 3;
}



@keyframes hero-img-float-a {
  0%, 100% { transform: rotate(var(--back-rot)) translateY(0); }
  50% { transform: rotate(var(--back-rot)) translateY(-10px); }
}



@keyframes hero-img-float-b {
  0%, 100% { transform: rotate(var(--front-rot)) translateY(0); }
  50% { transform: rotate(var(--front-rot)) translateY(8px); }
}



/* Stat callout card */
/* =========================================
   HERO — SLIDE NAV (service tabs along the bottom)
   ========================================= */
.hero-slide-nav {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1480px;
  padding: 0 56px;
  display: flex;
  gap: 0;
  z-index: 5;
}



.hero-slide-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 16px 4px 10px;
  color: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}



.hero-slide-tab:hover {
  color: #fff;
}



.hero-slide-tab.is-active {
  color: #fff;
}



/* Continuous track + single progress bar across all tabs.
   The .hero-progress-track wrapper sits inside the nav so it naturally
   respects the nav's left/right padding — that gives the line "space
   on the ends" without needing pixel-perfect offset math. */
.hero-progress-track {
  position: relative;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 16px;
}



.hero-progress-line {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-main);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
  transition: width var(--slide-duration, 8000ms) linear;
}



/* Nav is now a vertical flex container: track on top, tabs row below */
.hero-slide-nav {
  flex-direction: column;
  align-items: stretch;
}



.hero-tab-row {
  display: flex;
  flex: 1;
}



/* Hide the old per-tab divider/track and per-tab fill */
.hero-slide-tab::before,
.hero-slide-tab::after { content: none; }



.hero-slide-tab { padding-top: 0; }

@media (max-width: 1024px) {

  .hero-slide-nav { padding: 0 32px; }
}

@media (max-width: 768px) {

  .hero-slide-nav { padding: 0 20px; bottom: 18px; }

  .hero-slide-tab { font-size: 0.82rem; padding: 14px 4px 12px; }
}



.hero-stat-card {
  position: absolute;
  right: var(--stat-right, -2%);
  bottom: var(--stat-bottom, -2%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
  padding: clamp(14px, 1.6vw, 22px) clamp(16px, 2vw, 28px);
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: clamp(14px, 1.6vw, 22px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 212, 255, 0.2);
  max-width: clamp(180px, 52%, 392px);
  animation: fade-in-up 0.9s ease 0.6s both, hero-stat-bob 5s ease-in-out 1s infinite;
}



@keyframes hero-stat-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}



.hero-stat-icon {
  flex-shrink: 0;
  width: clamp(38px, 4vw, 54px);
  height: clamp(38px, 4vw, 54px);
  display: grid;
  place-items: center;
  border-radius: clamp(10px, 1.1vw, 14px);
  background: var(--gradient-main);
  color: #fff;
}



.hero-stat-icon svg {
  width: clamp(20px, 2vw, 28px);
  height: clamp(20px, 2vw, 28px);
}



.hero-stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}



.hero-stat-number {
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



.hero-stat-label {
  font-size: clamp(0.78rem, 0.9vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.35;
  font-weight: 500;
}



/* Chart section below hero */
.hero-chart-section {
  background: var(--bg-primary);
  padding: 0 0 80px;
}



/* Hero Chart Card */
.hero-chart-card {
  width: 100%;
  margin-top: 0;
  background: #0b1222;
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 102, 255, 0.12), 0 32px 80px rgba(0,0,0,0.5);
  position: relative;
  animation: fade-in-up 0.9s ease 0.5s both;
}



/* Animated shimmer top border */
.hero-chart-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0066ff, #00d4ff, #0066ff);
  background-size: 200% 100%;
  animation: shimmer-border 3s linear infinite;
}



@keyframes shimmer-border {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}



/* Line draw animation */
.hero-svg-line {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  animation: draw-hero-line 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}



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



/* Pulse ring on endpoint */
.hero-pulse-ring {
  transform-origin: 900px 1px;
  animation: ring-pulse 2s ease-in-out 3s infinite;
}



@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}



@keyframes ring-pulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50%       { opacity: 0;    transform: scale(2.5); }
}


.areas-strip .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

@media (max-width: 768px) {


  :root {
    --nav-height: 68px;
  }


  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }


  .hero-text {
    max-width: 100%;
  }


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


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


  /* Hero layout rules at < 768px are now scoped only to extra-tight tweaks;
     primary stacking is handled by the @media (max-width: 960px) block above. */
  .hero-image-stack {
    min-height: 320px;
  }
}

@media (max-width: 480px) {

  .hero-title {
    font-size: 2rem;
  }


  .hero-actions {
    flex-direction: column;
    align-items: center;
  }


  .hero-visual-col,
  .hero-image-stack {
    min-height: 280px;
  }


  /* Stat card padding gets slightly tighter on small screens.
     Width is already proportional via the base rule (clamp(180px, 52%, 392px)). */
  .hero-stat-card {
    padding: 10px 14px;
  }


  .hero-stat-number {
    font-size: 1.3rem;
  }


  .hero-stat-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 960px) {

  .hero {
    display: block;
    height: auto;
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 28px);
    padding-bottom: 110px;
  }


  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }


  .hero-visual-col {
    order: 1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
    min-height: auto;
    padding-bottom: 70px; /* room for the stat card that extends below the stack */
  }


  /* Image stack hugs the natural image heights — no large empty zone */
  .hero-image-stack {
    min-height: clamp(280px, 60vw, 380px);
  }


  .hero-text-col {
    order: 2;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-text-col .hero-title,
  .hero-text-col .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

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


  /* Stat card keeps the SAME relative position as desktop (bottom-right corner
     of the image stack, slightly overflowing) — just scaled smaller. */
  .hero-slide-nav {
    padding: 0 20px;
    bottom: 24px;
    max-width: 100%;
  }
}



.lead-flow > .container {
  position: relative;
  z-index: 1;
}



.stat-bar > .container {
  position: relative;
  z-index: 1;
}



.team-section > .container { position: relative; z-index: 1; }

/* ============================================================
   LIGHT OVERRIDES — the ONLY changes vs the live site's hero.
   Background lightened; text flipped dark; everything else is
   the exact live code above.
   ============================================================ */
.hero {
  --nav-height: 82px;                       /* match this build's nav height */
  --text-primary: #0A1D47;                  /* was #ffffff */
  --text-secondary: #4A5C7E;                /* was #94a3b8 */
  --text-muted: #6B7A99;                    /* was #64748b */
  --border-color: rgba(10, 29, 71, 0.14);   /* was rgba(255,255,255,0.08) */
  /* neutralize leftovers from this build's earlier hero styles */
  flex-direction: row;
  background: none;
}
.hero .hero-title { max-width: none; color: var(--text-primary); }

/* light version of the skyline backdrop — same 3 layers, lightened washes */
.hero-bg {
  background-color: #EAF3FF;
  background-image:
    radial-gradient(ellipse at center, rgba(244, 249, 255, 0.18) 0%, rgba(233, 243, 255, 0.66) 70%, rgba(219, 234, 254, 0.88) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.90) 0%, rgba(236, 244, 255, 0.88) 50%, rgba(216, 232, 252, 0.92) 100%),
    url('../images/cincySkyline.jpg');
}
.hero-bg::before { background: radial-gradient(circle, rgba(0, 102, 255, 0.14) 0%, transparent 70%); }
.hero-bg::after  { background: radial-gradient(circle, rgba(0, 212, 255, 0.16) 0%, transparent 70%); }
.hero-grid {
  background-image:
    linear-gradient(rgba(10, 29, 71, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 29, 71, 0.05) 1px, transparent 1px);
}

/* text + tabs read dark on the light background */
.hero .hero-badge { color: #6B7A99; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; width: auto; }
.hero .hero-slide-tab { color: rgba(10, 29, 71, 0.55); }
.hero .hero-slide-tab:hover, .hero .hero-slide-tab.is-active { color: #0A1D47; }
.hero .hero-progress-track { background: rgba(10, 29, 71, 0.14); }

/* the dark stat card stays exactly as live — keep its label light-on-dark */
.hero .hero-stat-card .hero-stat-label { color: #94a3b8; }


/* Mobile fix (Trevor, July 18): the live slide-nav is position:absolute and
   crowds the stacked CTAs on phones; three tabs don't fit side-by-side.
   Below 700px the nav flows in normal document order with real spacing and
   the tabs stack vertically. */
@media (max-width: 700px) {
  .hero { padding-bottom: 44px; }
  .hero-slide-nav {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 38px;
    padding: 0 20px;
  }
  .hero-progress-track { margin-bottom: 8px; }
  .hero-tab-row { flex-direction: column; }
  .hero-slide-tab {
    padding: 14px 2px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(10, 29, 71, 0.1);
  }
  .hero-slide-tab:last-child { border-bottom: none; }
}
