:root {
  --primary: #4d3279;
  --primary-dark: #150f25;
  --primary-deep: #0a0a14;
  --cyan: #01a5ba;
  --cyan-soft: #33cfdf;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #9ca3af;
  --ok: #34d399;
  --danger: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #0a0a14 0%, #150f25 50%, #0a0a14 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 24% 22%, rgba(77, 50, 121, 0.24), transparent 24rem),
    radial-gradient(circle at 78% 66%, rgba(1, 165, 186, 0.16), transparent 28rem);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--cyan)); border-radius: 4px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, select, button { font: inherit; }
button, .button { border: 0; cursor: pointer; }
.icon {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: -0.18em;
}
.button,
button,
.nav a,
.footer-bottom a,
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.button-icon,
.nav-icon { width: 1rem; height: 1rem; }
.brand-icon { width: 1.35rem; height: 1.35rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1rem, calc((100vw - 80rem) / 2 + 1rem));
  background: rgba(10, 10, 20, 0.62);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  animation: slideDown .55s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}
.brand img { max-height: 42px; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .65rem;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 0 24px rgba(1, 165, 186, .45);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -.25rem;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  filter: blur(10px);
  opacity: .32;
  animation: pulseGlow 2s ease-in-out infinite;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #d1d5db;
  padding: .65rem .9rem;
  border-radius: .65rem;
  font-size: .9rem;
  font-weight: 500;
  transition: color .25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .32rem;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: width .25s ease;
}
.nav a:hover { color: #fff; }
.nav a:not(:hover) .nav-icon { opacity: .55; }
.nav a:hover::after { width: calc(100% - 1.8rem); }
.nav .nav-admin {
  margin-left: .5rem;
  color: #d1d5db;
  background: transparent;
  font-size: .9rem;
  font-weight: 700;
}
.nav .nav-admin::before { display: none; }
.nav .nav-admin:hover {
  color: #fff;
  background: transparent;
}
.nav .nav-admin:hover::after { width: 0; }
.nav .nav-cta {
  min-width: 9rem;
  min-height: 3.25rem;
  border-radius: .78rem;
  padding-inline: 1.45rem;
  background: linear-gradient(135deg, #0bb6c8, #038996);
  box-shadow: 0 0 26px rgba(1,165,186,.34);
}
.nav .nav-cta, .button, button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  overflow: hidden;
  min-height: 2.75rem;
  color: #fff;
  border-radius: .75rem;
  padding: .85rem 1.2rem;
  background: linear-gradient(135deg, var(--cyan), #007a8a);
  box-shadow: 0 0 28px rgba(1, 165, 186, .28);
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
.button.secondary {
  background: linear-gradient(135deg, var(--primary), #1a1030);
  box-shadow: 0 0 26px rgba(77, 50, 121, .3);
}
.nav .nav-cta::before, .button::before, button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -110%;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: left .5s ease;
}
.nav .nav-cta:hover::before, .button:hover::before, button:hover::before { left: 110%; }
.nav .nav-cta:hover, .button:hover, button:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(1, 165, 186, .44); }
.nav .nav-cta {
  min-width: 9rem;
  min-height: 3.25rem;
  border-radius: .78rem;
  padding-inline: 1.45rem;
  background: linear-gradient(135deg, #0bb6c8, #038996);
  box-shadow: 0 0 26px rgba(1,165,186,.34);
}
.menu-toggle { display: none; }

main { overflow: hidden; }
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(22rem, 1.06fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 82rem;
  margin: 0 auto;
  padding: 7.25rem 1rem 3.75rem;
}
.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.network-wave {
  position: absolute;
  left: 58%;
  top: 38%;
  width: calc(12rem + var(--i) * 8rem);
  height: calc(12rem + var(--i) * 8rem);
  border: 2px solid rgba(1,165,186,.16);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(.45);
  animation: waveExpand 4.6s ease-out infinite;
  animation-delay: calc(var(--i) * .75s);
}
.fiber-line {
  position: absolute;
  top: calc(10% + var(--i) * 11%);
  left: calc(-20% + var(--i) * 7%);
  width: 42%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(1,165,186,.9), transparent);
  animation: fiberFlow 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * .42s);
}
.particle {
  position: absolute;
  left: calc((var(--i) * 37) % 100 * 1%);
  top: calc((var(--i) * 53) % 100 * 1%);
  width: calc(2px + (var(--i) % 3) * 1px);
  height: calc(2px + (var(--i) % 3) * 1px);
  border-radius: 999px;
  background: rgba(1,165,186,.7);
  opacity: .35;
  animation: particleDrift calc(13s + var(--i) * .35s) linear infinite;
  animation-delay: calc(var(--i) * -.6s);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  filter: blur(64px);
  opacity: .5;
  pointer-events: none;
}
.hero::before { top: 18%; left: -12%; background: rgba(77, 50, 121, .26); }
.hero::after { right: -10%; bottom: 16%; background: rgba(1, 165, 186, .2); }
.hero-copy { position: relative; z-index: 2; animation: fadeUp .7s ease both .12s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #d1d5db;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(20px);
  font-size: .9rem;
}
.eyebrow::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  animation: pingDot 1.8s ease-out infinite;
}
h1, h2, h3 { margin: 0; line-height: 1.08; }
h1 {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(3.4rem, 5.2vw, 4.65rem);
  font-weight: 900;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 1rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.4rem);
  font-weight: 800;
}
h3 { font-family: Poppins, Inter, sans-serif; font-weight: 700; }
.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--primary), var(--cyan), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}
.lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-actions .button:first-child::before,
.hero-actions .button.secondary::before {
  display: none !important;
  content: "" !important;
}
.button { min-height: 3.5rem; padding: 1rem 1.65rem; font-size: 1.05rem; }
.button::after { display: none; }
.hero-actions .button:first-child::before {
  content: "↯";
  position: static;
  width: auto;
  background: none;
  font-size: 1.25rem;
}
.hero-actions .button.secondary::before {
  content: "⌖";
  position: static;
  width: auto;
  background: none;
  font-size: 1.15rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 28rem;
  animation: globeIntro .9s ease both .35s;
}
.hero-lines {
  position: absolute;
  inset: 0 -18vw 0 -2rem;
  opacity: .48;
  background:
    linear-gradient(90deg, transparent 0 32%, rgba(1,165,186,.4) 32% 100%) 50% 40% / 100% 1px no-repeat,
    radial-gradient(ellipse at 44% 86%, transparent 0 33%, rgba(1,165,186,.16) 33.15% 34%, transparent 34.15% 100%),
    radial-gradient(ellipse at 38% 96%, transparent 0 39%, rgba(1,165,186,.12) 39.15% 40%, transparent 40.15% 100%),
    radial-gradient(ellipse at 18% 58%, transparent 0 30%, rgba(1,165,186,.1) 30.15% 31%, transparent 31.15% 100%);
  animation: linePulse 4s ease-in-out infinite;
}
.orb {
  position: relative;
  z-index: 1;
  width: min(100%, 23rem);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(1, 165, 186, .35);
  margin: 1.65rem auto 0;
  background:
    radial-gradient(circle, rgba(1,165,186,.18), rgba(1,165,186,.08) 34%, rgba(77,50,121,.07) 58%, transparent 72%);
  box-shadow: inset 0 0 80px rgba(1,165,186,.16), 0 0 80px rgba(1,165,186,.16);
}
.orb::before, .orb::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(1,165,186,.32);
}
.orb::before { inset: 2rem; border-color: rgba(77,50,121,.42); }
.orb::after { inset: 4.25rem; border-color: rgba(1,165,186,.44); }
.orb-globe-svg {
  position: relative;
  z-index: 2;
  width: 8.3rem;
  height: 8.3rem;
  overflow: visible;
  filter: drop-shadow(0 0 28px rgba(1,165,186,.5));
  animation: float 4s ease-in-out infinite;
}
.orb-globe-svg :is(circle, ellipse, line) {
  fill: none;
  stroke: rgba(1,165,186,.9);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orb-globe-svg ellipse { stroke-width: 10; }
.orb-globe-svg line { stroke-width: 12; }
.orb > span + span,
.orb > svg + span { display: none; }
.orb .network-node,
.orb::marker { display: none; }
.orbit-card {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: .6rem;
  color: #a7f3ff;
  font-style: normal;
  font-size: 1.25rem;
  background: linear-gradient(135deg, rgba(77,50,121,.92), rgba(1,165,186,.72));
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
  animation: float 4s ease-in-out infinite;
}
.orbit-card-1 { top: 1.25rem; left: 62%; animation-delay: -.4s; }
.orbit-card-2 { top: 4.9rem; left: 11%; animation-delay: -.9s; }
.orbit-card-3 { top: 47%; right: -1rem; opacity: .48; animation-delay: -1.4s; }
.orbit-card-4 { left: 61%; bottom: 1.2rem; opacity: .42; animation-delay: -1.9s; }
.hero-stats {
  grid-column: 1 / -1;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: .5rem;
}
.hero-stat-card {
  min-height: 8.8rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .45rem;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: .75rem;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
  opacity: 0;
  animation: fadeUp .65s ease both;
  animation-delay: calc(.55s + var(--n, 0) * .1s);
}
.hero-stat-card:nth-child(1) { --n: 1; }
.hero-stat-card:nth-child(2) { --n: 2; }
.hero-stat-card:nth-child(3) { --n: 3; }
.hero-stat-card:nth-child(4) { --n: 4; }
.hero-stat-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: .55rem;
  color: var(--cyan-soft);
  background: rgba(1,165,186,.14);
  font-weight: 900;
}
.hero-stat-card .metric {
  font-size: clamp(2rem, 3.4vw, 2.55rem);
  line-height: 1;
}
.hero-stat-card p {
  color: var(--muted);
  font-size: .9rem;
}
.hero-speed {
  position: absolute;
  left: 50%;
  bottom: -2.3rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-width: 14rem;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: .7rem 1rem;
  color: var(--cyan-soft);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  font-weight: 800;
  animation: float 3.2s ease-in-out infinite;
}
.hero-speed::before {
  content: "";
  width: 7rem;
  height: .35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}
