:root {
  --bg: #050913;
  --bg-soft: #091726;
  --panel: rgba(12, 28, 45, 0.76);
  --panel-solid: #0d2033;
  --line: rgba(152, 219, 255, 0.16);
  --line-strong: rgba(40, 218, 255, 0.34);
  --text: #f4f9ff;
  --muted: #a7bbca;
  --soft: #d4e9f5;
  --cyan: #27d9ff;
  --teal: #52e4bf;
  --blue: #528dff;
  --radius: 22px;
  --shadow: 0 38px 120px rgba(0, 0, 0, 0.48);
  --glow: 0 0 120px rgba(39, 217, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 9%, rgba(39, 217, 255, 0.2), transparent 380px),
    radial-gradient(circle at 8% 16%, rgba(82, 141, 255, 0.17), transparent 330px),
    linear-gradient(180deg, #07111e 0%, var(--bg) 55%, #03060d 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 9, 19, 0.72);
  backdrop-filter: blur(20px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--cyan);
  background: rgba(39, 217, 255, 0.1);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.footer a {
  transition: color 0.2s ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--cyan);
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn-primary,
.header-cta {
  color: #02111d;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 20px 52px rgba(39, 217, 255, 0.25);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero,
.section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: calc(100vh - 66px);
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  padding: 58px 0 74px;
}

.section {
  padding: 72px 0;
}

.badge,
.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.6vw, 70px);
  line-height: 1.04;
}

h1 span {
  color: var(--cyan);
}

h2 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.3vw, 56px);
  line-height: 1.04;
}

h3 {
  font-size: 24px;
  line-height: 1.22;
}

.hero-text,
.section-heading p,
.section-copy p,
.telegram-copy p,
.cta-box p,
.footer p {
  color: var(--muted);
  font-size: 18px;
}

.hero-text {
  max-width: 700px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .btn-primary {
  min-height: 56px;
  padding-inline: 28px;
  font-size: 16px;
}

.hero-note {
  margin-top: 18px;
  color: var(--soft);
  font-size: 15px;
}

.hero-product {
  border: 1px solid rgba(39, 217, 255, 0.24);
  border-radius: 32px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(39, 217, 255, 0.12), rgba(82, 141, 255, 0.055)),
    rgba(255, 255, 255, 0.032);
  box-shadow: var(--shadow), var(--glow);
}

.product-screen {
  overflow: hidden;
  min-height: 660px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(6, 16, 28, 0.96);
}

.screen-header,
.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  color: var(--muted);
  font-size: 13px;
}

.screen-header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen-header i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 24px var(--teal);
}

.screen-header strong,
.mock-top strong {
  color: var(--text);
}

.screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  padding: 22px;
}

.request-card,
.metric-stack div,
.status-buttons,
.chart-panel,
.chaos-card,
.telegram-mock,
.outcome-grid article,
.telegram-block,
.cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.request-card {
  grid-row: span 2;
  padding: 28px;
  background: rgba(255, 255, 255, 0.055);
}

.screen-label {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.request-card h2 {
  margin: 10px 0 22px;
  font-size: clamp(26px, 3vw, 36px);
}

.request-lines {
  display: grid;
  gap: 12px;
}

.request-lines p,
.telegram-mock p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  font-size: 16px;
}

.request-lines span,
.chart-panel span,
.metric-stack span,
.telegram-mock span {
  color: var(--muted);
}

.request-lines strong,
.telegram-mock strong {
  color: var(--text);
  text-align: right;
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric-stack div {
  display: grid;
  min-height: 104px;
  align-content: center;
  padding: 16px;
  box-shadow: none;
}

.metric-stack strong {
  margin-top: 4px;
  font-size: 30px;
}

.status-buttons {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  box-shadow: none;
}

.status-buttons button {
  min-height: 46px;
  border: 1px solid rgba(39, 217, 255, 0.2);
  border-radius: 14px;
  color: #e2f8ff;
  background: rgba(39, 217, 255, 0.08);
  font: inherit;
  font-weight: 800;
}

.chart-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.6fr 1fr;
  align-items: end;
  gap: 18px;
  padding: 18px;
  box-shadow: none;
}

.bars {
  display: flex;
  height: 120px;
  align-items: end;
  gap: 10px;
}

.bars i {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.section-copy h2 {
  max-width: 640px;
}

.chaos-card {
  padding: 34px;
  border-color: rgba(39, 217, 255, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 217, 255, 0.14), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(39, 217, 255, 0.055)),
    rgba(13, 32, 51, 0.9);
}

.chaos-card h3 {
  margin-bottom: 20px;
  font-size: 28px;
}

.chaos-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chaos-card li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  color: var(--soft);
  font-size: 18px;
}

.chaos-card li:last-child {
  border-bottom: 0;
}

