:root {
  color-scheme: dark;
  --bg: #020713;
  --bg-2: #06152b;
  --panel: rgba(9, 26, 58, 0.72);
  --panel-strong: rgba(12, 33, 74, 0.9);
  --line: rgba(94, 156, 255, 0.28);
  --line-strong: rgba(84, 173, 255, 0.62);
  --text: #f7fbff;
  --muted: #aab9d7;
  --faint: #6f82a6;
  --blue: #1d7bff;
  --cyan: #28d9ff;
  --violet: #764cff;
  --green: #42f2b2;
  --shadow-blue: rgba(24, 119, 255, 0.42);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-display: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
  --font-body: "Avenir Next", "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 82% 8%, rgba(31, 124, 255, 0.28), transparent 24rem),
    radial-gradient(circle at 8% 22%, rgba(48, 80, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(19, 205, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, #020713 0%, #041021 44%, #020713 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(86, 145, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 145, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 52% 20%, black, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(26, 118, 255, 0.12), transparent 34rem);
  mix-blend-mode: screen;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 7.6vw, 94px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(31px, 4.4vw, 56px);
  line-height: 1.04;
}

h3 {
  font-size: 23px;
  line-height: 1.14;
}

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

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--dmuted);
}

li {
  margin-top: 10px;
  color: #d9e5ff;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(2, 7, 19, 0.92), rgba(2, 7, 19, 0.62));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(91, 154, 255, 0.08);
}

.nav-shell,
.section-grid,
.section-block,
.section-narrow,
.trust-strip,
.stats-panel,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(44, 227, 255, 0.95), rgba(24, 103, 255, 0.92) 52%, rgba(120, 72, 255, 0.95)),
    #0d62ff;
  color: #fff;
  box-shadow: 0 0 30px rgba(37, 132, 255, 0.72);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 50px);
  color: #dce7ff;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--cyan);
}

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 30, 68, 0.74);
  color: var(--text);
  padding: 10px 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 12px 19px;
  color: var(--text);
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #1d7bff 0%, #3a6dff 48%, #794cff 100%);
  box-shadow: 0 16px 36px rgba(33, 117, 255, 0.34);
}

.button-primary:hover {
  box-shadow: 0 18px 46px rgba(33, 117, 255, 0.52);
}

.button-ghost {
  border-color: rgba(182, 209, 255, 0.42);
  background: rgba(5, 14, 34, 0.5);
}

.button-large {
  min-height: 56px;
  padding-inline: 24px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 34px;
  align-items: center;
  min-height: 760px;
  padding: 78px 0 56px;
}

.hero-copy {
  display: grid;
  gap: 26px;
}

.eyebrow,
.section-kicker,
.post-meta {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(49, 134, 255, 0.44);
  border-radius: 999px;
  background: rgba(21, 70, 170, 0.2);
  padding: 8px 12px;
}

.hero h1 span,
.gradient-text {
  background: linear-gradient(135deg, #62cfff, #2d72ff 44%, #8f55ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 620px;
  font-size: 18px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-points article {
  display: grid;
  gap: 8px;
  padding-right: 12px;
  border-right: 1px solid rgba(121, 164, 255, 0.22);
}

.hero-points article:last-child {
  border-right: 0;
}

.hero-points strong {
  font-size: 17px;
}

.hero-points p {
  font-size: 12px;
  line-height: 1.55;
}

.icon-chip,
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 125, 255, 0.95), rgba(117, 70, 255, 0.92));
  box-shadow: 0 0 28px rgba(55, 122, 255, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.orbital-field {
  position: absolute;
  width: min(620px, 88vw);
  height: min(620px, 88vw);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(18, 126, 255, 0.1) 0 28%, transparent 29%),
    repeating-radial-gradient(circle, rgba(41, 132, 255, 0.34) 0 1px, transparent 2px 11px),
    radial-gradient(circle, rgba(47, 106, 255, 0.2), transparent 68%);
  opacity: 0.72;
  animation: slow-spin 30s linear infinite;
}

.orbital-field::before,
.orbital-field::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(54, 148, 255, 0.28);
  border-radius: 999px;
}

.orbital-field::after {
  inset: 23%;
  border-color: rgba(69, 221, 255, 0.18);
}

