/* ============================================================
   AKARSH DIGITAL — Homepage specific styles
   ============================================================ */

/* 2-column hero layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#hero {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-copy { text-align: left; }

.hero-copy .hero-ctas { justify-content: flex-start; }

.hero-copy .hero-sub {
  max-width: 480px;
  margin-left: 0;
  margin-right: 0;
}

/* Override the centered hero-headline for homepage */
.hero-copy .hero-headline {
  font-size: clamp(46px, 6.5vw, 96px);
  margin-bottom: 24px;
  color: var(--off-white);
  background: none;
  -webkit-text-fill-color: var(--off-white);
}
.hero-copy .hero-headline .gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 2×2 stat card grid */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-cards .stat-card {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
}
.hero-cards .stat-card:nth-child(1) { animation-delay: 0.3s; }
.hero-cards .stat-card:nth-child(2) { animation-delay: 0.45s; }
.hero-cards .stat-card:nth-child(3) { animation-delay: 0.6s; }
.hero-cards .stat-card:nth-child(4) { animation-delay: 0.75s; }

/* Trust strip below CTAs */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-border);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.35;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold-gradient-v);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-mid);
}
@keyframes scrollPulse { 0%,100%{opacity:0.3;transform:scaleY(1);} 50%{opacity:1;transform:scaleY(1.2);} }

/* ============================================================
   Texas aggregate case study (homepage results)
   ============================================================ */
.result-card--aggregate {
  grid-column: 1 / -1;
}
.stat-box-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.stat-box {
  text-align: center;
}
.stat-box__num {
  font-family: var(--font-display);
  font-size: 36px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-box__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.42);
}

/* ============================================================
   Responsive
   ============================================================ */

@media(max-width:960px){
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy { text-align: center; }
  .hero-copy .hero-ctas { justify-content: center; }
  .hero-copy .hero-sub { max-width: 540px; margin: 0 auto 40px; }
  .hero-trust { justify-content: center; }
  .hero-cards { grid-template-columns: repeat(2,1fr); max-width: 480px; margin: 0 auto; }
}

@media(max-width:520px){
  .hero-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-box-row { grid-template-columns: repeat(2,1fr); }
}
