/* ===== style.css ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f6f9fc;
  color: #0a1e2f;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- header ----- */
.header {
  background: white;
  border-bottom: 1px solid #e6edf4;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a2a3e;
}
.logo i {
  color: #d94b2a;
  margin-right: 6px;
}
.logo span {
  font-weight: 300;
  color: #4a6f88;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  text-decoration: none;
  color: #1b3f57;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav a:hover {
  color: #c4452a;
}
.nav-cta {
  background: #0a2a3e;
  color: white !important;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
}
.nav-cta:hover {
  background: #c4452a !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #0a2a3e;
  border-radius: 4px;
  transition: 0.2s;
}

/* ----- hero ----- */
.hero {
  padding: 60px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef3f8;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1b4057;
  margin-bottom: 20px;
}
.hero-badge i {
  color: #d94b2a;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #08324b;
}
.hero-content h1 span {
  color: #d94b2a;
}
.hero-content p {
  font-size: 1.15rem;
  color: #2f5775;
  max-width: 480px;
  margin: 20px 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.btn-primary {
  background: #d94b2a;
  color: white;
  padding: 12px 32px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
  border: none;
}
.btn-primary:hover {
  background: #b83b1e;
}
.btn-outline {
  background: transparent;
  color: #0a2a3e;
  padding: 12px 32px;
  border-radius: 60px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #b6cddd;
  transition: 0.2s;
}
.btn-outline:hover {
  border-color: #0a2a3e;
  background: #0a2a3e0c;
}

.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stats div {
  font-weight: 500;
  color: #1b4057;
}
.hero-stats span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #d94b2a;
}

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-image {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: #d9e2ec;
  border-radius: 36px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect width="400" height="300" fill="%23315f7a"/><circle cx="120" cy="160" r="50" fill="%23f4a261" opacity="0.6"/><circle cx="290" cy="110" r="64" fill="%23e76f51" opacity="0.5"/><path d="M0 230 L400 200 L400 300 L0 300 Z" fill="%231e4d6b"/><path d="M60 190 L130 140 L200 180 L270 130 L340 170 L400 140 L400 200 L0 230 Z" fill="%234f7b99" opacity="0.4"/><text x="30" y="270" font-family="Inter" font-size="24" fill="%23f0f4f8" font-weight="bold">🌊 FEWS · FIRE · CLIMATE</text></svg>');
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 40px -16px rgba(0,0,0,0.25);
}

/* ----- section header ----- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #08324b;
}
.section-header p {
  font-size: 1.1rem;
  color: #2f5775;
  margin-top: 6px;
}

/* ----- systems ----- */
.systems {
  padding: 60px 0 40px;
}
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.system-card {
  background: white;
  border-radius: 28px;
  padding: 32px 24px;
  border: 1px solid #e5edf5;
  transition: 0.2s;
}
.system-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -12px rgba(0, 40, 60, 0.12);
  border-color: #c4d5e5;
}
.card-icon {
  font-size: 2.4rem;
  color: #d94b2a;
  margin-bottom: 16px;
}
.system-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #08324b;
}
.system-card p {
  color: #2f5775;
  margin-bottom: 16px;
}
.card-features {
  list-style: none;
  font-size: 0.9rem;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1b4057;
  margin-bottom: 4px;
}
.card-features i {
  color: #d94b2a;
  font-size: 0.8rem;
}

/* ----- how it works ----- */
.how-it-works {
  background: white;
  padding: 60px 0;
  margin: 20px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.step {
  text-align: center;
  padding: 24px 12px;
}
.step-num {
  background: #0a2a3e;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: 700;
  font-size: 1.1rem;
}
.step h4 {
  font-size: 1.1rem;
  color: #08324b;
  margin-bottom: 4px;
}
.step p {
  color: #2f5775;
  font-size: 0.95rem;
}

/* ----- deployments ----- */
.deployments {
  padding: 60px 0 40px;
}
.deployment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.deployment-item {
  height: 220px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
  transition: 0.2s;
}
.deployment-item:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.deployment-label {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  padding: 6px 18px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ----- technology ----- */
.technology {
  background: #f0f5fa;
  padding: 60px 0;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.tech-item {
  text-align: center;
  padding: 20px 12px;
}
.tech-item i {
  font-size: 2.6rem;
  color: #d94b2a;
  margin-bottom: 12px;
}
.tech-item h4 {
  font-size: 1.2rem;
  color: #08324b;
}
.tech-item p {
  color: #2f5775;
  font-size: 0.95rem;
}

/* ----- contact ----- */
.contact {
  padding: 60px 0 40px;
}
.contact-box {
  background: #0a2a3e;
  border-radius: 48px;
  padding: 48px 40px;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.contact-text {
  flex: 1 1 360px;
}
.quote {
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 4px;
}
.quote-attribution {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 24px;
}
.contact-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 8px 0 4px;
}
.contact-text p {
  opacity: 0.8;
  margin-bottom: 16px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}
.contact-action {
  text-align: center;
  flex: 0 0 auto;
}
.btn-primary.large {
  padding: 16px 44px;
  font-size: 1.1rem;
}

/* ----- footer ----- */
.footer {
  border-top: 1px solid #dce6ef;
  padding: 32px 0 24px;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0a2a3e;
}
.footer-logo i {
  color: #d94b2a;
}
.footer-logo span {
  font-weight: 300;
}
.footer-logo p {
  font-size: 0.85rem;
  font-weight: 400;
  color: #3d657f;
  margin-top: 2px;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  text-decoration: none;
  color: #1b3f57;
  font-weight: 500;
}
.footer-links a:hover {
  color: #c4452a;
}
.footer-copy {
  color: #3d657f;
  font-size: 0.9rem;
}

/* ===== responsive ===== */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image {
    max-width: 100%;
  }
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 20px 0;
  }
  .nav.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .contact-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .contact-info {
    justify-content: center;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .deployment-grid {
    grid-template-columns: 1fr 1fr;
  }
}