:root {
  --blue: #00a8ff;
  --amber: #ff9a00;
  --black: #0a0a0a;
  --deep: #111111;
  --card: #1a1a1a;
  --border: #333333;
  --muted: #666666;
  --secondary: #aaaaaa;
  --white: #ffffff;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Orbitron, Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.35));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(0, 168, 255, 0.2));
}

.brand-tagline,
.nav-links a,
.footer-links a,
.footer-contact a,
.footer-contact span {
  color: var(--secondary);
  font-size: 14px;
  transition: color 180ms ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 144px 0 96px;
}

.hero-bg,
.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(0, 168, 255, 0.12), transparent 28%),
    radial-gradient(circle at 70% 22%, rgba(255, 154, 0, 0.1), transparent 24%),
    linear-gradient(180deg, transparent 0%, var(--black) 86%);
}

.grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}

.beam {
  position: absolute;
  top: 0;
  width: 2px;
  height: 62%;
  transform-origin: top;
  animation: beam-drift 8s ease-in-out infinite;
}

.beam-blue {
  background: linear-gradient(to bottom, rgba(0, 168, 255, 0.95), rgba(0, 168, 255, 0.24), transparent);
}

.beam-amber {
  background: linear-gradient(to bottom, rgba(255, 154, 0, 0.95), rgba(255, 154, 0, 0.24), transparent);
}

.beam-left {
  left: 25%;
  transform: rotate(15deg);
}

.beam-left-small {
  left: 33%;
  width: 1px;
  height: 42%;
  transform: rotate(12deg);
  animation-delay: 2s;
}

.beam-right {
  right: 25%;
  transform: rotate(-15deg);
  animation-name: beam-drift-reverse;
}

.beam-right-small {
  right: 33%;
  width: 1px;
  height: 42%;
  transform: rotate(-12deg);
  animation-name: beam-drift-reverse;
  animation-delay: 3s;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 32px;
  padding: 9px 16px;
  color: var(--secondary);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(0, 168, 255, 0.75);
}

h1,
h2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
}

h1 span,
h2 span {
  color: var(--blue);
}

h1 em,
h2 em {
  color: var(--amber);
  font-style: normal;
}

.hero-subtitle {
  width: min(780px, 100%);
  margin: 26px auto 14px;
  color: var(--secondary);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}

.hero-support,
.phase-note {
  color: var(--muted);
}

.hero-support {
  margin: 0 0 36px;
}

.phase-note {
  margin: 22px 0 0;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--black);
  background: var(--blue);
  box-shadow: 0 0 30px rgba(0, 168, 255, 0.28);
}

.button-primary:hover {
  box-shadow: 0 0 42px rgba(0, 168, 255, 0.46);
}

.button-secondary {
  color: var(--white);
  border: 1px solid var(--border);
}

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

.workspace-preview {
  position: relative;
  width: min(960px, 100%);
  margin: 72px auto 0;
  padding: 32px;
  text-align: left;
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(51, 51, 51, 0.75);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.window-dots {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.window-dots span:nth-child(1) {
  background: #ff5f56;
}

.window-dots span:nth-child(2) {
  background: #ffbd2e;
}

.window-dots span:nth-child(3) {
  background: #27ca40;
}

.workspace-url {
  position: absolute;
  top: 32px;
  right: 32px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.preview-card,
.agent-panel,
.capability-card,
.workflow-step {
  background: var(--card);
  border: 1px solid var(--border);
}

.preview-card {
  position: relative;
  padding: 16px;
  border-radius: 14px;
}

.preview-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted);
}

.preview-card.active-blue::after {
  background: var(--blue);
}

.preview-card.active-amber::after {
  background: var(--amber);
}

.preview-card span {
  display: block;
  color: var(--secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.preview-card strong {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.timeline-preview {
  margin-top: 32px;
}

.timeline-header,
.timeline-labels {
  display: flex;
  justify-content: space-between;
}

.timeline-header {
  margin-bottom: 12px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}

.timeline-header strong {
  color: var(--blue);
}

.timeline-bar {
  height: 8px;
  overflow: hidden;
  background: var(--card);
  border-radius: 999px;
}

.timeline-bar span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}

.timeline-labels {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.timeline-labels span:nth-child(-n + 2) {
  color: var(--blue);
}

.timeline-labels span:nth-child(3) {
  color: var(--amber);
}

.agent-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px;
  border-color: rgba(0, 168, 255, 0.35);
  border-radius: 14px;
}

.agent-panel > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--black);
  background: linear-gradient(135deg, var(--blue), var(--amber));
  border-radius: 10px;
  font-weight: 800;
}

.agent-panel p {
  flex: 1;
  margin: 0;
  color: var(--secondary);
  font-size: 13px;
}

.agent-panel p strong {
  color: var(--blue);
}

.agent-panel i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(0, 168, 255, 0.9);
}