.hero-speed span { order: -1; color: var(--cyan); }

.section {
  position: relative;
  padding: 6rem max(1rem, calc((100vw - 80rem) / 2 + 1rem));
}
.section,
.card,
.coverage-map,
.contact-layout,
.footer {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.section.is-visible,
.card.is-visible,
.coverage-map.is-visible,
.contact-layout.is-visible,
.footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 50%, rgba(77,50,121,.1), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(1,165,186,.05), transparent 50%);
}
.section-header { max-width: 48rem; margin: 0 auto 4rem; text-align: center; }
.section-header .lead { margin: 0 auto; }
.grid { display: grid; gap: 1.5rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  backdrop-filter: blur(20px);
  transition: transform .35s cubic-bezier(.175,.885,.32,1.275), border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(77,50,121,.16), rgba(1,165,186,.1));
  opacity: 0;
  transition: opacity .35s ease;
}
.card:hover {
  transform: translateY(-10px);
  border-color: rgba(1,165,186,.26);
  background: var(--panel-strong);
  box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 40px rgba(1,165,186,.1);
}
.card:hover::before { opacity: .45; }
.card-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 1.2rem;
  border-radius: .8rem;
  color: var(--cyan-soft);
  background: linear-gradient(135deg, rgba(77,50,121,.22), rgba(1,165,186,.12));
  box-shadow: 0 0 28px rgba(1,165,186,.12);
}
.card-icon .icon { width: 1.65rem; height: 1.65rem; }
.card h3 { margin-bottom: .8rem; font-size: 1.25rem; }
.card .lead { font-size: 1rem; }
.team-card { padding: 0; }
.team-photo {
  display: block;
  width: 200px;
  height: 200px;
  margin: 1.5rem auto 0;
  border: 3px solid rgba(1,165,186,.55);
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(77,50,121,.45), rgba(1,165,186,.22));
  box-shadow: 0 0 0 6px rgba(77,50,121,.16), 0 10px 28px rgba(1,165,186,.18);
}
.team-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--cyan-soft);
  font-size: 4rem;
  font-weight: 800;
}
.team-card-content { padding: 1.6rem 2rem 2rem; text-align: center; }
.team-card-content h3 { margin-bottom: .35rem; }
.team-position { color: var(--cyan-soft); font-weight: 600; }
.team-contact { display: flex; justify-content: center; align-items: center; gap: .55rem; margin-top: 1rem; color: var(--muted); }
.team-contact .icon { width: 1rem; height: 1rem; color: var(--cyan); }
.admin-image-preview { display: block; width: 8rem; height: 8rem; margin: .55rem 0; border-radius: .75rem; object-fit: cover; border: 1px solid var(--line); }
.admin-file-input { width: 100%; margin-top: .55rem; color: var(--muted); }
.admin-edit-field small { color: var(--muted); font-size: .78rem; }
.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
}
.rating-line span:last-child {
  display: inline-flex;
  gap: .15rem;
  color: #facc15;
}
.rating-line .icon { width: .95rem; height: .95rem; fill: currentColor; }
.metric {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}
.price { margin: 1rem 0; font-size: 2.35rem; font-weight: 800; }
.price small { color: var(--muted); font-size: 1rem; font-weight: 500; }
.popular {
  border: 2px solid rgba(1,165,186,.5);
  box-shadow: 0 0 28px rgba(1,165,186,.25);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--cyan-soft);
  background: rgba(1,165,186,.08);
  border: 1px solid rgba(1,165,186,.24);
  border-radius: 999px;
  padding: .45rem .75rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 600;
}
.list { margin: 1.25rem 0 0; padding: 0; list-style: none; color: #d1d5db; }
.list li { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; }
.list li.has-icon::before,
.list li:has(.list-icon)::before { content: none; display: none; }
.list-icon {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  padding: .2rem;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(1,165,186,.12);
}
.list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(1,165,186,.12);
  font-size: .8rem;
  font-weight: 800;
}

