:root {
  --navy-950: #061326;
  --navy-900: #071b34;
  --navy-800: #0a2a4f;
  --navy-700: #0e3a6d;
  --blue-500: #2d7dd2;
  --blue-300: #8fc7ff;
  --ice: #eef5fb;
  --white: #ffffff;
  --ink: #0e1724;
  --muted: #607086;
  --line: rgba(8, 29, 55, 0.14);
  --gold: #c8a15a;
  --green: #44c093;
  --shadow: 0 26px 70px rgba(6, 19, 38, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max: 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:
    radial-gradient(circle at top left, rgba(143, 199, 255, 0.24), transparent 34rem),
    linear-gradient(180deg, #f7fbff 0%, var(--ice) 48%, #f8fbff 100%);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(6, 19, 38, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

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

.logo {
  width: 174px;
  height: auto;
  padding: 0;
  background: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 720;
}

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

.nav-cta {
  padding: 11px 16px;
  background: var(--white);
  color: var(--navy-950);
  border-radius: 999px;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 19, 38, 0.96) 0%, rgba(6, 19, 38, 0.82) 42%, rgba(6, 19, 38, 0.24) 82%),
    linear-gradient(180deg, rgba(6, 19, 38, 0.2), rgba(6, 19, 38, 0.78));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.9;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 132px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: 46px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border: 1px solid rgba(143, 199, 255, 0.35);
  background: rgba(143, 199, 255, 0.1);
  color: var(--blue-300);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.95;
}

h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 23px;
  line-height: 1.15;
}

.hero-copy,
.lead {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 21px);
  max-width: 650px;
}

.lead {
  color: var(--muted);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 820;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(45, 125, 210, 0.24);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  background: var(--white);
  color: var(--navy-950);
}

.hero-graph {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  animation: liftIn 800ms ease both 300ms;
}

.hero-graph h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 18px;
}

.system-map {
  position: relative;
  height: 220px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(6, 19, 38, 0.42);
}

.system-map svg {
  position: absolute;
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
}

.system-map path {
  fill: none;
  stroke: rgba(143, 199, 255, 0.42);
  stroke-width: 2;
  stroke-dasharray: 10 8;
  animation: flowPath 5s linear infinite;
}

.system-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 92px;
  min-height: 54px;
  padding: 10px;
  border: 1px solid rgba(143, 199, 255, 0.35);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  animation: nodeFloat 4.6s ease-in-out infinite;
}

.system-node:nth-of-type(1) { top: 16px; left: 18px; }
.system-node:nth-of-type(2) { top: 24px; right: 18px; animation-delay: 500ms; }
.system-node:nth-of-type(3) { left: 34%; bottom: 16px; animation-delay: 900ms; }
.system-node:nth-of-type(4) { right: 30px; bottom: 66px; animation-delay: 1300ms; }

.graph-caption {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

section {
  padding: 92px 0;
}

.wrap {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--blue-500);
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.service-card,
.insight-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 36px rgba(6, 19, 38, 0.06);
  overflow: hidden;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.feature-card p,
.service-card p,
.insight-card p,
.contact-card p,
.small-copy {
  color: var(--muted);
}

.number {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(45, 125, 210, 0.16), rgba(143, 199, 255, 0.22));
  color: var(--blue-500);
  font-weight: 860;
  font-size: 24px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(45, 125, 210, 0.18);
}

.image-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 600ms ease;
}

.image-frame:hover img {
  transform: scale(1.04);
}

.floating-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-md);
  color: var(--navy-950);
  box-shadow: 0 20px 44px rgba(6, 19, 38, 0.22);
}

.floating-panel strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.mini-stat {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
}

.mini-stat strong {
  display: block;
  color: var(--navy-900);
  font-size: 28px;
  line-height: 1;
}

.mini-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.dark-band {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(45, 125, 210, 0.22), transparent 30rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.dark-band h2,
.dark-band h3 {
  color: var(--white);
}

.dark-band .lead,
.dark-band p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-band .feature-card h3 {
  color: var(--navy-950);
}

.dark-band .feature-card p {
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step {
  min-height: 260px;
  padding: 26px;
  background: var(--navy-950);
}

.process-step b {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 24px;
  background: rgba(143, 199, 255, 0.12);
  border: 1px solid rgba(143, 199, 255, 0.28);
  color: var(--blue-300);
  font-size: 24px;
  line-height: 1;
}

.chart-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

.chart-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.line-chart {
  width: 100%;
  height: auto;
}

.line-chart path.draw {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: drawLine 1.8s ease forwards;
}

.line-chart circle {
  opacity: 0;
  animation: pointIn 360ms ease forwards;
}

.line-chart circle:nth-of-type(1) { animation-delay: 500ms; }
.line-chart circle:nth-of-type(2) { animation-delay: 680ms; }
.line-chart circle:nth-of-type(3) { animation-delay: 860ms; }
.line-chart circle:nth-of-type(4) { animation-delay: 1040ms; }
.line-chart circle:nth-of-type(5) { animation-delay: 1220ms; }

.chart-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.chart-labels div {
  padding: 16px;
  background: var(--ice);
  border-radius: var(--radius-sm);
}

.chart-labels strong {
  display: block;
  color: var(--navy-900);
}

.chart-labels span {
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  padding: 154px 0 70px;
  background:
    linear-gradient(120deg, rgba(6, 19, 38, 0.96), rgba(10, 42, 79, 0.92)),
    url("assets/dashboard.png") center / cover;
  color: var(--white);
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(44px, 5.8vw, 76px);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.35fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill-list span {
  padding: 8px 10px;
  background: var(--ice);
  border-radius: 999px;
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 760;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insight-card {
  overflow: hidden;
}

.insight-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.insight-body {
  padding: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
}

.contact-card {
  padding: 30px;
}

.contact-card a {
  display: block;
  margin-top: 10px;
  color: var(--navy-800);
  font-weight: 860;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy-900);
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.footer {
  padding: 34px 0;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 150px;
  padding: 8px;
  background: transparent;
}

.footer-meta {
  display: grid;
  gap: 5px;
}

.footer-contact {
  display: grid;
  gap: 5px;
  text-align: right;
}

.footer-contact a {
  color: var(--white);
  font-weight: 760;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 700ms ease forwards;
}

.delay-1 { animation-delay: 120ms; }
.delay-2 { animation-delay: 240ms; }
.delay-3 { animation-delay: 360ms; }

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@keyframes barRise {
  from { transform: scaleY(0); opacity: 0.35; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes flowPath {
  to { stroke-dashoffset: -72; }
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes pointIn {
  to { opacity: 1; }
}

@keyframes liftIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 940px) {
  .nav-links {
    display: none;
  }

  .hero-content,
  .image-split,
  .chart-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 122px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(6, 19, 38, 0.9), rgba(6, 19, 38, 0.78)),
      linear-gradient(90deg, rgba(6, 19, 38, 0.86), rgba(6, 19, 38, 0.62));
  }

  .grid-3,
  .process-grid,
  .logo-row,
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav,
  .wrap,
  .hero-content,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  .logo {
    width: 138px;
  }

  h1 {
    font-size: 44px;
  }

  section {
    padding: 66px 0;
  }

  .hero-actions .button,
  .action-row .button {
    width: 100%;
  }

  .grid-3,
  .process-grid,
  .logo-row,
  .case-grid,
  .chart-labels {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }

  .image-frame,
  .image-frame img {
    min-height: 360px;
  }
}
