:root {
  --base-width: 1086px;
  --base-height: 1556px;
  --page-width: 1360px;
  --scale: 1.252302;
  --green: #9fe600;
  --green-soft: #88c900;
  --text: #f5f5f5;
  --muted: #b9b9b9;
  --panel: rgba(10, 14, 12, 0.78);
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 12px;
  overflow-x: auto;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: var(--page-width);
  height: calc(var(--base-height) * var(--scale));
  margin: 0 auto;
  background: #000;
  overflow: hidden;
}

.stage {
  position: relative;
  width: var(--base-width);
  height: var(--base-height);
  transform: scale(var(--scale));
  transform-origin: top left;
  background:
    radial-gradient(circle at 70% 10%, rgba(132, 214, 0, 0.08), transparent 24%),
    #000;
  overflow: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 59px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.topbar {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto 0;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.brand img {
  display: block;
  width: 120px;
  height: 45px;
  object-fit: contain;
}

.nav {
  position: absolute;
  left: 294px;
  top: 25px;
  display: flex;
  gap: 31px;
}

.nav a,
.footer a {
  color: #f2f2f2;
  text-decoration: none;
}

.nav a {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
}

.icon-button img {
  width: 24px;
  height: 24px;
}

.login-button,
.outline-button,
.primary-button {
  height: 40px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.login-button {
  width: 61px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.45);
}

.primary-button {
  min-width: 109px;
  padding: 0 16px;
  color: #020302;
  border: 1px solid #a8ef00;
  background: linear-gradient(#b6f700, #93df00);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.primary-button span {
  padding-left: 5px;
  font-size: 15px;
}

.hero {
  position: absolute;
  left: 0;
  top: 60px;
  width: 1086px;
  height: 425px;
}

.hero-bg {
  position: absolute;
  right: -5px;
  top: 0;
  width: 1086px;
  height: 425px;
  background-image:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.94) 19%, rgba(0, 0, 0, 0.37) 45%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 76%, #000 100%),
    url("./temp/bg.png");
  background-size: 1086px 543px;
  background-position: 0 -36px;
  background-repeat: no-repeat;
}

.hero-copy {
  position: absolute;
  left: 51px;
  top: 91px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--green);
}

.hero p {
  margin: 16px 0 0;
  color: #f0f0f0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.hero-primary {
  width: 139px;
}

.outline-button {
  width: 139px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.45);
}

.features {
  position: absolute;
  left: 51px;
  top: 338px;
  display: flex;
  align-items: flex-start;
}

.feature {
  width: 156px;
  display: flex;
  gap: 11px;
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.feature + .feature {
  margin-left: 16px;
}

.feature img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.feature strong,
.feature span {
  display: block;
}

.feature strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  white-space: nowrap;
}

.feature span {
  margin-top: 9px;
  color: #c8c8c8;
  font-size: 11px;
}

.shield-feature {
  width: 142px;
  border-right: 0;
}

.shield-feature img {
  width: 24px;
  height: 24px;
}

.stats-bar {
  position: absolute;
  left: 46px;
  top: 486px;
  width: 996px;
  height: 104px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(12, 15, 13, 0.95), rgba(10, 14, 12, 0.75));
  box-shadow: inset 0 0 36px rgba(255, 255, 255, 0.02);
}

