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

:root {
  --mint: #00d4aa;
  --mint-dim: rgba(0, 212, 170, 0.12);
  --mint-glow: rgba(0, 212, 170, 0.25);
  --blue: #4d8eff;
  --blue-dim: rgba(77, 142, 255, 0.1);
  --taupe: #7a7060;
  --bg: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(0, 212, 170, 0.2);
  --text: #f0f0f0;
  --text-muted: #aaa;
  --text-dim: #555;
  --font-display: "Outfit", sans-serif;
  --font-body: "Figtree", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint-glow);
  z-index: 101;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.75);
  border-bottom: 1px solid var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mint);
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 99px;
  background: var(--mint-dim);
  letter-spacing: 0.04em;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}

.nav-pill:hover {
  background: rgba(0, 212, 170, 0.18);
  box-shadow: 0 0 20px var(--mint-glow);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  top: -140px;
  right: -100px;
  animation-duration: 22s;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
  animation-duration: 16s;
  animation-delay: -7s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%);
  top: 45%;
  left: 45%;
  opacity: 0.07;
  animation-duration: 28s;
  animation-delay: -12s;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(28px, -18px) scale(1.04);
  }
  66% {
    transform: translate(-18px, 28px) scale(0.97);
  }
  100% {
    transform: translate(12px, -12px) scale(1.02);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-orbs {
  will-change: transform;
}

.hero-content {
  will-change: transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 0.8;
  pointer-events: none;
}

.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.75;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  background: var(--mint);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 36px var(--mint-glow),
    0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary:active {
  transform: scale(0.99);
}

/* ── Shared section styles ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 18px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.72;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border),
    transparent
  );
}

/* ── What We Do — Sticky walkthrough ── */
.what {
  padding: 0;
}

.what-sticky-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.what-sticky-left {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 72px;
  padding-top: 80px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
  padding-left: 18px;
}

.step-indicator-track {
  position: absolute;
  left: 3px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: var(--border);
}

.step-indicator-fill {
  position: absolute;
  left: 3px;
  top: 20px;
  width: 1px;
  height: 0%;
  max-height: calc(100% - 40px);
  background: linear-gradient(
    to bottom,
    var(--mint),
    rgba(0, 212, 170, 0.4)
  );
  transition: height 0.35s ease;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  cursor: default;
  position: relative;
}

.step-dot {
  position: absolute;
  top: 50%;
  left: -18px;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  border: 1px solid var(--border);
  transition:
    background 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
  flex-shrink: 0;
}

.step-dot.active {
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint-glow);
  transform: translateY(-50%) scale(1.4);
}

.step-label-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  transition: color 0.3s;
  padding-left: 4px;
}

.step-label.active .step-label-text {
  color: var(--text-muted);
}

.what-scroll-right {
  position: relative;
}

.service-step {
  height: 100vh;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.service-step.active {
  opacity: 1;
  transform: translateY(0);
}

/* Card styles (shared) */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
  width: 100%;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--mint-glow),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.service-step.active .card {
  border-color: var(--border-accent);
}

.service-step.active .card::before {
  opacity: 1;
}

.card:hover {
  background: rgba(0, 212, 170, 0.04);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--mint-dim);
  border: 1px solid var(--border-accent);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--mint);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 12px;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card p strong {
  color: var(--text);
  font-weight: 600;
}

.hero-sub strong,
.section-sub strong {
  color: var(--text);
  font-weight: 500;
}

.card-step-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0.6;
  margin-bottom: 20px;
}

/* ── Waitlist ── */
.waitlist {
  padding: 100px 0;
}

.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.waitlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 28px;
}

.waitlist-badge::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

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

.waitlist-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.form-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  justify-content: center;
}

/* ── Footer ── */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

footer img {
  height: 20px;
  width: auto;
  opacity: 0.45;
}

footer .footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

footer span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

footer a {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--mint);
}

/* ── Fade-in on scroll ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  /* Collapse sticky layout to simple stacked cards */
  .what {
    padding: 72px 0;
  }
  .what-sticky-wrap {
    display: block;
    padding: 0 24px;
  }
  .what-sticky-left {
    position: static;
    height: auto;
    padding-right: 0;
    padding-top: 0;
    margin-bottom: 48px;
  }
  .step-indicator {
    display: none;
  }
  .what-scroll-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .service-step {
    height: auto;
    opacity: 1;
    transform: none;
  }
  .service-step.active .card {
    border-color: var(--border);
  }
  .service-step.active .card::before {
    opacity: 0;
  }
  .waitlist-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 14px 0;
  }
  nav img {
    height: 24px;
  }
  .nav-link {
    display: none;
  }
  .hero {
    height: 100dvh;
    padding: 80px 0;
    align-items: stretch;
  }
  .hero .container {
    display: flex;
    flex-direction: column;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .hero-label {
    display: block;
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }
  .hero .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: auto;
  }
  .waitlist {
    padding: 72px 0;
  }
  .waitlist-form-wrap {
    padding: 28px 22px;
  }
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
