:root {
  --bg: #0a0e1a;
  --bg-alt: #0d1220;
  --surface: #121829;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f1f4f9;
  --muted: #8a93a6;
  --accent: #2dd4d4;
  --accent-soft: rgba(45, 212, 212, 0.12);
  --maxw: 1240px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.05;
}
h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p { color: var(--muted); margin: 0 0 14px; }

em {
  font-style: italic;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
}

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

/* EYEBROW */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 212, 212, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.eyebrow-line::before {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
  margin-right: 4px;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(45, 212, 212, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(45, 212, 212, 0.04); }
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(10, 14, 26, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), transparent 70%, var(--accent));
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--bg);
}
.brand-name {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: #fff; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--accent);
  color: #0a0e1a;
}
.btn-primary:hover { transform: translateY(-2px); background: #4ee8e8; }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(45, 212, 212, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(3rem, 11vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
}
.word {
  display: flex;
  flex-wrap: wrap;
}
.word-alt {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  font-style: italic;
  font-weight: 300;
  margin-left: clamp(0.5rem, 4vw, 4rem);
}
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: charIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.word .char:nth-child(1)  { animation-delay: 0.05s; }
.word .char:nth-child(2)  { animation-delay: 0.10s; }
.word .char:nth-child(3)  { animation-delay: 0.15s; }
.word .char:nth-child(4)  { animation-delay: 0.20s; }
.word .char:nth-child(5)  { animation-delay: 0.25s; }
.word .char:nth-child(6)  { animation-delay: 0.30s; }
.word .char:nth-child(7)  { animation-delay: 0.35s; }
.word .char:nth-child(8)  { animation-delay: 0.40s; }
.word .char:nth-child(9)  { animation-delay: 0.45s; }
.word .char:nth-child(10) { animation-delay: 0.50s; }
.word .char:nth-child(11) { animation-delay: 0.55s; }
.word-alt .char:nth-child(1)  { animation-delay: 0.55s; }
.word-alt .char:nth-child(2)  { animation-delay: 0.60s; }
.word-alt .char:nth-child(3)  { animation-delay: 0.65s; }
.word-alt .char:nth-child(4)  { animation-delay: 0.70s; }
.word-alt .char:nth-child(5)  { animation-delay: 0.75s; }
.word-alt .char:nth-child(6)  { animation-delay: 0.80s; }
.word-alt .char:nth-child(7)  { animation-delay: 0.85s; }
.word-alt .char:nth-child(8)  { animation-delay: 0.90s; }
.word-alt .char:nth-child(9)  { animation-delay: 0.95s; }
.word-alt .char:nth-child(10) { animation-delay: 1.00s; }
.word-alt .char:nth-child(11) { animation-delay: 1.05s; }
@keyframes charIn {
  to { opacity: 1; transform: translateY(0); }
}

.lede {
  max-width: 60ch;
  font-size: 1.15rem;
  color: rgba(241, 244, 249, 0.72);
  margin: 0 0 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.1s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 1.3s forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.scroll-hint span {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  display: inline-block;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.4); }
}

/* MARQUEE */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 28px 0;
  overflow: hidden;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  flex-shrink: 0;
  padding-right: 36px;
}
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
.section { padding: 140px 0; position: relative; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 820px;
  margin-bottom: 80px;
}
.section-lede {
  font-size: 1.1rem;
  color: rgba(241, 244, 249, 0.65);
  max-width: 60ch;
  margin-top: 16px;
}

/* PILLARS */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pillar:hover {
  border-color: rgba(45, 212, 212, 0.35);
  transform: translateY(-3px);
}
.pillar-head h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.pillar-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.pillar-sub {
  font-size: 1rem;
  color: rgba(241, 244, 249, 0.7);
}
.pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pillar-list li {
  display: grid;
  grid-template-columns: minmax(180px, 200px) 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pillar-list li:last-child { padding-bottom: 0; }
.pillar-list strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 0.98rem;
}
.pillar-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* PROCESS / HOW */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.how-item {
  padding: 40px 32px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
}
.how-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.how-item h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}
.how-item p { font-size: 0.95rem; }

/* WHY */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item {
  padding: 40px;
  background: var(--bg);
}
.why-item h3 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.why-item p { font-size: 0.98rem; }

/* CTA */
.section-cta {
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(45, 212, 212, 0.1), transparent 60%),
    var(--bg);
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-inner .eyebrow-line { display: inline-flex; }
.cta-lede {
  font-size: 1.15rem;
  color: rgba(241, 244, 249, 0.72);
  margin-bottom: 40px;
}
.cta-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer p { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .pillars { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 16px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .section { padding: 100px 0; }
  .section-head { margin-bottom: 60px; }
  .word-alt { margin-left: 0; }
}
@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .scroll-hint { display: none; }
  .pillar { padding: 36px 28px; }
  .pillar-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .how-grid { grid-template-columns: 1fr; }
  .how-item { padding: 32px 28px; }
  .why-item { padding: 28px; }
  .brand-sub { display: none; }
  .hero { padding: 100px 0 60px; min-height: 90vh; }
}