.section {
  position: relative;
  padding: 112px 0;
  overflow: hidden;
}

.solution {
  background: var(--black);
}

.section-bg {
  background:
    radial-gradient(circle at 0% 35%, rgba(0, 168, 255, 0.08), transparent 30%),
    radial-gradient(circle at 100% 70%, rgba(255, 154, 0, 0.07), transparent 30%);
}

.workflow {
  background: linear-gradient(180deg, var(--black), var(--deep), var(--black));
}

.section-header {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  margin: 0 auto 64px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.section-header p {
  margin: 24px auto 0;
  color: var(--secondary);
  font-size: 18px;
  line-height: 1.7;
}

.capability-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.capability-card {
  position: relative;
  min-height: 250px;
  padding: 32px;
  border-radius: 22px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 255, 0.45);
  box-shadow: 0 24px 70px rgba(0, 168, 255, 0.08);
}

.capability-card.amber:hover {
  border-color: rgba(255, 154, 0, 0.45);
  box-shadow: 0 24px 70px rgba(255, 154, 0, 0.08);
}

.card-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--blue);
  background: rgba(0, 168, 255, 0.1);
  border-radius: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.amber .card-icon {
  color: var(--amber);
  background: rgba(255, 154, 0, 0.1);
}

.capability-card h3,
.workflow-step h3 {
  margin: 0;
  color: var(--white);
}

.capability-card p,
.workflow-step p {
  margin: 16px 0 0;
  color: var(--secondary);
  line-height: 1.7;
}

.workflow-line {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.workflow-line::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--amber), var(--blue));
  opacity: 0.7;
}

.workflow-step {
  position: relative;
  padding: 72px 16px 0;
  text-align: center;
  background: transparent;
  border: 0;
}

.workflow-step::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translateX(-50%);
  background: var(--muted);
  border: 7px solid var(--black);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(102, 102, 102, 0.6);
}

.workflow-step.blue::before {
  background: var(--blue);
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.65);
}

.workflow-step.amber::before {
  background: var(--amber);
  box-shadow: 0 0 20px rgba(255, 154, 0, 0.55);
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 9px;
  color: var(--muted);
  background: rgba(102, 102, 102, 0.12);
  border-radius: 999px;
  font-size: 11px;
}

.workflow-step.blue span {
  color: var(--blue);
  background: rgba(0, 168, 255, 0.12);
}

.workflow-step.amber span {
  color: var(--amber);
  background: rgba(255, 154, 0, 0.12);
}

.workflow-step h3 {
  font-size: 15px;
}

.workflow-step p {
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  padding: 72px 0 48px;
  background: var(--black);
  border-top: 1px solid var(--card);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(0, 168, 255, 0.2));
}

.site-footer p,
.site-footer small {
  display: block;
  margin: 14px 0 0;
  color: var(--secondary);
}

.site-footer small {
  color: var(--muted);
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-contact a:nth-child(2) {
  color: var(--blue);
}

@keyframes beam-drift {
  0%,
  100% {
    opacity: 0.55;
    translate: 0 0;
  }

  50% {
    opacity: 0.8;
    translate: 0 -22px;
  }
}

@keyframes beam-drift-reverse {
  0%,
  100% {
    opacity: 0.55;
    translate: 0 0;
  }

  50% {
    opacity: 0.8;
    translate: 0 -22px;
  }
}

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

  .preview-cards,
  .capability-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .workflow-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workflow-line::before {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--blue), var(--amber), var(--blue));
  }

  .workflow-step {
    padding: 0 0 28px 64px;
    text-align: left;
  }

  .workflow-step::before {
    top: 0;
    left: 20px;
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .nav {
    height: 70px;
  }

  .brand-logo {
    height: 34px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .hero {
    padding-top: 118px;
  }

  .button {
    width: 100%;
  }

  .workspace-preview {
    padding: 22px;
  }

  .workspace-url {
    position: static;
    display: block;
    margin: -14px 0 20px;
  }
}
