/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* Hero background media (image or video) */
.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero__media video,
.hero__media img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  top: 0;
  left: 0;
  opacity: 0.40;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -5%, rgba(0, 180, 216, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(240, 192, 64, 0.10) 0%, transparent 45%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(0, 180, 216, 0.06) 0%, transparent 50%),
    rgba(10, 14, 23, 0.7);
  z-index: 0;
}

/* Cinematic vignette overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, rgba(10, 14, 23, 0.6) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  text-align: center;
  padding: var(--space-5xl) 0 var(--space-4xl);
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.025em;
}

/* Oversize the gradient text for visual punch */
.hero__title .text-gradient {
  font-size: 1.15em;
  display: inline-block;
  padding: 0.05em 0;
  filter: brightness(1.1);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: var(--lh-normal);
  letter-spacing: 0.01em;
}

.hero__ctas {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Subtle horizontal line accent under the hero label */
.hero .section-label {
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.hero .section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-gold));
  border-radius: 2px;
}

/* ========== STATS BAR ========== */
.stats {
  background: var(--bg-secondary);
  padding: var(--space-3xl) 0;
  position: relative;
}

.stats__item {
  position: relative;
}
.stats__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent-cyan), transparent);
  opacity: 0.2;
}
.stats__item:last-child::after {
  display: none;
}
@media (max-width: 768px) {
  .stats__item:nth-child(2)::after { display: none; }
}

/* ========== REUSABLE SECTION BACKGROUND IMAGE ========== */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.25;
}

.section-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-primary) 0%, rgba(10, 14, 23, 0.3) 30%, rgba(10, 14, 23, 0.3) 70%, var(--bg-primary) 100%);
  z-index: 0;
}

/* Variant for sections with --bg-secondary */
.section-bg__overlay--secondary {
  background:
    linear-gradient(to bottom, var(--bg-secondary) 0%, rgba(17, 24, 39, 0.3) 30%, rgba(17, 24, 39, 0.3) 70%, var(--bg-secondary) 100%);
}

/* Variant for warm-toned images (slightly more overlay) */
.section-bg__overlay--warm {
  background:
    linear-gradient(to bottom, var(--bg-secondary) 0%, rgba(17, 24, 39, 0.45) 30%, rgba(17, 24, 39, 0.45) 70%, var(--bg-secondary) 100%);
}

/* ========== SERVICES ========== */
.services {
  background: var(--bg-primary);
}

/* ========== YOUTUBE DEEP-DIVE ========== */
.youtube {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.youtube__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.youtube__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.28;
}

.youtube__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(17, 24, 39, 0.4) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(17, 24, 39, 0.75) 0%, rgba(17, 24, 39, 0.3) 40%, rgba(17, 24, 39, 0.6) 80%, rgba(17, 24, 39, 1) 100%);
  z-index: 0;
}

.youtube > .container {
  position: relative;
  z-index: 1;
}

.youtube__pipeline {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

/* --- Tabs (left column) --- */
.youtube__tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.youtube__tab {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.youtube__tab:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

.youtube__tab.active {
  border-left-color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.06);
}

.youtube__tab-num {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-muted);
  opacity: 0.4;
  min-width: 32px;
  transition: color 250ms ease, opacity 250ms ease;
}

.youtube__tab.active .youtube__tab-num {
  color: var(--accent-cyan);
  opacity: 1;
}

.youtube__tab-name {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  transition: color 250ms ease;
}

.youtube__tab.active .youtube__tab-name {
  color: var(--text-heading);
}

/* --- Content panel (right column) --- */
.youtube__panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  min-height: 260px;
  box-shadow: 0 0 40px rgba(0, 180, 216, 0.04);
  overflow: hidden;
}

.youtube__panel-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.youtube__panel-inner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.youtube__panel-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 180, 216, 0.1);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  margin-bottom: var(--space-lg);
}

.youtube__panel-inner h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--text-heading);
  margin-bottom: var(--space-md);
}

.youtube__panel-inner p {
  color: var(--text-muted);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  max-width: 480px;
}

