/* ─── Home — cinematic centered hero ─── */
.page-home .site-main {
  overflow-x: hidden;
}

.home-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--space-3xl)) 0 var(--space-4xl);
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Aurora backdrop */
.hero-aurora {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  max-width: 1800px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 88%);
  opacity: 0.9;
}

.hero-aurora img {
  width: 100%;
  height: auto;
}

/* Centered copy */
.hero-center {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-top: var(--space-2xl);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0;
}

.hero-brand__five {
  color: var(--white);
}

.hero-brand__cord {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.32);
  text-stroke: 1.5px rgba(255, 255, 255, 0.32);
}

.hero-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--gray-400);
  line-height: 1.75;
  max-width: 400px;
  margin: 0 auto var(--space-2xl);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-center__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* Visual stage */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: var(--space-3xl) auto 0;
  padding: 0 var(--space-lg);
  aspect-ratio: 14 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage__beam {
  position: absolute;
  top: -14%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35), transparent);
  opacity: 0.5;
}

.hero-stage__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-stage__orbit--1 {
  width: 92%;
  height: 40%;
  animation: orbitSpin 36s linear infinite;
}

.hero-stage__orbit--2 {
  width: 72%;
  height: 30%;
  border-color: rgba(255, 255, 255, 0.035);
  animation: orbitSpin 26s linear infinite reverse;
}

.hero-stage__orbit--3 {
  width: 52%;
  height: 22%;
  border-color: rgba(255, 255, 255, 0.025);
  animation: orbitSpin 18s linear infinite;
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-stage__core {
  position: relative;
  z-index: 2;
  width: 100%;
  transition: transform 0.25s var(--ease-out);
}

.hero-stage__art {
  width: 100%;
  height: auto;
  mask-image: radial-gradient(ellipse 78% 72% at 50% 44%, black 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 44%, black 35%, transparent 100%);
}

/* Floating labels */
.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gray-300);
  background: rgba(12, 12, 14, 0.75);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 3;
  transition: transform 0.25s var(--ease-out);
  animation: floatY 7s ease-in-out infinite;
}

.hero-float__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.6;
  flex-shrink: 0;
}

.hero-float--1 {
  top: 16%;
  left: 6%;
  animation-delay: 0s;
}

.hero-float--2 {
  top: 10%;
  right: 4%;
  animation-delay: -2.5s;
}

.hero-float--3 {
  bottom: 20%;
  left: 10%;
  animation-delay: -5s;
}

/* Bottom pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-2xl) var(--space-lg) var(--space-4xl);
  position: relative;
  z-index: 2;
}

.hero-pill {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  letter-spacing: 0.03em;
}

/* Section rule (replaces marquee) */
.section-rule {
  width: min(200px, 40%);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

@media (max-width: 767px) {
  .hero-stage {
    aspect-ratio: 4 / 3;
    margin-top: var(--space-lg);
    max-width: 100%;
  }

  .hero-brand {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-center {
    padding-top: var(--space-lg);
  }

  .home-hero {
    min-height: auto;
    padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-2xl);
    justify-content: flex-start;
  }

  .hero-aurora {
    width: 140%;
    opacity: 0.7;
  }

  .section-rule {
    width: min(120px, 30%);
  }
}

/* Pipeline */
.pipeline-section {
  padding-top: 0;
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
}

.pipeline__line {
  display: none;
}

.pipeline__step {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.pipeline__step:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.pipeline__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--gray-800);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--gray-300);
}

.pipeline__icon svg {
  width: 22px;
  height: 22px;
}

.pipeline__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

.pipeline__step h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin: var(--space-sm) 0;
}

.pipeline__step p {
  font-size: 0.875rem;
  line-height: 1.65;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.012);
  padding: var(--space-md) 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-2xl);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee__item svg {
  width: 6px;
  height: 6px;
  opacity: 0.6;
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.bento__item {
  position: relative;
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.bento__item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bento__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.bento__number {
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--gray-500);
  margin-bottom: var(--space-md);
}

.bento__item h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.bento__item p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.showcase:last-child { margin-bottom: 0; }

.showcase__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-800);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: var(--space-md);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.testimonial {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease);
}

.testimonial:hover { border-color: var(--border-strong); }

.testimonial__quote {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  font-style: normal;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-800);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-400);
}

.testimonial__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial__role {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }

.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--duration) var(--ease);
}

.faq__trigger:hover { color: var(--gray-300); }

.faq__trigger svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gray-500);
  transition: transform var(--duration) var(--ease);
}

.faq__item.is-open .faq__trigger svg { transform: rotate(180deg); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }

.faq__panel-inner { overflow: hidden; }

.faq__panel p {
  padding-bottom: var(--space-lg);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* CTA */
.cta-final {
  position: relative;
  text-align: center;
  padding: var(--space-4xl) var(--space-2xl);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.07), transparent 55%);
  pointer-events: none;
}

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

.cta-final__badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-950);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.cta-final h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.08;
  letter-spacing: var(--tracking-tight);
}

.cta-final p {
  max-width: 400px;
  margin: 0 auto var(--space-xl);
}

/* Responsive */
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .bento__item--wide { grid-column: span 2; }

  .showcase {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-3xl);
  }

  .showcase--reverse .showcase__visual { order: -1; }

  .pipeline {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .pipeline__line {
    display: block;
    position: absolute;
    top: 48px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  }

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

