:root {
  --midnight: #061525;
  --storm-navy: #0a2239;
  --panel-blue: #102a42;
  --radar-blue: #168fe5;
  --electric-blue: #2db7ff;
  --sky-blue: #67c8ff;
  --ice-white: #f4f8fc;
  --cloud-silver: #b9c7d5;
  --slate: #788b9e;
  --border-blue: #24445f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ice-white);
  background: var(--midnight);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.atmosphere { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.atmosphere::before {
  content: "";
  position: absolute;
  width: 70vw; height: 70vw;
  right: -25vw; top: -32vw;
  background: radial-gradient(circle, rgba(22,143,229,.22), transparent 65%);
}
.grid {
  position: absolute; inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(103,200,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(103,200,255,.11) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 5%, black 70%);
  transform: perspective(600px) rotateX(64deg) scale(1.5) translateY(20%);
  transform-origin: bottom;
}
.cloud { position: absolute; border-radius: 50%; filter: blur(75px); opacity: .16; }
.cloud-one { width: 55vw; height: 19vw; background: var(--radar-blue); top: 27%; left: -30%; animation: drift 18s ease-in-out infinite alternate; }
.cloud-two { width: 42vw; height: 16vw; background: var(--storm-navy); bottom: -2%; right: 0; animation: drift 24s ease-in-out infinite alternate-reverse; }

.site-header, main, footer { position: relative; z-index: 1; width: min(1440px, calc(100% - 96px)); margin-inline: auto; }
.site-header { height: 126px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(36,68,95,.62); }
.brand img { display: block; width: 270px; height: auto; }
.status { color: var(--cloud-silver); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.status span, .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--electric-blue); box-shadow: 0 0 13px var(--electric-blue); animation: pulse 2.2s ease-in-out infinite; }

.hero { min-height: calc(100vh - 207px); display: grid; grid-template-columns: minmax(470px, .95fr) minmax(430px, .8fr); align-items: center; gap: clamp(70px, 9vw, 150px); padding: 74px 3vw 82px; }
.hero-copy { max-width: 710px; }
.eyebrow { margin: 0 0 28px; color: var(--sky-blue); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.eyebrow span { color: var(--electric-blue); font-variant-numeric: tabular-nums; }
.eyebrow::after { content: ""; width: 62px; height: 1px; background: var(--radar-blue); }
h1 { margin: 0; font-size: clamp(58px, 6.6vw, 104px); line-height: .91; letter-spacing: -.068em; font-weight: 750; }
h1 em { color: var(--electric-blue); font-style: normal; font-weight: 400; }
.intro { max-width: 610px; margin: 34px 0 36px; color: var(--cloud-silver); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.68; }

.capabilities { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--cloud-silver); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.capabilities i { width: 3px; height: 3px; border-radius: 50%; background: var(--electric-blue); }

.weather-visual { position: relative; width: min(38vw, 540px); justify-self: center; }
.radar-card { position: relative; border: 1px solid rgba(103,200,255,.2); padding: 22px; background: linear-gradient(145deg, rgba(16,42,66,.92), rgba(6,21,37,.82)); box-shadow: 0 45px 100px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.04); transform: rotate(2deg); }
.radar-card::before, .radar-card::after { content: ""; position: absolute; width: 19px; height: 19px; border-color: var(--electric-blue); opacity: .75; }
.radar-card::before { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.radar-card::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.card-topline { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--slate); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.live { color: var(--sky-blue); display: flex; align-items: center; gap: 8px; }
.live i { display: block; width: 5px; height: 5px; }
.radar { aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 50%; background: radial-gradient(circle, rgba(45,183,255,.05) 0 1px, transparent 2px), #081b2d; box-shadow: inset 0 0 65px rgba(0,0,0,.58), 0 0 0 1px var(--border-blue); }
.radar-grid { position: absolute; inset: 0; border-radius: inherit; background: repeating-radial-gradient(circle, transparent 0 15.8%, rgba(103,200,255,.16) 16% 16.3%), linear-gradient(90deg, transparent 49.8%, rgba(103,200,255,.16) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(103,200,255,.16) 50%, transparent 50.2%); }
.sweep { position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(from 10deg, transparent 0 305deg, rgba(45,183,255,.02) 325deg, rgba(45,183,255,.34) 359deg, var(--sky-blue) 360deg); animation: scan 5s linear infinite; }
.storm { position: absolute; border-radius: 46% 54% 58% 42%; filter: blur(7px); background: radial-gradient(circle at 45% 45%, #ffce3a 0 8%, #69d457 22%, rgba(22,143,229,.86) 48%, transparent 72%); animation: breathe 4s ease-in-out infinite alternate; }
.storm-a { width: 35%; height: 21%; top: 21%; left: 43%; transform: rotate(35deg); }
.storm-b { width: 27%; height: 17%; bottom: 22%; left: 19%; transform: rotate(-20deg); animation-delay: -1.2s; }
.storm-c { width: 15%; height: 12%; bottom: 31%; right: 15%; opacity: .72; animation-delay: -.4s; }
.radar-center { position: absolute; width: 7px; height: 7px; left: calc(50% - 3px); top: calc(50% - 3px); border-radius: 50%; background: var(--ice-white); box-shadow: 0 0 0 4px rgba(45,183,255,.25), 0 0 16px var(--electric-blue); }
.card-data { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.card-data div { padding-left: 16px; border-left: 1px solid var(--border-blue); }
.card-data span { display: block; margin-bottom: 7px; color: var(--slate); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.card-data strong { font-size: 19px; font-weight: 600; }
.card-data small { color: var(--slate); font-size: 9px; font-weight: 600; }
.coordinate { position: absolute; color: var(--slate); font: 9px/1 monospace; letter-spacing: .1em; text-transform: uppercase; }
.coordinate-top { right: -30px; top: -28px; }
.coordinate-bottom { left: -20px; bottom: -29px; }

footer { min-height: 81px; display: flex; align-items: center; gap: 20px; border-top: 1px solid rgba(36,68,95,.62); color: var(--slate); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer-rule { width: 35px; height: 1px; background: var(--border-blue); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@keyframes scan { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .4; box-shadow: 0 0 4px var(--electric-blue); } }
@keyframes drift { to { transform: translate(12vw, 3vw) scale(1.1); } }
@keyframes breathe { to { opacity: .7; transform: scale(1.07) rotate(20deg); } }

@media (max-width: 980px) {
  .site-header, main, footer { width: min(100% - 44px, 760px); }
  .site-header { height: 104px; }
  .brand img { width: 225px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 90px; padding: 72px 0 100px; }
  .hero-copy { max-width: 650px; }
  .weather-visual { width: min(78vw, 500px); }
  h1 { font-size: clamp(60px, 11vw, 91px); }
}

@media (max-width: 600px) {
  .site-header, main, footer { width: calc(100% - 32px); }
  .site-header { height: 88px; }
  .brand img { width: 185px; }
  .status { font-size: 0; gap: 0; }
  .status span { width: 8px; height: 8px; }
  .hero { padding-top: 56px; gap: 72px; }
  .eyebrow { margin-bottom: 22px; }
  h1 { font-size: clamp(48px, 15vw, 72px); }
  .intro { margin-top: 28px; font-size: 16px; }
  .capabilities { margin-top: 34px; gap: 10px; font-size: 9px; }
  .radar-card { padding: 15px; }
  .coordinate-top { right: 0; }
  .coordinate-bottom { left: 0; font-size: 7px; }
  .card-data strong { font-size: 15px; }
  footer { min-height: 75px; justify-content: space-between; }
  footer > :last-child, .footer-rule { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
