:root {
  --bg: #eef6fb;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-tint: rgba(244, 251, 255, 0.96);
  --ink: #0e2433;
  --muted: #547083;
  --brand: #0f5e8c;
  --brand-2: #12a4d9;
  --accent: #ffb703;
  --accent-soft: #ffe3a3;
  --glow: rgba(133, 224, 255, 0.28);
  --danger: #c1121f;
  --ring: rgba(10, 147, 150, 0.35);
  --radius: 18px;
  --shadow: 0 22px 55px rgba(20, 50, 79, 0.16);
  --soft-shadow: 0 12px 32px rgba(16, 55, 85, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(18, 164, 217, 0.12), transparent 30%),
    linear-gradient(180deg, #f5fbff 0%, #edf6fb 100%);
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

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

img {
  max-width: 100%;
}

video {
  max-width: 100%;
}

::selection {
  background: rgba(18, 164, 217, 0.22);
  color: #05263b;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 30;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #093d5b;
  box-shadow: var(--shadow);
  transform: translateY(-180%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.hero {
  color: #f8fffc;
  padding-bottom: 3rem;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 198, 92, 0.42), transparent 28%),
    radial-gradient(circle at 18% 10%, rgba(103, 219, 255, 0.26), transparent 34%),
    radial-gradient(circle at 70% 78%, rgba(23, 165, 137, 0.2), transparent 24%),
    linear-gradient(135deg, #06283d 0%, #0b4f6c 48%, #0f7394 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, rgba(5, 31, 46, 0), rgba(5, 31, 46, 0.22));
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 38%),
    radial-gradient(circle at 50% 120%, rgba(130, 231, 255, 0.12), transparent 35%);
  pointer-events: none;
}

.parallax-layer {
  position: absolute;
  pointer-events: none;
  transition: transform 0.1s linear;
}

.layer-a {
  width: 380px;
  height: 380px;
  right: -120px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.3) 0%, rgba(255, 209, 102, 0) 70%);
}

.layer-b {
  width: 460px;
  height: 460px;
  left: -120px;
  top: 90px;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(10, 147, 150, 0.26) 0%, rgba(10, 147, 150, 0) 68%);
}

.layer-c {
  width: 500px;
  height: 220px;
  right: 10%;
  bottom: -40px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(177, 236, 255, 0.22), rgba(255, 255, 255, 0));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  position: relative;
  z-index: 2;
  margin-top: 0.8rem;
  top: 0.6rem;
  width: min(1120px, 92%);
  padding-inline: 1rem;
  border-radius: 18px;
  background: rgba(7, 45, 66, 0.42);
  border: 1px solid rgba(220, 245, 255, 0.16);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(4, 24, 36, 0.16);
  position: sticky;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #07262f;
  background: #ffd166;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  font-weight: 600;
}

.nav-links a {
  color: rgba(244, 252, 255, 0.92);
  position: relative;
  padding: 0.35rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
  background: linear-gradient(90deg, #ffd166, #7be8ff);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.hero-content {
  padding: 3.6rem 0 1rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: stretch;
  gap: 1.5rem;
}

.hero-banner {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(223, 246, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 215, 115, 0.14), rgba(113, 226, 255, 0.1)),
    rgba(8, 52, 73, 0.28);
  box-shadow: 0 18px 40px rgba(3, 25, 36, 0.12);
  backdrop-filter: blur(12px);
}

.hero-banner-copy {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-banner-copy p {
  color: #d8eff9;
}

.hero-banner-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.16);
  border: 1px solid rgba(255, 229, 163, 0.24);
  color: #ffe6a8;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-banner-btn {
  background: rgba(221, 246, 255, 0.14);
  color: #f2fbff;
  border: 1px solid rgba(221, 246, 255, 0.22);
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ffd166;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 219, 131, 0.1);
  border: 1px solid rgba(255, 228, 168, 0.2);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  max-width: 11ch;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.lead {
  margin-top: 1.1rem;
  max-width: 58ch;
  color: #d8edf7;
  font-size: 1.15rem;
}

