/* ===========================
   REELAI — THEME CSS
   =========================== */

:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2d4a;
  --river: #1e4d7a;
  --copper: #c07d3a;
  --copper-light: #d4954e;
  --cream: #f7f3ee;
  --cream-dark: #ede8df;
  --slate: #6b7d8f;
  --white: #ffffff;
}

/* ——— BASE ——— */
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ——— NAV ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0) 100%);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.nav-logo em {
  color: var(--copper);
  font-style: normal;
}

/* ——— HERO ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 48px;
}

/* CSS-rendered river atmosphere */
.hero-river {
  position: absolute;
  inset: 0;
  background:
    /* sky gradient */
    linear-gradient(
      to bottom,
      #0d1b2a 0%,
      #1a2d4a 35%,
      #234b6e 55%,
      #2d5a7b 65%,
      #3a7a9c 72%,
      #c07d3a 88%,
      #e8a94a 95%,
      #f5c56b 100%
    );
}
/* River shimmer layer */
.hero-river::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(26, 45, 74, 0.3) 20%,
    rgba(13, 27, 42, 0.7) 60%,
    var(--navy) 100%
  );
  /* horizontal shimmer lines */
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(192, 125, 58, 0.06) 80px,
      rgba(192, 125, 58, 0.06) 82px
    );
}

/* Angler silhouette */
.hero-anglers {
  position: absolute;
  bottom: 38%;
  right: 8%;
  width: 120px;
  height: 200px;
}
.hero-anglers::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 60px;
  width: 8px;
  height: 90px;
  background: var(--navy);
  transform: rotate(-15deg);
  transform-origin: bottom center;
}
.hero-anglers::after {
  content: '';
  position: absolute;
  bottom: 90px;
  right: 20px;
  width: 3px;
  height: 120px;
  background: var(--navy);
  transform: rotate(-55deg);
  transform-origin: bottom center;
  border-radius: 2px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 80px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 20px 0;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--cream);
  margin: 0 0 28px 0;
}
.hero-headline em {
  color: var(--copper);
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(247, 243, 238, 0.8);
  max-width: 540px;
  margin: 0 0 36px 0;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--copper);
  padding: 10px 18px;
  border: 1px solid rgba(192, 125, 58, 0.3);
  display: inline-block;
}

/* ——— MONITOR ——— */
.monitor {
  background: var(--navy);
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.monitor-badge, .learn-badge, .rivers-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
}
.monitor-headline, .learn-headline, .rivers-headline, .closing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin: 0 0 24px 0;
}
.monitor-body, .learn-body, .rivers-body, .closing-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(247, 243, 238, 0.65);
  margin: 0 0 40px 0;
  max-width: 480px;
}

/* Data display */
.monitor-data {
  border-top: 1px solid rgba(192, 125, 58, 0.2);
  padding-top: 28px;
}
.data-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(247, 243, 238, 0.06);
}
.data-label {
  font-size: 13px;
  color: rgba(247, 243, 238, 0.5);
}
.data-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--cream);
}
.data-value.copper { color: var(--copper); }
.data-status {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
}
.data-status.up { background: rgba(76, 175, 80, 0.15); color: #81c784; }
.data-status.falling { background: rgba(192, 125, 58, 0.15); color: var(--copper-light); }
.data-status.stable { background: rgba(107, 125, 143, 0.15); color: var(--slate); }
.data-status.live { background: rgba(192, 125, 58, 0.2); color: var(--copper); }

/* Radar visual */
.monitor-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--copper);
  opacity: 0.15;
}
.radar-1 { width: 120px; height: 120px; }
.radar-2 { width: 220px; height: 220px; opacity: 0.08; }
.radar-3 { width: 320px; height: 320px; opacity: 0.04; }
.radar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 20px var(--copper), 0 0 40px rgba(192,125,58,0.4);
  position: relative;
}
.radar-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--copper);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.5); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.5); }
}

