/* ============================================
   Weather Coverage Network — V3 Wide Layout
   Sleek Slate · Electric Accents · Full Width
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #11141a;
  --bg-card: rgba(17, 20, 26, 0.9);
  --bg-elevated: #1a1e27;
  --bg-banner: linear-gradient(90deg, #0f1117 0%, #1a1d26 50%, #0f1117 100%);
  
  --accent-electric: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-lime: #84cc16;
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  
  --gradient-electric: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
  --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-rose: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  
  --font-display: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  pointer-events: none;
  z-index: -1;
}

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

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
}

.glow-a {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  top: -15%;
  right: -10%;
}

.glow-b {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15), transparent 70%);
  bottom: 5%;
  left: -10%;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--text-primary) 0%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-primary);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-primary);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-electric);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent-electric);
  border-radius: 2px;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.muted--light {
  color: var(--text-secondary);
}

/* ============================================
   LAYOUT
   ============================================ */

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-head > div {
  max-width: 600px;
}

.section-copy {
  margin-top: var(--space-xs);
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-note {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ============================================
   BANNER
   ============================================ */

.banner {
  position: relative;
  background: var(--bg-banner);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(99, 102, 241, 0.03) 25%, 
    rgba(6, 182, 212, 0.03) 75%, 
    transparent 100%
  );
  pointer-events: none;
}

.banner__shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.banner__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  background: var(--gradient-rose);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(244, 63, 94, 0.4);
  animation: bannerPulse 2s ease-in-out infinite;
}

@keyframes bannerPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(244, 63, 94, 0.4); }
  50% { box-shadow: 0 2px 20px rgba(244, 63, 94, 0.6); }
}

.banner__text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.banner__text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.banner__action {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  padding: var(--space-xs) var(--space-md);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.banner__action:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
  color: white;
}

.banner--info .banner__badge {
  background: var(--gradient-cyan);
  animation: none;
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.3);
}

.banner--warning .banner__badge {
  background: var(--gradient-amber);
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

.banner--success .banner__badge {
  background: linear-gradient(135deg, #84cc16 0%, #22c55e 100%);
  animation: none;
  box-shadow: 0 2px 12px rgba(132, 204, 22, 0.3);
}

/* ============================================
   HEADER
   ============================================ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.98) 0%, rgba(10, 12, 16, 0.94) 100%);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-sm) 0;
}

.topbar__shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 40px;
  height: 40px;
  background: var(--gradient-electric);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.brand__mark::before {
  content: '';
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.brand__mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.brand__copy {
  display: flex;
  flex-direction: column;
}

.brand__copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand__copy span {
  font-size: 0.7rem;
  color: var(--accent-electric);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.04);
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-xs) var(--space-md);
  border-radius: 100px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
}

.nav a.active {
  color: white;
  background: var(--gradient-electric);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

.status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255,255,255,0.03);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
}

.status__dot {
  width: 7px;
  height: 7px;
  background: var(--accent-amber);
  border-radius: 50%;
  animation: pulse 2.5s ease-in-out infinite;
}

.status.ready .status__dot {
  background: var(--accent-lime);
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-electric);
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(99, 102, 241, 0.2);
}

.card--hero {
  background: linear-gradient(145deg, rgba(26, 30, 39, 0.7) 0%, rgba(10, 12, 16, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.15);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  border-radius: var(--radius-xl);
}

.card--glass {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}

.card--dark {
  background: linear-gradient(145deg, rgba(17, 20, 26, 0.98) 0%, rgba(8, 10, 14, 0.99) 100%);
  border: 1px solid rgba(255,255,255,0.04);
}

.card__eyebrow {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-electric);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.card__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-electric);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-electric);
}

.loading {
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
  animation: shimmer 2.5s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

.hero {
  padding-top: 140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__copy h1 {
  margin-bottom: var(--space-md);
}

.hero__lede {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 520px;
  color: var(--text-secondary);
}

.actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.button {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  letter-spacing: 0.01em;
}

.button--primary {
  background: var(--gradient-electric);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.button--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.12);
}

.button--ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.mini-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.25s;
}

.mini-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(99, 102, 241, 0.25);
  transform: translateY(-1px);
}

.mini-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.mini-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Hero Rail */
.hero__rail {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.temp-line {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.temp-line__value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.temp-line__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.temp-line__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 180px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.stat-box {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}

.stat-box:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.stat-box span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  font-weight: 600;
}

.stat-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Dial */
.dial {
  display: flex;
  justify-content: center;
  margin: var(--space-lg) 0;
}

.dial__ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-electric), var(--accent-cyan), var(--accent-teal), var(--accent-electric));
  padding: 3px;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.dial__center {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-sm);
  border: 1px solid rgba(255,255,255,0.08);
}

.dial__center span {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.dial__center strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 4px 0;
}

.dial__center small {
  font-size: 0.65rem;
  color: var(--text-muted);
  max-width: 90px;
  line-height: 1.3;
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.rail-box {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}

.rail-box:hover {
  border-color: rgba(99, 102, 241, 0.15);
}

.rail-box span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 600;
}

