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

html {
  font-size: 14px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fff;
  color: #1a1a1a;
}

/* ── OUTER WRAPPER ── */
.wrapper {
  position: relative;
  width: 100%;
  background: #fff;
}

/* ── CONTAINER ── */
.container {
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
}


/* ── GRADIENT BACKGROUNDS ── */
.gradient-bg-static {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1340c6 0%, #2563eb 70%, #ffffff 100%);
  z-index: 0;
}

.gradient-bg-animate {
  position: absolute;
  inset: 0;
  background:linear-gradient(90deg, #ffffff00 0%, #ffffff33 45%, #ffffff33 65%, #ffffff00 100%);
  background-size: 200% 100%;
  animation: slide-gradient 10s ease infinite;
  z-index: 1;
  opacity: 0.8;
}

@keyframes slide-gradient {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ════════════════════════════════
         HERO
      ════════════════════════════════ */
@keyframes float-a {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes float-b {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
}
@keyframes float-c {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}
@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.32;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 70px;
}

/* Decorative animated rectangles */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.deco-rect {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: transparent;
}

/* Left top — tall rect */
.deco-rect--tl {
  width: 88px;
  height: 168px;
  top: 88px;
  left: 88px;
  animation: float-a 7s ease-in-out infinite;
  animation-delay: 0s;
  opacity: 0.22;
}

/* Left bottom — small square */
.deco-rect--bl {
  width: 64px;
  height: 64px;
  top: 272px;
  left: 138px;
  animation: float-b 6s ease-in-out infinite;
  animation-delay: -2s;
  opacity: 0.18;
}

/* Right — tall rect */
.deco-rect--tr {
  width: 88px;
  height: 168px;
  top: 88px;
  right: 88px;
  animation: float-c 8s ease-in-out infinite;
  animation-delay: -3.5s;
  opacity: 0.22;
}

/* Horizontal accent lines */
.deco-line {
  position: absolute;
  top: 218px;
  height: 1px;
  width: 120px;
  background: rgba(255, 255, 255, 0.35);
  animation: pulse-line 5s ease-in-out infinite;
}
.deco-line--left {
  left: 200px;
  animation-delay: 0s;
}
.deco-line--right {
  right: 200px;
  animation-delay: -2.5s;
}

/* NAV */
nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 44px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0);
  color: red;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-right a {
  color: #fff;
  font-size: 1rem; /* 13.5px */
  text-decoration: none;
}

.btn-contact {
  background: #111;
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 1rem !important; /* 13px */
  display: flex;
  align-items: center;
  gap: 5px;
}

/* HERO TEXT */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 10px 44px 0;
  max-width: 1440px;
  margin-inline: auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem /* 12.5px */
  margin-bottom: 20px;
  font-family: "Geist Mono", sans-serif;
}
.hero-tag::before,
.hero-tag::after {
  content: "";
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hero h1 {
  font-size: 5.429rem; /* 76px */
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.2rem; /* 13.5px */
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 390px;
  margin: 0 auto 56px;
}

/* ── DASHBOARD CARDS ── */
.cards-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  width: 80vw;
  margin: 0 auto;
  padding: 0;
}

.card {
  flex: 1;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.card img {
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.28));
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.card-ttl {
  font-size: 0.75rem; /* 10.5px */
  font-weight: 700;
  color: #222;
}
.card-sub {
  font-size: 0.679rem; /* 9.5px */
  color: #aaa;
}

/* Chart */
.chart-wrap {
  position: relative;
}
.chart-grid {
  display: flex;
  gap: 0;
}
.chart-ylabels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.536rem; /* 7.5px */
  color: #ccc;
  padding-bottom: 2px;
  height: 74px;
  margin-right: 4px;
}
.chart-svg-wrap {
  flex: 1;
  position: relative;
}
.chart-svg-wrap svg {
  display: block;
}
.chart-tip {
  position: absolute;
  top: 4px;
  left: 52%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 0.607rem; /* 8.5px */
  color: #444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  pointer-events: none;
}
.chart-tip b {
  color: #2563eb;
  font-size: 1.059rem; /* 9px — relative to .chart-tip's 8.5px */
}
.chart-xlabels {
  display: flex;
  justify-content: space-between;
  font-size: 0.536rem; /* 7.5px */
  color: #ccc;
  margin-top: 4px;
  padding-left: 18px;
}

