/* Starlink-inspired dark theme — scoped to .starlink-page content wrapper.
   Site header/footer use global theme; Starlink content area stays dark branded. */

.page--starlink {
  background: var(--color-bg);
  color: var(--color-text);
}

.starlink-page {
  --sl-bg: #000;
  --sl-bg-elevated: #0a0a0a;
  --sl-bg-card: #111;
  --sl-border: rgba(255, 255, 255, 0.12);
  --sl-text: #fff;
  --sl-text-muted: rgba(255, 255, 255, 0.55);
  --sl-accent: #fff;
  --sl-cta: #fff;
  --sl-cta-text: #000;
  --sl-nav-height: 52px;
  background: var(--sl-bg);
  color: var(--sl-text);
  font-family: var(--font-body, "Inter", system-ui, -apple-system, sans-serif);
}

/* Sub navigation */
.page--starlink .sl-nav {
  position: sticky;
  top: 64px;
  z-index: 99;
}

.sl-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--sl-border);
}

.sl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--sl-nav-height);
  overflow-x: auto;
  scrollbar-width: none;
}

.sl-nav__inner::-webkit-scrollbar {
  display: none;
}

.sl-nav__links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.sl-nav__links a {
  font-family: var(--font-heading, "Plus Jakarta Sans", system-ui, sans-serif);
  color: var(--sl-text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.sl-nav__links a:hover,
.sl-nav__links a.is-active {
  color: var(--sl-text);
  background: rgba(255, 255, 255, 0.06);
}

.sl-currency-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--sl-border);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.sl-currency-toggle button {
  background: transparent;
  border: none;
  color: var(--sl-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.sl-currency-toggle button.is-active {
  background: #fff;
  color: #000;
}

/* Hero */
.sl-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 1.25rem 4rem;
  background: #000 center / cover no-repeat;
  overflow: hidden;
}

.sl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.sl-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.sl-hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  margin-bottom: 1.25rem;
}

.sl-hero__title {
  font-family: var(--font-heading, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.sl-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: var(--sl-text-muted);
  max-width: 42rem;
  line-height: 1.5;
  margin: 0 0 2rem;
}

.sl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.sl-section {
  padding: 5rem 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.sl-section.is-visible {
  opacity: 1;
  transform: none;
}

.sl-section--alt {
  background: var(--sl-bg-elevated);
}

.sl-container {
  max-width: 1280px;
  margin: 0 auto;
}

.sl-section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  margin: 0 0 0.75rem;
}

.sl-section__title {
  font-family: var(--font-heading, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.1;
}

.sl-section__intro {
  font-size: 1.125rem;
  color: var(--sl-text-muted);
  max-width: 40rem;
  line-height: 1.6;
  margin: 0 0 2.5rem;
}

/* Buttons */
.sl-btn {
  font-family: var(--font-heading, "Plus Jakarta Sans", system-ui, sans-serif);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s, background 0.2s;
}

.sl-btn:hover {
  transform: translateY(-1px);
}

.sl-btn--primary {
  background: var(--sl-cta);
  color: var(--sl-cta-text);
}

.sl-btn--primary:hover {
  opacity: 0.9;
}

.sl-btn--outline {
  background: transparent;
  color: var(--sl-text);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.sl-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sl-btn--small {
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
}

.sl-btn--added {
  background: #1a472a;
  color: #8fdfaa;
}

/* Hardware cards — horizontal scroll */
.sl-kits-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sl-kit-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sl-kit-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a1a;
}

.sl-kit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sl-kit-card:hover .sl-kit-card__media img {
  transform: scale(1.03);
}

.sl-kit-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sl-kit-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}

.sl-kit-card__tagline {
  font-size: 0.875rem;
  color: var(--sl-text-muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.sl-kit-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.sl-kit-card__price-note {
  font-size: 0.75rem;
  color: var(--sl-text-muted);
  margin: 0 0 1rem;
}

.sl-kit-card__specs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--sl-text-muted);
}

.sl-kit-card__specs li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--sl-border);
}

.sl-kit-card__specs li:last-child {
  border-bottom: none;
}

.sl-kit-card__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Comparison */
.sl-compare-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.sl-compare-toggle {
  background: transparent;
  border: 1px solid var(--sl-border);
  color: var(--sl-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.sl-compare-toggle.is-active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.sl-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sl-border);
  border-radius: 8px;
}

.sl-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.sl-compare-table th,
.sl-compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--sl-border);
}

