/* ============================================
   YOOSTUDIO V2 — HOMEPAGE
   Hero, Features, Sim Grid, CTA, Sections
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */

.yoo-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8xl) var(--content-padding-desktop) var(--space-7xl);
  overflow: hidden;
  background: var(--color-obsidian);
}

/* Ambient gradient meshes */
.yoo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,229,204,0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(123,97,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative prism line across bottom */
.yoo-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,229,204,0.3) 30%, rgba(123,97,255,0.3) 70%, transparent 100%);
}

.yoo-hero__content {
  position: relative;
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  z-index: 1;
  margin: 0 auto;
}

.yoo-hero__overline {
  margin-bottom: var(--space-xl);
}

.yoo-hero__title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin: 0 auto var(--space-xl);
  max-width: 900px;
}

.yoo-hero__subtitle {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-silver);
  max-width: var(--body-max-width);
  margin: 0 auto var(--space-3xl);
}

.yoo-hero__actions {
  display: flex;
  gap: var(--space-base);
  justify-content: center;
  flex-wrap: wrap;
}

/* Compact hero variant (curriculum page) */
.yoo-hero--compact {
  min-height: 60vh;
  padding: var(--space-7xl) var(--content-padding-desktop) var(--space-5xl);
}

.yoo-hero--compact .yoo-hero__title {
  font-size: 56px;
}

/* Hero info cards below hero (curriculum) */
.yoo-hero__cards {
  margin-top: var(--space-5xl);
  position: relative;
  z-index: 1;
}


/* ============================================
   FEATURES SECTION
   ============================================ */

.yoo-features {
  padding: var(--space-7xl) 0;
}

.yoo-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-4xl);
}


/* ============================================
   SIMULATION GRID SECTION
   ============================================ */

.yoo-sims-section {
  padding: var(--space-6xl) 0;
}

/* Override sim grid for homepage — full width, larger cards */
.yoo-sims-section .yoo-sim-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-base);
}


/* ============================================
   THEORY SECTION
   ============================================ */

.yoo-theory-section {
  padding: var(--space-6xl) 0;
}

.yoo-theory-section .yoo-sim-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}


/* ============================================
   ATTRIBUTION SECTION
   ============================================ */

.yoo-attribution-section {
  padding: var(--space-5xl) 0;
  border-top: 1px solid var(--color-glass-border);
}

.yoo-attribution-section .yoo-body {
  font-size: 15px;
  color: var(--color-zinc);
  line-height: 1.7;
  margin-bottom: var(--space-base);
}

.yoo-attribution-section .yoo-body a {
  color: var(--color-cyan);
  opacity: 0.8;
}

.yoo-attribution-section .yoo-body a:hover {
  opacity: 1;
}


/* ============================================
   RESPONSIVE — HOMEPAGE
   ============================================ */

@media (max-width: 1024px) {
  .yoo-hero__title {
    font-size: 52px;
  }

  .yoo-hero--compact .yoo-hero__title {
    font-size: 42px;
  }

  .yoo-features__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .yoo-hero {
    padding: var(--space-7xl) var(--content-padding-mobile) var(--space-5xl);
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-4xl));
  }

  .yoo-hero__title {
    font-size: 36px;
    letter-spacing: -0.02em;
  }

  .yoo-hero--compact {
    min-height: auto;
  }

  .yoo-hero--compact .yoo-hero__title {
    font-size: 32px;
  }

  .yoo-hero__subtitle {
    font-size: 16px;
  }

  .yoo-hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .yoo-hero__actions .yoo-btn--primary,
  .yoo-hero__actions .yoo-btn--ghost {
    width: 100%;
    max-width: 320px;
  }

  .yoo-sims-section .yoo-sim-grid,
  .yoo-theory-section .yoo-sim-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}
