/* ============================================================
   NORTHWIND — fintech analytics SaaS
   ============================================================ */
:root {
  --bg:     #070a14;
  --bg-2:   #0c1020;
  --panel:  #11162a;
  --ink:    #eef1fb;
  --muted:  #8b93b0;
  --teal:   #2dd4bf;
  --violet: #8b7cf6;
  --line:   rgba(238, 241, 251, 0.10);
  --line-2: rgba(238, 241, 251, 0.06);
  --disp: "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grad: linear-gradient(100deg, #2dd4bf, #8b7cf6);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body { background: transparent; color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* ambient animated aurora background (matches portfolio) */
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.site-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; will-change: transform; }
.blob--1 { width: 46vw; height: 46vw; max-width: 600px; max-height: 600px; left: 2%; top: 6%; background: radial-gradient(circle at 35% 35%, #6db1ff, #a9d2ff 70%); animation: drift1 22s var(--ease) infinite alternate; }
.blob--2 { width: 42vw; height: 42vw; max-width: 540px; max-height: 540px; right: 2%; top: 2%; background: radial-gradient(circle at 60% 40%, #c39bff, #ddc7ff 72%); animation: drift2 26s var(--ease) infinite alternate; }
.blob--3 { width: 38vw; height: 38vw; max-width: 500px; max-height: 500px; left: 16%; bottom: 4%; background: radial-gradient(circle at 50% 50%, #ffb38a, #ffd2b8 72%); animation: drift3 24s var(--ease) infinite alternate; }
.blob--4 { width: 36vw; height: 36vw; max-width: 460px; max-height: 460px; right: 14%; bottom: 6%; background: radial-gradient(circle at 50% 50%, #79e6b3, #b6f2d6 74%); animation: drift4 28s var(--ease) infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(22%, 28%) scale(1.18); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(-20%, 24%) scale(0.9); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(24%, -22%) scale(1.15); } }
@keyframes drift4 { from { transform: translate(0,0) scale(0.95); } to { transform: translate(-22%, -26%) scale(1.12); } }
.site-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 78%); }
.site-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 48%, rgba(7,10,20,0.6), transparent 72%); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, h3 { font-family: var(--disp); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
a { color: inherit; }
::selection { background: var(--violet); color: #fff; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-family: var(--disp); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.2rem; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }

.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.95rem 1.7rem; font-family: var(--sans); font-weight: 500; font-size: 0.94rem; text-decoration: none; border-radius: 11px; cursor: pointer; border: 1px solid transparent; transition: all 0.35s var(--ease); }
.btn--grad { background: var(--grad); color: #04121a; font-weight: 600; }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -12px rgba(45,212,191,0.5); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(238,241,251,0.02); }
.btn--ghost:hover { border-color: var(--teal); color: #fff; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn--block { width: 100%; justify-content: center; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.d1{transition-delay:.1s}.d2{transition-delay:.22s}.d3{transition-delay:.34s}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: 0.4s var(--ease); }
.nav__inner { max-width: 1200px; margin: 0 auto; padding: 1.2rem clamp(1.2rem, 4vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.is-stuck { background: rgba(7,10,20,0.8); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
.nav__brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--disp); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.nav__logo { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 0.94rem; transition: color 0.3s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 1.2rem; }
.nav__signin { text-decoration: none; color: var(--ink); font-size: 0.94rem; }
.nav__signin:hover { color: var(--teal); }
.nav__toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: 0.4s var(--ease); }
.nav__toggle.is-open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav__toggle.is-open span:nth-child(2){transform:rotate(-45deg)}

/* hero */
.hero { position: relative; padding: 9rem clamp(1.2rem, 4vw, 2rem) 4rem; max-width: 1200px; margin: 0 auto; text-align: center; overflow: hidden; }
.hero__glow { position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 900px; height: 600px; max-width: 120vw; background: radial-gradient(ellipse, rgba(139,124,246,0.22), transparent 62%); filter: blur(20px); z-index: -1; }
.hero__inner { max-width: 820px; margin: 0 auto; }
.badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 100px; font-size: 0.84rem; color: var(--muted); text-decoration: none; background: rgba(238,241,251,0.03); transition: border-color 0.3s; margin-bottom: 2rem; }
.badge:hover { border-color: var(--teal); }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.badge__arrow { color: var(--teal); }
.hero__title { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 700; }
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; margin: 1.6rem auto 2.4rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__micro { color: var(--muted); font-size: 0.84rem; margin-top: 1.2rem; }

.window { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: 0 50px 120px -40px rgba(0,0,0,0.8); }
.window__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line-2); background: rgba(238,241,251,0.02); }
.window__bar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3150; }
.window__bar span:nth-child(1){ background:#ff5f57 } .window__bar span:nth-child(2){ background:#febc2e } .window__bar span:nth-child(3){ background:#28c840 }
.window__bar em { margin-left: auto; font-style: normal; font-size: 0.78rem; color: var(--muted); }
.window img { display: block; }

.hero__shot { max-width: 1060px; margin: 3.5rem auto 0; }
.hero__shot .window img { aspect-ratio: 16/9; }

.logos { margin-top: 4rem; }
.logos p { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.4rem; }
.logos__row { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 3.5rem); justify-content: center; align-items: center; }
.logos__row span { font-family: var(--disp); font-weight: 600; font-size: 1.3rem; color: var(--muted); opacity: 0.65; transition: opacity 0.3s; }
.logos__row span:hover { opacity: 1; }

/* stats */
.stats { max-width: 1100px; margin: 2rem auto; padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 4vw, 2rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--disp); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* features */
.features { max-width: 1200px; margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 2rem); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feat { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 2rem; transition: 0.45s var(--ease); }
.feat:hover { border-color: var(--line); transform: translateY(-4px); background: var(--panel); }
.feat__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(45,212,191,0.1); color: var(--teal); margin-bottom: 1.3rem; }
.feat__icon svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.feat p { color: var(--muted); font-size: 0.96rem; }

/* split */
.split { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 4vw, 2rem); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__text { order: 2; }
.split__text h2 { margin-bottom: 1.4rem; }
.split__text > p { color: var(--muted); margin-bottom: 1.6rem; max-width: 44ch; }
.ticks { list-style: none; margin-bottom: 2rem; }
.ticks li { padding: 0.7rem 0 0.7rem 2rem; position: relative; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0.7rem; width: 22px; height: 22px; border-radius: 50%; background: rgba(45,212,191,0.14); color: var(--teal); display: grid; place-items: center; font-size: 0.78rem; }
.split__shot .window img { aspect-ratio: 16/10; }
.split__shot--phone { display: flex; justify-content: center; }
.split__shot--phone img { width: auto; max-width: 360px; border-radius: 20px; }

/* integrations */
.integrations { max-width: 1100px; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) clamp(1.2rem, 4vw, 2rem); }
.integrations__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.integrations__grid span { display: grid; place-items: center; padding: 1.4rem 0.5rem; border: 1px solid var(--line-2); border-radius: 12px; font-family: var(--disp); font-weight: 500; color: var(--muted); font-size: 0.96rem; transition: 0.4s var(--ease); }
.integrations__grid span:hover { color: var(--ink); border-color: var(--teal); background: var(--bg-2); }

/* pricing */
.pricing { max-width: 1100px; margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) clamp(1.2rem, 4vw, 2rem); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.plan { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 2.2rem; }
.plan--feature { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; position: relative; box-shadow: 0 30px 70px -30px rgba(139,124,246,0.4); }
.plan__tag { position: absolute; top: -0.8rem; left: 2.2rem; background: var(--grad); color: #04121a; font-weight: 600; font-size: 0.74rem; padding: 0.3rem 0.8rem; border-radius: 100px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.plan__desc { color: var(--muted); font-size: 0.92rem; min-height: 2.8em; }
.plan__price { margin: 1.2rem 0 1.4rem; }
.plan__price strong { font-family: var(--disp); font-weight: 700; font-size: 2.6rem; }
.plan__price span { color: var(--muted); }
.plan ul { list-style: none; margin-bottom: 1.8rem; }
.plan ul li { padding: 0.55rem 0 0.55rem 1.7rem; position: relative; color: var(--ink); font-size: 0.95rem; border-top: 1px solid var(--line-2); }
.plan ul li:first-child { border-top: none; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); }

/* cta */
.cta { padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 4vw, 2rem); max-width: 1100px; margin: 0 auto; }
.cta__inner { position: relative; text-align: center; border: 1px solid var(--line); border-radius: 24px; padding: clamp(3rem, 7vw, 5.5rem) 1.5rem; background: var(--bg-2); overflow: hidden; }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(45,212,191,0.2), transparent 60%); }
.cta__inner h2 { position: relative; font-size: clamp(2rem, 5vw, 3.4rem); }
.cta__inner p { position: relative; color: var(--muted); margin: 1.2rem 0 2.2rem; }
.cta__actions { position: relative; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* footer */
.footer { border-top: 1px solid var(--line-2); padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 2rem) 2rem; }
.footer__top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.footer__brand .nav__brand { margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; }
.footer__col h4 { font-family: var(--disp); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 0.6rem; font-size: 0.92rem; transition: color 0.3s; }
.footer__col a:hover { color: var(--teal); }
.footer__base { max-width: 1200px; margin: 3rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; color: var(--muted); font-size: 0.86rem; }

/* responsive */
@media (max-width: 920px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.is-open { display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: rgba(7,10,20,0.98); backdrop-filter: blur(16px); padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav__links.is-open a { padding: 1rem 2rem; font-size: 1.05rem; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .split, .split--reverse .split__text { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .split__shot--phone { order: -1; }
  .integrations__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .integrations__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__top { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__base { flex-direction: column; gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
