/* M.S.L NETWORK AND DATA SOLUTION — Production Design System (v1.0)
 * Strict CSP-safe external stylesheet | WCAG AA/AAA High Contrast
 */
:root {
  --bg-base: #06100e;
  --bg-surface: #0b1916;
  --bg-card: #0f221e;
  --bg-card-hover: #142c27;
  --bg-input: #071310;
  --border-subtle: rgba(16, 185, 129, 0.18);
  --border-strong: rgba(16, 185, 129, 0.45);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-emerald: #10b981;
  --accent-emerald-bright: #34d399;
  --accent-emerald-dark: #047857;
  --accent-gold: #f59e0b;
  --accent-gold-bright: #fbbf24;
  --accent-sky: #38bdf8;
  --danger: #f87171;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.35);
  --container-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(16, 185, 129, 0.16), transparent),
    radial-gradient(ellipse 60% 35% at 90% 20%, rgba(245, 158, 11, 0.06), transparent);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-emerald-bright); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #a7f3d0; }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }

/* Top Compliance & Operations Strip */
.top-strip {
  background: #040b09;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 8px 0;
}
.top-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 18px;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald-bright);
  box-shadow: 0 0 8px var(--accent-emerald);
  margin-right: 6px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 14, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}
.brand img { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 0.98rem; letter-spacing: 0.3px; color: var(--text-primary); }
.brand-sub { font-size: 0.72rem; color: var(--accent-emerald-bright); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-emerald-bright); }

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-emerald-dark) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-emerald-bright) 0%, var(--accent-emerald) 100%);
  color: #04120e;
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
  color: #140d02;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.24);
}
.btn-gold:hover { background: #fde047; color: #140d02; }
.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-primary);
}
.btn-outline:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--accent-emerald-bright);
  color: var(--text-primary);
}
.btn-sm { padding: 9px 16px; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 68px 0 56px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--accent-emerald-bright);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(90deg, #34d399 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin: 0 0 26px;
  max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Hero Highlight Card (Installation + Uptime) */
.hero-card {
  background: linear-gradient(160deg, #0f2520 0%, #091714 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.hero-card-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent-gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hero-card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.install-price {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
  line-height: 1.1;
  margin: 10px 0 6px;
}
.install-price span { font-size: 0.92rem; font-weight: 600; color: var(--text-muted); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.91rem;
  color: var(--text-secondary);
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent-emerald-bright);
  font-weight: 900;
}

/* Sections */
.section { padding: 64px 0; border-top: 1px solid rgba(16, 185, 129, 0.1); }
.section-alt { background: rgba(11, 25, 22, 0.55); }
.section-header { max-width: 720px; margin-bottom: 36px; }
.section-header h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 10px; line-height: 1.2; }
.section-header p { margin: 0; color: var(--text-secondary); font-size: 1.02rem; }
.series-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.series-title h3 { margin: 0; font-size: 1.28rem; color: var(--accent-emerald-bright); }
.series-title span { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.plan-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.plan-card.featured {
  border-color: var(--accent-emerald);
  background: linear-gradient(170deg, #122d26 0%, #0d1f1b 100%);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.14);
}
.plan-card.pro-featured {
  border-color: rgba(245, 158, 11, 0.65);
  background: linear-gradient(170deg, #1b241d 0%, #0e1c18 100%);
}
.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: var(--accent-emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.plan-badge.gold {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent-gold-bright);
  border-color: rgba(245, 158, 11, 0.45);
}
.plan-name { font-size: 1.15rem; font-weight: 800; margin: 0 0 4px; color: var(--text-primary); }
.plan-speed {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-emerald-bright);
  margin: 0 0 12px;
}
.plan-price {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 6px 0 4px;
  line-height: 1.15;
}
.plan-price span { font-size: 0.86rem; font-weight: 600; color: var(--text-muted); }
.plan-price.quote { font-size: 1.45rem; color: var(--accent-gold-bright); }
.plan-best {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 8px 0 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.plan-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 18px;
}

/* WiFi Voucher Banner */
.wifi-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.wifi-card {
  background: linear-gradient(155deg, #102822 0%, #091814 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.location-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.loc-box {
  background: rgba(6, 16, 14, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.loc-box strong { display: block; color: var(--accent-gold-bright); font-size: 0.88rem; margin-bottom: 4px; }
.loc-box span { font-size: 0.84rem; color: var(--text-secondary); }

/* Checkout & Receipt Portal */
.checkout-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.tab-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  background: var(--bg-input);
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.tab-btn {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  border-radius: 6px;
  padding: 10px 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab-btn.active {
  background: var(--accent-emerald-dark);
  color: #ffffff;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-secondary); }
.form-control {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.94rem;
  font-family: inherit;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-emerald-bright);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pay-option {
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pay-option.selected {
  border-color: var(--accent-emerald-bright);
  background: rgba(16, 185, 129, 0.12);
}
.pay-option strong { font-size: 0.92rem; color: var(--text-primary); }
.pay-option small { font-size: 0.78rem; color: var(--text-muted); }
.pay-option input { margin-right: 6px; accent-color: var(--accent-emerald); }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 14px 0 18px;
}
.consent-row input { margin-top: 4px; accent-color: var(--accent-emerald); }
.form-error {
  display: none;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-bottom: 14px;
}
.form-error.visible { display: block; }

/* Receipt Card */
.receipt-box {
  background: #071310;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px;
}
.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 14px;
  gap: 10px;
}
.receipt-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: var(--accent-emerald-bright);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.receipt-row span:first-child { color: var(--text-muted); }
.receipt-row span:last-child { color: var(--text-primary); font-weight: 700; text-align: right; }
.receipt-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-gold-bright);
}
.receipt-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(16, 185, 129, 0.07);
  border-left: 3px solid var(--accent-emerald);
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  margin-top: 14px;
}
.receipt-actions { display: flex; gap: 10px; margin-top: 16px; }
.hidden { display: none !important; }

/* MayonStream Lab Infrastructure Hosting Showcase */
.showcase-card {
  background: linear-gradient(135deg, #0d1f26 0%, #0b1b18 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}
.showcase-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent-sky);
  border: 1px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 12px;
}
.metric-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.metric-tile {
  background: rgba(6, 16, 14, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.metric-tile strong { display: block; font-size: 1.35rem; color: var(--accent-emerald-bright); }
.metric-tile span { font-size: 0.8rem; color: var(--text-muted); }

/* Legal & Content Pages */
.page-hero {
  padding: 46px 0 32px;
  border-bottom: 1px solid var(--border-subtle);
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.page-hero p { margin: 0; color: var(--text-secondary); max-width: 720px; }
.legal-body { padding: 40px 0 64px; max-width: 860px; }
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
}
.legal-card h2 {
  font-size: 1.25rem;
  color: var(--accent-emerald-bright);
  margin: 26px 0 10px;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--text-secondary); font-size: 0.95rem; }
.legal-card ul { padding-left: 20px; }

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  padding: 42px 0 64px;
}
.info-item {
  padding: 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.info-item strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent-emerald-bright); margin-bottom: 4px; }
.info-item span, .info-item a { font-size: 0.95rem; color: var(--text-primary); }

/* Footer */
.footer {
  background: #040b09;
  border-top: 1px solid var(--border-subtle);
  padding: 52px 0 28px;
  color: var(--text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.footer h4 {
  color: var(--text-primary);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer li, .footer p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.footer a { color: var(--text-secondary); }
.footer a:hover { color: var(--accent-emerald-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .wifi-grid, .checkout-wrap, .showcase-card, .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .pricing-grid, .form-grid, .pay-methods, .location-list, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #06120f;
    border-bottom: 1px solid var(--border-strong);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .tab-bar { grid-template-columns: 1fr; }
}

@media print {
  body { background: #ffffff; color: #000000; }
  .top-strip, .navbar, .hero, #plans, #wifi-pass, #hosted-showcase, .footer, .panel:first-child, .receipt-actions { display: none !important; }
  .receipt-box { border: 2px solid #000000; background: #ffffff; color: #000000; }
  .receipt-row span, .receipt-total, .receipt-note { color: #000000 !important; }
}

/* CSP-Strict Utility Classes (Zero Inline Styles) */
.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-6 { margin-top: 6px; }
.mb-0 { margin-bottom: 0; }
.mb-6 { margin-bottom: 6px; }
.mb-12 { margin-bottom: 12px; }
.mb-18 { margin-bottom: 18px; }
.mb-24 { margin-bottom: 24px; }
.m-0-0-6 { margin: 0 0 6px; }
.m-0-0-12 { margin: 0 0 12px; }
.m-0-0-18 { margin: 0 0 18px; }
.m-0-0-24 { margin: 0 0 24px; }
.fs-155 { font-size: 1.55rem; }
.fs-135 { font-size: 1.35rem; }
.fs-094 { font-size: 0.94rem; }
.fs-093 { font-size: 0.93rem; }
.d-block { display: block; }
.txt-secondary { color: var(--text-secondary); }
.txt-muted { color: var(--text-muted); }
.notfound-wrap { padding: 90px 20px; text-align: center; }
