:root {
  --bg: #0b0b0b;
  --bg-soft: #121212;
  --panel: #161616;
  --panel-2: #1c1c1c;
  --line: #2d2d2d;
  --text: #f5f5f5;
  --muted: #9b9b9b;
  --orange: #ff6600;
  --orange-soft: #ff7b24;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(255, 102, 0, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(9, 9, 9, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(92%, var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  width: 168px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: #b8b8b8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.main-nav a:hover {
  color: #fff;
}

.nav-login {
  border: 1px solid var(--orange);
  border-radius: 7px;
  padding: 11px 14px;
  color: #fff !important;
}

.nav-login:hover {
  background: var(--orange);
}

.mobile-menu-button {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid #333;
  border-radius: 7px;
  background: #151515;
  padding: 10px;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 130px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.015),
      transparent 35%
    );
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  right: -180px;
  top: 90px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 102, 0, 0.18),
    rgba(255, 102, 0, 0.05) 36%,
    transparent 70%
  );
  filter: blur(18px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(92%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.hero-title {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -4px;
  font-weight: 900;
}

.hero-title span,
.section-heading h2 span,
.memory-copy h2 span,
.history-copy h2 span,
.pilot-copy h2 span {
  color: var(--orange);
}

.hero-copy {
  max-width: 720px;
  margin-top: 28px;
  color: #b3b3b3;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
}

.button-primary:hover {
  background: var(--orange-soft);
  border-color: var(--orange-soft);
}

.button-secondary {
  background: #171717;
  border: 1px solid #373737;
  color: #fff;
}

.button-secondary:hover {
  border-color: var(--orange);
}

.hero-proof {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}

.hero-proof div {
  padding: 18px;
  background: rgba(19, 19, 19, 0.78);
  border: 1px solid #292929;
  border-radius: 10px;
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1.2px;
}

.hero-proof span {
  display: block;
  color: #8f8f8f;
  font-size: 14px;
  margin-top: 6px;
}

.section {
  padding: 100px 0;
}

.section-shell {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.memory-copy h2,
.history-copy h2,
.pilot-copy h2,
.contact-shell h2 {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -2px;
}

.section-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.section-problem {
  background: #0f0f0f;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}

.problem-grid,
.feature-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.problem-card,
.feature-card {
  background: linear-gradient(180deg, #171717, #121212);
  border: 1px solid #2b2b2b;
  border-radius: 12px;
  padding: 28px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.problem-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 102, 0, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.problem-number {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.problem-card h3,
.feature-card h3,
.flow-step h3 {
  margin-top: 12px;
  font-size: 24px;
}

.problem-card p,
.feature-card p,
.flow-step p,
.memory-copy p,
.history-copy p,
.pilot-copy p,
.contact-shell p {
  margin-top: 10px;
  color: var(--muted);
}

.section-process {
  overflow: hidden;
}

.diagnostic-flow {
  margin-top: 54px;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    70px
    minmax(0, 1fr)
    70px
    minmax(0, 1fr)
    70px
    minmax(0, 1fr);
  align-items: center;
}

.flow-step {
  min-height: 245px;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.flow-step:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
}

.flow-number {
  color: #707070;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

.flow-icon {
  margin-top: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.45);
  color: var(--orange);
  font-size: 22px;
  font-weight: 900;
  animation: flowPulse 3.6s ease-in-out infinite;
}

.flow-line {
  height: 2px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 102, 0, 0.1),
      var(--orange),
      rgba(255, 102, 0, 0.1)
    );
  position: relative;
  overflow: hidden;
}

.flow-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: flowTrace 2.8s linear infinite;
}

.section-product {
  background: #0f0f0f;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}

.feature-tag {
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.section-memory {
  position: relative;
  overflow: hidden;
}

.memory-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 102, 0, 0.12),
    transparent 65%
  );
  pointer-events: none;
}

.memory-layout,
.history-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.memory-copy p,
.history-copy p {
  font-size: 17px;
}

.memory-visual {
  display: grid;
  gap: 12px;
}

.memory-node {
  padding: 22px;
  border: 1px solid #333;
  background: rgba(20, 20, 20, 0.92);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.primary-node {
  border-color: var(--orange);
}

.node-label {
  display: block;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  margin-bottom: 6px;
}

.memory-connector {
  width: 2px;
  height: 34px;
  margin: 0 auto;
  background: linear-gradient(
    to bottom,
    var(--orange),
    rgba(255, 102, 0, 0.12)
  );
}

.section-history {
  background: #0f0f0f;
  border-top: 1px solid #1f1f1f;
  border-bottom: 1px solid #1f1f1f;
}

.history-visual {
  display: grid;
  gap: 10px;
}

.history-source,
.history-result {
  padding: 16px 18px;
  border: 1px solid #303030;
  background: #161616;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.history-arrow {
  color: var(--orange);
  font-size: 32px;
  font-weight: 900;
  text-align: center;
}

.history-result {
  border-color: var(--orange);
  color: #fff;
}

.history-result span {
  display: block;
  color: var(--orange);
  margin-top: 3px;
}

.industry-grid {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.industry-pill {
  padding: 14px 18px;
  border: 1px solid #303030;
  border-radius: 999px;
  background: #141414;
  color: #c3c3c3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.industry-pill:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  color: #fff;
}

.section-pilot {
  background:
    linear-gradient(
      180deg,
      rgba(255, 102, 0, 0.04),
      transparent
    );
}

.pilot-card {
  background: linear-gradient(180deg, #171717, #111);
  border: 1px solid rgba(255, 102, 0, 0.55);
  border-radius: 14px;
  padding: 42px;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.34),
    0 0 70px rgba(255, 102, 0, 0.06);
}

.pilot-points {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pilot-points div {
  padding: 20px;
  border: 1px solid #2e2e2e;
  border-radius: 9px;
  background: #141414;
}

.pilot-points strong {
  display: block;
  color: #fff;
}

.pilot-points span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 14px;
}

.pilot-action {
  margin-top: 28px;
}

.section-contact {
  padding-top: 60px;
}

.contact-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 42px 0;
  border-top: 1px solid #2b2b2b;
}

.contact-shell > div:first-child {
  max-width: 700px;
}

.contact-shell h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.site-footer {
  border-top: 1px solid #242424;
  background: #090909;
}

.footer-shell {
  width: min(92%, var(--max));
  margin: 0 auto;
  padding: 42px 0 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  width: 150px;
}

.footer-brand p {
  color: #777;
  max-width: 390px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.footer-links a {
  color: #999;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #202020;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #666;
  font-size: 12px;
}

.hero-reveal,
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.hero-reveal.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hero-reveal[data-delay="1"].visible {
  transition-delay: 0.08s;
}

.hero-reveal[data-delay="2"].visible {
  transition-delay: 0.16s;
}

.hero-reveal[data-delay="3"].visible {
  transition-delay: 0.24s;
}

.hero-reveal[data-delay="4"].visible {
  transition-delay: 0.32s;
}

@keyframes flowTrace {
  0% {
    left: -35%;
  }

  100% {
    left: 100%;
  }
}

@keyframes flowPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 102, 0, 0);
  }

  50% {
    box-shadow: 0 0 24px rgba(255, 102, 0, 0.18);
  }
}

@media (max-width: 980px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .diagnostic-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-line {
    width: 2px;
    height: 36px;
    margin: 0 auto;
    background: linear-gradient(
      to bottom,
      rgba(255, 102, 0, 0.1),
      var(--orange),
      rgba(255, 102, 0, 0.1)
    );
  }

  .flow-line::after {
    display: none;
  }

  .memory-layout,
  .history-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .pilot-points {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  .nav-shell {
    min-height: 68px;
  }

  .brand-logo {
    width: 145px;
  }

  .mobile-menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 5% 26px;
    background: rgba(10, 10, 10, 0.98);
    border-top: 1px solid #242424;
    border-bottom: 1px solid #242424;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 15px 0;
    font-size: 13px;
    border-bottom: 1px solid #202020;
  }

  .main-nav a:last-child {
    border-bottom: none;
    margin-top: 10px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 135px;
  }

  .hero-title {
    letter-spacing: -2.5px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .pilot-card {
    padding: 28px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-reveal,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}