/* ===== Home Page — SB7 StoryBrand ===== */
/* Colors: color.md system */

/* ① Hero — full viewport, centered */
.home-hero {
  position: relative;
  padding: 10rem 0 6rem;
  text-align: center;
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, rgba(71, 212, 202, 0.04) 0%, transparent 55%),
              var(--bg-primary);
  z-index: 0;
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
}

.home-hero__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.home-hero__title em {
  font-style: normal;
  color: var(--accent);
}

/* Power CTA — Teal primary per color.md */
.mn-btn--power {
  background-color: var(--accent);
  color: #0A332F;
  font-weight: 700;
  border: none;
  padding: 1rem 2.25rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.mn-btn--power:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(71, 212, 202, 0.3);
  color: #0A332F;
}

.mn-btn--power:active {
  background-color: var(--accent-active);
  transform: translateY(0);
}

.mn-btn--power.mn-btn--large {
  padding: 1.1rem 2.75rem;
  font-size: 1.15rem;
}

/* Spark wrapper — electric effect around power button */
.spark-wrap {
  position: relative;
  display: inline-block;
}

.spark-svg {
  position: absolute;
  top: -16px;
  left: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

/* ② Floating CTA — pill, centered bottom */
.spark-wrap--floating {
  position: fixed;
  bottom: 1.75rem;
  left: 50%;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.spark-wrap--floating.home-floating-cta--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.home-floating-cta {
  display: inline-block;
  background-color: var(--accent);
  color: #0A332F;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(71, 212, 202, 0.35);
  white-space: nowrap;
}

.home-floating-cta:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 32px rgba(71, 212, 202, 0.5);
  color: #0A332F;
}

/* ③ Stakes */
.home-stakes {
  padding: 7rem 0;
  text-align: center;
  background-color: var(--bg-primary);
}

.home-stakes__lead {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.home-stakes__lead strong {
  color: var(--text-primary);
}

.home-stakes__sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 4rem;
}

.home-stakes__red {
  color: var(--accent-urgent);
  font-weight: 600;
}

.home-stakes__hook {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.35;
}

/* Intro — Guide Section */
.home-intro {
  padding: 80px 0;
  text-align: center;
}

.home-intro__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

/* Video placeholder */
.home-intro__video {
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-intro__play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-intro__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent rgba(255,255,255,0.25);
  margin-left: 3px;
}

/* Credentials */
.home-intro__creds {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
}

.home-intro__cred {
  text-align: center;
}

.home-intro__cred-num {
  font-size: 40px;
  color: #fff;
  font-weight: 700;
  display: block;
}

.home-intro__cred-num sup {
  font-size: 22px;
}

.home-intro__cred-lbl {
  font-size: 14px;
  color: #5F5E5A;
  margin-top: 6px;
  display: block;
}

/* YouTube link */
.home-intro__cred--yt {
  text-decoration: none;
  transition: color 0.2s;
}

.home-intro__yt-icon {
  width: 32px;
  height: 23px;
  vertical-align: middle;
  margin-right: 4px;
}

.home-intro__cred--yt:hover .home-intro__cred-num {
  color: #ccc;
}

@media (max-width: 600px) {
  .home-intro { padding: 56px 0; }
  .home-intro__creds { gap: 32px; }
  .home-intro__cred-num { font-size: 32px; }
}

/* ④ Your Future */
.home-future {
  padding: 6rem 0;
  text-align: center;
  background-color: var(--bg-secondary);
}

.home-future__title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
}

/* Carousel */
.home-future__carousel {
  position: relative;
  max-width: 70%;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.home-future__viewport {
  overflow: hidden;
}

.home-future__track {
  display: flex;
  gap: 1.25rem;
}

.home-future__item {
  flex: 0 0 450px;
}

.home-future__slide {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
}

.home-future__video-title {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.home-future__caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
}

.home-future__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-future__slide iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.home-future__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  pointer-events: none;
}

.home-future__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

.home-future__slide:hover .home-future__play {
  background: rgba(0, 0, 0, 0.8);
}

.home-future__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, color 0.2s;
  line-height: 1;
}

.home-future__arrow:hover {
  background-color: var(--accent);
  color: #0A332F;
}

.home-future__arrow--left {
  left: 0;
}

.home-future__arrow--right {
  right: 0;
}

/* ⑤ Guide */
.home-guide {
  padding: 6rem 0;
  text-align: center;
  background-color: var(--bg-primary);
}

.home-guide__empathy {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0 auto 4rem;
  max-width: 460px;
  line-height: 1.65;
}

.home-guide__empathy em {
  font-style: italic;
  color: var(--text-primary);
}

.home-guide__cta-line {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 4rem;
  letter-spacing: -0.01em;
}

.home-guide__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.home-guide__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.home-guide__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.home-guide__stat-number sup {
  font-size: 0.45em;
  color: var(--accent);
}

.home-guide__stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-guide__divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.home-guide__will {
  font-size: 1.2rem;
  color: var(--accent-urgent);
  text-align: center;
  margin: 0 auto 3rem;
}

/* Guide Carousel — break out of .mn-container to match senpai width */
.home-guide__carousel {
  position: relative;
  width: 70vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 3.5rem;
}

.home-guide__viewport {
  overflow: hidden;
}

.home-guide__track {
  display: flex;
  gap: 1.25rem;
}

.home-guide__carousel-item {
  flex: 0 0 450px;
}

.home-guide__slide {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #000;
}

.home-guide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-guide__slide iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.home-guide__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  pointer-events: none;
}

.home-guide__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

.home-guide__slide:hover .home-guide__play {
  background: rgba(0, 0, 0, 0.8);
}

.home-guide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  padding: 0;
  line-height: 1;
}

.home-guide__arrow:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.home-guide__arrow--left {
  left: 0;
}

.home-guide__arrow--right {
  right: 0;
}

.home-guide__yt-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.home-guide__yt-link:hover {
  color: var(--accent);
}

/* ⑥ Final CTA */
.home-cta-final {
  padding: 8rem 0;
  text-align: center;
  background-color: var(--bg-secondary);
}

.home-cta-final__heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  line-height: 1.3;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .home-hero {
    padding: 6rem 0 4rem;
  }

  .home-stakes,
  .home-future,
  .home-guide,
  .home-cta-final {
    padding: 4rem 0;
  }

  .home-future__item {
    flex: 0 0 300px;
  }

  .home-future__carousel { padding: 0 2.5rem; }
  .home-future__item { flex: 0 0 300px; }

  .home-guide__stats {
    flex-direction: column;
    gap: 1.75rem;
  }

  .home-guide__divider {
    width: 40px;
    height: 1px;
  }

  .home-guide__carousel { width: 100vw; padding: 0 2.5rem; }
  .home-guide__carousel-item { flex: 0 0 300px; }


  .spark-wrap--floating {
    bottom: 1rem;
  }

  .home-floating-cta {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}
