:root {
  color-scheme: dark;
  --bg-0: #030a08;
  --bg-1: #071512;
  --surface-1: rgba(10, 30, 24, 0.78);
  --surface-2: rgba(14, 42, 33, 0.7);
  --border: rgba(118, 255, 204, 0.18);
  --border-strong: rgba(118, 255, 204, 0.38);
  --text: #ecfff8;
  --muted: #9ac8ba;
  --emerald: #27df92;
  --emerald-strong: #17b372;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --content: min(1180px, calc(100vw - 40px));
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--emerald-strong) rgba(7, 22, 17, 0.9);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(39, 223, 146, 0.2), transparent 30%),
    radial-gradient(circle at 92% 24%, rgba(39, 223, 146, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(7, 22, 17, 0.92);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(54, 255, 172, 0.92), rgba(23, 179, 114, 0.9));
  border-radius: 999px;
  border: 2px solid rgba(7, 22, 17, 0.92);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(120, 255, 205, 0.98), rgba(33, 202, 133, 0.95));
}

a {
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.24) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  mask-image: linear-gradient(180deg, black 25%, transparent 100%);
}

.aurora {
  position: fixed;
  width: 44vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(52px);
  z-index: 0;
  pointer-events: none;
}

.aurora-one {
  top: -14vw;
  right: -16vw;
  background: rgba(39, 223, 146, 0.22);
}

.aurora-two {
  left: -18vw;
  bottom: -22vw;
  background: rgba(13, 135, 87, 0.28);
}

.spotlight {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  --mx: 56%;
  --my: 22%;
  background:
    radial-gradient(
      620px circle at var(--mx) var(--my),
      rgba(47, 255, 171, 0.2) 0%,
      rgba(23, 132, 84, 0.14) 28%,
      transparent 72%
    );
  mix-blend-mode: screen;
}

.header,
.hero,
.kpi,
.section,
.footer {
  width: var(--content);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 8px;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  display: block;
  height: 48px;
  max-width: min(34vw, 220px);
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(118, 255, 204, 0.2);
  background: rgba(6, 24, 18, 0.85);
  filter: drop-shadow(0 8px 26px rgba(39, 223, 146, 0.26));
}

.logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.logo-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.logo-copy span {
  margin-top: 3px;
  font-size: 0.76rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 160ms ease;
}

.nav a:hover {
  color: var(--text);
}

.header-btn {
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 52px 0 24px;
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: #90f6c6;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.95;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 66ch;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  text-decoration: none;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #042017;
  background: linear-gradient(135deg, #9effd1 0%, var(--emerald) 70%);
  box-shadow: 0 14px 40px rgba(39, 223, 146, 0.24);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.hero-tags {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags li {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(9, 35, 28, 0.64);
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-right {
  display: grid;
}

.mockup {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(16, 52, 41, 0.8), rgba(6, 20, 16, 0.95)),
    var(--surface-1);
  box-shadow: var(--shadow);
  padding: 20px;
  animation: mockup-float 8s ease-in-out infinite;
}

.mockup header,
.mockup footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mockup header span,
.mockup footer span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup header strong,
.mockup footer strong {
  font-size: 0.98rem;
}

.mockup-ring {
  margin: 18px 0;
  min-height: 280px;
  display: grid;
  place-items: center;
  position: relative;
}

.mockup-ring::before,
.mockup-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(118, 255, 204, 0.14);
}

.mockup-ring::before {
  width: 260px;
  height: 260px;
  border-top-color: rgba(145, 255, 215, 0.84);
  border-right-color: rgba(62, 255, 172, 0.54);
  animation: orbit-spin 11s linear infinite;
}

.mockup-ring::after {
  width: 190px;
  height: 190px;
  border-left-color: rgba(145, 255, 215, 0.8);
  border-bottom-color: rgba(62, 255, 172, 0.52);
  animation: orbit-spin-reverse 9s linear infinite;
}

.ring-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(132, 255, 212, 0.4);
  pointer-events: none;
}

.ring-pulse-a {
  width: 130px;
  height: 130px;
  animation: pulse-ring 2.6s ease-out infinite;
}

.ring-pulse-b {
  width: 168px;
  height: 168px;
  animation: pulse-ring 2.6s ease-out 1.2s infinite;
}

.ring-center {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 30% 20%, rgba(39, 223, 146, 0.22), rgba(7, 25, 19, 0.92));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  z-index: 1;
  animation: center-breathe 4s ease-in-out infinite;
}