.agent-core {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 190px;
  min-height: 224px;
  border: 1px solid rgba(92, 180, 255, 0.74);
  border-radius: 28px;
  padding: 28px 18px;
  background:
    linear-gradient(180deg, rgba(38, 111, 255, 0.34), rgba(20, 51, 132, 0.82)),
    rgba(5, 17, 44, 0.82);
  box-shadow: 0 0 42px rgba(28, 126, 255, 0.56), inset 0 0 34px rgba(94, 199, 255, 0.16);
}

.agent-core strong {
  font-size: 24px;
}

.agent-core span {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.agent-bot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 92px;
  height: 66px;
  border: 8px solid rgba(209, 236, 255, 0.92);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 80, 184, 0.8), rgba(7, 22, 57, 0.94));
  box-shadow: 0 0 32px rgba(76, 177, 255, 0.8);
}

.agent-bot::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 4px;
  height: 24px;
  border-radius: 999px;
  background: rgba(219, 243, 255, 0.9);
}

.bot-eye {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.launch-pad {
  position: absolute;
  z-index: 1;
  bottom: 108px;
  width: 430px;
  height: 124px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(92, 212, 255, 0.82) 0 6%, rgba(21, 98, 255, 0.5) 8% 18%, transparent 19%),
    repeating-radial-gradient(ellipse, rgba(57, 149, 255, 0.72) 0 2px, transparent 4px 22px);
  filter: drop-shadow(0 0 34px rgba(42, 153, 255, 0.9));
}

.metric-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 5px;
  width: 190px;
  border: 1px solid rgba(76, 162, 255, 0.64);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(12, 34, 83, 0.88), rgba(10, 23, 55, 0.7));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 0 24px rgba(45, 126, 255, 0.16);
  backdrop-filter: blur(16px);
}

.metric-card span,
.metric-card small {
  color: var(--muted);
  font-size: 12px;
}

.metric-card strong {
  font-size: 26px;
}

.metric-card-a { left: 6%; top: 16%; transform: rotate(5deg); }
.metric-card-b { right: 0; top: 23%; transform: rotate(2deg); }
.metric-card-c { left: 4%; bottom: 22%; transform: rotate(-4deg); }
.metric-card-d { right: 4%; bottom: 20%; transform: rotate(4deg); }

.trust-strip {
  display: grid;
  gap: 22px;
  padding: 16px 0 76px;
  text-align: center;
}

.trust-strip > span {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-strip > span::before,
.trust-strip > span::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(118, 163, 255, 0.26));
}

.trust-strip > span::after {
  background: linear-gradient(90deg, rgba(118, 163, 255, 0.26), transparent);
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  color: rgba(222, 232, 255, 0.62);
}

.section-narrow {
  padding: 40px 0;
}

.answer-section {
  display: grid;
  gap: 14px;
  max-width: 900px;
}

.answer-section p:last-child {
  font-size: 18px;
}

.section-block {
  padding: 76px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.feature-grid,
.post-grid,
.faq-grid,
.solution-list,
.contact-cards {
  display: grid;
  gap: 18px;
}

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

.glass-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(12, 34, 78, 0.72), rgba(5, 15, 38, 0.78)),
    rgba(7, 22, 53, 0.72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.feature-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 460px;
  padding: 30px;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -12% -22% 22%;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(36, 128, 255, 0.28), transparent 66%);
  pointer-events: none;
}

.mini-console,
.data-stack,
.pipeline-mini {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.mini-console span,
.data-stack span,
.pipeline-mini span {
  border: 1px solid rgba(86, 150, 255, 0.26);
  border-radius: 13px;
  background: rgba(7, 26, 64, 0.76);
  color: #dce8ff;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 850;
}

.pipeline-mini {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
}

.pipeline-mini span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 8px;
  text-align: center;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 34px;
}

.stats-panel article {
  padding: 0 28px;
  border-right: 1px solid rgba(107, 158, 255, 0.22);
}

.stats-panel article:last-child {
  border-right: 0;
}

.stats-panel span {
  display: block;
  margin-bottom: 6px;
  font-size: 36px;
  font-weight: 950;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.workflow-rail.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-rail article {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(8, 25, 61, 0.68);
}

.workflow-rail span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 950;
}

.solutions-block {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.solution-list article,
.faq-grid article,
.post-card,
.contact-cards article {
  padding: 24px;
}

.lead-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: start;
  padding: 80px 0;
}

