:root {
  --bg: #07070b;
  --bg-2: #0c0c14;
  --panel: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e9e9f2;
  --muted: #9a9ab0;
  --cyan: #67e8f9;
  --violet: #a78bfa;
  --grad: linear-gradient(100deg, #67e8f9, #a78bfa 60%, #f0abfc);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

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

#wind {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 75% -5%, rgba(167, 139, 250, 0.18), transparent 70%),
    radial-gradient(55% 45% at 10% 5%, rgba(103, 232, 249, 0.14), transparent 70%);
  pointer-events: none;
}

main, .nav, .foot { position: relative; z-index: 1; }

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

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark { filter: drop-shadow(0 0 10px rgba(103,232,249,0.35)); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  color: var(--text) !important;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--panel);
  transition: border-color .2s, background .2s;
}
.nav-cta:hover { border-color: rgba(167,139,250,0.6); background: rgba(167,139,250,0.08); }

/* hero */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 24px 70px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(44px, 7.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lede {
  max-width: 660px;
  margin: 28px auto 0;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
}
.lede strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: 12px;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--grad);
  color: #07070b;
  box-shadow: 0 10px 40px -12px rgba(167,139,250,0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -12px rgba(167,139,250,0.9); }
.btn-ghost { color: var(--text); border-color: var(--border); background: var(--panel); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }
.hero-foot { margin-top: 26px; font-size: 14px; color: #6f6f86; }

/* logos */
.logos {
  max-width: var(--maxw);
  margin: 30px auto 0;
  padding: 0 24px;
  text-align: center;
}
.logos > span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #5d5d74; }
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px;
}
.logo-chip {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 15px;
  background: var(--panel);
}

/* sections */
section { scroll-margin-top: 80px; }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 4.5vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 700;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

.features { max-width: var(--maxw); margin: 0 auto; padding: 110px 24px 40px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  border-radius: 18px;
  padding: 30px 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,0.4);
  box-shadow: 0 20px 50px -24px rgba(167,139,250,0.5);
}
.card-ico {
  font-size: 26px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(103,232,249,0.08);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.card h3 { font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }

/* humans */
.humans {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.kicker, .cta p .kicker { display: inline-block; }
.kicker {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin-bottom: 14px;
}
.humans-copy h2 { text-align: left; }
.humans-copy p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.humans-copy em { color: var(--text); font-style: normal; font-weight: 600; }
.check { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 30px; color: var(--text); font-size: 16px; }
.check li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px;
  background: var(--grad);
  border-radius: 5px;
  box-shadow: 0 0 14px -2px var(--violet);
}

.window {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,20,30,0.9), rgba(12,12,20,0.9));
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.win-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.win-bar span { width: 11px; height: 11px; border-radius: 50%; background: #2b2b3a; }
.win-bar span:nth-child(1){ background:#ff5f57; } .win-bar span:nth-child(2){ background:#febc2e; } .win-bar span:nth-child(3){ background:#28c840; }
.win-body { padding: 10px; }
.feed-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; border-radius: 12px;
  transition: background .2s;
}
.feed-item:hover { background: rgba(255,255,255,0.03); }
.fi-ico {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: rgba(103,232,249,0.08);
  border: 1px solid var(--border);
  border-radius: 10px; font-size: 17px;
}
.feed-item b { font-weight: 600; }
.link { color: var(--cyan); }
.meta { color: #6f6f86; font-size: 13px; margin-top: 2px; }

/* how / code */
.how { max-width: 920px; margin: 0 auto; padding: 110px 24px 40px; }
.code-wrap {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a12;
  box-shadow: 0 30px 80px -34px rgba(0,0,0,0.9);
}
.code-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.cb-dot { width: 11px; height: 11px; border-radius: 50%; background: #2b2b3a; }
.cb-dot:nth-child(1){ background:#ff5f57; } .cb-dot:nth-child(2){ background:#febc2e; } .cb-dot:nth-child(3){ background:#28c840; }
.cb-title { margin-left: 8px; color: #6f6f86; font-size: 13px; font-family: "Space Grotesk", sans-serif; }
.code {
  margin: 0; padding: 24px 26px; overflow-x: auto;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 14.5px; line-height: 1.8; color: #d6d6e6;
}
.c-com { color: #5f6a7d; }
.c-kw { color: #a78bfa; }
.c-fn { color: #67e8f9; }
.c-str { color: #7ee787; }

/* cta */
.cta { max-width: var(--maxw); margin: 0 auto; padding: 120px 24px 80px; }
.cta-inner {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(167,139,250,0.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
}
.cta-inner h2 { max-width: 620px; margin: 0 auto; }
.cta-inner > p { margin: 16px auto 0; color: var(--muted); font-size: 18px; max-width: 520px; }
.signup {
  margin: 34px auto 0;
  display: flex; gap: 10px; max-width: 480px;
  flex-wrap: wrap; justify-content: center;
}
.signup input {
  flex: 1 1 240px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color .2s;
}
.signup input:focus { border-color: rgba(167,139,250,0.7); }
.signup input::placeholder { color: #6f6f86; }
.signup-note { margin-top: 16px; font-size: 14px; color: #6f6f86; }
.signup-note.ok { color: var(--cyan); }

/* footer */
.foot {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 30px 24px 50px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.foot-brand { display: flex; align-items: center; gap: 9px; font-family: "Space Grotesk", sans-serif; font-weight: 600; }
.foot-meta { color: #6f6f86; font-size: 14px; }

/* responsive */
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .humans { grid-template-columns: 1fr; gap: 40px; }
  .humans-copy h2 { text-align: left; }
}