.coverage-section { padding-top: 5rem; }
.coverage-header { max-width: 68rem; margin-bottom: 4rem; }
.coverage-header .eyebrow {
  margin-left: auto;
  margin-right: auto;
}
.coverage-header h2 {
  font-size: clamp(2.25rem, 5vw, 3.9rem);
  line-height: 1.05;
}
.coverage-search { max-width: 42rem; margin: 0 auto 4rem; }
.coverage-search-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1rem;
  padding: 2rem;
  background: rgba(255,255,255,.055);
  box-shadow: 0 20px 70px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
.coverage-checker {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  gap: 1rem;
}
.coverage-checker::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 50%;
  z-index: 1;
  width: .7rem;
  height: .7rem;
  border: 2px solid rgba(255,255,255,.65);
  border-radius: 999px 999px 999px 0;
  transform: translateY(-65%) rotate(-45deg);
}
.coverage-checker .field {
  min-height: 3.7rem;
  padding-left: 3rem;
  border-radius: .75rem;
  background: rgba(14,12,28,.88);
}
.coverage-checker button {
  min-height: 3.7rem;
  border-radius: .75rem;
  box-shadow: 0 0 30px rgba(1,165,186,.34);
}
.coverage-row { display: none; }
.bar { height: .55rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--cyan)); }
.coverage-map {
  position: relative;
  max-width: 73rem;
  min-height: 27rem;
  margin: 0 auto;
  overflow: hidden;
  border-color: rgba(255,255,255,.12);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 28% 18%, rgba(80,48,118,.18), transparent 34%),
    radial-gradient(circle at 78% 50%, rgba(1,165,186,.08), transparent 40%),
    linear-gradient(100deg, rgba(33,24,50,.82), rgba(20,27,47,.88));
}
.coverage-map::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.coverage-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,15,35,.58), transparent 48%, rgba(15,20,38,.32));
  pointer-events: none;
}
.coverage-map-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.coverage-map-lines svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.coverage-map-lines line {
  stroke: rgba(1,165,186,.32);
  stroke-width: .22;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: lineDraw 1.8s ease forwards;
}
.coverage-pin {
  position: absolute;
  z-index: 2;
  width: .9rem;
  height: .9rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(1,165,186,.12), 0 0 20px rgba(1,165,186,.55);
  transform: translate(-50%, -50%);
  animation: coveragePulse 2.5s ease-in-out infinite;
}
.coverage-pin::after {
  content: "";
  position: absolute;
  inset: -.75rem;
  border-radius: inherit;
  border: 1px solid rgba(1,165,186,.18);
  animation: pingDot 2s ease-out infinite;
}
.coverage-pin span {
  position: absolute;
  left: 50%;
  bottom: 140%;
  transform: translateX(-50%);
  min-width: 9rem;
  opacity: 0;
  pointer-events: none;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  color: #fff;
  background: rgba(21,15,37,.9);
  backdrop-filter: blur(12px);
  font-size: .78rem;
  text-align: center;
  transition: opacity .2s ease;
}
.coverage-pin:hover span { opacity: 1; }
.coverage-active-card {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 13.6rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: .45rem;
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}
.coverage-active-card strong { font-size: 1.05rem; line-height: 1; }
.coverage-active-card small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}
.coverage-mini-icons {
  display: flex;
  margin-right: .25rem;
}
.coverage-mini-icons i {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: -.35rem;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 999px;
  color: #fff;
  font-size: .55rem;
  font-style: normal;
  background: linear-gradient(135deg, #5362ad, var(--cyan));
}
.coverage-mini-icons i .icon { width: .85rem; height: .85rem; }
.coverage-mini-icons i:first-child { margin-left: 0; }
.coverage-legend {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: .45rem;
  color: var(--muted);
  font-size: .8rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}
.coverage-legend span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.coverage-legend i {
  width: .7rem;
  height: .7rem;
  border-radius: 999px;
}
.coverage-legend .available { background: var(--cyan); }
.coverage-legend .coming { background: #5a3b9d; }
@keyframes lineDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes coveragePulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(1,165,186,.12), 0 0 20px rgba(1,165,186,.55); }
  50% { box-shadow: 0 0 0 13px rgba(1,165,186,.06), 0 0 32px rgba(1,165,186,.78); }
}