.sl-compare-table th {
  font-weight: 600;
  color: var(--sl-text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sl-compare-table td.is-dimmed {
  opacity: 0.25;
}

.sl-compare-table td.is-highlight {
  background: rgba(255, 255, 255, 0.04);
}

.sl-compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* Service plans */
.sl-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.sl-plan-card {
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 8px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.sl-plan-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.sl-plan-card__price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
}

.sl-plan-card__period {
  font-size: 0.8125rem;
  color: var(--sl-text-muted);
  margin: 0 0 1rem;
}

.sl-plan-card__audience {
  font-size: 0.875rem;
  color: var(--sl-text-muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.sl-plan-card__benefits {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.8125rem;
  flex: 1;
}

.sl-plan-card__benefits li {
  padding: 0.35rem 0;
  padding-left: 1.1rem;
  position: relative;
  color: var(--sl-text-muted);
}

.sl-plan-card__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sl-text);
}

/* Accessories */
.sl-accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.sl-accessory-card {
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sl-accessory-card__img {
  aspect-ratio: 1;
  background: #1a1a1a;
}

.sl-accessory-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sl-accessory-card__body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sl-accessory-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.sl-accessory-card__price {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.sl-accessory-card__group {
  font-size: 0.6875rem;
  color: var(--sl-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

/* Installation */
.sl-install {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sl-install__list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}

.sl-install__list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--sl-text-muted);
}

.sl-install__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--sl-text);
}

.sl-install__visual {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.sl-install__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coverage */
.sl-coverage {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--sl-border);
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

.sl-coverage__map {
  width: min(480px, 100%);
  margin: 0 auto 2rem;
  opacity: 0.85;
}

.sl-coverage__regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sl-coverage__region {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--sl-border);
  border-radius: 999px;
  color: var(--sl-text-muted);
}

/* Wizard */
.sl-wizard {
  max-width: 560px;
  margin: 0 auto;
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 12px;
  padding: 2rem;
}

.sl-wizard__progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sl-wizard__dot {
  flex: 1;
  height: 3px;
  background: var(--sl-border);
  border-radius: 2px;
  transition: background 0.3s;
}

.sl-wizard__dot.is-done {
  background: #fff;
}

.sl-wizard__question {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.sl-wizard__options {
  display: grid;
  gap: 0.75rem;
}

.sl-wizard__option {
  background: transparent;
  border: 1px solid var(--sl-border);
  color: var(--sl-text);
  font-size: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}

.sl-wizard__option:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.sl-wizard__result {
  text-align: center;
  padding: 1rem 0;
}

.sl-wizard__result-kit {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0.5rem 0 1.5rem;
}

.sl-wizard__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* FAQ */
.sl-faq {
  max-width: 720px;
  margin: 0 auto;
}

.sl-faq__item {
  border-bottom: 1px solid var(--sl-border);
}

.sl-faq__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--sl-text);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}

.sl-faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--sl-text-muted);
  transition: transform 0.25s;
}

.sl-faq__item.is-open .sl-faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.sl-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.sl-faq__answer-inner {
  padding: 0 0 1.25rem;
  color: var(--sl-text-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.sl-faq__item.is-open .sl-faq__answer {
  max-height: 400px;
}

/* Order CTA band */
.sl-order-cta {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--sl-bg-card);
  border: 1px solid var(--sl-border);
  border-radius: 12px;
}

.sl-order-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.sl-order-cta__text {
  color: var(--sl-text-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.sl-order-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Mobile sticky bar */
.sl-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--sl-border);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.sl-mobile-bar .sl-btn {
  flex: 1;
}

/* Gallery strip */
.sl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.sl-gallery__item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.sl-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
  .sl-install {
    grid-template-columns: 1fr;
  }

  .sl-mobile-bar {
    display: flex;
  }

  .starlink-page {
    padding-bottom: 72px;
  }

  .sl-section {
    padding: 3.5rem 1.25rem;
  }

  .sl-hero {
    min-height: 85vh;
    align-items: flex-end;
    padding-bottom: 3rem;
  }

  .sl-nav__links a {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }
}

@media (min-width: 1024px) {
  .sl-kits-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
  }

  .sl-kit-card {
    flex: none;
  }
}

/* Premium motion enhancements */
.sl-hero::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: slSatellitePulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes slSatellitePulse {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.6; }
  50% { transform: scale(1.15) translateY(-12px); opacity: 1; }
}

.sl-kit-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s;
}

.sl-kit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.35);
  border-color: rgba(108, 92, 231, 0.5);
}

.sl-wizard-step {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sl-wizard-step.is-entering {
  animation: slWizardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slWizardIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.sl-price-card {
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.sl-price-card:hover {
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
  border-color: rgba(34, 211, 238, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .sl-hero::after { animation: none; }
  .sl-kit-card:hover { transform: none; }
}
