:root {
  --bg: #0b2348;
  --panel: #0d2f5a;
  --panel-alt: #0c2a50;
  --primary: #2a86f0;
  --primary-strong: #1b63c5;
  --accent: #48e4ff;
  --text: #f7fbff;
  --muted: #c9d7ed;
  --card: #0f3564;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(45% 55% at 25% 18%, rgba(58, 142, 230, 0.36), transparent 60%),
    radial-gradient(38% 48% at 75% 15%, rgba(72, 224, 255, 0.22), transparent 62%),
    radial-gradient(60% 60% at 50% 78%, rgba(16, 66, 144, 0.42), transparent 70%),
    linear-gradient(145deg, #133a73 0%, #0f2f5a 45%, #0b2348 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  backdrop-filter: blur(14px);
  background: linear-gradient(135deg, rgba(26, 116, 208, 0.9), rgba(18, 88, 165, 0.9));
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.5px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav .pill { background: rgba(27, 198, 255, 0.12); color: var(--text); }
.nav a:focus-visible, .cta-outline:focus-visible, .btn-primary:focus-visible, .btn-ghost:focus-visible, .bill-form button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cta-outline {
  padding: 10px 14px;
  border: 1px solid var(--primary);
  color: var(--text);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.cta-outline:hover { background: rgba(27, 198, 255, 0.12); transform: translateY(-1px); }

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 60px 5vw 40px;
  align-items: center;
}
.hero-text { max-width: 720px; }
.hero-text h1 { margin: 12px 0; font-size: clamp(26px, 4vw, 44px); line-height: 1.2; }
.subhead { color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #2f91ff, #1f6fd8);
  color: #f7fbff;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(31, 111, 216, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 18px; }
.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}
.stat span { display: block; font-weight: 800; }
.stat small { color: var(--muted); }

.hero-card {
  background: linear-gradient(180deg, rgba(72, 228, 255, 0.18), rgba(15, 76, 156, 0.9)), var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  max-width: 480px;
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(124, 255, 212, 0.08);
}
.badge {
  display: inline-flex;
  background: rgba(124, 255, 212, 0.16);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
}
.card-title { font-size: 20px; font-weight: 700; margin: 12px 0 4px; }
.card-sub { color: var(--muted); margin: 0 0 10px; }
.bill-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-start; }
.bill-form input {
  flex: 1 1 240px;
  max-width: 320px;
  width: 100%;
  height: 46px;
  min-height: 46px;
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  resize: none;
}
.bill-form button {
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #0b2348;
  font-weight: 800;
  cursor: pointer;
  min-height: 46px;
}
.bill-form button:hover { filter: brightness(1.03); }
.hint { color: var(--muted); font-size: 13px; }
.bill-result { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(124, 255, 212, 0.08); }

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.modal.active { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(480px, 90vw);
  background: #0f3564;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}
.order-form { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.order-form label { display: flex; flex-direction: column; gap: 6px; color: var(--text); font-weight: 600; }
.order-form input, .order-form textarea {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.order-form textarea { resize: vertical; min-height: 80px; }
.agree { flex-direction: row !important; align-items: center; font-weight: 500 !important; }
.agree input { width: auto; margin-right: 8px; }
.small-hint { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; margin-top: 6px; }
.modal-actions .btn-ghost { padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--text); cursor: pointer; }

.panel { padding: 50px 5vw; }
.panel.alt { background: linear-gradient(180deg, rgba(42, 134, 240, 0.1), rgba(13, 63, 140, 0.88)); }
.panel-head { margin-bottom: 24px; }
.eyebrow { color: var(--accent); letter-spacing: 0.4px; font-weight: 700; margin: 0; text-transform: uppercase; font-size: 12px; }
.panel-head h2 { margin: 6px 0 0; }

.coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: rgba(16, 72, 156, 0.9);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.card:hover { transform: translateY(-4px); border-color: rgba(45, 226, 255, 0.3); }
.card h3 { margin-top: 0; }
.card ul { padding-left: 18px; margin: 0; color: var(--muted); }
.card li { margin: 6px 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.feature {
  background: rgba(42, 134, 240, 0.1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.feature:hover { transform: translateY(-4px); border-color: rgba(45, 226, 255, 0.25); }
.icon { font-size: 22px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price-card {
  background: rgba(16, 72, 156, 0.9);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(45, 226, 255, 0.35); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35); }
.price-card.highlight { border-color: var(--primary); box-shadow: 0 12px 30px rgba(27, 198, 255, 0.18); }
.price-card .label { color: var(--accent); font-weight: 700; margin: 0; }
.price-card h3 { margin: 0; }
.price-card .speed { color: var(--muted); margin: 0; }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.price-card .btn-primary { margin-top: auto; text-align: center; }

.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.testi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  min-height: 120px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.quote { margin: 0 0 8px; }
.name { margin: 0; color: var(--muted); font-weight: 700; }

.footer {
  padding: 24px 5vw 40px;
  border-top: 1px solid var(--border);
  background: rgba(5, 11, 26, 0.9);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 16px;
    width: 240px;
    background: rgba(5, 11, 26, 0.95);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    z-index: 30;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px; text-align: left; }
  .cta-outline { width: 100%; text-align: center; }
  .hero { grid-template-columns: 1fr; padding: 40px 5vw 30px; }
  .hero-text { text-align: left; }
  .hero-card { width: 100%; }
}

@media (max-width: 640px) {
  .hero-text, .hero-card { max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .bill-form { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .bill-form input { flex: 1 1 160px; max-width: none; }
  .bill-form button { flex: 0 0 auto; }
  .pricing, .features, .coverage-grid, .testimonials { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .bill-form { gap: 8px; }
  .bill-form input { flex: 1 1 140px; }
  .bill-form button { padding: 12px 14px; }
}
