/* ============================================
   LaunchReady.ai - Index Page Styles
   Only styles unique to the homepage.
   Shared styles live in tokens/base/components.
   ============================================ */

/* ---- Hero ---- */
#hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 0;
}

#hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/AI_for_Everyone_Backgroun.jpg") center/cover no-repeat;
  opacity: 0.25;
}

#hero .hero-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 12, 28, 1) 0%,
    rgba(4, 12, 28, 0.75) 50%,
    rgba(4, 12, 28, 0.3) 100%
  );
}

#hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 80px var(--space-md) var(--space-2xl);
  width: 100%;
}

#hero h1 {
  font-size: clamp(4rem, 16vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
}

#hero h1 em {
  font-style: italic;
  color: var(--accent);
  display: block;
}

.hero-pill {
  background: rgba(242, 106, 33, 0.1);
  border-radius: 3px;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: var(--space-lg);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.hstat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
}

.hstat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--accent);
  line-height: 1;
}

.hstat-lbl {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 3px;
}


/* ---- Programs ---- */
#programs {
  background: var(--surface-deepest);
}

.programs-intro {
  margin-bottom: var(--space-xl);
}

.prog-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.prog-card {
  background: var(--surface-deep);
  border: var(--border-subtle);
  border-radius: 0;
  text-decoration: none;
  display: grid;
  grid-template-rows: 240px 1fr;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.prog-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  color: inherit;
}

.prog-card-top {
  overflow: hidden;
}

.prog-card-top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prog-card-top-ph {
  flex-direction: column;
  gap: var(--space-sm);
}

.prog-card-bottom {
  padding: 1.75rem 2rem 2rem;
  border-top: var(--border-subtle);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prog-card-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.prog-card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.prog-card-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.prog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: auto;
  padding-top: var(--space-sm);
}

@media (min-width: 768px) {
  .prog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .prog-card {
    grid-template-rows: 280px 1fr;
  }

  .prog-card-top img {
    max-height: none;
  }
}


/* ---- Truth ---- */
#truth {
  background: var(--surface-deep);
}

.truth-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.truth-item {
  background: var(--surface-mid);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem var(--space-md);
}

.truth-text {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
}

.truth-text strong {
  color: var(--text-primary);
  font-weight: 600;
}


/* ---- Stats ---- */
#stats {
  background: var(--surface-deepest);
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/AI_for_Everyone_Backgroun.jpg") center/cover no-repeat;
  opacity: 0.12;
}

.stats-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 12, 28, 0.97), rgba(4, 12, 28, 0.9));
}

.stats-in {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--accent);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  line-height: 1.4;
}


/* ---- Harrison (About) ---- */
#harrison {
  background: var(--surface-mid);
}

.harrison-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.harrison-photo {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.harrison-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.creds {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-md);
}

.cred {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.cred::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}


/* ---- Photo Break ---- */
.photo-break-index {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.photo-break-index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-break-index .pb-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(4, 12, 28, 0.85),
    transparent,
    rgba(4, 12, 28, 0.85)
  );
}

@media (min-width: 768px) {
  .photo-break-index {
    height: 420px;
  }
}


/* ---- Testimonials ---- */
#testimonials {
  background: var(--surface-deep);
}

.testi-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.testi-card {
  background: var(--surface-mid);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.testi-quote {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testi-av {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-raised);
}

.testi-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.testi-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.testi-role {
  font-size: var(--text-sm);
  color: var(--text-muted);
}


/* ---- CTA ---- */
#cta {
  background: var(--surface-deepest);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#cta .cta-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/images/AI_for_Everyone_Backgroun.jpg") center/cover no-repeat;
  opacity: 0.15;
}

#cta .cta-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    var(--surface-deepest),
    rgba(4, 12, 28, 0.88),
    var(--surface-deepest)
  );
}

#cta .cta-in {
  position: relative;
  z-index: 1;
}

.cta-h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.cta-h em {
  color: var(--accent);
  font-style: italic;
}


/* ---- Footer Override ---- */
footer {
  background: var(--surface-mid);
}


/* ---- Desktop ---- */
@media (min-width: 768px) {
  #hero .hero-content {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }

  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .harrison-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-xl);
  }

  .harrison-photo {
    flex-shrink: 0;
    width: 340px;
  }

  .testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}