.ring-center small {
  color: var(--muted);
}

.ring-center strong {
  font-size: 0.96rem;
}

.ring-chip {
  position: absolute;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(7, 27, 21, 0.9);
  color: #a5ffd5;
  font-size: 0.82rem;
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(39, 223, 146, 0.16);
  animation: drift 7s ease-in-out infinite, chip-glow 2.8s ease-in-out infinite;
}

.chip-a {
  top: 22px;
  right: 34px;
}

.chip-b {
  left: 24px;
  bottom: 34px;
  animation-delay: -2s;
}

.chip-c {
  right: 4px;
  bottom: 132px;
  animation-delay: -4s;
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(182, 255, 227, 0.95);
  box-shadow: 0 0 14px rgba(104, 255, 194, 0.78);
  pointer-events: none;
  animation: spark-fade 2.2s ease-in-out infinite;
}

.spark-a {
  top: 52px;
  left: 34px;
}

.spark-b {
  top: 90px;
  right: 44px;
  animation-delay: -0.8s;
}

.spark-c {
  bottom: 56px;
  left: 62px;
  animation-delay: -1.5s;
}

.kpi {
  padding-top: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--surface-1);
}

.kpi-card span {
  display: inline-block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.kpi-card strong {
  display: block;
  margin-top: 12px;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 4.4vw, 2.9rem);
}

.kpi-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.kpi-details {
  width: var(--content);
  margin: 14px auto 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(8, 28, 22, 0.68);
  padding: 18px;
}

.detail-card h3 {
  font-size: 1.2rem;
}

.detail-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.section {
  padding: 86px 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.section-head h2 {
  max-width: 22ch;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.96;
}

.section-lead {
  grid-column: 2 / 3;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.72;
  max-width: 70ch;
}

.product-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 22px;
  background: var(--surface-1);
}

.product-card h3 {
  font-size: 1.62rem;
}

.product-card p,
.product-card li,
.flow-step p,
.cta-box p,
.footer p {
  color: var(--muted);
}

.product-card p {
  margin-top: 10px;
  line-height: 1.7;
}

.product-note {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid rgba(118, 255, 204, 0.32);
  color: #b9e8d9;
}

.product-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.product-card li {
  margin-top: 8px;
}

.flow-line {
  height: 2px;
  margin-top: 24px;
  background: linear-gradient(90deg, transparent 0%, rgba(39, 223, 146, 0.52) 10%, rgba(39, 223, 146, 0.52) 90%, transparent 100%);
}

.flow-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-step {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-2);
  padding: 18px;
}

.flow-step span {
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: #9dffd2;
}

.flow-step h3 {
  margin-top: 10px;
  font-size: 1.4rem;
}

.flow-step p {
  margin-top: 8px;
  line-height: 1.65;
}

.flow-notes {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flow-note {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(9, 33, 26, 0.66);
  padding: 18px;
}

.flow-note h3 {
  font-size: 1.28rem;
}

.flow-note p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.66;
}

.cta-box {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at top right, rgba(39, 223, 146, 0.2), transparent 36%),
    var(--surface-1);
  padding: 30px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  max-width: 19ch;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 0.96;
}

.cta-box p {
  margin-top: 14px;
  max-width: 66ch;
  line-height: 1.72;
}

.footer {
  padding: 34px 0 28px;
  margin-top: 66px;
  border-top: 1px solid rgba(118, 255, 204, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes chip-glow {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(39, 223, 146, 0.12);
  }
  50% {
    box-shadow: 0 10px 30px rgba(114, 255, 204, 0.26);
  }
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes pulse-ring {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  30% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes center-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes spark-fade {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

@keyframes mockup-float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1100px) {
  .header {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .kpi,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-lead {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100vw - 22px, 1180px);
  }

  .nav {
    display: none;
  }

  .logo-img {
    height: 42px;
  }

  .logo-copy span {
    display: none;
  }

  h1 {
    font-size: clamp(2.1rem, 12.2vw, 3.3rem);
  }

  .kpi,
  .kpi-details,
  .product-grid,
  .flow-grid,
  .flow-notes {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 70px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
