:root {
  color-scheme: dark;
  --bg: #0f1020;
  --panel: #181827;
  --panel-2: #23233a;
  --text: #f7f7fb;
  --muted: #a7a7bd;
  --line: #373750;
  --accent: #7c3aed;
  --accent-2: #38bdf8;
  --green: #86efac;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 58, 237, 0.38), transparent 34rem),
    radial-gradient(circle at 92% 78%, rgba(56, 189, 248, 0.22), transparent 30rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(165, 180, 252, 0.55);
  border-radius: 12px;
  background: #1e1e2e;
  color: #ffffff;
}

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

.nav-links a,
.link {
  color: #a5b4fc;
  text-decoration: none;
}

.nav-links a:hover,
.link:hover {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(165, 180, 252, 0.35);
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(35, 35, 58, 0.72);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: 20px;
  color: #d8d8e8;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  text-decoration: none;
  font-weight: 800;
}

.btn.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(24, 24, 39, 0.76);
}

.card,
.popup {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(24, 24, 39, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.popup {
  padding: 22px;
}

.popup-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.popup-subtitle {
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.pro-box {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-2);
}

.pro-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.badge {
  padding: 3px 8px;
  border-radius: 7px;
  color: #312e81;
  background: #a5b4fc;
  font-size: 11px;
  font-weight: 900;
}

.state {
  color: var(--green);
  font-weight: 800;
}

.input-like {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #4b4b64;
  border-radius: 12px;
  color: #77778d;
  background: #1a1a24;
  font-size: 13px;
}

.capture {
  display: grid;
  width: 100%;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  font-weight: 900;
}

.status {
  margin-top: 12px;
  color: var(--green);
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 72px;
}

.card {
  padding: 24px;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.2);
  color: #ddd6fe;
  font-weight: 900;
}

.section {
  margin-top: 72px;
  padding: 34px;
}

.section ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.section li {
  margin: 8px 0;
}

.kv {
  display: grid;
  gap: 14px;
}

.kv div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.kv strong {
  display: block;
  color: var(--text);
}

.footer {
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  main {
    width: min(100% - 28px, 1040px);
    padding-top: 32px;
  }

  .hero,
  .grid {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 44px;
  }
}
