:root {
  --bg: #090d16;
  --panel: #0f1626;
  --panel-soft: #121d33;
  --text: #eaf0ff;
  --muted: #9ba9c8;
  --data: #4a8dff;
  --signal: #22d3ee;
  --ai: #8b5cf6;
  --border: #1f2a44;
  --success: #42d392;
  --warn: #fbbf24;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top right, #151d33 0, var(--bg) 50%);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(680px, 92%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(9, 13, 22, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #0f1626;
  border: 1px solid var(--border);
  position: relative;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 17px;
  width: 16px;
  height: 8px;
  border-top: 2px solid rgba(34, 211, 238, 0.9);
  border-right: 2px solid rgba(139, 92, 246, 0.9);
  border-radius: 10px;
  transform: rotate(-23deg);
}

.brand-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.brand-dot-a {
  left: 5px;
  top: 18px;
  background: var(--signal);
}

.brand-dot-b {
  left: 14px;
  top: 11px;
  background: var(--ai);
}

.brand-dot-c {
  left: 22px;
  top: 7px;
  background: var(--signal);
}

.brand-mark-sm {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.brand-mark-sm::after {
  left: 5px;
  top: 11px;
  width: 11px;
  height: 6px;
}

.brand-mark-sm .brand-dot {
  width: 4px;
  height: 4px;
}

.brand-mark-sm .brand-dot-a {
  left: 4px;
  top: 13px;
}

.brand-mark-sm .brand-dot-b {
  left: 10px;
  top: 8px;
}

.brand-mark-sm .brand-dot-c {
  left: 16px;
  top: 5px;
}

section {
  padding: 72px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
  color: var(--muted);
}

.eyebrow {
  color: var(--signal);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.eyebrow-hook {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  padding: 10px 14px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  background: rgba(13, 26, 45, 0.65);
  box-shadow: 0 8px 20px rgba(4, 10, 22, 0.4);
  color: #a9eefa;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

.subheadline {
  font-size: 1.1rem;
  max-width: 860px;
}

.hero {
  padding-top: 86px;
  position: relative;
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.hero-copy {
  max-width: 780px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bg-grid,
.bg-wave,
.bg-glow {
  position: absolute;
  inset: 0;
}

.bg-grid {
  inset: 12% 0 0;
  background-image: linear-gradient(
      rgba(74, 141, 255, 0.13) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(74, 141, 255, 0.13) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.18;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent);
}

.bg-wave {
  background: linear-gradient(
    120deg,
    rgba(74, 141, 255, 0.12),
    rgba(139, 92, 246, 0.08),
    rgba(34, 211, 238, 0.11)
  );
  background-size: 200% 200%;
  opacity: 0.5;
  animation: gradientShift 14s ease-in-out infinite;
}

.bg-glow {
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.2) 0%,
    rgba(74, 141, 255, 0.1) 35%,
    rgba(9, 13, 22, 0) 70%
  );
  right: -120px;
  top: -120px;
  filter: blur(8px);
  animation: driftGlow 16s ease-in-out infinite;
}

.hero-widgets {
  display: grid;
  gap: 12px;
}

.hero-widget {
  background: linear-gradient(
    160deg,
    rgba(18, 29, 51, 0.95),
    rgba(12, 21, 36, 0.95)
  );
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 12px 26px rgba(3, 8, 19, 0.45);
}

.widget-label {
  color: #b6c4e6;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.widget-value {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.widget-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

.widget-meter {
  height: 8px;
  background: #131d31;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin: 4px 0 8px;
}

.widget-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--ai));
}

.pulse-dot {
  margin-top: 8px;
  color: var(--signal);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 0 rgba(34, 211, 238, 0.5);
  animation: pulse 1.8s infinite;
}

.hero-proof {
  max-width: 920px;
  margin-top: 18px;
  color: #c6d3f3;
}

.hero-cta {
  margin: 24px 0 8px;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(110deg, var(--data), var(--ai));
  box-shadow: 0 12px 24px rgba(74, 141, 255, 0.2);
}

.btn-outline {
  border-color: var(--border);
  background: rgba(18, 29, 51, 0.6);
}

.impact-grid,
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.data-scale {
  padding-top: 16px;
  padding-bottom: 16px;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.scale-card {
  background: linear-gradient(
    170deg,
    rgba(16, 27, 47, 0.95),
    rgba(10, 18, 32, 0.95)
  );
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.scale-label {
  color: #b6c4e6;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.scale-value {
  color: var(--signal);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.scale-meta {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.card,
.signal-card,
.flow-step,
.score-widget {
  background: linear-gradient(165deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-cubes {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.cube {
  min-height: 124px;
  padding: 14px;
}

.cube p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.step-title {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
}

.signal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signal-top p {
  color: var(--text);
  font-weight: 600;
}

.signal-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 220px;
}

.signal-card > p:last-child {
  margin-bottom: 0;
}

.strength {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid currentColor;
}

.strength.high {
  color: var(--success);
}

.strength.medium {
  color: var(--warn);
}

.trend {
  font-size: 0.9rem;
  font-weight: 600;
}

.trend.up {
  color: var(--success);
}

.trend.down {
  color: #f97373;
}

.model-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.score-widget h3 {
  margin-bottom: 8px;
}

.score {
  font-size: 3.4rem;
  margin: 0;
  color: var(--signal);
  font-weight: 800;
}

.score-bands {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.score-bands span {
  text-align: center;
  font-size: 0.75rem;
  padding: 6px;
  background: #121b2f;
  border-radius: 7px;
  border: 1px solid var(--border);
}

.score-bands .active {
  border-color: var(--signal);
  color: var(--signal);
}

.widget-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

.timeline {
  margin-top: 16px;
}

.timeline-bars > div {
  margin-bottom: 12px;
}

.timeline-bars p {
  margin-bottom: 6px;
  color: var(--text);
  font-weight: 500;
}

.bar {
  background: #141d30;
  border-radius: 999px;
  height: 10px;
  border: 1px solid var(--border);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--ai));
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.diff-head {
  color: var(--text);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.architecture {
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  text-align: center;
  font-weight: 600;
}

.arrow {
  color: var(--signal);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.visual-card {
  margin: 0;
  background: linear-gradient(165deg, var(--panel-soft), var(--panel));
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.visual-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.visual-card figcaption {
  color: var(--muted);
  padding: 12px 14px 14px;
  font-size: 0.9rem;
}

.intelligence-platform .section-lead {
  max-width: 760px;
  margin-bottom: 18px;
}

.platform-grid {
  display: grid;
  gap: 16px;
}

.platform-block h3 {
  margin-bottom: 14px;
}

.platform-block .flow-cubes {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.platform-block .use-cases .card {
  background: #10192c;
}

.final-cta {
  text-align: center;
}

.form-page {
  min-height: calc(100vh - 240px);
}

.demo-form {
  margin-top: 24px;
  display: grid;
  gap: 6px;
}

label {
  color: var(--text);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #0f182b;
  color: var(--text);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.error {
  color: #fb7185;
  margin: 0 0 8px;
}

.thank-you {
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #0a1220;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.footer-brand,
.footer-heading {
  color: var(--text);
  font-weight: 700;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link {
  color: var(--signal);
}

.global-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.55);
  background: linear-gradient(
    130deg,
    rgba(34, 211, 238, 0.2),
    rgba(74, 141, 255, 0.2)
  );
  color: #d8faff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(3, 8, 19, 0.45);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes driftGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-32px, 26px) scale(1.05);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 211, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .eyebrow-hook {
    border-radius: 14px;
  }

  .scale-grid {
    grid-template-columns: 1fr;
  }

  .signals-grid {
    grid-template-columns: 1fr;
  }

  .model-grid {
    grid-template-columns: 1fr;
  }

  .platform-block .flow-cubes {
    grid-template-columns: 1fr;
  }

  .architecture {
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
    padding: 12px;
  }

  .arrow {
    display: none;
  }

  .architecture > div:not(.arrow) {
    position: relative;
    background: #101a2e;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
  }

  .architecture > div:not(.arrow):not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: -10px;
    width: 2px;
    height: 10px;
    background: linear-gradient(var(--signal), var(--ai));
    opacity: 0.8;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .global-cta {
    right: 12px;
    bottom: 12px;
  }
}
