:root {
  --muted: #939096;
  --glass-border: rgba(255, 255, 255, 0.16);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: #04010b;
  color: #fff;
  line-height: 1.2;
  overflow-x: hidden;
}

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

.icon {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 14px "Inter", sans-serif;
  color: #fff;
  background: transparent;
  border: 1px solid #2b2b2b;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.btn:hover { background: rgba(255, 255, 255, .08); border-color: #555; }
.btn-white { background: #f3f3f3; color: #111; border-color: #f3f3f3; }
.btn-white:hover { background: #fff; }

:focus-visible { outline: 2px solid #c084fc; outline-offset: 2px; }

/* space background, drawn in js */
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; }

/* nav */
.nav-wrap { position: sticky; top: 0; z-index: 20; padding-top: 14px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 20px 10px 28px;
  border-radius: 18px;
  background: rgba(30, 28, 34, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand strong { display: block; font-size: 18px; font-weight: 600; }
.brand span { font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links { display: flex; gap: 22px; }
.nav-links .btn { background: rgba(255, 255, 255, .04); border-color: #2f2d33; }
.nav-actions { display: flex; gap: 8px; }

/* hero */
.hero { padding: 24px 0 36px 14px; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.hero p { margin-top: 4px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; color: var(--muted); }

.features {
  width: min(100%, 540px);
  padding: 26px 22px 28px 50px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  border-bottom-color: rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.features-head { text-align: right; }
.features-head h2 { font-size: 38px; font-weight: 700; letter-spacing: -.02em; }
.features-head p { font-size: 15px; font-weight: 500; }
.feature { margin-top: 18px; }
.feature h3 { font-size: 52px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.feature p { margin-top: 2px; font-size: 22px; font-weight: 500; color: var(--muted); }
.web-app {
  display: flex; width: fit-content; margin: 26px auto 0;
  padding: 12px 22px; font-size: 16px; border-radius: 14px;
  border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .08);
}
.web-app .icon { width: 19px; height: 19px; }

/* why not */
.why {
  position: relative; overflow: hidden;
  margin-top: 36px; padding: 28px 0 40px;
  background: #070109;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.streak {
  position: absolute; top: -20%; height: 150%; width: 90px;
  background: linear-gradient(90deg, transparent, #d61fe0 45%, #ff4df2 50%, #d61fe0 55%, transparent);
  filter: blur(14px);
  opacity: .85;
}
.s1 { left: 3%; transform: rotate(14deg) scaleX(1.4); }
.s2 { left: 27%; width: 60px; opacity: .55; transform: rotate(-14deg); }
.s3 { left: 62%; width: 60px; opacity: .6; transform: rotate(14deg); }
.s4 { right: 1%; transform: rotate(-14deg) scaleX(1.4); }
.why::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 50%, rgba(0,0,0,.5));
}
.why .container { position: relative; z-index: 1; }
.why h2 { text-align: center; font-size: 40px; font-weight: 700; letter-spacing: -.02em; }
.why .sub { margin-top: 4px; text-align: center; font-size: 16px; color: #a8a5b0; }
.why-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px;
  margin-top: 22px;
  font: 300 22px/1.25 "Roboto", sans-serif;
  color: #c4c1c9;
}
.why-cols strong { display: block; margin-top: 28px; font-weight: 500; color: #fff; }

/* about + contact share the wave background */
.bars-zone {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #0e131c, #0a0e16 45%, #0b121f);
}
#bars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.about { position: relative; z-index: 1; padding: 60px 0 70px; }
.about .container { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 24px; }
.about-text { text-align: center; padding: 20px 0 0 40px; }
.about-text p { max-width: 560px; margin: 0 auto; font-size: 27px; font-weight: 600; line-height: 1.12; color: #9b98b8; }
.about-text .btn { display: flex; width: fit-content; margin: 24px 0 0 auto; padding: 8px 14px; font-size: 12px; }
.about-text .icon { width: 14px; height: 14px; }
.about h2 { max-width: 4.2ch; text-align: right; font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }

.contact { position: relative; z-index: 1; padding: 70px 0 90px; }
.contact h2 { font-size: 46px; font-weight: 700; letter-spacing: -.03em; }
.contact .lead { margin: 4px 0 14px; font-size: 21px; font-weight: 500; color: #a09ea8; }
.contact-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }

form.card {
  width: 250px;
  padding: 16px 12px 14px;
  border: 1px solid #3a3d47;
  border-radius: 6px;
  background: #0a0c12;
}
form label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 500; }
form input, form textarea {
  width: 100%; margin-bottom: 14px; padding: 8px;
  font: 400 11px "Inter", sans-serif; color: #fff;
  background: #1c1c1e; border: 1px solid #2a2a2d; border-radius: 5px;
}
form textarea { height: 56px; resize: vertical; }
form ::placeholder { color: #6b6b70; }
form .btn-white { width: 100%; justify-content: center; margin-top: 2px; padding: 8px; font-size: 11px; border-radius: 5px; }
form .btn:disabled { opacity: .7; cursor: default; }
.hp { position: absolute; left: -9999px; }   /* spam trap, real people never see it */

.links { display: flex; flex-direction: column; gap: 8px; }
.link-card {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 240px; height: 62px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.05));
  color: #fff; font-size: 19px; text-decoration: none;
  transition: background .2s;
}
.link-card:hover { background: rgba(255, 255, 255, .16); }
.link-card .icon { width: 26px; height: 26px; stroke-width: 1.6; }

@media (max-width: 820px) {
  .container { padding: 0 20px; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .why-cols { grid-template-columns: 1fr; font-size: 19px; }
  .about .container { grid-template-columns: 1fr; }
  .about h2 { order: -1; max-width: none; text-align: left; }
  .about-text { padding: 0; }
  .links, .link-card, form.card { width: 100%; }
  .feature h3 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
