:root {
  --bg: #07111f;
  --bg-deep: #040a13;
  --surface: rgba(255,255,255,.055);
  --surface-strong: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.1);
  --text: #f5f8ff;
  --muted: #aab6cc;
  --blue: #3a7bff;
  --blue-2: #6da0ff;
  --teal: #25d7c8;
  --teal-2: #6be9dd;
  --success: #62e6a6;
  --shadow: 0 24px 80px rgba(0,0,0,.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --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(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(58,123,255,.18), transparent 24%),
    radial-gradient(circle at 12% 24%, rgba(37,215,200,.09), transparent 28%),
    linear-gradient(180deg, #081321 0%, var(--bg) 50%, var(--bg-deep) 100%);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 86%);
  z-index: -2;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px);
  background: rgba(4,10,19,.7);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 780; font-size: 1.18rem; letter-spacing: -.03em; }
.brand-mark { width: 38px; height: 38px; position: relative; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word span { color: var(--blue-2); }
.nav-links { display: flex; align-items: center; gap: 28px; color: #c3cce0; font-size: .94rem; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: white; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; font-weight: 700; letter-spacing: -.015em; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.nav-cta { padding: 11px 17px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }

.hero { padding: 108px 0 78px; position: relative; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(58,123,255,.13), transparent 68%); right: -190px; top: 30px; filter: blur(4px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid rgba(109,160,255,.2); background: rgba(58,123,255,.075); color: #c7d8ff; border-radius: 999px; text-transform: uppercase; letter-spacing: .13em; font-size: .73rem; font-weight: 750; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(37,215,200,.09), 0 0 18px rgba(37,215,200,.5); }
h1 { margin: 24px 0 22px; max-width: 760px; font-size: clamp(3.1rem, 7vw, 6rem); line-height: .96; letter-spacing: -.062em; font-weight: 840; }
h1 .gradient { background: linear-gradient(105deg, #ffffff 12%, #90b8ff 58%, #55e5d6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 34px; }
.button { min-height: 52px; padding: 0 20px; border: 1px solid transparent; }
.button.primary { color: #041018; background: linear-gradient(135deg, #dce8ff 0%, #7daaff 45%, #45e0d3 100%); box-shadow: 0 16px 38px rgba(58,123,255,.2); }
.button.secondary { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); color: #e9efff; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; color: #90a0bb; font-size: .88rem; }
.proof-item { display: flex; gap: 8px; align-items: center; }
.proof-item::before { content: "✓"; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: var(--success); background: rgba(98,230,166,.09); border: 1px solid rgba(98,230,166,.19); font-size: .72rem; }
.hero-visual { position: relative; min-height: 510px; }
.convergence { position: absolute; inset: 5% 0 0; display: grid; place-items: center; }
.convergence::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(109,160,255,.12); box-shadow: 0 0 0 44px rgba(58,123,255,.025), 0 0 0 88px rgba(58,123,255,.015); }
.d-hub { width: 270px; height: 330px; position: relative; z-index: 3; filter: drop-shadow(0 24px 70px rgba(58,123,255,.22)); }
.d-hub svg { width: 100%; height: 100%; overflow: visible; }
.data-node { position: absolute; padding: 10px 13px; background: rgba(9,19,34,.88); border: 1px solid rgba(255,255,255,.1); border-radius: 13px; color: #ccd7ea; font-size: .78rem; box-shadow: var(--shadow); backdrop-filter: blur(16px); animation: float 5s ease-in-out infinite; z-index: 4; }
.data-node b { color: white; display: block; font-size: .82rem; margin-bottom: 2px; }
.data-node.n1 { left: 0; top: 82px; }
.data-node.n2 { left: 18px; bottom: 88px; animation-delay: -1.4s; }
.data-node.n3 { right: 0; top: 58px; animation-delay: -.8s; }
.data-node.n4 { right: 8px; bottom: 78px; animation-delay: -2.1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.section { padding: 96px 0; }
.section-kicker { color: var(--teal-2); font-weight: 760; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; margin-bottom: 13px; }
.section-title { margin: 0; max-width: 760px; font-size: clamp(2rem, 4.6vw, 3.65rem); line-height: 1.03; letter-spacing: -.05em; }
.section-intro { margin: 20px 0 0; max-width: 710px; color: var(--muted); font-size: 1.05rem; }
.solutions-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.032)); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 16px 50px rgba(0,0,0,.12); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(109,160,255,.28); background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.036)); }
.card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -90px; top: -100px; background: radial-gradient(circle, rgba(58,123,255,.16), transparent 70%); pointer-events: none; }
.icon-box { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(58,123,255,.1); border: 1px solid rgba(109,160,255,.18); color: #9fc0ff; margin-bottom: 34px; }
.card:nth-child(2) .icon-box { background: rgba(37,215,200,.08); border-color: rgba(37,215,200,.17); color: var(--teal-2); }
.card:nth-child(3) .icon-box { background: rgba(255,255,255,.06); color: #d8e0ef; }
.card h3 { margin: 0 0 10px; font-size: 1.28rem; letter-spacing: -.03em; }
.card p { color: var(--muted); margin: 0 0 21px; min-height: 74px; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: #d5deee; font-size: .92rem; }
.card li { display: flex; gap: 9px; }
.card li::before { content: "↗"; color: var(--teal); }

.process-wrap { margin-top: 42px; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: rgba(255,255,255,.035); }
.process-row { display: grid; grid-template-columns: 120px 1fr 1fr; min-height: 150px; border-bottom: 1px solid var(--line); }
.process-row:last-child { border-bottom: 0; }
.step-no { padding: 29px; color: #6681aa; font-weight: 760; font-size: .85rem; }
.step-title { padding: 29px; font-size: 1.45rem; font-weight: 740; letter-spacing: -.03em; }
.step-copy { padding: 29px; color: var(--muted); border-left: 1px solid var(--line); }

.demo-shell { margin-top: 46px; border: 1px solid rgba(109,160,255,.17); border-radius: 28px; background: linear-gradient(180deg, rgba(9,21,39,.95), rgba(5,12,23,.98)); box-shadow: 0 38px 90px rgba(0,0,0,.32); overflow: hidden; }
.demo-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); color: #9aabc4; font-size: .84rem; }
.window-dots { display: flex; gap: 7px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.demo-body { padding: 22px; }
.demo-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.demo-heading h3 { margin: 0; font-size: 1.25rem; }
.demo-heading span { color: #7889a5; font-size: .8rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.kpi { border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); border-radius: 16px; padding: 17px; }
.kpi-label { color: #8594ad; font-size: .76rem; margin-bottom: 8px; }
.kpi-value { font-size: 1.65rem; font-weight: 800; letter-spacing: -.04em; }
.kpi-delta { color: var(--success); font-size: .76rem; margin-top: 4px; }
.charts { display: grid; grid-template-columns: 1.35fr .65fr; gap: 12px; }
.chart-box { min-height: 245px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.028); border-radius: 16px; padding: 18px; overflow: hidden; }
.chart-title { color: #cdd7e8; font-size: .84rem; margin-bottom: 16px; }
.line-chart { width: 100%; height: 180px; }
.bar-chart { height: 180px; display: flex; align-items: flex-end; gap: 10px; padding-top: 16px; }
.bar { flex: 1; background: linear-gradient(180deg, var(--blue-2), rgba(58,123,255,.16)); border-radius: 8px 8px 3px 3px; min-width: 16px; }
.bar:nth-child(2n) { background: linear-gradient(180deg, var(--teal-2), rgba(37,215,200,.12)); }

.why-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: start; margin-top: 38px; }
.manifesto { border-left: 1px solid rgba(109,160,255,.2); padding-left: 25px; color: #d7dfec; font-size: 1.12rem; }
.manifesto strong { color: white; }
.principles { display: grid; gap: 12px; }
.principle { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.principle:last-child { border-bottom: 0; }
.principle-num { color: var(--teal); font-weight: 800; }
.principle h4 { margin: 0 0 5px; font-size: 1.05rem; }
.principle p { margin: 0; color: var(--muted); }

.cta-panel { position: relative; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid rgba(109,160,255,.22); background: radial-gradient(circle at 84% 18%, rgba(37,215,200,.15), transparent 25%), linear-gradient(135deg, rgba(58,123,255,.14), rgba(255,255,255,.045)); padding: 48px; }
.cta-panel::after { content: "D"; position: absolute; right: -10px; bottom: -125px; font-size: 330px; line-height: 1; font-weight: 900; color: rgba(109,160,255,.055); pointer-events: none; }
.cta-panel h2 { margin: 0 0 14px; max-width: 760px; font-size: clamp(2.1rem, 4.5vw, 4rem); letter-spacing: -.055em; line-height: 1; }
.cta-panel p { max-width: 660px; color: var(--muted); margin: 0 0 28px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 2; }

footer { padding: 34px 0 48px; color: #7f8da5; font-size: .84rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-top: 25px; }
.footer-row a:hover { color: white; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 78px; }
  .hero-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; margin-top: 6px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .card p { min-height: unset; }
  .process-row { grid-template-columns: 75px 1fr; }
  .step-copy { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding-left: 29px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .charts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  nav { height: 66px; }
  .nav-cta { display: none; }
  .hero { padding: 64px 0 52px; }
  h1 { font-size: clamp(3rem, 17vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-visual { min-height: 360px; }
  .d-hub { width: 205px; height: 258px; }
  .convergence::before { width: 270px; height: 270px; }
  .data-node { font-size: .7rem; padding: 8px 10px; }
  .data-node.n1 { left: 2px; top: 50px; }
  .data-node.n2 { left: 0; bottom: 58px; }
  .data-node.n3 { right: 0; top: 42px; }
  .data-node.n4 { right: 0; bottom: 54px; }
  .section { padding: 70px 0; }
  .card { padding: 22px; }
  .process-row { grid-template-columns: 54px 1fr; }
  .step-no, .step-title, .step-copy { padding: 20px; }
  .step-title { font-size: 1.18rem; }
  .demo-body { padding: 14px; }
  .demo-heading { align-items: start; flex-direction: column; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 1.28rem; }
  .cta-panel { padding: 30px 22px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
