/* =============================================================================
   NEXILIA NETWORK — css/launcher.css
   Page-specific styles for launcher.html. Shared primitives (.btn, .glass,
   .card, .feature-card, .section, .badge) live in components.css / base.css.
   ============================================================================= */

/* ---- Hero ---- */
.launcher-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-8)) var(--space-5) var(--space-8);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.launcher-hero .hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%) translate3d(var(--pgx, 0px), var(--pgy, 0px), 0);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, var(--purple-soft) 0%, transparent 65%);
  pointer-events: none;
}

.launcher-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.launcher-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.launcher-subtitle {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 560px;
}

/* ---- Download card ----
   The one elevated surface on this page — it holds the primary download
   action, so it gets the deepest shadow here (though still shallower than
   the tilt-tier cards on home/store: this is a panel you read, not an
   object you tilt). No hover lift; the button inside already lifts. */
.download-card {
  width: 100%;
  margin-top: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-align: left;
  box-shadow: var(--shadow-elevated);
}

.download-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border-hi);
  display: grid;
  place-items: center;
  color: var(--purple);
}

.download-card-icon svg { width: 26px; height: 26px; }

.download-card-info { flex: 1; min-width: 0; }

.download-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.download-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 1.05rem;
}

.download-card-meta {
  margin-top: 2px;
  color: var(--gray-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.dot-sep { margin: 0 6px; }

.btn-lg { padding: 14px 28px; font-size: 1rem; gap: 8px; }

.launcher-altlink {
  color: var(--gray-dim);
  font-size: 0.9rem;
}

.launcher-altlink a { color: var(--blue); text-decoration: none; }
.launcher-altlink a:hover { text-decoration: underline; }

.launcher-soon-note {
  max-width: 480px;
  margin: 4px auto 0;
  padding: 12px 18px;
  border-radius: var(--radius-md, 12px);
  background: color-mix(in srgb, var(--purple, #7c5cff) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--purple, #7c5cff) 30%, transparent);
  color: var(--gray-dim);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}
.launcher-soon-note a { color: var(--blue); text-decoration: none; font-weight: 600; }
.launcher-soon-note a:hover { text-decoration: underline; }

/* ---- Steps ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

/* Recessed rather than elevated — these read as an etched instruction
   strip (like a control panel silkscreen), not a stack of four separate
   floating objects. */
.step-card {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(248, 248, 248, 0.04);
}

.step-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: var(--space-2);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
}

.step-desc {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---- Features grid (4-col override for this page) ---- */
.launcher-hero + .section .features-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

/* ---- Requirements ---- */
.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.requirements-card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.requirements-card.is-recommended {
  border-color: var(--purple);
  box-shadow: var(--shadow-elevated);
}

.requirements-card .badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
}

.requirements-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.requirements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.requirements-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9rem;
}

.requirements-list li:last-child { border-bottom: none; padding-bottom: 0; }
.requirements-list li span:first-child { color: var(--gray-dim); }
.requirements-list li span:last-child { color: var(--white); font-family: var(--font-mono); font-size: 0.85rem; }

/* ---- CTA band (alt variant, no big radial like home's) ---- */
.cta-band-alt {
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
}

.cta-band-alt .cta-band-content {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.cta-band-alt .cta-band-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
}

.cta-band-alt .cta-band-desc { color: var(--gray); }

.cta-band-alt .cta-band-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

/* ---- Additional downloads (data/downloads.json) ---- */
.downloads-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.downloads-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
}

.downloads-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(248, 248, 248, 0.05);
  border: 1px solid var(--glass-border);
  display: grid;
  place-items: center;
  color: var(--blue);
}

.downloads-item-icon svg { width: 18px; height: 18px; }

.downloads-item-info { flex: 1; min-width: 0; }

.downloads-item-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.downloads-item-desc {
  color: var(--gray);
  font-size: 13px;
  margin-top: 2px;
}

.downloads-item-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gray-dim);
  margin-top: 4px;
}
