:root {
  --bg: #02070b;
  --panel: rgba(7, 18, 26, 0.92);
  --line: rgba(32, 217, 255, 0.34);
  --green: #49f07b;
  --cyan: #20d9ff;
  --text: #f0fbff;
  --muted: #9eb4bd;
  --soft-line: rgba(32, 217, 255, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #000; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #000;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.frame {
  width: min(1280px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 38px 30px;
  background:
    radial-gradient(circle at 52% 20%, rgba(32, 217, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #02070b, #031019 66%, #02070b);
}

.page {
  overflow: hidden;
  border: 1px solid rgba(32, 217, 255, 0.18);
  border-radius: 8px;
  background: rgba(3, 10, 15, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 0 30px;
  border-bottom: 1px solid rgba(32, 217, 255, 0.18);
}
.brand { display: flex; align-items: center; min-width: 180px; }
.brand-logo { width: 220px; height: auto; }
.nav { display: flex; gap: 42px; color: #d6e8ed; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav a:hover { color: var(--green); }
.outline-btn {
  flex: 0 0 auto;
  padding: 13px 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: #ecfff3;
  font-weight: 800;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: 0.72fr 1fr 350px;
  gap: 20px;
  padding: 24px 30px 10px;
}
.hero-copy { min-width: 0; }
h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.03;
  letter-spacing: 0;
}
h1 span { color: var(--green); }
p { margin: 0; color: var(--muted); line-height: 1.52; }
.network { width: 100%; height: 260px; object-fit: cover; }
.api-visual { width: 100%; height: auto; }

.feature-strip,
.cost-strip,
.card,
.cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 25, 35, 0.92), rgba(5, 14, 21, 0.92));
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 30px 14px;
}
.feature-strip div {
  min-height: 76px;
  padding: 16px;
  border-right: 1px solid rgba(32, 217, 255, 0.14);
  color: #dceff5;
  font-size: 13px;
}
.feature-strip div:last-child { border-right: 0; }
.feature-strip strong,
.cost-strip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--cyan);
}
.feature-strip span,
.cost-strip span { color: #dceff5; }

.cost-strip {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 1.15fr;
  align-items: stretch;
  gap: 14px;
  margin: 0 30px 14px;
  padding: 14px;
  color: #dff6fb;
  font-size: 13px;
}
.cost-cell {
  display: flex;
  min-width: 0;
  max-width: 100%;
  min-height: 84px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(32, 217, 255, 0.12);
  border-radius: 7px;
  background: rgba(2, 11, 17, 0.42);
}
.cost-cell small {
  display: block;
  margin-top: 4px;
  color: rgba(220, 239, 245, 0.66);
  font-size: 11px;
  line-height: 1.2;
}
.legacy-price,
.cost-strip .price,
.cost-strip .savings strong {
  display: block;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.legacy-price {
  margin-top: 2px;
  color: #dceff5;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1;
}
.cost-strip .price {
  color: var(--green);
  font-size: clamp(32px, 3vw, 42px);
  line-height: 0.92;
  text-shadow: 0 0 28px rgba(73, 240, 123, 0.34);
}
.gonka-cost {
  border-color: rgba(73, 240, 123, 0.28);
  background: linear-gradient(180deg, rgba(13, 39, 30, 0.62), rgba(2, 11, 17, 0.46));
}
.savings {
  border-color: rgba(73, 240, 123, 0.22);
}
.cost-strip .savings-line {
  display: flex;
  align-items: baseline;
  gap: 0.16em;
  max-width: 100%;
  margin-bottom: 2px;
  color: #ecfff3;
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.savings-prefix {
  color: #ecfff3;
}
.cost-strip .savings-number {
  color: var(--green);
  font-size: clamp(31px, 2.55vw, 38px);
  line-height: 0.92;
  text-shadow: 0 0 24px rgba(73, 240, 123, 0.28);
}
.savings-rest {
  display: block;
  max-width: 100%;
  color: #ecfff3;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  overflow-wrap: normal;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1.08fr;
  gap: 18px;
  padding: 0 30px 14px;
}
.card {
  min-height: 250px;
  padding: 18px;
}
.card h2,
.cta h2 {
  margin: 0;
  color: var(--cyan);
  line-height: 1.1;
}
.card h2 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 20px;
}
.num {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: white;
  background: linear-gradient(135deg, #34a3ff, var(--green));
}
.mini-network {
  width: 170px;
  height: auto;
  float: left;
  margin: 2px 20px 10px 0;
}
.link-list { display: grid; gap: 8px; }
.mini-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(32, 217, 255, 0.18);
  border-radius: 6px;
  color: #dff6fb;
  font-size: 12px;
}
.mini-link:hover { border-color: rgba(73, 240, 123, 0.72); }
.mini-link small { display: none; }
.link-text strong { font: inherit; font-weight: 600; }
.link-arrow {
  border: 1px solid var(--green);
  border-radius: 4px;
  color: var(--green);
  padding: 2px 7px;
}
.empty-state { font-size: 13px; }

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr 300px;
  align-items: center;
  gap: 22px;
  min-height: 92px;
  margin: 0 30px 18px;
  overflow: hidden;
  padding: 0 36px;
}
.corner {
  position: absolute;
  top: 0;
  width: 230px;
  height: 92px;
  object-fit: cover;
  opacity: 0.9;
}
.corner.left { left: 0; }
.corner.right { right: 0; }
.cta-content {
  position: relative;
  z-index: 1;
  display: contents;
}
.rocket {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 30px;
}
.cta h2 { font-size: 24px; }
.cta p { position: relative; z-index: 1; font-size: 13px; }
.green-btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  color: #041009;
  background: linear-gradient(135deg, var(--green), #20d9ff);
  font-size: 18px;
  font-weight: 900;
}

footer {
  padding: 16px 30px 22px;
  border-top: 1px solid rgba(32, 217, 255, 0.12);
  color: #7f9199;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .frame { padding: 18px 14px; }
  .nav { gap: 18px; font-size: 12px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .api-visual { grid-column: span 2; max-height: 230px; object-fit: contain; }
  .cards { grid-template-columns: 1fr; }
  .cost-strip { grid-template-columns: 1fr 1fr; }
  .cost-cell { min-height: 78px; }
  .cta { grid-template-columns: 86px 1fr; padding: 18px; }
  .green-btn { grid-column: span 2; }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 18px; }
  .brand-logo { width: 190px; }
  .nav { flex-wrap: wrap; gap: 12px 18px; white-space: normal; }
  .hero,
  .feature-strip,
  .cost-strip { grid-template-columns: 1fr; }
  .cost-strip { gap: 10px; padding: 12px; }
  .cost-cell { min-height: 72px; }
  .hero { padding: 20px 18px 10px; }
  .feature-strip,
  .cost-strip,
  .cards,
  .cta { margin-left: 18px; margin-right: 18px; }
  .cards { padding-left: 0; padding-right: 0; }
  .network { height: auto; }
  .api-visual { grid-column: auto; }
  .mini-network { float: none; margin: 0 0 12px; width: 100%; max-height: 130px; object-fit: contain; }
  .cta { grid-template-columns: 1fr; }
  .green-btn { grid-column: auto; }
}