.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 1.5rem; align-items: start; }
.form-grid { display: grid; gap: 1rem; }
.field, .admin-field, .inline-form input {
  width: 100%;
  color: #fff;
  background: rgba(21,15,37,.5);
  border: 1px solid rgba(55,65,81,1);
  border-radius: .85rem;
  padding: .95rem 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field:focus, .admin-field:focus, .inline-form input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(1,165,186,.28), 0 0 20px rgba(1,165,186,.16);
}
textarea.field, textarea.admin-field { min-height: 9rem; resize: vertical; }
.notice {
  border: 1px solid rgba(52,211,153,.28);
  background: rgba(52,211,153,.1);
  color: #b7ffe0;
  padding: 1rem;
  border-radius: .85rem;
}
.error { border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.1); color: #fecaca; }

.footer {
  padding: 4rem max(1rem, calc((100vw - 80rem) / 2 + 1rem)) 1.5rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.22);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-brand { margin-bottom: 1rem; }
.footer a { display: block; color: var(--muted); margin: .55rem 0; transition: color .2s ease; }
.footer a:hover { color: var(--cyan-soft); }
.footer p { color: var(--muted); line-height: 1.7; }
.footer h3 { margin-bottom: 1rem; }
.footer-contact-lines {
  display: grid;
  gap: .55rem;
  margin-top: 1rem;
}
.footer-contact-lines p {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
}
.footer-contact-lines .icon {
  width: 1rem;
  height: 1rem;
  color: var(--cyan-soft);
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2rem;
  margin: 0;
  border: 1px solid rgba(1,165,186,.24);
  border-radius: 999px;
  padding: .4rem .75rem;
  color: var(--cyan-soft);
  background: rgba(1,165,186,.08);
  font-size: .82rem;
  font-weight: 700;
}
.footer-socials a .icon { width: .95rem; height: .95rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1rem;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
}
.footer-bottom a .icon { width: 1rem; height: 1rem; }
.inline-form { display: flex; gap: .6rem; margin-top: 1rem; }
.inline-form input { min-width: 0; flex: 1; }