.lead-copy,
.contact-copy {
  display: grid;
  gap: 20px;
}

.lead-promise {
  padding: 22px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.lead-form button,
.form-status {
  grid-column: 1 / -1;
}

label {
  color: #dbe8ff;
  font-size: 13px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(106, 164, 255, 0.26);
  border-radius: 14px;
  background: rgba(3, 12, 31, 0.66);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
}

input:focus,
textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(40, 217, 255, 0.12);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  font-weight: 800;
}

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

.form-status.is-error {
  color: #ff8e9d;
}

.page-hero {
  display: grid;
  gap: 22px;
  padding: 100px 0 48px;
  text-align: center;
  justify-items: center;
}

.page-hero p:last-child {
  max-width: 820px;
  font-size: 18px;
}

.featured-post {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: center;
  padding: 32px;
}

.featured-post > div:first-child,
.post-card {
  display: grid;
  gap: 14px;
}

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

.text-link {
  color: var(--cyan);
  font-weight: 950;
}

.post-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(38, 134, 255, 0.34), transparent 64%);
}

.post-orbit span {
  position: absolute;
  border: 1px solid rgba(89, 176, 255, 0.42);
  border-radius: 999px;
  background: rgba(5, 18, 46, 0.72);
  padding: 10px 14px;
  color: #dce9ff;
  font-weight: 900;
  font-size: 12px;
}

.post-orbit span:nth-child(1) { top: 14%; left: 22%; }
.post-orbit span:nth-child(2) { top: 36%; right: 10%; }
.post-orbit span:nth-child(3) { bottom: 22%; left: 10%; }
.post-orbit span:nth-child(4) { bottom: 12%; right: 24%; }

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

.contact-cards {
  grid-template-columns: 1fr;
}

.contact-cards span {
  display: block;
  margin-top: 12px;
  color: var(--cyan);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgba(99, 153, 255, 0.18);
  padding: 34px 0 46px;
}

.site-footer > div {
  display: grid;
  gap: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-weight: 850;
}

.reveal-on-load {
  animation: lift-in 620ms ease both;
}

.hero-visual.reveal-on-load {
  animation-delay: 120ms;
}

@keyframes lift-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

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

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.is-open,
  .nav-actions.is-open {
    display: flex;
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
  }

  .hero,
  .lead-section,
  .contact-layout,
  .solutions-block,
  .featured-post {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

  .feature-grid,
  .stats-panel,
  .workflow-rail,
  .workflow-rail.compact,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .section-grid,
  .section-block,
  .section-narrow,
  .trust-strip,
  .stats-panel,
  .site-footer {
    width: min(100% - 26px, 1180px);
  }

  .nav-shell {
    min-height: 72px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .hero {
    padding-top: 44px;
  }

  .hero-points,
  .feature-grid,
  .stats-panel,
  .workflow-rail,
  .workflow-rail.compact,
  .post-grid,
  .faq-grid,
  .lead-form,
  .trust-logos,
  .pipeline-mini {
    grid-template-columns: 1fr;
  }

  .hero-points article {
    border-right: 0;
    border-bottom: 1px solid rgba(121, 164, 255, 0.22);
    padding: 0 0 14px;
  }

  .hero-points article:last-child {
    border-bottom: 0;
  }

  .hero-actions,
  .nav-actions.is-open,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 500px;
    overflow: hidden;
  }

  .metric-card {
    width: 156px;
    padding: 12px;
  }

  .metric-card strong {
    font-size: 21px;
  }

  .metric-card-a { left: 0; top: 12%; }
  .metric-card-b { right: 0; top: 18%; }
  .metric-card-c { left: 0; bottom: 18%; }
  .metric-card-d { right: 0; bottom: 14%; }

  .agent-core {
    width: 168px;
  }

  .launch-pad {
    width: 330px;
    bottom: 88px;
  }

  .stats-panel {
    gap: 22px;
  }

  .stats-panel article {
    border-right: 0;
    border-bottom: 1px solid rgba(107, 158, 255, 0.22);
    padding: 0 0 20px;
  }

  .stats-panel article:last-child {
    border-bottom: 0;
  }

  .form-row-full,
  .lead-form button,
  .form-status {
    grid-column: auto;
  }
}