/* ——— LEARN ——— */
.learn {
  background: var(--navy-mid);
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.learn-visual {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wave-grid {
  position: relative;
  width: 100%;
  height: 100%;
}
.wave {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 50%;
  border: 1px solid var(--copper);
  opacity: 0.12;
}
.wave-1 {
  top: 50%; left: 0; width: 280px; height: 120px;
  transform: translateY(-50%);
  animation: wave-float 4s ease-in-out infinite;
}
.wave-2 {
  top: 50%; left: 20px; width: 200px; height: 80px;
  transform: translateY(-50%);
  opacity: 0.08;
  animation: wave-float 4s ease-in-out 0.6s infinite;
}
.wave-3 {
  top: 50%; left: 40px; width: 140px; height: 60px;
  transform: translateY(-50%);
  opacity: 0.05;
  animation: wave-float 4s ease-in-out 1.2s infinite;
}
@keyframes wave-float {
  0%, 100% { transform: translateY(-50%) scaleX(1); }
  50% { transform: translateY(-50%) scaleX(1.04); }
}
.pattern-dots {
  position: absolute;
  inset: 0;
}
.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--copper);
}
.dot-1 { top: 20%; left: 15%; width: 10px; height: 10px; opacity: 0.7; animation: blink 3s 0.5s infinite; }
.dot-2 { top: 45%; left: 55%; width: 8px; height: 8px; opacity: 0.5; animation: blink 3s 1.2s infinite; }
.dot-3 { top: 65%; left: 30%; width: 14px; height: 14px; opacity: 0.8; animation: blink 3s 0s infinite; }
.dot-4 { top: 30%; left: 70%; width: 6px; height: 6px; opacity: 0.4; animation: blink 3s 2s infinite; }
.dot-5 { top: 75%; left: 65%; width: 9px; height: 9px; opacity: 0.6; animation: blink 3s 1.5s infinite; }
@keyframes blink {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(0.6); }
}

.learn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(192, 125, 58, 0.2);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: rgba(247, 243, 238, 0.45);
  line-height: 1.5;
}

/* ——— RIVERS ——— */
.rivers {
  background: var(--navy);
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.rivers-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.rivers-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(192, 125, 58, 0.15);
  border-radius: 4px;
  background: rgba(26, 45, 74, 0.4);
  transition: border-color 0.2s;
}
.rivers-item:hover { border-color: rgba(192, 125, 58, 0.4); }
.rivers-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--river), var(--navy-mid));
  border: 1px solid var(--copper);
  flex-shrink: 0;
  margin-top: 2px;
}
.rivers-icon::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  margin: 11px auto;
}
.rivers-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--cream);
  margin-bottom: 4px;
}
.rivers-desc {
  font-size: 13px;
  color: rgba(247, 243, 238, 0.5);
  line-height: 1.5;
}

.rivers-map {
  background: var(--navy-mid);
  border: 1px solid rgba(192, 125, 58, 0.15);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.river-svg { width: 100%; max-width: 400px; }

/* ——— CLOSING ——— */
.closing {
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 120px 48px;
  text-align: center;
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-vision {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(192, 125, 58, 0.15);
}
.closing-vision p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(247, 243, 238, 0.6);
  margin: 0;
}

/* ——— FOOTER ——— */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(247, 243, 238, 0.06);
  padding: 48px;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer-logo em { color: var(--copper); font-style: normal; }
.footer-tagline {
  font-size: 13px;
  color: rgba(247, 243, 238, 0.35);
  margin: 0 0 8px 0;
}
.footer-copy {
  font-size: 12px;
  color: rgba(247, 243, 238, 0.2);
  margin: 0;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
  .monitor, .learn, .rivers {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 32px;
  }
  .monitor-visual, .learn-visual { display: none; }
  .hero { padding: 0 32px; }
  .learn-stats { grid-template-columns: 1fr 1fr; }
  .closing { padding: 80px 32px; }
}

@media (max-width: 600px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 0 24px; }
  .monitor, .learn, .rivers { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 32px 24px; }
  .hero-headline { font-size: 48px; }
  .data-row { grid-template-columns: 1fr; gap: 4px; }
  .data-status { align-self: start; }
  .learn-stats { grid-template-columns: 1fr; }
}