.chaos-card span,
.outcome-grid span,
.telegram-reasons span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.order-panel {
  width: min(1240px, calc(100% - 40px));
  border: 1px solid rgba(39, 217, 255, 0.22);
  border-radius: 34px;
  padding: clamp(32px, 5vw, 62px);
  background:
    radial-gradient(circle at 50% 0%, rgba(39, 217, 255, 0.14), transparent 360px),
    linear-gradient(135deg, rgba(39, 217, 255, 0.09), rgba(82, 141, 255, 0.045)),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.route span {
  border: 1px solid rgba(39, 217, 255, 0.24);
  border-radius: 16px;
  padding: 13px 16px;
  background: rgba(39, 217, 255, 0.08);
  color: #e5f8ff;
  font-weight: 850;
}

.route b {
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.18fr 0.92fr;
  gap: 18px;
  align-items: stretch;
}

.telegram-mock {
  min-height: 430px;
  overflow: hidden;
  background: rgba(6, 16, 28, 0.94);
}

.telegram-mock p {
  margin: 0 22px;
  padding: 16px 0;
  color: #d8edf8;
  font-size: 16px;
}

.telegram-mock.lead {
  min-height: 430px;
}

.mock-top {
  min-height: 64px;
}

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

.outcome-grid article {
  display: grid;
  min-height: 285px;
  align-content: start;
  padding: 26px;
  box-shadow: none;
}

.outcome-grid h3 {
  margin: 28px 0 12px;
  font-size: 25px;
}

.outcome-grid p {
  margin: 0;
  color: var(--muted);
}

.telegram-block {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(30px, 6vw, 66px);
  box-shadow: var(--shadow);
}

.telegram-reasons {
  display: grid;
  gap: 12px;
}

.telegram-reasons p {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
}

.tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 520px;
  justify-self: end;
}

.tags span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(39, 217, 255, 0.22);
  border-radius: 14px;
  padding: 11px 15px;
  color: #def7ff;
  background: rgba(39, 217, 255, 0.08);
  font-weight: 800;
  text-align: center;
}

.audience {
  padding-top: 52px;
}

.cta-box {
  padding: clamp(38px, 7vw, 82px);
  text-align: center;
  border-color: rgba(39, 217, 255, 0.32);
  background:
    radial-gradient(circle at 50% 0%, rgba(39, 217, 255, 0.18), transparent 340px),
    linear-gradient(135deg, rgba(39, 217, 255, 0.13), rgba(82, 141, 255, 0.07)),
    var(--panel-solid);
}

.cta-box h2,
.cta-box p {
  margin-right: auto;
  margin-left: auto;
}

.cta-points {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}

.cta-points li {
  border: 1px solid rgba(39, 217, 255, 0.18);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 15px;
}

.cta-points li::before {
  color: var(--cyan);
  content: "— ";
}

.cta-box .actions {
  justify-content: center;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.22);
}

.footer strong {
  color: var(--text);
}

.footer p {
  margin: 6px 0 0;
  font-size: 14px;
}

.footer nav {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer > span {
  justify-self: end;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .burger {
    display: block;
    justify-self: end;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.is-open .nav {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    padding-top: 12px;
  }

  .site-header.is-open .nav a {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.045);
  }

  .site-header.is-open .header-cta {
    display: inline-flex;
    grid-column: 1 / -1;
  }

  .hero,
  .split,
  .mockup-grid,
  .telegram-block {
    grid-template-columns: 1fr;
  }

  .hero-product {
    max-width: 780px;
    justify-self: center;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .hero,
  .section,
  .order-panel {
    width: min(100% - 32px, 1240px);
  }

  .hero {
    min-height: auto;
    padding: 58px 0 68px;
  }

  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  h2 {
    font-size: 31px;
  }

  .hero-text,
  .section-heading p,
  .section-copy p,
  .telegram-copy p,
  .cta-box p {
    font-size: 16px;
  }

  .actions,
  .actions .btn {
    width: 100%;
  }

  .hero-product {
    padding: 12px;
    border-radius: 24px;
  }

  .product-screen {
    min-height: auto;
  }

  .screen-grid,
  .chart-panel,
  .request-lines p,
  .telegram-mock p {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    padding: 14px;
  }

  .request-card {
    grid-row: auto;
  }

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

  .status-buttons,
  .outcome-grid,
  .tags,
  .cta-points {
    grid-template-columns: 1fr;
  }

  .request-lines strong,
  .telegram-mock strong {
    text-align: left;
  }

  .route {
    align-items: stretch;
    flex-direction: column;
  }

  .route b {
    width: 1px;
    height: 18px;
    margin-left: 18px;
  }

  .telegram-mock,
  .telegram-mock.lead {
    min-height: auto;
  }

  .telegram-block {
    padding: 24px;
  }

  .audience {
    padding-top: 44px;
  }

  .footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer nav {
    justify-content: flex-start;
  }

  .footer > span {
    justify-self: start;
  }
}