/* --- Mobile: stack tabs above panel --- */
@media (max-width: 768px) {
  .youtube__pipeline {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .youtube__tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: var(--space-xs);
    -webkit-overflow-scrolling: touch;
  }

  .youtube__tab {
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: var(--space-md) var(--space-lg);
    flex-shrink: 0;
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .youtube__tab:hover {
    transform: none;
  }

  .youtube__tab.active {
    border-left-color: transparent;
    border-bottom-color: var(--accent-cyan);
  }

  .youtube__tab-num {
    font-size: var(--fs-base);
  }

  .youtube__tab-name {
    font-size: var(--fs-sm);
  }

  .youtube__panel {
    min-height: 220px;
  }

  .youtube__panel-inner {
    padding: var(--space-xl);
  }
}

/* ========== TIERS ========== */
.tiers {
  background: var(--bg-primary);
  position: relative;
}

/* Ambient glow behind pricing section */
.tiers::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tiers__grid {
  align-items: stretch;
}

/* ========== PROCESS ========== */
.process {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.process > .container {
  position: relative;
  z-index: 1;
}

.process__timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-gold));
  opacity: 0.3;
}

.process__step {
  display: flex;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  position: relative;
}

.process__step:last-child {
  padding-bottom: 0;
}

.process__step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  color: var(--accent-cyan);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--transition-base);
}

.process__step:hover .process__step-num {
  box-shadow: 0 0 20px rgba(0, 180, 216, 0.3), 0 0 40px rgba(0, 180, 216, 0.1);
  background: rgba(0, 180, 216, 0.1);
}

.process__step-content h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-xs);
  padding-top: 2px;
}

.process__step-content p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* ========== ECOSYSTEM ========== */
.ecosystem {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.ecosystem > .container,
.ecosystem > .marquee {
  position: relative;
  z-index: 1;
}

.ecosystem__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}
.ecosystem__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.ecosystem__logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.ecosystem__card h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-xs);
}

.ecosystem__card p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: var(--lh-normal);
}

/* ========== ECOSYSTEM MARQUEE ========== */
.ecosystem .marquee {
  margin-top: var(--space-xl);
}
.ecosystem .marquee__track {
  padding: 35px 0;
}
.ecosystem .marquee::before {
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}
.ecosystem .marquee::after {
  background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.ecosystem .marquee__item {
  padding: var(--space-xl) var(--space-3xl);
  gap: var(--space-lg);
}
.ecosystem .marquee__item:hover {
  transform: none;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow-cyan);
}
.ecosystem .marquee__item svg,
.ecosystem .marquee__item img {
  width: 40px;
  height: 40px;
}
.ecosystem .marquee__item span {
  font-size: var(--fs-base);
  color: var(--text-primary);
}

/* ========== HERO TRUST BADGES ========== */
.hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.hero__trust-logos {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.hero__trust-logos span {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  opacity: 0.7;
}

/* ========== RESULTS ========== */
.results {
  background: var(--bg-primary);
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg-secondary);
}

.faq__list {
  max-width: 700px;
  margin: 0 auto;
}

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

.faq__item:last-child {
  border-bottom: none;
}

.faq__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-xl) 0;
  background: none;
  border: none;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  text-align: left;
  gap: var(--space-lg);
  transition: color var(--transition-fast);
}

.faq__trigger:hover {
  color: var(--accent-cyan);
}

.faq__trigger svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__answer > p {
  overflow: hidden;
}

.faq__item.active .faq__answer {
  grid-template-rows: 1fr;
  padding-bottom: var(--space-xl);
}

.faq__answer p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* ========== TIER CARD PRICE ========== */
.tier-card__price {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.tier-card__price strong {
  font-size: var(--fs-2xl);
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  color: var(--accent-cyan);
}

.tier-card--featured .tier-card__price strong {
  color: var(--accent-gold);
}

.tier-card--purple .tier-card__price strong {
  color: var(--accent-purple);
}

/* ========== FINAL CTA ========== */
.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(0, 180, 216, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(240, 192, 64, 0.05) 0%, transparent 50%),
    var(--bg-primary);
  padding: var(--space-5xl) 0;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.cta-section__text h2 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-lg);
}

.cta-section__text p {
  color: var(--text-muted);
  font-size: var(--fs-lg);
}

@media (max-width: 768px) {
  .cta-section__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .cta-section__text { text-align: center; }
  .contact-form { max-width: 100%; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-xl);
}

.footer__brand p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-top: var(--space-md);
  max-width: 260px;
}

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

.footer__col h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
  color: var(--text-heading);
}

.footer__col a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}
.footer__col a:hover {
  color: var(--accent-cyan);
}

.footer__bottom {
  text-align: center;
}
.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .footer__links {
    grid-template-columns: 1fr 1fr;
  }
}
