:root {
  --bg: #060608;
  --panel: #111116;
  --panel-soft: #17171f;
  --line: rgba(255, 42, 62, .34);
  --line-strong: #ff1834;
  --text: #f4f4f8;
  --muted: #aaa9b8;
  --dark-red: #2b050a;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 24, 52, .24), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(255, 84, 62, .14), transparent 28rem),
    linear-gradient(180deg, #08080b 0%, var(--bg) 48%, #09090c 100%);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 82%);
}

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

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(255, 24, 52, .16), transparent 32rem);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(9, 9, 12, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, .38);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--line-strong);
  background: rgba(255, 24, 52, .08);
  box-shadow: 0 0 26px rgba(255, 24, 52, .35);
  font-weight: 900;
}

.brand strong,
.brand em {
  display: block;
  line-height: 1;
  letter-spacing: 0;
}

.brand em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

nav {
  display: flex;
  gap: 8px;
}

nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  transition: background .2s ease, color .2s ease;
}

nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr);
  gap: 36px;
  align-items: center;
  padding: 60px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--line-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(44px, 8vw, 92px);
  line-height: .9;
  letter-spacing: 0;
  color: #ff182f;
  text-shadow: 0 0 30px rgba(255, 24, 52, .34);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lead,
.section-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

.hero-actions,
.payment-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 24, 52, .55);
  box-shadow: 0 0 26px rgba(255, 24, 52, .18);
}

.button.primary,
.button.pay {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, #ff1834, #8b0615);
  box-shadow: inset 0 1px rgba(255, 255, 255, .18), 0 0 35px rgba(255, 24, 52, .22);
}

.button.full {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(88%, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 24, 52, .42);
  border-radius: 999px;
  box-shadow: 0 0 60px rgba(255, 24, 52, .24), inset 0 0 60px rgba(255, 24, 52, .08);
  animation: rotate 14s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 8%;
  right: 16%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--line-strong);
  box-shadow: 0 0 28px var(--line-strong);
}

.panel-card,
.checkout,
.feature-grid article,
.error-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 18, 24, .94), rgba(8, 8, 11, .92));
  box-shadow: 0 26px 80px rgba(0, 0, 0, .38), inset 0 0 40px rgba(255, 24, 52, .03);
}

.panel-card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  padding: 24px;
  transform: perspective(900px) rotateY(-8deg) rotateX(5deg);
}

.panel-title {
  display: block;
  margin-bottom: 18px;
  color: var(--line-strong);
  font-size: 13px;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: 13px;
}

.panel-row strong {
  color: var(--text);
  white-space: nowrap;
}

.mini-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.mini-buttons i {
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 24, 52, .85), rgba(96, 0, 10, .9));
}

.section {
  padding: 76px 0;
}

.grid-two {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

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

.feature-grid article,
.error-list article {
  padding: 22px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--line-strong);
  font-size: 13px;
}

.feature-grid p,
.error-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.error-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
}

.buy {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
}

.checkout {
  padding: 22px;
}

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

.plan {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  color: var(--text);
  background: var(--panel-soft);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.plan:hover,
.plan.active {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(255, 24, 52, .22), rgba(23, 23, 31, .95));
}

.plan span,
.field span,
.result-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.plan strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
}

.field {
  display: block;
  margin: 18px 0 12px;
}

input {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  outline: none;
  color: var(--text);
  background: #0d0d12;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(255, 24, 52, .12);
}

.payment-box {
  margin-top: 14px;
}

.payment-box .button {
  flex: 1;
}

.result-box {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 24, 52, .34);
  border-radius: 14px;
  background: rgba(255, 24, 52, .06);
}

code {
  display: block;
  overflow-wrap: anywhere;
  margin: 10px 0 12px;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
}

.status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.status[data-tone="ok"] {
  color: #7dffa5;
}

.status[data-tone="error"] {
  color: #ff6f7f;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 36px 16px 42px;
  color: var(--muted);
  font-size: 13px;
}

footer span {
  color: var(--text);
}

footer a:hover {
  color: var(--line-strong);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  .topbar,
  nav {
    align-items: stretch;
  }

  .topbar {
    border-radius: 18px;
    flex-direction: column;
    gap: 12px;
  }

  nav a {
    flex: 1;
    text-align: center;
  }

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

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  main,
  .topbar {
    width: min(100% - 20px, 1180px);
  }

  .feature-grid,
  .error-list,
  .plans {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .payment-box {
    flex-direction: column;
  }
}
