:root {
  --bg: #080b0a;
  --panel: #111615;
  --panel-strong: #181f1c;
  --text: #f4f1e8;
  --muted: #a6ada4;
  --line: rgba(244, 241, 232, 0.13);
  --green: #b6ff3b;
  --green-dark: #2b5f1c;
  --amber: #ffb02e;
  --red: #ff5d4f;
  --steel: #8e9d9a;
  --black: #050605;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-padding-top: 84px;
  }
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(182, 255, 59, 0.12), transparent 30rem),
    linear-gradient(180deg, #080b0a 0%, #0e1110 45%, #080b0a 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 14px 0;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: rgba(8, 11, 10, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.hero-metrics,
.dashboard-topbar,
.gauge-meta,
.quest-stats,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  width: 188px;
  min-width: 152px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.brand:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.header-cta {
  padding: 11px 16px;
  color: var(--black);
  background: var(--green);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover {
  box-shadow: 0 0 24px rgba(182, 255, 59, 0.28);
  transform: translateY(-2px);
}

.hero-section,
.operator-section,
.workflow-section,
.features-section,
.use-cases-section,
.contact-section,
.final-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 56px 0 84px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.85rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.hero-subtitle {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.button:hover {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button-primary {
  color: var(--black);
  background: var(--green);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.hero-metrics {
  gap: 24px;
  margin-top: 38px;
}

.hero-metrics div {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.dashboard-shell {
  position: relative;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #1a211d, #0b0e0d);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: dashboard-float 7s ease-in-out infinite;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.dashboard-shell::before {
  position: absolute;
  top: 0;
  left: 16%;
  width: 34%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation: scan-line 3.2s ease-in-out infinite;
}

.dashboard-shell:hover {
  border-color: rgba(182, 255, 59, 0.34);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.56), 0 0 38px rgba(182, 255, 59, 0.08);
  transform: translateY(-4px);
}

.dashboard-topbar {
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin-bottom: 14px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(5, 6, 5, 0.48);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  margin-right: auto;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--green);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.chain-pill {
  padding: 7px 10px;
  color: var(--text);
  background: rgba(182, 255, 59, 0.1);
  border: 1px solid rgba(182, 255, 59, 0.25);
  border-radius: 999px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.dashboard-grid article,
.steps-grid article,
.feature-grid article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dashboard-grid article:hover,
.steps-grid article:hover,
.feature-grid article:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(182, 255, 59, 0.3);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.dashboard-grid article {
  min-height: 178px;
  padding: 18px;
}

.card-label {
  margin-bottom: 16px;
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fuel-value {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
}

.gauge {
  overflow: hidden;
  height: 16px;
  background: #050605;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.gauge span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--amber));
  border-radius: inherit;
  animation: fuel-breathe 2.9s ease-in-out infinite;
  transform-origin: left center;
}

.gauge-meta,
.quest-stats {
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.tier-row:last-child {
  border-bottom: 0;
}

.tier-row strong,
.tier-row.hot span {
  color: var(--green);
}

.quest-card {
  background:
    linear-gradient(135deg, rgba(255, 176, 46, 0.16), transparent),
    rgba(255, 255, 255, 0.045) !important;
}

.quest-card h2 {
  font-size: 1.65rem;
}

.quest-card p,
.activity-card li,
.feature-grid p,
.steps-grid p,
.operator-copy,
.contact-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.activity-card ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.92rem;
}

.activity-card li span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  background: var(--amber);
  border-radius: 50%;
  animation: status-pulse 2.2s ease-in-out infinite;
}

.activity-card li:nth-child(2) span {
  animation-delay: 280ms;
}

.activity-card li:nth-child(3) span {
  animation-delay: 560ms;
}

.activity-card li:nth-child(4) span {
  animation-delay: 840ms;
}

.operator-section,
.workflow-section,
.features-section,
.use-cases-section,
.contact-section,
.final-cta {
  padding: 90px 0;
  border-top: 1px solid var(--line);
}

.operator-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.section-heading h2 {
  max-width: 790px;
}

.operator-copy {
  max-width: 580px;
  padding-top: 38px;
  font-size: 1.08rem;
}

.steps-grid,
.feature-grid {
  display: grid;
  gap: 14px;
}

.steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

.steps-grid article,
.feature-grid article {
  min-height: 190px;
  padding: 24px;
}

.steps-grid span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.use-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.use-case-list span {
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.use-case-list span:hover {
  color: var(--green);
  border-color: rgba(182, 255, 59, 0.34);
  transform: translateY(-2px);
}

.contact-copy {
  position: sticky;
  top: 108px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.contact-form label:nth-last-of-type(1),
.contact-form .button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--text);
  background: #080b0a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(182, 255, 59, 0.14);
}

.reveal,
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible,
.is-visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms ease, transform 560ms ease;
}

.is-visible .stagger-item:nth-child(2) {
  transition-delay: 90ms;
}

.is-visible .stagger-item:nth-child(3) {
  transition-delay: 180ms;
}

.is-visible .stagger-item:nth-child(4) {
  transition-delay: 270ms;
}

.is-visible .stagger-item:nth-child(5) {
  transition-delay: 360ms;
}

.is-visible .stagger-item:nth-child(6) {
  transition-delay: 450ms;
}

.is-visible .stagger-item:nth-child(7) {
  transition-delay: 540ms;
}

.is-visible .stagger-item:nth-child(8) {
  transition-delay: 630ms;
}

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

@keyframes scan-line {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-18%);
  }
  50% {
    opacity: 1;
    transform: translateX(18%);
  }
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes fuel-breathe {
  0%,
  100% {
    filter: saturate(1);
    transform: scaleX(0.98);
  }
  50% {
    filter: saturate(1.25);
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .stagger-item {
    opacity: 1;
    transform: none;
  }
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.form-note.is-success {
  color: var(--green);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.final-cta h2 {
  margin: 0;
  max-width: 720px;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-logo {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-section,
  .operator-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .dashboard-shell {
    max-width: 720px;
  }

  .steps-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .operator-copy,
  .contact-copy {
    position: static;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .brand {
    width: 154px;
  }

  .hero-section,
  .operator-section,
  .workflow-section,
  .features-section,
  .use-cases-section,
  .contact-section,
  .final-cta {
    width: min(100% - 24px, 1180px);
  }

  .hero-section {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-metrics,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-metrics {
    gap: 14px;
  }

  .hero-metrics div {
    padding: 0 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dashboard-grid,
  .steps-grid,
  .feature-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .dashboard-grid article {
    min-height: 150px;
  }

  .operator-section,
  .workflow-section,
  .features-section,
  .use-cases-section,
  .contact-section,
  .final-cta {
    padding: 64px 0;
  }
}
