:root {
  --bg: #05080f;
  --bg-2: #081422;
  --ink: #eef6ff;
  --ink-2: #b8cce0;
  --ink-3: #7892ac;
  --line: rgba(120,180,255,0.08);
  --line-2: rgba(120,180,255,0.16);
  --card: rgba(120,180,255,0.03);
  --card-2: rgba(120,180,255,0.06);
  --acc: #38bdf8;
  --acc-2: #0ea5e9;
  --acc-3: #22d3ee;
  --acc-glow: rgba(56,189,248,0.35);
  --r: 18px;
  --r-lg: 28px;
  --maxw: 1240px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

.mono {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-feature-settings: "zero";
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.aurora,
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}

.aurora::before {
  width: 80vw;
  height: 80vw;
  left: -20vw;
  top: -30vw;
  background: radial-gradient(circle at 30% 30%, var(--acc-2), transparent 60%);
  animation: float1 22s ease-in-out infinite;
}

.aurora::after {
  width: 70vw;
  height: 70vw;
  right: -25vw;
  top: 20vw;
  background: radial-gradient(circle at 60% 40%, var(--acc-3), transparent 60%);
  animation: float2 26s ease-in-out infinite;
}

.aurora .blob3 {
  position: absolute;
  width: 60vw;
  height: 60vw;
  left: 20vw;
  top: 60vw;
  background: radial-gradient(circle, var(--acc), transparent 60%);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float3 30s ease-in-out infinite;
}

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(6vw,4vw)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-5vw,6vw)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(4vw,-6vw)} }

.grid-overlay {
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}

main {
  position: relative;
  z-index: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(5,8,15,0.65);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.logo-img {
  width: 200px;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(56,189,248,0.5));
  transition: transform .4s cubic-bezier(0.2,0.8,0.2,1), filter .4s;
}

.logo:hover .logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 30px rgba(56,189,248,0.7));
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--ink-2);
  font-size: 14px;
}

.nav-links a {
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
}

.hero {
  padding: 88px 0 72px;
}

.hero-grid,
.landing-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  color: var(--ink-2);
  margin-bottom: 28px;
}

.hero-badge .dot,
.foot-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e, 0 0 0 3px rgba(34,197,94,0.15);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.55} }

.hero h1 {
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  font-weight: 500;
}

.grad {
  background: linear-gradient(100deg, var(--acc) 10%, var(--acc-3) 50%, var(--acc) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead,
.hero p {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-2);
  max-width: 640px;
  margin: 0 0 34px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease, background .2s, border-color .2s;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255,255,255,0.22);
}

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--card);
  border-color: rgba(255,255,255,0.24);
}

.graph-card,
.landing-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(14,165,233,0.25), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(34,211,238,0.18), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(14,165,233,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

.landing-card {
  padding: 28px;
  min-height: 430px;
}

.landing-card::before,
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 35%, transparent 90%);
}

.landing-card > * {
  position: relative;
  z-index: 1;
}

.landing-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  margin-bottom: 20px;
}

.landing-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.landing-card p,
.landing-card li {
  color: var(--ink-2);
}

.landing-card ul,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.landing-card li,
.feature-list li {
  position: relative;
  padding-left: 22px;
}

.landing-card li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 10px var(--acc-glow);
}

section {
  padding: 110px 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--acc);
}

.section-title {
  font-size: clamp(34px, 4.5vw, 62px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
  font-weight: 500;
  max-width: 900px;
}

.section-lead {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 700px;
  margin: 0;
}

.services-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.svc {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--card);
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .35s ease, border-color .3s ease, background .3s ease;
}

.svc:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--card-2);
}

.svc.big {
  grid-column: span 7;
  min-height: 360px;
}

.svc.med {
  grid-column: span 5;
}

.svc.sm {
  grid-column: span 4;
}

.svc-num,
.svc-tag {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.svc-num {
  margin-bottom: 16px;
}

.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--acc-2), var(--acc-3));
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -10px var(--acc-glow);
}

.svc-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.svc h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
  margin: 0 0 10px;
}

.svc.big h3 {
  font-size: 38px;
  max-width: 560px;
}

.svc p {
  color: var(--ink-2);
  margin: 0 0 20px;
  font-size: 15px;
  max-width: 48ch;
}

.process-steps {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}

.step {
  padding: 32px 28px 40px;
  border-right: 1px solid var(--line);
}

.step .n {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--acc);
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
}

.step h4 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-weight: 500;
}

.step p {
  color: var(--ink-2);
  font-size: 14.5px;
  margin: 0;
}

.cta-block {
  border-radius: var(--r-lg);
  padding: 72px 48px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(14,165,233,0.35), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(34,211,238,0.25), transparent 60%),
    #061220;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block > * {
  position: relative;
}

.cta-block h2 {
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 16px;
  font-weight: 500;
}

.cta-block p {
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 17px;
}

footer {
  position: relative;
  margin-top: 80px;
  padding: 0 0 40px;
  color: var(--ink-3);
  font-size: 13.5px;
  overflow: hidden;
  isolation: isolate;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(56,189,248,0.15), transparent 70%),
    radial-gradient(ellipse 60% 50% at 15% 100%, rgba(56,189,248,0.1), transparent 60%);
}

.foot-statement {
  padding: 80px 0 60px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.foot-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.25);
  margin-bottom: 28px;
}

.foot-statement h3 {
  font-size: clamp(34px, 5vw, 68px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 34px;
  font-weight: 500;
  color: var(--ink);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0 24px;
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-3);
}

.foot-bottom .legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(0.2,0.8,0.2,1), transform .9s cubic-bezier(0.2,0.8,0.2,1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero-grid,
  .landing-split {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .svc.big,
  .svc.med,
  .svc.sm {
    grid-column: span 12;
  }
}

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

@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }

  .logo-img {
    width: 150px;
    max-height: 56px;
  }

  .nav-inner {
    padding: 10px 20px;
  }

  .hero {
    padding: 64px 0 48px;
  }

  section {
    padding: 76px 0;
  }

  .landing-card,
  .svc,
  .cta-block {
    border-radius: 18px;
    padding: 24px;
  }
}