.hero-feature-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(215, 244, 255, 0.1);
  border: 1px solid rgba(215, 244, 255, 0.18);
  color: #e2f7ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-feature-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(215, 244, 255, 0.1);
  border: 1px solid rgba(215, 244, 255, 0.18);
  color: #e2f7ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-dynamic-line {
  margin-top: 0.7rem;
  color: var(--accent-soft);
  font-weight: 700;
  font-size: 1.02rem;
  text-shadow: 0 0 18px rgba(255, 227, 163, 0.18);
}

.hero-meta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.48rem 0.84rem;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(226, 246, 255, 0.12);
  border: 1px solid rgba(226, 246, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pulse {
  animation: pulseGlow 1.6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 209, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 209, 102, 0);
  }
}

.hero-visual-stack {
  display: grid;
  gap: 1rem;
  min-height: 100%;
}

.hero-animation-panel,
.hero-chart-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(227, 246, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(233, 249, 255, 0.14), rgba(154, 225, 255, 0.06)),
    rgba(5, 42, 61, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-animation-panel::before,
.hero-chart-panel::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 120, 0.22), rgba(255, 215, 120, 0));
  pointer-events: none;
}

.hero-animation-panel {
  min-height: 320px;
  padding: 1rem 1rem 0.75rem;
}

.hero-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 32, 46, 0.08)),
    #0c3448;
  border: 1px solid rgba(220, 245, 255, 0.12);
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(4, 24, 36, 0), rgba(4, 24, 36, 0.24));
  pointer-events: none;
}

.hero-video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 32, 46, 0.08)),
    #0c3448;
  border: 1px solid rgba(220, 245, 255, 0.12);
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(4, 24, 36, 0), rgba(4, 24, 36, 0.24));
  pointer-events: none;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.hero-panel-kicker {
  color: #ccefff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #82ffc7;
  box-shadow: 0 0 18px rgba(130, 255, 199, 0.8);
}

