:root {
  --bg: #08090e;
  --surface: #10121a;
  --surface-border: rgba(255, 255, 255, .07);
  --ink: #f0f0f5;
  --muted: #8a8a9a;
  --dim: #555566;
  --accent: #7b61ff;
  --accent-glow: rgba(123, 97, 255, .15);
  --accent2: #3ecfb4;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.serif-i {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

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

/* NAV */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 18, 26, .7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--surface-border);
  border-radius: 99px;
  padding: 8px 8px 8px 24px;
  max-width: 700px;
  width: calc(100% - 40px);
}

.nav-brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -.02em;
  margin-right: auto;
  white-space: nowrap;
}

.nav-brand em {
  color: var(--accent);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 99px;
  transition: all .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, .05);
}

.nav-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .25s;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 28px 80px;
  position: relative;
}

.hero.subpage {
  min-height: 60vh;
  padding: 180px 28px 80px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--surface-border);
  border-radius: 99px;
  padding: 6px 16px 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent2);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .3;
  }
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero.subpage h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.hero h1 .serif-i {
  font-size: 1.05em;
  letter-spacing: -.02em;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  transition: all .25s cubic-bezier(.25, .46, .45, .94);
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: scale(1.03);
}

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

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--surface-border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: #6a4fe6;
}

/* SECTIONS */
section {
  padding: 100px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-title .serif-i {
  letter-spacing: -.01em;
}

.section-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 56px;
}

.centered {
  text-align: center;
}

.centered .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s cubic-bezier(.25, .46, .45, .94);
  height: 100%;
}

.card:hover {
  border-color: rgba(123, 97, 255, .25);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(123, 97, 255, .08);
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(123, 97, 255, .2);
}

.card ul {
  list-style: none;
  margin-top: 14px;
}

.card ul li {
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0 5px 18px;
  position: relative;
}

.card ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--dim);
  font-size: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* PROCESS STEPS */
.step-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: .05em;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all .3s;
}

.pricing-card:hover {
  border-color: rgba(123, 97, 255, .25);
}

.pricing-card.featured {
  border: 1px solid var(--accent);
  position: relative;
  background: linear-gradient(180deg, rgba(123, 97, 255, .06) 0%, var(--surface) 100%);
}

.pricing-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.p-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.p-desc {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 16px;
  line-height: 1.5;
}

.p-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.p-term {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 20px;
}

.p-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.p-list li {
  padding: 7px 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--surface-border);
}

.p-list li::before {
  content: "✓";
  color: var(--accent2);
  font-weight: 700;
  font-size: 13px;
}

.p-list li:last-child {
  border-bottom: none;
}

.p-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--surface-border);
  color: var(--ink);
  transition: all .2s;
}

.p-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.p-btn.solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.p-btn.solid:hover {
  background: #6a4fe6;
}

/* CASE STUDIES */
.case-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}

.case-tag {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(123, 97, 255, .15);
}

.case-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.case-card>p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.case-metrics {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
}

.case-metrics div {
  text-align: center;
  flex: 1;
}

.case-metrics .val {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent2);
}

.case-metrics .lbl {
  font-size: 10px;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}

/* FOUNDER */
.founder {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.founder::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.founder .section-label {
  color: var(--accent2);
}

.founder p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
}

.founder-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.founder-links a {
  border: 1px solid var(--surface-border);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all .2s;
}

.founder-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 80px 0 120px;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  pointer-events: none;
  filter: blur(100px);
}

.cta-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 15px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* STATUS */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .04em;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

.status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: blink 2s ease-in-out infinite;
}

footer {
  border-top: 1px solid var(--surface-border);
  padding: 32px 0;
  text-align: center;
  font-size: 12px;
  color: var(--dim);
}

@media(max-width:900px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  nav {
    padding: 8px 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  section {
    padding: 60px 0;
  }

  .founder {
    padding: 28px 24px;
  }
}