/* Biomass card */
.badge-active {
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.607rem; /* 8.5px */
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
}

.bio-meta {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
.bio-meta-item {
  font-size: 0.679rem; /* 9.5px */
}
.bio-meta-item .lbl {
  color: #aaa;
  margin-bottom: 1px;
}
.bio-meta-item .val {
  color: #222;
  font-weight: 600;
}

.prog-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #f4f4f4;
}
.prog-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prog-name {
  font-size: 0.679rem; /* 9.5px */
  font-weight: 500;
  color: #333;
}
.prog-bar {
  height: 3.5px;
  background: #f0f0f0;
  border-radius: 2px;
  margin-top: 3px;
  width: 86px;
}
.prog-fill {
  height: 100%;
  border-radius: 2px;
}

.deploy-box {
  margin-top: 10px;
  background: #eff6ff;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.deploy-info {
  flex: 1;
  font-size: 0.607rem; /* 8.5px */
}
.deploy-title {
  font-size: 0.679rem; /* 9.5px */
  font-weight: 700;
  color: #444;
  margin-bottom: 6px;
}
.legend {
  display: flex;
  gap: 8px;
}
.leg {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.536rem; /* 7.5px */
  color: #777;
}
.leg-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.donut {
  width: 50px;
  height: 50px;
  position: relative;
  flex-shrink: 0;
}
.donut svg {
  transform: rotate(-90deg);
}
.donut-pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.714rem; /* 10px */
  font-weight: 800;
  color: #1d4ed8;
}

/* ════════════════════════════════
         PHOTO SECTION
      ════════════════════════════════ */
.photo-section {
  background: linear-gradient(0deg, #eef6ff 0%, #fff 50%);
  padding: 14px 5% 48px;
}
.team-photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 20px;
  display: block;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ════════════════════════════════
         FEATURES
      ════════════════════════════════ */
.features,
footer {
  font-family: "Archivo", sans-serif;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 52px 5% 56px;
}
.feat {
  padding: 0 12px 0 0;
  text-align: center;
}
.feat h3 {
  font-size: 2rem; /* 36px */
  letter-spacing: -2px;
  font-weight: 500;
  color: #111;
  line-height: 1.25;
  margin-bottom: 8px;
}
.feat p {
  font-size: 1rem; /* 12.5px */
  color: #888;
}

/* ════════════════════════════════
         FOOTER
      ════════════════════════════════ */
footer {
  background: #fff;
  border-top: 1px solid #f2f2f2;
  padding: 48px 5% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.footer-brand-name {
  font-size: 1.5rem; /* 21px */
  font-weight: 800;
  color: #111;
  line-height: 1.15;
}
.footer-brand-name sub {
  display: block;
  font-size: 0.405rem; /* 8.5px — relative to .footer-brand-name's 21px */
  font-weight: 400;
  letter-spacing: 3px;
  color: #aaa;
  vertical-align: baseline;
}

.footer-desc {
  font-size: 0.893rem; /* 12.5px */
  color: #666;
  line-height: 1.75;
  margin-bottom: 10px;
}

.footer-col h4 {
  font-size: 0.964rem; /* 13.5px */
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  font-size: 0.893rem; /* 12.5px */
  color: #555;
  text-decoration: none;
}
.footer-col a:hover {
  color: #2563eb;
}

.footer-bottom {
  border-top: 1px solid #f2f2f2;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.821rem; /* 11.5px */
  color: #bbb;
}

.footer-bottom a {
  color: #bbb;
}

@media (max-width: 640px) {
  .cards-row {
    flex-direction: column;
    width: 90vw;
  }
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
