/* ── TOKENS ─────────────────────────────────────── */
:root {
  --bg: #080b14;
  --bg2: #0d1220;
  --surface: #111827;
  --border: rgba(255, 255, 255, 0.07);
  --blue: #4f6ef7;
  --purple: #9b5de5;
  --grad: linear-gradient(135deg, #4f6ef7, #9b5de5);
  --white: #f0f4ff;
  --muted: #8892a4;
  --font-head: "Space Grotesk", sans-serif;
  --font-mono: "Space Mono", monospace;
}

/* ── RESET ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-head);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5vw;
  background: rgba(8, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}
.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-cta {
  background: var(--grad);
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.4rem;
  color: #fff;
  font-family: var(--font-head);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5vw 6rem;
  position: relative;
  overflow: hidden;
}
/* ambient glow */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(79, 110, 247, 0.18) 0%,
    rgba(155, 93, 229, 0.1) 40%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: var(--grad);
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.85rem 2rem;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--blue);
  background: rgba(79, 110, 247, 0.08);
}

/* scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}
@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── SECTION SHARED ──────────────────────────────── */
section {
  padding: 6rem 5vw;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 640px;
  margin-bottom: 1.25rem;
}
.section-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ── PAIN SECTION ────────────────────────────────── */
.pain {
  background: var(--bg2);
}
.pain-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s;
}
.pain-card:hover {
  border-color: rgba(79, 110, 247, 0.4);
}
.pain-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s;
}
.pain-card:hover::before {
  opacity: 1;
}
.pain-icon {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
}
.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pain-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── HOW WE WORK ─────────────────────────────────── */
.how {
  max-width: 1100px;
  margin: 0 auto;
}
.how-steps {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  padding-top: 0.25rem;
}
.step-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-body p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* ── SERVICES ────────────────────────────────────── */
.services {
  background: var(--bg2);
}
.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.service-card:hover {
  border-color: rgba(155, 93, 229, 0.5);
  transform: translateY(-4px);
}
.service-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(79, 110, 247, 0.15);
  color: var(--blue);
  margin-bottom: 1.2rem;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── TECH STACK ──────────────────────────────────── */
.tech {
  max-width: 1100px;
  margin: 0 auto;
}
.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}
.tech-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.tech-pill:hover {
  color: var(--white);
  border-color: var(--blue);
}
.tech-pill span {
  color: var(--blue);
  margin-right: 0.4rem;
}

/* ── FOUNDERS ────────────────────────────────────── */
.founders {
  background: var(--bg2);
}
.founders-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.founders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.founder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.25s;
}
.founder-card:hover {
  border-color: rgba(155, 93, 229, 0.4);
}

.founder-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid #fff;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.founder-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.founder-role {
  color: var(--muted);
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

/* ── CTA BANNER ──────────────────────────────────── */
.cta-band {
  text-align: center;
  padding: 6rem 5vw;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(79, 110, 247, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}
.cta-band h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-band p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.footer-brand img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.footer-sub {
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-end;
}
.footer-contacts a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contacts a:hover {
  color: var(--white);
}
.footer-line {
  width: 60px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .founders-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .founders-grid {
    grid-template-columns: 1fr 1fr;
  }
  .step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }
}
