:root {
  --primary: #0f62fe;
  --navy: #071b33;
  --cyan: #00c2ff;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --text: #132238;
  --text-muted: #5b677a;
  --success: #18a058;
  --border: #dce6f5;
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 10px 30px rgba(7, 27, 51, 0.08);
  --shadow-strong: 0 14px 36px rgba(7, 27, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background-image: url('../image/17973908.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: var(--navy);
}

.section-head p,
p,
li {
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  top: -42px;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  z-index: 300;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  border-color: #e6edf8;
  box-shadow: 0 8px 24px rgba(7, 27, 51, 0.08);
}

.header-inner {
  min-height: 4.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.2px;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid #e7eef8;
  box-shadow: var(--shadow-soft);
  padding: 0.8rem 4%;
  display: none;
}

.primary-nav.open {
  display: block;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.primary-nav a {
  display: inline-flex;
  width: fit-content;
  padding: 0.52rem 0.2rem;
  color: var(--navy);
  font-weight: 600;
}

.primary-nav a.active {
  color: var(--primary);
}

.nav-cta {
  margin-top: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.76rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #147de9);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.3);
}

.btn-outline {
  border-color: #b4c9ea;
  color: var(--navy);
  background: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid #b9dcff;
  color: var(--primary);
  background: #eaf2ff;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.hero {
  padding-top: 4.3rem;
  padding-bottom: 2.5rem;
  background:
    radial-gradient(circle at 15% 5%, rgba(0, 194, 255, 0.16), transparent 36%),
    radial-gradient(circle at 85% 14%, rgba(15, 98, 254, 0.2), transparent 37%);
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
}

.hero-content h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--navy);
}

.hero-content p {
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: linear-gradient(145deg, #0a2d59, #0d468a);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 1.15rem;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  right: -70px;
  top: -60px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.28), transparent 70%);
}

.hero-chip {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.84rem;
}

.hero-speed {
  margin-top: 1rem;
}

.hero-speed p,
.hero-speed span,
.hero-wifi p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.hero-speed strong {
  display: block;
  font-size: 2rem;
  line-height: 1.2;
}

.hero-wifi {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.trust-bar {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.trust-bar p {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 0.9rem;
  padding: 0.74rem 0.9rem;
  text-align: center;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.93rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: 0px 0px 10px #5c5858;
}

.package-card {
  position: relative;
}

.package-card h3,
.feature-card h3,
.smart-card h3,
.stat-card h3 {
  color: var(--navy);
  margin: 0 0 0.45rem;
}

.speed {
  color: var(--primary);
  font-weight: 800;
  margin: 0.25rem 0;
}

.best-for {
  margin: 0.5rem 0;
}

.price {
  font-weight: 700;
  color: var(--navy);
  margin: 0.6rem 0 0.75rem;
}

.package-card ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.featured-package {
  border-color: #89b5ff;
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #e8f0ff;
  color: var(--primary);
  border: 1px solid #c4d9ff;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.77rem;
  font-weight: 700;
}

.about-grid {
  display: grid;
  gap: 1.2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-card {
  text-align: center;
}

.stat-card h3 {
  font-size: 1.55rem;
}

.smart-home-intro {
  max-width: 76ch;
}

.centered-action {
  margin-top: 1.4rem;
}

.coverage-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, #0b3f8f, #094fbb 50%, #008fce);
  color: var(--white);
  padding: 1.4rem;
  box-shadow: var(--shadow-strong);
}

.coverage-banner h2,
.coverage-banner p {
  color: var(--white);
}

.coverage-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.contact-info a {
  color: var(--primary);
}

.contact-form {
  margin: 0;
}

.form-group {
  display: grid;
  gap: 0.36rem;
  margin-bottom: 0.82rem;
}

label {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d8ef;
  border-radius: 0.68rem;
  padding: 0.68rem 0.78rem;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.form-feedback {
  margin: 0.85rem 0 0;
  color: var(--success);
  font-weight: 600;
  min-height: 1.2em;
}

.site-footer {
  background: var(--navy);
  padding-top: 3rem;
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 0.7rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0 1.6rem;
}

.footer-bottom p {
  margin: 0.32rem 0;
  color: rgba(255, 255, 255, 0.88);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7ec3ff;
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .section {
    padding: 5rem 0;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 1.5rem;
  }

  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .smart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem;
  }

  .coverage-actions {
    margin-top: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .primary-nav ul {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }

  .primary-nav a {
    padding: 0.4rem 0.65rem;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 0.3rem;
  }

  .trust-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .packages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smart-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
