/* === HERO SECTION === */
.hero {
  position: relative;
  z-index: var(--z-content);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 var(--space-section);
}

.hero__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

/* === VIDEO EMBED === */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: var(--space-2xl) auto;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 200, 83, 0.08);
}

.video-embed video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}

.video-embed--wide {
  max-width: 960px;
}

.video-embed--glow-green  { box-shadow: 0 0 60px rgba(0, 200, 83, 0.1); }
.video-embed--glow-red    { box-shadow: 0 0 60px rgba(255, 23, 68, 0.1); }
.video-embed--glow-blue   { box-shadow: 0 0 60px rgba(41, 121, 255, 0.1); }
.video-embed--glow-orange { box-shadow: 0 0 60px rgba(255, 109, 0, 0.1); }
.video-embed--glow-teal   { box-shadow: 0 0 60px rgba(0, 191, 165, 0.1); }

/* === VARIABLE CARDS SECTION === */
.variable-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 600px) {
  .variable-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .variable-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === SPLIT SECTION (video + text side by side) === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.split--reverse .split__media {
  order: 1;
}

.split__text {
  order: 2;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .split--reverse .split__text {
    order: 1;
  }

  .split__text {
    order: initial;
  }
}

.split__media .video-embed {
  margin: 0;
  max-width: none;
}

/* === EQUATION DISPLAY === */
.equation {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  text-align: center;
  padding: var(--space-2xl) 0;
  letter-spacing: 0.02em;
}

/* === PROFESSIONAL CARDS === */
.pro-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 768px) {
  .pro-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === ABOUT SECTION === */
.about__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* === FOOTER CTA SECTION === */
.footer-cta {
  text-align: center;
  padding: var(--space-section) 0;
  position: relative;
  z-index: var(--z-content);
}

.footer-cta__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
}

.footer-cta__subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

/* === VARIABLE PAGE HERO === */
.variable-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 var(--space-3xl);
  text-align: center;
  border-bottom: 2px solid var(--accent, var(--color-text-muted));
}

.variable-hero .hero__title {
  color: var(--accent, var(--color-text-primary));
}

/* === VARIABLE NAVIGATION === */
.variable-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.variable-nav a {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.variable-nav a:hover {
  color: var(--color-v1);
}

/* === CONTENT SECTION (for variable/model pages) === */
.content-section {
  position: relative;
  z-index: var(--z-content);
  padding: var(--space-3xl) 0;
}

.content-section + .content-section {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.content-section__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.content-section__body {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.content-section__body p + p {
  margin-top: var(--space-lg);
}

.content-section__body strong {
  color: var(--color-text-primary);
}

.content-section__body ul,
.content-section__body ol {
  margin: var(--space-lg) 0;
  padding-left: var(--space-xl);
}

.content-section__body li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.content-section__body ol li {
  list-style: decimal;
}

/* === KEY INSIGHT CALLOUT === */
.insight {
  background: var(--color-bg-card);
  border-left: 4px solid var(--accent, var(--color-v1));
  padding: var(--space-xl);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin: var(--space-2xl) 0;
}

.insight__text {
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  font-style: italic;
  line-height: 1.7;
}
