/* ============================================================
   ARCTIC FORCE — COVERAGE PAGE
   ============================================================ */

/* ---- Map Section ---- */
.map-section { background: var(--color-dark); }

.map-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* SVG Map Container */
.map-container {
  position: relative;
  background: linear-gradient(135deg, #060b1a 0%, #0a1528 100%);
  border: 1px solid rgba(0,170,255,0.12);
  border-radius: 20px;
  padding: 32px;
  overflow: hidden;
}

.map-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 40%, rgba(0,52,120,0.15) 0%, transparent 70%);
}

.coverage-svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Map regions */
.map-region {
  fill: rgba(0,52,120,0.25);
  stroke: rgba(0,170,255,0.2);
  stroke-width: 1;
  transition: fill 0.3s ease;
}

.map-region:hover { fill: rgba(0,52,120,0.4); }
.map-region.usa { fill: rgba(0,100,200,0.12); }

/* City markers */
.city-marker-group { cursor: pointer; }

.city-marker-group:hover .city-pulse { opacity: 0.6; }
.city-marker-group:hover .city-dot-inner { r: 7; }

.city-pulse {
  fill: none;
  stroke: var(--color-ice-blue);
  stroke-width: 1.5;
  opacity: 0.3;
  animation: map-pulse 2.5s ease-in-out infinite;
}

.city-dot-inner { fill: var(--color-ice-blue); }

.city-hq .city-dot-inner { fill: var(--color-amber); }
.city-hq .city-pulse { stroke: var(--color-amber); }

.city-expansion .city-dot-inner { fill: #00e5a0; }
.city-expansion .city-pulse { stroke: #00e5a0; }

@keyframes map-pulse {
  0%, 100% { r: 12; opacity: 0.2; }
  50%       { r: 18; opacity: 0.05; }
}

.city-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  fill: rgba(255,255,255,0.7);
  pointer-events: none;
}

.city-hq .city-label { fill: var(--color-amber); }

/* Tooltip */
.map-tooltip {
  position: absolute;
  background: rgba(10,20,50,0.95);
  border: 1px solid rgba(0,170,255,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: translate(-50%, -100%);
  white-space: nowrap;
  z-index: 10;
}

.map-tooltip.visible { opacity: 1; }

.tooltip-city {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-white);
  display: block;
}

.tooltip-info {
  font-size: 0.75rem;
  color: var(--color-ice-blue);
  display: block;
}

/* Map Legend */
.map-legend {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-light);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.hq      { background: var(--color-amber); box-shadow: 0 0 8px rgba(240,165,0,0.5); }
.legend-dot.primary { background: var(--color-ice-blue); box-shadow: 0 0 8px rgba(0,170,255,0.5); }
.legend-dot.expansion { background: #00e5a0; box-shadow: 0 0 8px rgba(0,229,160,0.5); }

/* Map Sidebar */
.map-sidebar {}

.map-sidebar-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.cities-list { display: flex; flex-direction: column; gap: 10px; }

.city-list-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
  cursor: pointer;
}

.city-list-item:hover {
  border-color: rgba(0,170,255,0.3);
  background: rgba(0,170,255,0.05);
}

.city-list-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.city-status-dot.hq      { background: var(--color-amber); }
.city-status-dot.primary { background: var(--color-ice-blue); }
.city-status-dot.expansion { background: #00e5a0; }

.city-list-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  display: block;
}

.city-list-region {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

.city-list-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* ---- City Cards Grid ---- */
.city-cards-section { background: var(--color-dark-mid); }

.cities-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.city-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,170,255,0.3);
  box-shadow: var(--shadow-glow);
}

.city-card.hq-city {
  border-color: rgba(240,165,0,0.25);
  background: linear-gradient(135deg, #1a1200 0%, var(--color-card-bg) 60%);
}

.city-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.city-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,170,255,0.08);
  border: 1px solid rgba(0,170,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-ice-blue);
}

.city-card.hq-city .city-card-icon {
  background: rgba(240,165,0,0.08);
  border-color: rgba(240,165,0,0.2);
  color: var(--color-amber);
}

.city-card h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 4px;
}

.city-province {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.city-services-list {
  margin-bottom: 16px;
}

.city-services-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.city-services-list li:last-child { border-bottom: none; }
.city-services-list li i { color: var(--color-ice-blue); font-size: 0.65rem; }

.city-depot {
  font-size: 0.75rem;
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.city-depot i { color: var(--color-ice-blue); font-size: 0.7rem; margin-top: 2px; }

/* ---- Response Time Section ---- */
.response-section {
  background: linear-gradient(135deg, #070c1a 0%, #001640 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.response-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,170,255,0.08) 0%, transparent 70%);
}

.response-inner { position: relative; z-index: 1; }

.response-timer {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(0,170,255,0.06);
  border: 2px solid rgba(0,170,255,0.2);
  border-radius: 20px;
  padding: 36px 56px;
  margin: 32px auto 40px;
}

.timer-num {
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--color-white);
  line-height: 1;
  text-shadow: 0 0 60px rgba(0,170,255,0.4);
}

.timer-details {
  text-align: left;
  padding-left: 24px;
  border-left: 2px solid rgba(0,170,255,0.2);
  margin-left: 24px;
}

.timer-unit {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-ice-blue);
  display: block;
  line-height: 1;
}

.timer-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 6px;
}

.response-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--color-white);
  margin-bottom: 16px;
}

.response-section > .response-inner > p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  max-width: 620px;
  margin: 0 auto 40px;
}

.response-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.response-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}

.response-feature i { color: var(--color-ice-blue); }

/* ---- Coverage Check CTA ---- */
.coverage-check { background: var(--color-dark-mid); padding: 80px 0; }

.coverage-check-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.coverage-check h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.coverage-check p {
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.coverage-check-form {
  display: flex;
  gap: 12px;
  background: rgba(0,170,255,0.05);
  border: 1px solid rgba(0,170,255,0.15);
  border-radius: 12px;
  padding: 8px 8px 8px 20px;
  align-items: center;
}

.coverage-check-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  min-width: 0;
}

.coverage-check-form input::placeholder { color: rgba(255,255,255,0.3); }

.coverage-result {
  display: none;
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 10px;
  text-align: left;
  animation: slideIn 0.3s ease;
}

.coverage-result.success {
  background: rgba(0,200,100,0.08);
  border: 1px solid rgba(0,200,100,0.25);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.coverage-result i {
  color: #00c864;
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.coverage-result strong {
  color: var(--color-white);
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.coverage-result p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin: 0;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .cities-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .map-layout { grid-template-columns: 1fr; }
  .map-sidebar { display: none; }
}

@media (max-width: 768px) {
  .cities-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .timer-num { font-size: 5rem; }
  .coverage-check-form {
    flex-direction: column;
    padding: 16px;
    align-items: stretch;
  }
  .coverage-check-form input { text-align: center; margin-bottom: 8px; }
  .coverage-result.success { flex-direction: column; }
}

@media (max-width: 480px) {
  .cities-cards-grid { grid-template-columns: 1fr; }
  .response-timer { padding: 24px 32px; }
}
