/* ==========================================================================
   Home — section-specific styles for the long-scroll landing page.
   ========================================================================== */

/* --- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + var(--space-12));
  padding-bottom: var(--space-24);
  overflow: hidden;
}

.hero .glow--gold {
  width: 520px;
  height: 520px;
  top: -120px;
  right: -80px;
}

.hero .glow--blue {
  width: 380px;
  height: 380px;
  bottom: -160px;
  left: -120px;
  opacity: 0.35;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-16);
}

.hero h1 {
  margin: var(--space-4) 0 var(--space-6);
}

.hero h1 .text-gold {
  background: linear-gradient(120deg, var(--color-gold), var(--color-gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.hero__device {
  display: grid;
  place-items: center;
}

/* --- Value pillars --------------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

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

.pillar__head .card__icon {
  margin-bottom: 0;
  width: 40px;
  height: 40px;
}

.pillar h3 {
  font-size: var(--text-lg);
}

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

/* --- Feature showcase (alternating rows) ----------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  padding-block: var(--space-12);
}

.feature-row + .feature-row {
  border-top: 1px solid var(--color-border-soft);
}

.feature-row--reverse .feature-row__media {
  order: -1;
}

.feature-row__copy h3 {
  font-size: var(--text-2xl);
  margin: var(--space-3) 0;
}

.feature-row__copy p {
  color: var(--color-text-muted);
  max-width: 46ch;
}

.feature-row__media {
  display: grid;
  place-items: center;
}

/* A generic framed screenshot surface used across feature rows */
.shot {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, var(--color-surface), var(--color-surface-deep));
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  overflow: hidden;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 80% at 80% 0%,
    rgba(236, 201, 75, 0.08),
    transparent 60%
  );
  pointer-events: none;
}

.shot__row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.shot__row + .shot__row {
  margin-top: var(--space-3);
}

.shot__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
}

/* Thinking / reasoning panel mock */
.think {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  background: var(--color-surface-deep);
}

.think__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-blue-light);
  margin-bottom: var(--space-2);
}

.think__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Progress bar mock (download manager) */
.progress {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-surface-deep);
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
}

.progress__fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-gold-deep), var(--color-gold));
  width: 0;
  animation: progress-fill 3s var(--ease) forwards;
}

@keyframes progress-fill {
  to {
    width: 72%;
  }
}

/* --- How it works ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-gold);
  border: 1px solid rgba(236, 201, 75, 0.4);
  background: rgba(236, 201, 75, 0.08);
  margin-bottom: var(--space-4);
}

.step__num::before {
  content: counter(step);
}

/* --- Privacy spotlight band ------------------------------------------------ */
.privacy-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #161203, var(--color-bg));
  border-block: 1px solid var(--color-border-soft);
}

.privacy-band .glow--gold {
  width: 600px;
  height: 360px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.25;
}

.privacy-band__inner {
  position: relative;
  z-index: 1;
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}

.privacy-band__inner h2 {
  margin-bottom: var(--space-4);
}

.privacy-band__inner p {
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

/* --- Power users / spec sheet ---------------------------------------------- */
.specsheet {
  background: var(--color-surface-deep);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
}

.specsheet__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-12);
  align-items: start;
}

.spec-list {
  display: grid;
  gap: var(--space-4);
}

.spec-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-soft);
}

.spec-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  margin-top: 3px;
}

.spec-list .mono {
  color: var(--color-text);
}

/* --- Featured models grid -------------------------------------------------- */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.model-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.model-card__name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--text-base);
}

.model-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* --- FAQ teaser ------------------------------------------------------------ */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta .glow--gold {
  width: 700px;
  height: 400px;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 50ch;
  margin-inline: auto;
}

.final-cta__inner h2 {
  margin-bottom: var(--space-4);
}

.final-cta__inner .lead {
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* --- Responsive collapse --------------------------------------------------- */
@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--space-6));
    padding-bottom: var(--space-16);
  }

  .hero__grid,
  .feature-row,
  .specsheet__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .feature-row--reverse .feature-row__media {
    order: 0;
  }

  .pillars,
  .steps,
  .models-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .models-grid {
    grid-template-columns: 1fr 1fr;
  }
}