.rail-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   CURRENT CONDITIONS
   ============================================ */

.current-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.glyph {
  width: 52px;
  height: 52px;
  background: var(--gradient-electric);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.temp-pill {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(0,0,0,0.25);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.08);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.metric {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}

.metric:hover {
  border-color: rgba(99, 102, 241, 0.15);
  background: rgba(255,255,255,0.04);
}

.metric span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.metric strong {
  display: block;
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-md);
}

.timeline__item {
  padding: var(--space-md);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-electric);
  transition: all 0.2s;
}

.timeline__item:hover {
  background: rgba(255,255,255,0.04);
  border-left-color: var(--accent-cyan);
}

.timeline__item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.timeline__item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Micro Grid */
.micro-grid {
  display: grid;
  gap: var(--space-md);
}

.micro-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}

.micro-card:hover {
  border-color: rgba(99, 102, 241, 0.15);
  background: rgba(255,255,255,0.04);
}

.micro-card span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-electric);
  margin-bottom: var(--space-xs);
}

.micro-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

.micro-grid--dark .micro-card {
  background: rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.04);
}

.micro-grid--dark .micro-card span {
  color: var(--accent-amber);
}

/* Meta List */
.meta-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.meta-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.meta-list > div:last-child {
  border-bottom: none;
}

.meta-list span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-list strong {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

/* Manual Form */
.manual-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.manual-form label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.manual-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.25s;
}

.manual-form input:focus {
  outline: none;
  border-color: var(--accent-electric);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.manual-form input::placeholder {
  color: var(--text-muted);
}

/* ============================================
   WIDE LAYOUT COMPONENTS
   ============================================ */

/* SPC Wide Layout */
.spc-wide-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.spc-main-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.spc-main-info h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
}

.spc-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* Alert Wide Layout */
.alert-wide-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.alert-main {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.alert-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* ============================================
   SPC SECTION
   ============================================ */

.risk-track {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  margin-top: var(--space-lg);
  overflow: hidden;
}

.risk-track__bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    var(--accent-lime) 0%, 
    var(--accent-amber) 25%, 
    var(--accent-rose) 50%, 
    #dc2626 75%, 
    #991b1b 100%
  );
  opacity: 0.5;
}

.risk-track__thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4), 0 0 0 4px rgba(99, 102, 241, 0.15);
  transition: left 0.5s ease;
}

.day-grid, .long-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: var(--space-sm);
}

/* ============================================
   FORECAST SECTION
   ============================================ */

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
}

.hourly-chart {
  width: 100%;
  height: 240px;
  margin-bottom: var(--space-md);
}

.hourly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(55px, 1fr));
  gap: var(--space-xs);
  text-align: center;
}

.compact-top {
  margin-top: var(--space-lg);
}

/* ============================================
   ALERTS SECTION
   ============================================ */

.banner-count {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin: var(--space-md) 0;
  text-shadow: 0 0 50px rgba(244, 63, 94, 0.4);
}

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ============================================
   BRIEFING SECTION
   ============================================ */

.briefing-copy {
  margin-bottom: var(--space-lg);
}

.briefing-copy p {
  margin-bottom: var(--space-md);
  line-height: 1.75;
  padding-left: var(--space-md);
  border-left: 2px solid var(--accent-electric);
  color: var(--text-secondary);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.check-card {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.25s;
}

.check-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.check-card span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-electric);
  margin-bottom: var(--space-xs);
}

.check-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.playbook {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.playbook article {
  padding: var(--space-md);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.25s;
}

.playbook article:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(99, 102, 241, 0.15);
  transform: translateX(6px);
}

.playbook strong {
  display: block;
  color: var(--accent-electric);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.playbook p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  margin-top: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.footer__shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer__shell > div {
  max-width: 500px;
}

.footer__shell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer__shell p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__links {
  display: flex;
  gap: var(--space-md);
}

.footer__links a {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__links a:hover {
  color: var(--accent-electric);
  background: rgba(99, 102, 241, 0.08);
}

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

@media (max-width: 968px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }
  
  .two-col {
    grid-template-columns: 1fr;
  }
  
  .three-col {
    grid-template-columns: 1fr;
  }
  
  .nav {
    display: none;
  }
  
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .banner__shell {
    flex-direction: column;
    text-align: center;
    padding: var(--space-md) var(--space-lg);
  }
  
  .banner__text {
    text-align: center;
  }
  
  .spc-wide-layout,
  .alert-wide-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .alert-main {
    text-align: center;
  }
  
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
    --space-2xl: 3rem;
  }
  
  .hero__meta {
    grid-template-columns: 1fr;
  }
  
  .stats-grid,
  .rail-grid {
    grid-template-columns: 1fr;
  }
  
  .metric-grid {
    grid-template-columns: 1fr;
  }
  
  .footer__shell {
    flex-direction: column;
  }
  
  .card--hero {
    grid-template-columns: 1fr;
  }
  
  .spc-meta-grid,
  .alert-meta-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.15);
}

/* Selection */
::selection {
  background: var(--accent-electric);
  color: white;
}