:root {
  --blue-950: #031736;
  --blue-900: #06245a;
  --blue-800: #083c9f;
  --blue-700: #075be8;
  --blue-600: #1475ff;
  --blue-500: #3b90ff;
  --blue-300: #9ac8ff;
  --blue-100: #e8f2ff;
  --ink: #0b1b35;
  --muted: #5c6c84;
  --line: #dce7f6;
  --surface: #f6f9fd;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(6, 36, 90, 0.13);
  --radius: 22px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; }
.section { padding: 104px 0; position: relative; }
.site-shell { overflow: hidden; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(220,231,246,.72);
  backdrop-filter: blur(18px);
}

.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.23rem; font-weight: 800; letter-spacing: -.03em; }
.brand img { flex: 0 0 auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; color: #30435f; font-size: .95rem; font-weight: 650; }
.primary-nav > a:not(.button):hover { color: var(--blue-700); }
.nav-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .25s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: var(--white);
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(7,91,232,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7,91,232,.30); }
.button-small { min-height: 42px; padding-inline: 17px; border-radius: 10px; }
.button-ghost { color: var(--blue-800); background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.button-ghost:hover { box-shadow: 0 10px 28px rgba(11,27,53,.08); }
.button-light { background: var(--white); color: var(--blue-800); box-shadow: none; }

.hero {
  padding-top: 92px;
  padding-bottom: 82px;
  background:
    radial-gradient(circle at 75% 15%, rgba(20,117,255,.12), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f8fbff 72%, #fff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 58px; position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(3rem, 5.3vw, 5.55rem); line-height: .98; letter-spacing: -.058em; margin: 20px 0 24px; max-width: 850px; }
.hero-lede { font-size: 1.19rem; color: var(--muted); max-width: 670px; margin: 0 0 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-700); font-size: .78rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #cfe5ff; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 5px rgba(20,117,255,.12); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 42px; padding-top: 27px; border-top: 1px solid var(--line); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: .97rem; color: var(--ink); }
.hero-proof span { margin-top: 2px; color: var(--muted); font-size: .83rem; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.hero-glow-one { width: 320px; height: 320px; right: -160px; top: 130px; border: 1px solid rgba(20,117,255,.18); }
.hero-glow-two { width: 520px; height: 520px; right: -250px; top: 35px; border: 1px solid rgba(20,117,255,.08); }

.hero-visual { position: relative; }
.dashboard-card { background: #071a36; border-radius: 28px; padding: 14px; box-shadow: 0 35px 90px rgba(4,27,67,.30), inset 0 1px rgba(255,255,255,.08); transform: perspective(1300px) rotateY(-4deg) rotateX(1deg); }
.dashboard-topbar { min-height: 52px; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; color: #cfe5ff; font-size: .78rem; }
.mini-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: white; }
.mini-brand img { width: 24px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 7px 10px; }
.live-pill span { width: 7px; height: 7px; background: #53e6a5; border-radius: 50%; box-shadow: 0 0 0 4px rgba(83,230,165,.10); }
.dashboard-body { background: linear-gradient(180deg, #0d2851, #0a2144); border-radius: 18px; padding: 25px; border: 1px solid rgba(255,255,255,.07); }
.dash-title-row { display: flex; justify-content: space-between; align-items: end; margin-bottom: 18px; color: white; }
.dash-title-row h2 { margin: 3px 0 0; font-size: 1.45rem; letter-spacing: -.03em; }
.dash-kicker { color: #7fb4ff; letter-spacing: .15em; font-weight: 800; font-size: .62rem; }
.run-state { color: #7ff0bd; background: rgba(83,230,165,.10); border: 1px solid rgba(83,230,165,.17); border-radius: 999px; padding: 5px 10px; font-size: .72rem; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 13px 12px; }
.metric-card span, .metric-card strong { display: block; }
.metric-card span { color: #8fa8c9; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; }
.metric-card strong { color: white; font-size: .92rem; margin-top: 3px; }
.chart-card { margin-top: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 14px; }
.chart-head { display: flex; justify-content: space-between; color: #a8bdd8; font-size: .7rem; font-weight: 700; }
.chart-head span:last-child { color: #64aaff; }
.chart { width: 100%; height: 145px; overflow: visible; margin-top: 8px; }
.grid-line { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }
.chart-area { fill: url(#area); }
.chart-line { fill: none; stroke: #58a8ff; stroke-width: 4; stroke-linecap: round; }
.pipeline { display: flex; align-items: center; gap: 9px; margin-top: 16px; }
.pipeline-step { display: flex; align-items: center; gap: 7px; min-width: 0; color: #7290b4; }
.pipeline-step > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); font-size: .55rem; font-weight: 800; }
.pipeline-step strong, .pipeline-step small { display: block; white-space: nowrap; }
.pipeline-step strong { font-size: .7rem; color: #9db5d2; }
.pipeline-step small { font-size: .57rem; }
.pipeline-step.active > span { color: white; background: var(--blue-600); border-color: transparent; }
.pipeline-step.active strong { color: white; }
.pipeline-line { height: 1px; flex: 1; min-width: 12px; background: rgba(255,255,255,.13); }

.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.logo-strip-inner { min-height: 78px; display: flex; align-items: center; justify-content: center; gap: 26px; color: #718096; font-size: .78rem; font-weight: 750; letter-spacing: .02em; text-align: center; }
.logo-divider { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-300); }

.section-heading { max-width: 610px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { font-size: clamp(2.25rem, 4vw, 3.7rem); line-height: 1.06; letter-spacing: -.048em; margin: 16px 0 18px; }
.section-heading p { font-size: 1.05rem; color: var(--muted); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.feature-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 31px; background: white; box-shadow: 0 15px 55px rgba(13,52,112,.055); transition: .25s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #bdd6f6; box-shadow: var(--shadow); }
.icon-wrap { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-100); margin-bottom: 24px; }
.icon-wrap img { width: 28px; height: 28px; }
.feature-card h3 { margin: 0 0 11px; font-size: 1.23rem; letter-spacing: -.025em; }
.feature-card p { color: var(--muted); margin: 0 0 22px; font-size: .96rem; }
.feature-link { color: var(--blue-700); font-weight: 800; font-size: .88rem; }

.section-blueprint { background-color: #f7faff; background-image: linear-gradient(rgba(7,91,232,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(7,91,232,.05) 1px, transparent 1px); background-size: 34px 34px; }
.split-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--blue-700); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.steps-card { background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 10px 28px; }
.step-item { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.step-item:last-child { border-bottom: 0; }
.step-number { width: 44px; height: 44px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700); border-radius: 12px; font-size: .75rem; font-weight: 900; }
.step-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.step-item p { margin: 0; color: var(--muted); font-size: .92rem; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.value-card { padding: 28px 26px 30px; border-radius: 20px; background: linear-gradient(180deg, #ffffff, #f8fbff); border: 1px solid var(--line); min-height: 250px; }
.value-index { color: var(--blue-600); font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.value-card h3 { font-size: 1.35rem; margin: 52px 0 9px; letter-spacing: -.03em; }
.value-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.architecture-section { padding-top: 30px; }
.architecture-card { background: linear-gradient(135deg, #062557 0%, #0647ad 52%, #0870ee 100%); color: white; border-radius: 30px; padding: 66px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; box-shadow: 0 35px 90px rgba(3,39,91,.22); }
.architecture-copy h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.03; letter-spacing: -.05em; margin: 15px 0 18px; }
.architecture-copy p { color: #d7e8ff; max-width: 540px; margin: 0 0 28px; }
.architecture-visual { height: 360px; position: relative; }
.architecture-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.architecture-visual path { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 2; stroke-dasharray: 7 8; }
.arch-node { position: absolute; z-index: 2; width: 118px; height: 58px; display: grid; place-items: center; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.10); backdrop-filter: blur(8px); font-size: .8rem; font-weight: 800; box-shadow: 0 15px 35px rgba(0,0,0,.12); }
.node-a { left: 0; top: 50px; }
.node-b { left: 50%; top: 150px; transform: translateX(-50%); width: 130px; background: white; color: var(--blue-800); }
.node-c { right: 0; top: 50px; }
.node-d { left: 26px; bottom: 10px; }
.node-e { right: 26px; bottom: 10px; }

.contact-section { padding-bottom: 90px; }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; padding: 52px 56px; border: 1px solid var(--line); border-radius: 28px; background: #f8fbff; }
.contact-card h2 { font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.08; letter-spacing: -.04em; margin: 14px 0 12px; max-width: 700px; }
.contact-card p { color: var(--muted); margin: 0; max-width: 680px; }
.contact-actions { min-width: 300px; }
.contact-actions .button { width: 100%; }
.contact-note { font-size: .75rem !important; margin-top: 10px !important; text-align: center; }
.contact-note code { background: white; border: 1px solid var(--line); border-radius: 5px; padding: 1px 4px; }

.site-footer { background: #06162f; color: #d6e4f8; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-brand { color: white; }
.footer-grid p { color: #8ea6c5; font-size: .9rem; margin: 14px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; color: #adc0d9; font-size: .88rem; font-weight: 650; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); margin-top: 45px; padding-top: 22px; color: #738aa8; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .feature-card, .text-link span { transition: none; }
}

@media (max-width: 980px) {
  .hero { padding-top: 70px; }
  .hero-grid, .split-layout, .architecture-card, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .dashboard-card { max-width: 700px; margin-inline: auto; transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:last-child { grid-column: 1 / -1; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .architecture-card { padding: 50px; }
  .architecture-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .contact-actions { min-width: 0; max-width: 420px; }
}

@media (max-width: 760px) {
  .section { padding: 78px 0; }
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .nav-toggle { display: block; z-index: 2; }
  .primary-nav { position: absolute; inset: 76px 14px auto 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 14px; }
  .primary-nav .button { margin-top: 6px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
  .hero-proof { grid-template-columns: 1fr; gap: 13px; }
  .metric-grid { grid-template-columns: 1fr; }
  .pipeline { display: grid; grid-template-columns: 1fr; }
  .pipeline-line { width: 1px; height: 14px; margin-left: 12px; }
  .pipeline-step strong, .pipeline-step small { white-space: normal; }
  .logo-strip-inner { padding: 18px 0; flex-wrap: wrap; gap: 12px 16px; }
  .logo-divider { display: none; }
  .feature-grid, .value-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; }
  .value-card { min-height: 0; }
  .value-card h3 { margin-top: 30px; }
  .split-layout { gap: 42px; }
  .steps-card { padding: 6px 20px; }
  .architecture-card { padding: 38px 24px; border-radius: 24px; }
  .architecture-visual { height: 320px; transform: scale(.92); }
  .contact-card { padding: 38px 26px; gap: 32px; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-links { gap: 16px 22px; }
}

@media (max-width: 470px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .dashboard-body { padding: 18px; }
  .dashboard-topbar { padding: 0 4px; }
  .live-pill { font-size: .65rem; }
  .chart { height: 110px; }
  .architecture-visual { height: 280px; transform: scale(.82); transform-origin: center; }
}
