/* =========================
           HERO
        ========================= */

.hero {
  position: relative;
  overflow: hidden;

  padding: 82px 24px 42px;

  text-align: center;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(37, 99, 235, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(8, 174, 234, 0.12),
      transparent 28%
    ),
    #f8fafc;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 15px;

  border-radius: 100px;

  border: 1px solid #c9dbff;

  background: #eff5ff;

  color: var(--primary);

  font-size: 12px;
  font-weight: 700;

  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;

  color: var(--dark);

  letter-spacing: -2px;

  font-weight: 800;
}

.hero h1 span {
  background: linear-gradient(90deg, #1557e8, #08aeea);

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero p {
  max-width: 720px;

  margin: 18px auto 0;

  color: #667085;

  font-size: 15px;
  line-height: 1.7;
}

/* =========================
           COVERAGE WRAPPER
        ========================= */

.coverage-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 90px;
}

.map-card {
  background: white;

  border: 1px solid #e4e7ec;

  border-radius: 20px;

  padding: 22px;

  box-shadow: var(--shadow);
}

/* SEARCH */

.map-toolbar {
  display: flex;
  gap: 10px;

  margin-bottom: 10px;
}

.search-box {
  flex: 1;

  position: relative;
}

.search-box i {
  position: absolute;

  left: 17px;
  top: 50%;

  transform: translateY(-50%);

  color: #98a2b3;
}

.search-box input {
  width: 100%;

  height: 48px;

  border: 1px solid #d0d5dd;

  border-radius: 12px;

  padding: 0 17px 0 45px;

  outline: none;

  color: #344054;

  font-size: 13px;

  transition: 0.2s ease;
}

.search-box input:focus {
  border-color: #3b82f6;

  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.gps-btn {
  border: 0;

  height: 48px;

  padding: 0 19px;

  border-radius: 12px;

  background: #2563eb;

  color: white;

  font-weight: 700;

  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: 0.25s ease;
}

.gps-btn:hover {
  background: #1749c5;
}

/* MAP */

#map {
  width: 100%;
  height: 490px;

  border-radius: 13px;

  overflow: hidden;

  position: relative;
}

.map-hint {
  position: absolute;

  bottom: 14px;
  left: 14px;

  z-index: 500;

  background: rgba(16, 24, 40, 0.92);

  color: white;

  padding: 10px 14px;

  border-radius: 10px;

  font-size: 12px;
  font-weight: 600;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* =========================
           RESULT GRID
        ========================= */

.result-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 2.1fr)
    minmax(280px, 0.9fr);

  gap: 16px;

  margin-top: 18px;
}

.status-card,
.area-card {
  background: white;

  border: 1px solid #d0d5dd;

  border-radius: 17px;

  padding: 22px;
}

.status-card {
  border-color: #b9cdea;
}

.card-heading {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 4px;
}

.card-heading h2 {
  font-size: 16px;
  color: #101828;
}

.coordinates {
  color: #667085;
  font-size: 11px;

  margin-bottom: 10px;
}

.status-badge {
  padding: 7px 12px;

  border-radius: 100px;

  font-size: 10px;

  font-weight: 800;

  color: #087443;

  background: #d1fadf;
}

.success-box {
  background: var(--success-bg);

  border: 1px solid #a6f4c5;

  border-radius: 13px;

  padding: 17px;
}

.success-title {
  color: #067647;

  font-size: 14px;

  font-weight: 800;

  margin-bottom: 8px;
}

.success-box p {
  color: #087443;

  font-size: 12px;

  line-height: 1.65;
}

.network-info {
  margin-top: 13px;

  padding-top: 13px;

  border-top: 1px dashed #8ce7b3;

  display: grid;

  gap: 7px;
}

.network-info div {
  font-size: 12px;

  color: #087443;
}

.network-info strong {
  color: #05603a;
}

.install-btn {
  margin-top: 16px;

  width: 100%;

  height: 48px;

  border: 0;

  border-radius: 12px;

  background: linear-gradient(90deg, #2563eb, #1d5bea);

  color: white;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);

  transition: 0.25s ease;
}

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

/* =========================
           AREA
        ========================= */

.area-card h2 {
  font-size: 16px;

  color: #101828;

  margin-bottom: 16px;
}

.area-count {
  float: right;

  padding: 6px 10px;

  border-radius: 100px;

  background: #e8f1ff;

  color: #2563eb;

  font-size: 10px;

  font-weight: 800;
}

.area-item {
  padding: 13px 0;

  border-bottom: 1px solid #eaecf0;
}

.area-item:last-child {
  border-bottom: 0;
}

.area-top {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 10px;
}

.area-name {
  color: #101828;

  font-size: 12px;

  font-weight: 700;
}

.area-status {
  padding: 5px 9px;

  background: #d1fadf;

  color: #087443;

  border-radius: 100px;

  font-size: 9px;

  font-weight: 800;

  white-space: nowrap;
}

.area-location {
  margin-top: 5px;

  color: #667085;

  font-size: 10px;
}

/* =========================
           RESPONSIVE
        ========================= */

@media (max-width: 1200px) {
  .navbar {
    padding: 0 25px;
  }

  .brand {
    min-width: auto;
  }

  .nav-menu {
    gap: 0;
  }

  .nav-link {
    padding: 11px 9px;
    font-size: 12px;
  }
}

@media (max-width: 1000px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .navbar {
    height: 82px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .navbar {
    padding: 0 17px;
  }

  .nav-actions {
    gap: 4px;
  }

  .client-btn {
    display: none;
  }

  .admin-btn {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 11px;
  }

  .hero {
    padding: 55px 18px 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .coverage-wrapper {
    padding: 10px 13px 65px;
  }

  .map-card {
    padding: 12px;
    border-radius: 15px;
  }

  .map-toolbar {
    flex-direction: column;
  }

  .gps-btn {
    width: 100%;
    justify-content: center;
  }

  #map {
    height: 430px;
  }

  .map-hint {
    font-size: 10px;
    max-width: 230px;
  }

  .card-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .card-heading h2 {
    font-size: 14px;
  }

  .status-card,
  .area-card {
    padding: 16px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;

    padding: 12px 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
