:root {
  --bg: #0f1f35;
  --bg-deep: #091425;
  --panel: #132741;
  --panel-soft: #172d4a;
  --red: #a2252d;
  --green: #61922f;
  --cyan: #00aff0;
  --text: #f6fbff;
  --muted: #a9bdd3;
  --line: rgba(0, 175, 240, 0.22);
  --white-line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 175, 240, 0.12), transparent 28rem),
    radial-gradient(circle at 80% 0%, rgba(162, 37, 45, 0.18), transparent 30rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(9, 20, 37, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
}

.brand img {
  width: 74px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.button.secondary {
  background: transparent;
  border-color: var(--cyan);
  color: #d9f5ff;
}

.button.red {
  background: var(--red);
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 20px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: #9ee8ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  font-size: 13px;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
  margin: 0 0 20px;
}

.lead {
  color: #c8d7e7;
  font-size: 18px;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-window {
  border: 1px solid var(--line);
  background: rgba(12, 27, 48, 0.9);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
  border-radius: 18px;
  overflow: hidden;
}

.window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 31, 53, 0.92);
}

.window-top img {
  width: 78px;
  height: 48px;
  object-fit: contain;
}

.pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  border-radius: 8px;
  padding: 6px 9px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.pill.active {
  background: var(--cyan);
}

.window-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.selected-message {
  border: 1px solid rgba(0, 175, 240, 0.24);
  background: #102033;
  border-radius: 12px;
  padding: 12px;
}

.label {
  display: block;
  color: #90a9c3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.reply-option {
  border: 1px solid rgba(0, 175, 240, 0.35);
  background: #fff3a8;
  color: #102033;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.composer {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.composer input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0d1a2d;
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
}

.composer button {
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 20px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.section-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 0 24px;
}

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

.card {
  background: rgba(19, 39, 65, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

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

.card p,
.card li {
  color: #c2d2e3;
  line-height: 1.6;
}

.card p {
  margin: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(19, 39, 65, 0.72);
  padding: 16px;
}

.step::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 900;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.step p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.page h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.doc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 39, 65, 0.72);
  padding: clamp(18px, 4vw, 34px);
}

.doc h2 {
  color: #e8f7ff;
  margin-top: 32px;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc p,
.doc li {
  color: #c8d7e7;
  line-height: 1.75;
}

.doc code {
  color: #9ee8ff;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 20px;
  color: var(--muted);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: #cceeff;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

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

  .composer {
    flex-direction: column;
  }
}