.hero-video {
  width: 100%;
  height: 255px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  display: block;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 28px rgba(0, 0, 0, 0.12);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-video-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(5, 29, 43, 0.38);
  border: 1px solid rgba(218, 245, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-video-overlay span {
  color: #aedff2;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.hero-video-overlay strong {
  color: #ffffff;
  font-size: 0.98rem;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-lottie-fallback {
  color: #e8fff6;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem;
}

.hero-chart-panel {
  padding: 1rem 1rem 1.1rem;
}

.hero-chart-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.chart-label {
  color: #b6deee;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-chart-copy h3 {
  color: #effbff;
  max-width: 18ch;
  font-size: 1.2rem;
}

.chart-shell {
  position: relative;
  margin-top: 1rem;
  padding: 1rem 0.8rem 0.4rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(3, 31, 45, 0.3);
  border: 1px solid rgba(214, 245, 255, 0.08);
}

.chart-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 25%;
  opacity: 0.45;
  pointer-events: none;
}

.chart-bars {
  position: relative;
  z-index: 1;
  height: 180px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  align-items: end;
}

.chart-bar-wrap {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.chart-bar {
  display: block;
  width: 100%;
  max-width: 44px;
  height: var(--bar-height, 40%);
  min-height: 20px;
  border-radius: 16px 16px 10px 10px;
  background: linear-gradient(180deg, #ffd166 0%, #32d7ff 68%, #1b7ba8 100%);
  box-shadow:
    0 10px 22px rgba(50, 215, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform-origin: bottom;
  animation: barRise 1.1s ease both;
}

.chart-bar-wrap:nth-child(2) .chart-bar {
  animation-delay: 0.08s;
}

.chart-bar-wrap:nth-child(3) .chart-bar {
  animation-delay: 0.16s;
}

.chart-bar-wrap:nth-child(4) .chart-bar {
  animation-delay: 0.24s;
}

.chart-bar-wrap:nth-child(5) .chart-bar {
  animation-delay: 0.32s;
}

.chart-bar-wrap:nth-child(6) .chart-bar {
  animation-delay: 0.4s;
}

.chart-bar-wrap small {
  color: #c7e9f6;
  font-size: 0.74rem;
  font-weight: 700;
}

.chart-glow-line {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 78px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(161, 239, 255, 0.95), rgba(255, 255, 255, 0));
  box-shadow: 0 0 18px rgba(161, 239, 255, 0.75);
  animation: chartSweep 3.6s linear infinite;
}

@keyframes barRise {
  from {
    transform: scaleY(0.1);
    opacity: 0.3;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes chartSweep {
  0% {
    transform: translateX(-18px);
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(18px);
    opacity: 0.35;
  }
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffb703, #ffd166);
  color: #372600;
  box-shadow: 0 18px 30px rgba(255, 183, 3, 0.24);
}

.btn-secondary {
  background: rgba(212, 241, 252, 0.12);
  color: #f5fffc;
  border: 1px solid rgba(212, 241, 252, 0.24);
}

.btn-secondary:hover {
  box-shadow: 0 16px 26px rgba(7, 32, 47, 0.14);
}

.response-card .btn-secondary {
  background: #eaf6f1;
  color: #114537;
  border: 1px solid #cde3da;
}

.hero-metrics {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-metrics article {
  background: linear-gradient(180deg, rgba(235, 249, 255, 0.18), rgba(235, 249, 255, 0.08));
  border: 1px solid rgba(235, 249, 255, 0.22);
  border-radius: 22px;
  padding: 1.15rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  position: relative;
  overflow: hidden;
}

.hero-metrics article::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 231, 255, 0.12), transparent 65%);
}

.hero-metrics h3 {
  font-size: 2rem;
}

.hero-metrics p {
  color: #d2ede3;
}

.section {
  padding: 4rem 0;
  position: relative;
  scroll-margin-top: 6.2rem;
}

.alt {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 228, 164, 0.16), transparent 20%),
    linear-gradient(180deg, #eef8f5 0%, #deeee7 100%);
}

.section-title {
  margin-bottom: 1.3rem;
  max-width: 760px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  margin-bottom: 0.35rem;
}

.section-title p {
  color: var(--muted);
}

.panel-grid,
.response-grid,
.contact-grid,
.explore-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.explore-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: start;
}

.panel,
.response-card,
.contact-card {
  background: var(--surface-strong);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 1.1rem;
  border: 1px solid rgba(226, 240, 248, 0.95);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.panel::before,
.response-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(18, 164, 217, 0.7), rgba(255, 183, 3, 0.5));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.map-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 1rem;
  min-height: 460px;
  border: 1px solid rgba(208, 232, 242, 0.9);
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 218, 125, 0.25), transparent 20%),
    linear-gradient(135deg, #0b4260 0%, #0f5d83 52%, #168aad 100%);
  box-shadow: var(--shadow);
}

.map-panel::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 214, 0.16), transparent 72%);
}

.map-topbar {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.map-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: #f3fcff;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(221, 247, 255, 0.24);
  background: rgba(237, 250, 255, 0.12);
}

.map-canvas {
  position: relative;
  min-height: 390px;
  margin-top: 0.85rem;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 75%, rgba(49, 214, 255, 0.18), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(255, 214, 102, 0.18), transparent 20%),
    linear-gradient(180deg, rgba(6, 39, 58, 0.14), rgba(2, 24, 37, 0.32));
  border: 1px solid rgba(227, 246, 255, 0.14);
}

.map-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.18;
}

.map-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
}

.map-glow-a {
  width: 220px;
  height: 220px;
  left: 12%;
  top: 12%;
  background: rgba(130, 230, 255, 0.18);
}

.map-glow-b {
  width: 180px;
  height: 180px;
  right: 12%;
  bottom: 10%;
  background: rgba(255, 208, 117, 0.16);
}

.river-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.river-path path {
  fill: none;
  stroke: rgba(152, 233, 255, 0.82);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18 12;
  animation: riverFlow 11s linear infinite;
  filter: drop-shadow(0 0 8px rgba(152, 233, 255, 0.3));
}

