:root {
  color-scheme: dark;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --bg: #050607;
  --card: #0f1114;
  --muted: rgba(255, 255, 255, 0.6);
  --accent: #c6ff5f;
  --border: rgba(255, 255, 255, 0.12);
}

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

body {
  background: radial-gradient(circle at 20% 20%, #10131a, #050607 45%);
  color: white;
  margin: 0;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 6vw;
  background: rgba(5, 6, 7, 0.7);
  backdrop-filter: blur(16px);
  transition: transform 250ms ease;
}

.nav--hidden {
  transform: translateY(-110%);
}

.nav__logo {
  letter-spacing: 0.3rem;
  font-weight: 600;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.75;
}

.nav__links a:hover {
  opacity: 1;
}

.nav__cta {
  background: white;
  color: black;
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

main {
  padding: 4rem 6vw 6rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  margin: 0.8rem 0;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__actions a {
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  border: 1px solid transparent;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: white;
  color: black;
}

.secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.card--dark {
  background: #07080a;
}

.card h2 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section__intro h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 0.5rem 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.steps article {
  padding: 1.8rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.step__label {
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  color: var(--muted);
}

.monitoring__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.monitoring__panel {
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #0f141d, #080a0d);
}

.panel__header,
.panel__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel__chart {
  height: 160px;
  margin: 2rem 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.panel__chart .line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(198, 255, 95, 0.7));
  clip-path: polygon(
    0% 70%,
    10% 50%,
    20% 60%,
    30% 40%,
    40% 55%,
    50% 35%,
    60% 45%,
    70% 30%,
    80% 38%,
    90% 25%,
    100% 28%,
    100% 100%,
    0% 100%
  );
  opacity: 0.9;
}

.panel__footer h4 {
  margin: 0.2rem 0 0;
}

.impact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.impact__cards article {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.impact__cards h3 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
}

.contact__form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.4rem;
}

.contact__form input,
.contact__form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  padding: 0.8rem;
  color: white;
  font: inherit;
}

.contact__form button {
  margin-top: 0.5rem;
  padding: 1rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #141414;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
}

.contact__form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact__form button.is-loading {
  position: relative;
  color: transparent;
}

.contact__form button.is-loading::after {
  content: "Sending...";
  color: #141414;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
}

.form__notice {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
  transition: opacity 200ms ease;
}

.form__error {
  font-size: 0.9rem;
  color: #ff8f8f;
  margin: 0;
  transition: opacity 200ms ease;
}

.hidden {
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form__notice.visible {
  opacity: 1;
  height: auto;
  margin-top: 0.5rem;
}

.form__error.visible {
  opacity: 1;
  height: auto;
  margin-top: 0.5rem;
}

.footer {
  padding: 3rem 6vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.methodology {
  background: #050607;
  color: white;
}

.methodology__shell {
  max-width: 840px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.methodology__shell section {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.methodology__list {
  line-height: 1.7;
  color: var(--muted);
  padding-left: 1.4rem;
}

.methodology__cta a,
.back-link {
  color: var(--accent);
  text-decoration: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  .nav__links {
    flex-wrap: wrap;
    justify-content: center;
  }
  main {
    padding: 3rem 1.5rem 5rem;
  }
  .hero__actions {
    flex-direction: column;
  }
}