.stat-item {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 31px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.stat-item.last {
  border-right: 0;
}

.stat-item img {
  width: 58px;
  height: 58px;
}

.stat-item strong,
.stat-item span,
.stat-item small {
  display: block;
}

.stat-item strong {
  color: var(--green);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.stat-item span {
  margin-top: 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.stat-item small {
  margin-top: 7px;
  color: #bcbcbc;
  font-size: 9px;
  line-height: 1.25;
}

.dashboard {
  position: absolute;
  left: 43px;
  top: 713px;
  width: 1002px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.panel,
.table-card,
.calculator-card,
.uptime-card,
.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.018);
}

.panel {
  border-radius: 7px;
}

.pricing-panel {
  height: 351px;
  padding: 13px 12px 9px;
}

.section-title {
  height: 31px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.section-title b {
  color: var(--green);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.section-title span {
  padding-top: 5px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 14px;
}

.table-card,
.calculator-card {
  height: 297px;
  border-radius: 6px;
}

.table-card {
  padding: 17px 15px 10px;
  background: rgba(12, 16, 14, 0.82);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding-bottom: 10px;
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.25;
  text-align: left;
}

th small {
  color: #888;
  font-size: 8px;
}

td {
  height: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

td:first-child {
  width: 42%;
}

td:nth-child(2) {
  width: 24%;
}

td:nth-child(3) {
  width: 24%;
}

td:nth-child(3) {
  color: var(--green);
}

td img {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  vertical-align: -3px;
}

mark {
  display: inline-block;
  min-width: 30px;
  padding: 3px 5px;
  color: var(--green);
  border-radius: 4px;
  background: rgba(126, 171, 0, 0.12);
}

.table-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 9px;
}

.table-foot a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.table-foot span {
  color: #cfcfcf;
}

.calculator-card {
  position: relative;
  padding: 21px 21px;
  overflow: hidden;
}

.calculator-card > *:not(.mesh-chart) {
  position: relative;
  z-index: 1;
}

.calculator-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.calculator-card p {
  margin: 18px 0 0;
  color: #fff;
  font-size: 10px;
}

.budget-tabs {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.budget-tabs button {
  height: 27px;
  min-width: 62px;
  padding: 0 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 10px;
  font-weight: 700;
}

.budget-tabs .active {
  color: #010101;
  background: var(--green);
}

.budget-copy {
  margin-top: 30px !important;
}

.token-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 13px;
  max-width: 352px;
}

.token-row > div + div {
  padding-left: 19px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.token-row strong,
.token-row span {
  display: block;
}

.token-row strong {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  white-space: nowrap;
}

.token-row span {
  margin-top: 10px;
  color: #fff;
  font-size: 10px;
  line-height: 1.25;
  white-space: nowrap;
}

.usage-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 25px;
  padding: 5px 7px;
  color: var(--green);
  border-radius: 4px;
  background: rgba(112, 151, 0, 0.14);
  font-size: 10px;
  font-weight: 800;
}

.mesh-chart {
  position: absolute;
  z-index: 0;
  right: -1px;
  bottom: -1px;
  width: 252px;
  height: 72px;
  opacity: 0.92;
  background: url("./assets/calculator-mesh.png") center / cover no-repeat;
}

.status-column {
  height: 211px;
  padding: 13px 12px 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 31px 159px;
  gap: 0 13px;
}

.status-panel {
  display: contents;
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.status-panel .section-title {
  grid-column: 1 / 4;
  grid-row: 1;
}

.status-title a {
  margin-left: auto;
  padding: 5px 6px 0 0;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.status-title span {
  font-size: 11px;
}

.status-title b {
  line-height: 1.15;
}

.uptime-card {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  height: 159px;
  padding: 24px 17px;
  border-radius: 6px;
}

.uptime-card > img {
  position: absolute;
  right: 16px;
  top: 17px;
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.9;
}

.uptime-card span,
.metric-card span {
  display: block;
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.uptime-card strong {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
}

.uptime-bars {
  width: 270px;
  height: 16px;
  margin-top: 19px;
  background: repeating-linear-gradient(90deg, var(--green) 0 5px, transparent 5px 12px);
  border-radius: 3px;
}

.uptime-card p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #bfbfbf;
  font-size: 10px;
  white-space: nowrap;
}

.uptime-card p img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.mini-panels {
  grid-column: 2 / 4;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 0;
}

.metric-card {
  position: relative;
  height: 159px;
  padding: 18px 16px;
  border-radius: 6px;
  overflow: hidden;
}

.metric-icon {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.86;
}

.metric-card span small {
  color: #aaa;
  font-size: 8px;
}

.metric-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 11px;
  color: var(--green);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.axis-labels {
  position: absolute;
  left: 16px;
  top: 72px;
  display: grid;
  gap: 4px;
}

.axis-labels small,
.time-labels small {
  color: #e0e0e0;
  font-size: 8px;
}

.line-chart {
  position: absolute;
  left: 64px;
  right: 17px;
  top: 76px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(0 0 8px rgba(158, 230, 0, 0.35));
}

.latency {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 130 62' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 6 45 12 32 19 42 26 36 33 48 41 33 48 41 56 39 63 8 70 50 77 37 84 42 91 33 99 47 107 39 115 44 123 35 130 41' fill='none' stroke='%239fe600' stroke-width='1'/%3E%3Cpath d='M0 62 0 40 6 45 12 32 19 42 26 36 33 48 41 33 48 41 56 39 63 8 70 50 77 37 84 42 91 33 99 47 107 39 115 44 123 35 130 41 130 62Z' fill='%239fe600' opacity='.14'/%3E%3C/svg%3E");
}

.rps {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 130 62' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 49 7 43 14 37 20 45 28 34 35 29 42 25 49 14 56 30 64 7 71 24 78 18 85 36 93 27 100 30 107 22 114 31 122 26 130 30' fill='none' stroke='%239fe600' stroke-width='1'/%3E%3Cpath d='M0 62 0 49 7 43 14 37 20 45 28 34 35 29 42 25 49 14 56 30 64 7 71 24 78 18 85 36 93 27 100 30 107 22 114 31 122 26 130 30 130 62Z' fill='%239fe600' opacity='.16'/%3E%3C/svg%3E");
}

.time-labels {
  position: absolute;
  left: 64px;
  right: 16px;
  bottom: 17px;
  display: flex;
  justify-content: space-between;
}

.footer {
  position: absolute;
  left: 0;
  right: 0;
  top: 1326px;
  height: 230px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 12, 11, 0.98), #030504);
}

.footer-inner {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 23px;
  height: 151px;
  display: grid;
  grid-template-columns: 178px 1fr 224px;
  gap: 22px;
}

.footer-brand img {
  width: 95px;
  height: 36px;
  object-fit: contain;
}

.footer-brand p,
.subscribe p {
  color: #c8c8c8;
  font-size: 10px;
  line-height: 1.8;
}

.footer-brand p {
  margin: 14px 0 18px;
}

.socials {
  display: flex;
  gap: 11px;
}

.socials img {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 27px;
  padding-top: 12px;
}

.footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #c5c5c5;
  font-size: 9px;
  line-height: 1;
}

.subscribe {
  padding: 12px 0 0 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.subscribe p {
  margin: 0 0 19px;
}

.subscribe div {
  display: flex;
  gap: 11px;
}

.subscribe input {
  width: 114px;
  height: 35px;
  padding: 0 12px;
  color: #cfcfcf;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.38);
  font-size: 9px;
}

.subscribe button {
  width: 66px;
  height: 35px;
  color: #020302;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.copyright {
  position: absolute;
  left: 40px;
  bottom: 21px;
  width: 1000px;
  margin: 0;
  padding-top: 18px;
  color: #bfbfbf;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
}