@keyframes riverFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -180;
  }
}

.map-hotspot {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(231, 247, 255, 0.3);
  background: rgba(240, 252, 255, 0.12);
  color: #f8feff;
  font: inherit;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(6, 30, 44, 0.22);
}

.map-hotspot strong {
  font-size: 0.82rem;
}

.map-hotspot:hover,
.map-hotspot.active {
  background: rgba(255, 212, 125, 0.2);
  box-shadow: 0 0 0 6px rgba(255, 212, 125, 0.12);
  transform: translate(-50%, -54%);
}

.map-hotspot span {
  animation: pulsePin 1.9s ease-in-out infinite;
}

@keyframes pulsePin {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
}

.map-info {
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.96));
}

.map-info-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.map-risk-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  border-radius: 999px;
  padding: 0.36rem 0.66rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.map-risk-tag.low {
  background: #def7e4;
  color: #187640;
}

.map-risk-tag.moderate {
  background: #fff1ce;
  color: #8f6200;
}

.map-risk-tag.high {
  background: #ffe0ca;
  color: #b24f00;
}

.map-description {
  margin-top: 0.9rem;
  color: #456375;
  font-size: 1rem;
}

.map-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.map-stats article {
  border-radius: 16px;
  background: linear-gradient(180deg, #f5fbff, #ecf7ff);
  border: 1px solid #d9ebf5;
  padding: 0.8rem;
}

.map-stats span {
  display: block;
  color: #638095;
  font-size: 0.78rem;
  font-weight: 700;
}

.map-stats strong {
  display: block;
  margin-top: 0.28rem;
}

.map-city-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.city-chip {
  border: 1px solid #d4e7f3;
  background: #f7fcff;
  color: #0d4a69;
  border-radius: 999px;
  padding: 0.52rem 0.78rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.city-chip:hover,
.city-chip.active {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #dff6ff, #fff4d0);
}

.map-story {
  margin-top: 1rem;
}

.map-sync-btn {
  margin-top: 1rem;
  width: 100%;
}

.panel:hover,
.response-card:hover,
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.panel:hover::before,
.response-card:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.panel h3,
.response-card h3,
.contact-card h3 {
  margin-bottom: 0.6rem;
}

.form-grid {
  display: grid;
  gap: 0.75rem;
}

label {
  font-weight: 600;
  display: grid;
  gap: 0.32rem;
}

input,
select {
  border: 1px solid #ccd9d2;
  border-radius: 12px;
  padding: 0.75rem 0.82rem;
  font: inherit;
  background: #fbfffd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:hover,
select:hover {
  border-color: #a6cbe0;
  background: #ffffff;
}

.result-card,
.alert-box {
  margin-top: 0.9rem;
  border-radius: 12px;
  padding: 0.9rem;
  background: linear-gradient(135deg, #edf9ff, #f7fbff);
  border-left: 5px solid var(--brand-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.risk-title {
  margin-bottom: 0.35rem;
}

.action-list,
.priority-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #25493d;
}

.action-list li,
.priority-list li {
  margin-bottom: 0.6rem;
}

.badge {
  display: inline-block;
  min-width: 72px;
  text-align: center;
  font-size: 0.76rem;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  margin-right: 0.42rem;
  font-weight: 700;
  color: #fff;
}

.low {
  background: #2b9348;
}

.moderate {
  background: #ee9b00;
}

.high {
  background: #ca6702;
}

.severe {
  background: var(--danger);
}

.checklist {
  display: grid;
  gap: 0.64rem;
}

.checklist label {
  background: #f3faf7;
  border: 1px solid #dbe9e3;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font-weight: 600;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.checklist label:hover {
  transform: translateX(3px);
  border-color: #b9ddd0;
  background: linear-gradient(180deg, #fbfffd, #eefaf5);
}

.checklist input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
}

.response-card p {
  color: #2c4e43;
  margin-bottom: 0.8rem;
}

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

.weather-status {
  margin-top: 0.7rem;
  color: #2c6554;
  font-weight: 600;
  min-height: 1.6rem;
}

.weather-status.is-loading {
  color: #0f5e8c;
}

.weather-status.is-error {
  color: #af2f2f;
}

.weather-now {
  margin-top: 0.7rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #effaff, #f8fbff);
  border: 1px solid #d8e7f0;
  padding: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.forecast-grid {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.forecast-card {
  border-radius: 12px;
  border: 1px solid #dbe7f1;
  background: linear-gradient(180deg, #fbfeff, #f2faff);
  padding: 0.65rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.forecast-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(19, 78, 111, 0.1);
}

.forecast-card h4 {
  margin: 0;
  font-size: 0.9rem;
}

.forecast-card p {
  margin-top: 0.3rem;
  color: #2f5f50;
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.alert-box {
  margin-top: 1rem;
  background: #fff3ef;
  border-left-color: #e85d04;
}

.contact-card p {
  color: #15483a;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer {
  padding: 1.6rem 0;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(127, 229, 255, 0.08), transparent 30%),
    #031d28;
  color: #bfd8cd;
  border-top: 1px solid rgba(209, 242, 255, 0.08);
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.quiz-panel,
.quiz-result-panel {
  background: var(--surface-strong);
  border: 1px solid rgba(226, 240, 248, 0.95);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  padding: 1.2rem;
}

.quiz-form {
  display: grid;
  gap: 1rem;
}

.quiz-card {
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fcff, #eef7fd);
  border: 1px solid #dbe9f4;
}

.quiz-card h3 {
  font-size: 1.1rem;
  margin-top: 0.35rem;
}

.quiz-step {
  color: #0f5e8c;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d9e7f1;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.quiz-option:hover {
  transform: translateX(4px);
  border-color: #9ed5ef;
  box-shadow: 0 12px 20px rgba(20, 70, 102, 0.08);
}

.quiz-option input {
  margin-top: 0.2rem;
}

.quiz-result-panel {
  position: sticky;
  top: 6.5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 102, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfeff, #f2f9ff);
}

.quiz-score-ring {
  margin-top: 1rem;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(from 220deg, #12a4d9 0deg, #72dcff 180deg, #ffd166 300deg, #12a4d9 360deg);
  box-shadow: 0 24px 40px rgba(18, 164, 217, 0.16);
}

.quiz-score-core {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: #ffffff;
  box-shadow: inset 0 0 0 10px rgba(242, 250, 255, 0.9);
}

.quiz-score-core strong {
  display: block;
  font-size: 2rem;
  color: #0c5479;
}

.quiz-score-core span {
  color: #6a8797;
  font-size: 0.85rem;
  font-weight: 700;
}

.quiz-tips {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.quiz-tips article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #dcebf4;
}

.quiz-tips span {
  font-size: 1.15rem;
}

.weather-status {
  min-height: 1.6rem;
}

.weather-status.is-loading {
  color: #0f5e8c;
}

.weather-status.is-error {
  color: #af2f2f;
}

@media (max-width: 980px) {
  .panel-grid,
  .response-grid,
  .weather-layout,
  .tools-grid,
  .explore-grid,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .nav {
    top: 0;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-banner {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .map-stats {
    grid-template-columns: 1fr;
  }

  .quiz-result-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 0.9rem;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.9rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-metrics,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-video {
    height: 220px;
  }

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

  .hero-chart-copy {
    display: grid;
    gap: 0.4rem;
  }

  .hero h1 {
    max-width: 9ch;
  }

  .hero-video-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-feature-row {
    gap: 0.45rem;
  }

  .quiz-score-ring {
    width: 180px;
    height: 180px;
  }

  .quiz-score-core {
    width: 130px;
    height: 130px;
  }

  .btn {
    width: 100%;
  }

  .hero-feature-row {
    gap: 0.45rem;
  }

  .map-hotspot strong {
    display: none;
  }
}