.admin-shell { display: grid; grid-template-columns: 17rem 1fr; min-height: 100vh; background: #0a0f1e; }
.admin-sidebar { background: #0d1424; border-right: 1px solid rgba(255,255,255,.05); padding: 1.25rem; }
.admin-sidebar .brand { margin-bottom: 1rem; }
.admin-sidebar a {
  display: block;
  color: var(--muted);
  padding: .8rem .9rem;
  border-radius: .8rem;
  margin: .15rem 0;
  transition: color .2s ease, background .2s ease;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: linear-gradient(90deg, rgba(1,165,186,.15), rgba(59,130,246,.08));
  color: #fff;
  border: 1px solid rgba(1,165,186,.18);
}
.admin-main { padding: clamp(1.25rem, 3vw, 2rem); }
.admin-main > h1 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.admin-table {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  background: #0d1424;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 1rem;
}
.admin-table th, .admin-table td { padding: .95rem; border-bottom: 1px solid rgba(255,255,255,.06); text-align: left; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.login-card {
  max-width: 28rem;
  margin: 12vh auto;
  opacity: 1;
  transform: none;
}

.admin-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #0a0f1e;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .5rem .35rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-family: Poppins, Inter, sans-serif;
}
.admin-brand strong,
.admin-user-card strong,
.admin-nav strong,
.admin-quick strong,
.admin-section-row strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  line-height: 1.1;
}
.admin-brand small,
.admin-user-card small,
.admin-nav small,
.admin-section-row small {
  display: block;
  color: #6b7280;
  font-size: .72rem;
  margin-top: .22rem;
}
.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav-kicker {
  padding: 0 .9rem .65rem;
  color: #4b5563;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: .85rem;
  border: 1px solid transparent;
  padding: .85rem .9rem;
}
.admin-nav a.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(1,165,186,.15), rgba(59,130,246,.08));
  border-color: rgba(1,165,186,.2);
}
.admin-nav a.active small { color: #6b7280; }
.admin-nav-icon {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  border-radius: .75rem;
  color: #9ca3af;
  background: rgba(255,255,255,.04);
  font-size: .8rem;
  font-weight: 800;
}
.admin-nav a.active .admin-nav-icon {
  color: var(--cyan-soft);
  background: rgba(1,165,186,.14);
}
.admin-user-card {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .75rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.admin-avatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}
.admin-side-actions { display: grid; gap: .35rem; padding: .2rem 0 0; }
.admin-side-actions a {
  display: block;
  padding: .75rem .9rem;
  border-radius: .8rem;
  color: #9ca3af;
}
.admin-side-actions a:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-side-actions .danger { color: #f87171; }
.admin-side-actions .danger:hover { color: #fca5a5; background: rgba(239,68,68,.1); }

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(10,15,30,.9);
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}
.admin-topbar h1 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}
.admin-topbar p {
  color: #6b7280;
  font-size: .78rem;
}
.admin-live {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #34d399;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 999px;
  padding: .4rem .75rem;
  font-size: .75rem;
  font-weight: 600;
}
.admin-live span {
  width: .4rem;
  height: .4rem;
  border-radius: 999px;
  background: #34d399;
  animation: pulseGlow 1.8s ease-in-out infinite;
}
.admin-main {
  flex: 1;
  overflow-y: auto;
}
.admin-dashboard {
  max-width: 72rem;
  display: grid;
  gap: 2rem;
}
.admin-welcome h2 {
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 800;
}
.admin-welcome p { color: var(--muted); margin-top: .25rem; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.admin-stat {
  position: relative;
  overflow: hidden;
  min-height: 9.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 1rem;
  background: #0d1424;
}
.admin-stat::before {
  content: "";
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  opacity: .12;
}
.admin-stat.blue::before { background: #3b82f6; }
.admin-stat.green::before { background: #10b981; }
.admin-stat.cyan::before { background: var(--cyan); }
.admin-stat.amber::before { background: #f59e0b; }
.admin-stat span {
  display: inline-flex;
  border-radius: .8rem;
  padding: .55rem .7rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), #2563eb);
}
.admin-stat.green span { background: linear-gradient(135deg, #10b981, #059669); }
.admin-stat.amber span { background: linear-gradient(135deg, #f59e0b, #d97706); }
.admin-stat strong {
  display: block;
  margin-top: 1rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.admin-stat small { display: block; color: #6b7280; margin-top: .35rem; }
.admin-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.admin-quick {
  display: block;
  min-height: 7rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(59,130,246,.2);
  background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(37,99,235,.05));
  transition: transform .2s ease, opacity .2s ease;
}
.admin-quick.green { border-color: rgba(16,185,129,.2); background: linear-gradient(135deg, rgba(16,185,129,.18), rgba(5,150,105,.05)); }
.admin-quick.cyan { border-color: rgba(1,165,186,.2); background: linear-gradient(135deg, rgba(1,165,186,.18), rgba(1,141,159,.05)); }
.admin-quick:hover { transform: translateY(-3px); opacity: .92; }
.admin-quick strong { font-size: 1rem; }
.admin-quick span { display: block; margin-top: .45rem; color: #9ca3af; font-size: .9rem; line-height: 1.45; }
.admin-section-list {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 1rem;
  background: #0d1424;
}
.admin-section-list-head,
.admin-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.admin-section-list-head h3 { font-size: 1rem; }
.admin-section-list-head a {
  color: var(--cyan-soft);
  font-size: .78rem;
  font-weight: 600;
}
.admin-section-row:last-child { border-bottom: 0; }
.admin-section-row:hover { background: rgba(255,255,255,.025); }
.admin-section-row em {
  color: #34d399;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-size: .74rem;
  font-style: normal;
}

.admin-content-index,
.admin-edit-screen,
.settings-screen {
  max-width: 56rem;
}
.admin-content-head,
.admin-edit-head,
.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.admin-content-head h2,
.admin-edit-head h2,
.settings-head h2 {
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}
.admin-content-head p,
.admin-edit-head p,
.settings-head p {
  color: #9fb4d0;
  margin-top: .2rem;
}
.admin-search {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: min(14rem, 100%);
  border: 1px solid rgba(70,85,115,.55);
  border-radius: .85rem;
  padding: .65rem .85rem;
  background: #0d1424;
  color: #66758e;
}
.admin-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #dbeafe;
  background: transparent;
}
.admin-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.admin-content-card {
  position: relative;
  display: flex;
  min-height: 7.75rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(56,68,94,.45);
  border-radius: 1rem;
  padding: 1.35rem;
  background: #0d1424;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.admin-content-card:hover {
  transform: translateY(-2px);
  border-color: rgba(1,165,186,.32);
  background: #10192b;
}
.admin-content-card strong {
  display: block;
  color: #fff;
  font-size: 1.02rem;
}
.admin-content-card small {
  display: block;
  color: #71839f;
  margin-top: .7rem;
  line-height: 1.45;
}
.admin-content-card em {
  display: block;
  margin-top: 1rem;
  color: #536782;
  font-size: .75rem;
  font-style: normal;
}
.admin-content-card b {
  color: #526176;
  font-size: 1.35rem;
  font-weight: 400;
}
.admin-content-card i {
  position: absolute;
  right: 1.35rem;
  bottom: 1.25rem;
  border: 1px solid rgba(16,185,129,.24);
  border-radius: 999px;
  padding: .28rem .55rem;
  color: #34d399;
  background: rgba(16,185,129,.12);
  font-size: .7rem;
  font-style: normal;
  font-weight: 700;
}
.admin-back {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #9ca3af;
  font-size: 1.6rem;
  line-height: 1;
}
.admin-edit-head span { flex: 1; }
.admin-edit-card,
.settings-card {
  overflow: hidden;
  border: 1px solid rgba(56,68,94,.45);
  border-radius: 1rem;
  background: #0d1424;
  margin-bottom: 1.5rem;
}
.admin-edit-card {
  padding: 1.6rem;
}
.admin-edit-card > h3 {
  margin-bottom: 1.45rem;
  color: #adc0d9;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.admin-edit-field {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.25rem;
}
.admin-edit-field span {
  color: #dbeafe;
  font-size: .9rem;
  font-weight: 700;
}
.admin-edit-field small {
  color: #60708a;
  font-size: .8rem;
}
.admin-edit-field .admin-field {
  min-height: 2.65rem;
  border-color: rgba(70,85,115,.72);
  background: #100f22;
  font-weight: 650;
}
.admin-edit-field textarea.admin-field {
  min-height: 5.6rem;
  line-height: 1.55;
}
.admin-repeat {
  padding: 1.5rem;
}
.admin-repeat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .8rem;
}
.admin-repeat-head h3 {
  font-size: .95rem;
}
.admin-add-item {
  min-height: 2rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(1,165,186,.3);
  border-radius: .55rem;
  color: var(--cyan-soft);
  background: rgba(1,165,186,.12);
  box-shadow: none;
  font-size: .8rem;
}
.admin-item-card {
  border: 1px solid rgba(70,85,115,.75);
  border-radius: .85rem;
  padding: 1rem;
  margin-top: .9rem;
  background: #100f22;
}
.admin-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-item-head span {
  color: #71839f;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-item-head button,
.settings-asset-actions .danger {
  min-height: 1.85rem;
  padding: .35rem .55rem;
  border: 1px solid rgba(239,68,68,.28);
  border-radius: .45rem;
  color: #fb7185;
  background: rgba(239,68,68,.1);
  box-shadow: none;
  font-size: .75rem;
}
.settings-card header {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.settings-card header strong {
  display: block;
  color: #fff;
  font-weight: 800;
}
.settings-card header small {
  display: block;
  color: #71839f;
  margin-top: .2rem;
  font-size: .82rem;
}
.settings-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--cyan-soft);
  font-weight: 800;
}
.settings-card-body {
  padding: 1.5rem;
}
.settings-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.settings-asset-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: .8rem;
  align-items: center;
  margin-bottom: 1.2rem;
}
.settings-thumb {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  border: 1px solid rgba(70,85,115,.5);
  border-radius: .8rem;
  background: #10192b;
  color: var(--cyan-soft);
  font-weight: 900;
}
.settings-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .35rem;
}
.settings-asset-fields .admin-edit-field {
  margin-bottom: .45rem;
}
.settings-asset-actions {
  display: flex;
  gap: .5rem;
}
.settings-asset-actions button {
  min-height: 1.9rem;
  padding: .4rem .75rem;
  border: 1px solid rgba(1,165,186,.3);
  border-radius: .55rem;
  color: var(--cyan-soft);
  background: rgba(1,165,186,.12);
  box-shadow: none;
  font-size: .78rem;
}

.page-content { color: #d1d5db; line-height: 1.8; }
.page-content :where(h1,h2,h3,p,ul,ol,blockquote,pre) { margin-bottom: 1rem; }

@keyframes gradientShift { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }
@keyframes pulseGlow { 50% { opacity: .18; transform: scale(1.08); } }
@keyframes pingDot { 75%,100% { transform: scale(2.1); opacity: 0; } }
@keyframes waveExpand {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.45); }
  35% { opacity: .55; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.8); }
}
@keyframes fiberFlow {
  0% { opacity: 0; transform: translateX(-120%); }
  45% { opacity: 1; }
  100% { opacity: 0; transform: translateX(160%); }
}
@keyframes particleDrift {
  0% { transform: translate3d(0, 40px, 0) rotate(0deg); opacity: 0; }
  12% { opacity: .5; }
  100% { transform: translate3d(-90px, -780px, 0) rotate(720deg); opacity: 0; }
}
@keyframes linePulse {
  0%, 100% { opacity: .32; filter: saturate(1); }
  50% { opacity: .72; filter: saturate(1.45); }
}
@keyframes globeIntro {
  from { opacity: 0; transform: scale(.82); }
  to { opacity: 1; transform: scale(1); }
}

.cursor-glow {
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(1,165,186,.16), transparent 70%);
  transition: opacity .25s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .section,
  .card,
  .coverage-map,
  .contact-layout,
  .footer {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header { padding: .9rem 1rem; }
  .hero, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; padding-top: 7rem; }
  .hero .lead, .hero h1 { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 21rem; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-speed { position: static; grid-column: 1 / -1; transform: none; justify-self: center; margin-top: .5rem; }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-toggle { display: inline-flex; min-height: 2.5rem; padding: .65rem .9rem; }
  .nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 4.75rem;
    padding: .75rem;
    background: rgba(10,10,20,.94);
    border: 1px solid var(--line);
    border-radius: 1rem;
    flex-direction: column;
    align-items: stretch;
    backdrop-filter: blur(20px);
  }
  .nav.open { display: flex; }
  .nav a::after { display: none; }
  .nav .nav-admin { margin-left: 0; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .admin-sidebar {
    position: static;
  }
  .admin-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
  }
  .admin-nav-kicker,
  .admin-user-card,
  .admin-side-actions {
    grid-column: 1 / -1;
  }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-quick-grid { grid-template-columns: 1fr; }
  .admin-section-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.7rem, 14vw, 3.8rem); }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .coverage-row { grid-template-columns: 1fr; }
  .coverage-checker { grid-template-columns: 1fr; }
  .coverage-search-card { padding: 1rem; }
  .coverage-checker::before { top: 1.85rem; }
  .coverage-map { min-height: 24rem; }
  .coverage-active-card {
    top: .8rem;
    right: .8rem;
    min-width: 0;
    width: calc(100% - 1.6rem);
  }
  .coverage-map-lines { inset: 0; }
  .coverage-legend {
    left: .8rem;
    right: .8rem;
    bottom: .8rem;
    justify-content: center;
  }
  .footer-bottom, .inline-form { flex-direction: column; }
  .button, .hero-actions, .hero-actions a { width: 100%; }
  .orb { width: min(82vw, 21rem); }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat-card { min-height: 7.25rem; }
  .hero-speed { width: 100%; min-width: 0; }
  .admin-nav { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-topbar { align-items: flex-start; flex-direction: column; padding: 1rem; }
  .admin-section-list-head,
  .admin-section-row { align-items: flex-start; flex-direction: column; }
  .admin-content-head,
  .admin-edit-head,
  .settings-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-search,
  .admin-edit-head button,
  .settings-head button {
    width: 100%;
  }
  .settings-two-col,
  .settings-asset-row {
    grid-template-columns: 1fr;
  }
}
