/* starlink.css — bespoke styling for Starlink.html */

:root {
  --starlink-midnight: #020612;
  --starlink-indigo: #071233;
  --starlink-azure: #1b5dff;
  --starlink-cyan: #5ae1ff;
  --starlink-soft: #f5f7ff;
  --starlink-slate: #0f172a;
}

body.starlink-page {
  background: var(--starlink-midnight);
  color: var(--starlink-soft);
  margin: 0;
}

body.starlink-page header {
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 70;
  backdrop-filter: blur(16px);
}

body.starlink-page main {
  flex: 1 0 auto;
}

/* HERO -------------------------------------------------- */
.starlink-hero {
  position: relative;
  padding: 140px 20px 110px;
  overflow: hidden;
  background: radial-gradient(circle at 12% 20%, rgba(90, 225, 255, 0.3), transparent 50%),
              radial-gradient(circle at 80% 0%, rgba(27, 93, 255, 0.35), transparent 55%),
              linear-gradient(130deg, #020613, #041233 60%, #08306a);
}

.hero-orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 35% 25%, rgba(90, 225, 255, 0.25), transparent 60%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  margin: 0;
  color: rgba(245, 247, 255, 0.75);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(245, 247, 255, 0.78);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 26px 0 20px;
}

.hero-metrics article {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(2, 8, 28, 0.55);
}

.metric-value {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.metric-label {
  margin: 8px 0 0;
  color: rgba(245,247,255,0.72);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 18px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--starlink-soft);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta.phone {
  background: var(--starlink-soft);
  color: var(--starlink-azure);
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.hero-cta.quote {
  background: rgba(255,255,255,0.15);
}

.hero-cta.outline {
  background: transparent;
}

.hero-cta:hover { transform: translateY(-2px); }

.price-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 16px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(3, 12, 34, 0.7);
  box-shadow: 0 25px 45px rgba(0,0,0,0.35);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.price-badge span {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.7rem;
  color: rgba(245,247,255,0.7);
}

.price-badge strong {
  font-size: 2rem;
}

.price-badge p {
  margin: 4px 0 0;
  color: rgba(245,247,255,0.7);
}

.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: rgba(245,247,255,0.85);
}

.hero-checklist li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-checklist li::before {
  content: '+';
  margin-right: 8px;
  color: var(--starlink-cyan);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 50px rgba(0,0,0,0.45);
  cursor: zoom-in;
}

.hero-frame:focus-visible {
  outline: 2px solid var(--starlink-cyan);
  outline-offset: 4px;
}

.hero-frame img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.hero-frame figcaption {
  margin: 0;
  padding: 12px 18px;
  background: rgba(0,0,0,0.65);
  font-size: 0.9rem;
}

.hero-frame.secondary {
  max-width: none;
  margin-left: 0;
  border-radius: 20px;
}

.hero-frame.secondary img {
  height: 170px;
}

.hero-frame.secondary figcaption {
  padding: 9px 12px;
  font-size: 0.8rem;
  line-height: 1.35;
  min-height: 46px;
}

.hero-tag {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(4, 18, 48, 0.85);
  text-align: center;
}

.hero-tag p {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245,247,255,0.7);
}

/* SECTION WRAPPERS ------------------------------------- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-kicker {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 12px;
}

.section-lede {
  max-width: 760px;
  font-size: 1.05rem;
  color: rgba(245,247,255,0.8);
}

.starlink-page main a:not(.hero-cta):not(.service-cta) {
  color: var(--starlink-azure);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.starlink-page main a:not(.hero-cta):not(.service-cta):hover,
.starlink-page main a:not(.hero-cta):not(.service-cta):focus-visible {
  color: var(--starlink-cyan);
}

.starlink-routing a:not(.hero-cta):not(.service-cta):hover,
.starlink-routing a:not(.hero-cta):not(.service-cta):focus-visible {
  color: var(--starlink-indigo);
}

/* Proof */
.starlink-proof {
  background: #040c1f;
  color: var(--starlink-soft);
  padding: 90px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.proof-grid article {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* Services */
.starlink-services {
  background: linear-gradient(135deg, #030a1f, #062c63);
  color: var(--starlink-soft);
  padding: 90px 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.service-card {
  border-radius: 26px;
  padding: 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}

.service-card.featured {
  background: radial-gradient(circle at top, rgba(90,225,255,0.25), transparent 70%), rgba(255,255,255,0.08);
  border-color: rgba(90,225,255,0.5);
}

.service-tag {
  margin: 0;
  letter-spacing: 2px;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(245,247,255,0.7);
}

.service-price {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(245,247,255,0.85);
}

.service-card ul li::before {
  content: '-';
  margin-right: 8px;
  color: var(--starlink-cyan);
}

.service-cta {
  margin-top: auto;
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--starlink-cyan);
  color: #03122c;
  text-decoration: none;
  font-weight: 600;
}

.service-note {
  margin: 24px auto 0;
  max-width: 900px;
  text-align: center;
  color: rgba(245, 247, 255, 0.88);
}

/* Routing */
.starlink-routing {
  background: var(--starlink-soft);
  color: var(--starlink-slate);
  padding: 90px 0;
}

.starlink-routing .section-kicker {
  border-color: rgba(3,18,44,0.3);
  color: var(--starlink-slate);
}

.starlink-routing .section-lede,
.starlink-routing p {
  color: rgba(15,23,42,0.8);
}

.routing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.routing-grid article {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
}

.routing-grid ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.routing-grid li::before {
  content: '>';
  margin-right: 6px;
  color: var(--starlink-azure);
}

.routing-grid li {
  display: flex;
  align-items: center;
}

/* Process */
.starlink-process {
  background: #030a1f;
  color: var(--starlink-soft);
  padding: 90px 0;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.process-list li {
  display: flex;
  gap: 12px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

.process-step {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--starlink-azure);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA */
.starlink-cta {
  padding: 90px 0 120px;
  background: linear-gradient(120deg, var(--starlink-azure), var(--starlink-cyan));
  color: #03122c;
  text-align: center;
}

.starlink-cta .hero-actions {
  justify-content: center;
}

.starlink-cta .hero-cta.quote {
  background: rgba(3, 18, 44, 0.9);
  color: #fff;
  border-color: transparent;
}

/* Lightbox */
.starlink-page .lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
}

.starlink-page .lightbox.is-open {
  display: flex;
}

.starlink-page .lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.starlink-page .lightbox-content {
  position: relative;
  width: min(94vw, 1080px);
  max-height: 92vh;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  background: #000;
  z-index: 1;
  box-shadow: 0 36px 80px rgba(0,0,0,0.55);
}

.starlink-page .lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(92vh - 64px);
  object-fit: contain;
  background: #000;
}

.starlink-page .lightbox-caption {
  margin: 0;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: rgba(245,247,255,0.9);
  background: rgba(8, 16, 36, 0.9);
}

.starlink-page .lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.starlink-page .lightbox-close:hover {
  background: rgba(0,0,0,0.85);
}

/* Hidden SEO copy */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: center;
  }

  .price-badge {
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }
}

@media (max-width: 600px) {
  .starlink-hero {
    padding: 110px 16px 80px;
  }

  .hero-secondary-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-frame img {
    height: 210px;
  }

  .hero-frame.secondary img {
    height: 210px;
  }
}
