/* ============================================
   ZENTIQ — Section-Specific Styles
   ============================================ */

/* ── HERO SECTION ── */
.hero {
  position: relative;
  height: 200vh;
  background: var(--bg-deep);
  width: 100%;
}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
  filter: brightness(0.5) saturate(1.15);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12,12,12,0.85) 0%,
    rgba(12,12,12,0.3) 25%,
    rgba(12,12,12,0.3) 65%,
    rgba(12,12,12,0.95) 100%
  );
  z-index: 2;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 150px rgba(12,12,12,0.9);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1100px;
  padding: calc(var(--nav-height) + 5rem) var(--container-padding) 4rem;
  margin: 0 auto;
}

.hero__caption {
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
}

.hero__title {
  margin-bottom: var(--space-xl);
}

.hero__title .line {
  overflow: hidden;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

/* ── INTRO SECTION ── */
.intro {
  padding: var(--space-5xl) 0;
  background: var(--bg-deep);
}

.intro__inner {
  max-width: 900px;
}

.intro__text {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.intro__text .highlight {
  color: var(--accent-primary);
}

.intro__text .muted {
  color: var(--text-secondary);
}

/* ── FEATURES / BENTO SECTION ── */
.features {
  padding: var(--space-5xl) 0;
  background: var(--bg-deep);
}

.features__header {
  margin-bottom: var(--space-3xl);
}

.features__title {
  max-width: 700px;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.features__grid .bento-card:first-child {
  grid-column: 1 / -1;
}

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

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: var(--space-5xl) 0;
  position: relative;
}

.how-it-works__steps {
  position: relative;
}

.how-it-works__step {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.how-it-works__step-number {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.how-it-works__step-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  text-transform: uppercase;
  line-height: 1.1;
}

.how-it-works__step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .how-it-works__step {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ── SHOWCASE / SCROLL VIDEO SECTION ── */
.showcase {
  position: relative;
  height: 300vh;
}

.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase__frame {
  position: relative;
  width: 85vw;
  max-width: 1200px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  will-change: transform;
}

.showcase__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__overlay-text {
  position: absolute;
  bottom: var(--space-2xl);
  left: var(--space-2xl);
  z-index: 2;
}

.showcase__label {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.showcase__frame-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

/* ── PRICING ── */
.pricing {
  padding: var(--space-5xl) 0;
}

.pricing__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.pricing__title {
  margin-bottom: var(--space-md);
}

.pricing__subtitle {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
}

/* ── CTA ── */
.cta-section {
  padding: var(--space-5xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background: radial-gradient(ellipse at center, var(--accent-primary), transparent 70%);
}

.cta-section__content {
  position: relative;
  z-index: 2;
}

.cta-section__title {
  margin-bottom: var(--space-md);
}

.cta-section__subtitle {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
  font-size: 1.1rem;
}

.cta-section__form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.cta-section__input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.cta-section__input::placeholder {
  color: var(--text-muted);
}

.cta-section__input:focus {
  border-color: var(--accent-primary);
}

@media (max-width: 480px) {
  .cta-section__form {
    flex-direction: column;
  }
  
  .cta-section__input {
    width: 100%;
  }
}

/* ── PARTNERS/TRUSTED BY ── */
.partners {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.partners__label {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.partners__ticker {
  display: flex;
  gap: var(--space-3xl);
  animation: ticker 30s linear infinite;
  width: max-content;
}

.partners__ticker-item {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

/* ── RESPONSIVE OVERRIDES FOR MOBILE & LAPTOPS ── */
@media (max-width: 1024px) {
  .hero {
    height: 150vh;
  }
  .showcase {
    height: 200vh;
  }
  .showcase__frame {
    width: 92vw;
    aspect-ratio: 16/10;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }
  .hero__bg-image {
    filter: brightness(0.5);
    transform: translateZ(0);
    will-change: transform;
  }
  .hero__content {
    padding-top: calc(var(--nav-height) + 3rem);
    transform: translateZ(0);
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .showcase {
    height: auto;
    padding: var(--space-3xl) 0;
  }
  .showcase__sticky {
    position: relative;
    height: auto;
  }
  .showcase__frame {
    width: 100%;
    aspect-ratio: 4/3;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

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