:root {
  --bg: #090b0f;
  --bg-soft: #10151c;
  --surface: #131821;
  --surface-2: #1a2029;
  --surface-3: #202833;
  --ink: #eef2f7;
  --muted: #97a3b3;
  --line: #2a313d;
  --brand: #d63b3b;
  --brand-dark: #9f2626;
  --accent: #ffcc66;
  --ok: #5dd39e;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  --shadow-red: 0 24px 70px rgba(214, 59, 59, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214, 59, 59, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, var(--bg), var(--bg-soft));
}

body.modal-open {
  overflow: hidden;
}

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

.payment-result-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(214, 59, 59, 0.22), transparent 32%),
    rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(10px);
}

.payment-result-modal[hidden] {
  display: none;
}

.payment-result-card {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(19, 24, 33, 0.98), rgba(13, 17, 24, 0.98));
  box-shadow: var(--shadow), var(--shadow-red);
  text-align: center;
}

.payment-result-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #202833;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.payment-result-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: rgba(93, 211, 158, 0.12);
  border: 1px solid rgba(93, 211, 158, 0.35);
  color: var(--ok);
  font-weight: 800;
}

.payment-result-icon.is-pending {
  background: rgba(255, 204, 102, 0.12);
  border-color: rgba(255, 204, 102, 0.35);
  color: var(--accent);
}

.payment-result-icon.is-error {
  background: rgba(214, 59, 59, 0.14);
  border-color: rgba(214, 59, 59, 0.4);
  color: #ff8d8d;
}

.payment-result-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.15;
}

.payment-result-card p:not(.eyebrow) {
  margin: 14px 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 10, 14, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
  background: rgba(214, 59, 59, 0.18);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.section {
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 72% 34%, rgba(214, 59, 59, 0.36), transparent 25%),
    linear-gradient(110deg, rgba(9, 11, 15, 0.98), rgba(87, 18, 18, 0.76)),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #ffffff;
}

.hero-content,
.section-heading,
.about-layout,
.contact-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1,
.section-heading h2,
.about h2 {
  margin: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.2vw, 5.15rem);
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(238, 242, 247, 0.86);
  font-size: 1.12rem;
  line-height: 1.7;
}

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

.hero-metrics {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
  max-width: 620px;
}

.hero-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(8, 10, 14, 0.42);
}

.hero-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 1.18rem;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(214, 59, 59, 0.22);
}

.button.primary:hover {
  background: #ef4a4a;
}

.button.secondary {
  background: #28313b;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: #323d49;
}

.button.full {
  width: 100%;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(19, 24, 33, 0.98), rgba(13, 17, 24, 0.96));
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.app-icon {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 16px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel strong,
.stats strong {
  display: block;
  font-size: 1.25rem;
  color: #ffffff;
}

.hero-panel span,
.stats span,
.download-card p,
.section-heading p,
.about p,
.contact-info p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  padding-left: 28px;
  position: relative;
  color: #dfe5ed;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(214, 59, 59, 0.18);
}

.hero-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.hero-flow span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 59, 59, 0.28);
  border-radius: 8px;
  background: rgba(214, 59, 59, 0.12);
  color: #ffcbcb;
  font-weight: 800;
  font-size: 0.82rem;
  text-align: center;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.about h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.section-heading p {
  max-width: 680px;
  margin: 16px 0 0;
}

.billing-toggle {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(19, 24, 33, 0.72);
}

.setup-fee-card {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 26px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(214, 59, 59, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(19, 24, 33, 0.98), rgba(13, 17, 24, 0.96));
  border: 1px solid rgba(214, 59, 59, 0.42);
  border-radius: 10px;
  box-shadow: var(--shadow-red);
}

.setup-fee-card h3 {
  margin: 10px 0 8px;
  color: #ffffff;
  font-size: 1.45rem;
}

.setup-fee-card > div {
  max-width: 620px;
}

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

.setup-fee-card strong {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(8, 10, 14, 0.34);
  text-align: center;
  white-space: nowrap;
  min-width: 260px;
}

.billing-option {
  min-height: 58px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.billing-option span {
  display: block;
  margin-top: 3px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffb3b3;
}

.billing-option.active {
  color: #ffffff;
  background: rgba(214, 59, 59, 0.18);
  border-color: rgba(214, 59, 59, 0.45);
  box-shadow: inset 0 0 0 1px rgba(214, 59, 59, 0.18);
}

.plans-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card,
.payment-panel,
.bank-box {
  background: linear-gradient(180deg, rgba(19, 24, 33, 0.98), rgba(13, 17, 24, 0.96));
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.plan-card {
  min-height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.featured-plan {
  border-color: rgba(214, 59, 59, 0.58);
  box-shadow: var(--shadow-red);
  transform: translateY(-8px);
}

.plan-kicker {
  width: max-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(214, 59, 59, 0.16);
  color: #ffb3b3;
  font-size: 0.78rem;
  font-weight: 800;
}

.plan-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.45rem;
}

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

.plan-price {
  color: #ffffff;
}

.plan-price span {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.plan-price small {
  margin-left: 6px;
  color: var(--muted);
  font-weight: 700;
}

.plan-card ul {
  margin: 4px 0 8px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 24px;
  color: #dfe5ed;
  line-height: 1.45;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(93, 211, 158, 0.12);
}

.payment-panel {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 18px;
  align-items: start;
  background:
    radial-gradient(circle at top right, rgba(214, 59, 59, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(13, 17, 24, 0.98), rgba(8, 10, 14, 0.98));
}

.payment-intro {
  position: static;
}

.checkout-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: checkout;
}

.checkout-steps li {
  position: relative;
  min-height: 42px;
  padding: 11px 12px 11px 44px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(16, 21, 28, 0.78);
  color: #dfe5ed;
  line-height: 1.45;
  counter-increment: checkout;
}

.checkout-steps li::before {
  content: counter(checkout);
  position: absolute;
  left: 12px;
  top: 11px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
}

.payment-panel h3,
.bank-box h4 {
  margin: 0;
  color: #ffffff;
}

.payment-note,
.bank-box p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.payment-summary {
  display: grid;
  gap: 10px;
}

.payment-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #10151c;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.payment-summary span {
  color: var(--muted);
}

.payment-summary strong {
  color: #ffffff;
  text-align: right;
}

.payment-summary .total-row {
  background: rgba(214, 59, 59, 0.18);
  border-color: rgba(214, 59, 59, 0.35);
}

.payment-methods {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(240px, 0.82fr) minmax(240px, 0.82fr);
  align-items: start;
  gap: 16px;
}

.bank-box {
  padding: 20px;
  background: #10151c;
  border-color: rgba(255, 255, 255, 0.07);
}

.bank-box .button {
  margin-top: 16px;
}

.bank-box small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border-color: rgba(214, 59, 59, 0.36);
  background:
    radial-gradient(circle at top right, rgba(214, 59, 59, 0.12), transparent 32%),
    #10151c;
}

.order-form h4,
.order-form p {
  grid-column: 1 / -1;
}

.order-form h4 {
  font-size: 1.35rem;
}

.order-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #0f1318;
}

.order-form textarea,
.order-form button {
  grid-column: 1 / -1;
}

.order-form textarea {
  min-height: 96px;
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: 3px solid rgba(214, 59, 59, 0.16);
  border-color: rgba(214, 59, 59, 0.68);
}

.card-payments {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.card-payment-link {
  margin-top: 0;
  background: #1a2029;
  border-color: rgba(214, 59, 59, 0.25);
}

.card-payment-link:hover {
  background: rgba(214, 59, 59, 0.2);
}

.download-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.download-card,
.contact-form,
.contact-info,
.stats {
  background: linear-gradient(180deg, rgba(19, 24, 33, 0.98), rgba(13, 17, 24, 0.96));
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.download-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-card h3,
.contact-info h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #ffffff;
}

.download-card p {
  margin: 0;
}

.download-card small {
  color: var(--muted);
  line-height: 1.5;
}

.download-card small strong {
  color: #ffffff;
}

.main-download {
  border-color: rgba(214, 59, 59, 0.45);
}

.process {
  background:
    radial-gradient(circle at top left, rgba(214, 59, 59, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(9, 11, 15, 0.98), rgba(16, 21, 28, 0.92));
}

.process-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(19, 24, 33, 0.98), rgba(13, 17, 24, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.process-grid span {
  display: inline-flex;
  min-width: 42px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(214, 59, 59, 0.16);
  color: #ffb3b3;
  font-weight: 800;
}

.process-grid h3 {
  margin: 18px 0 10px;
  color: #ffffff;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.badge,
.version {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.badge {
  background: rgba(93, 211, 158, 0.12);
  color: var(--ok);
}

.version {
  background: rgba(214, 59, 59, 0.16);
  color: #ffb3b3;
}

.about {
  background:
    linear-gradient(180deg, rgba(16, 21, 28, 0.9), rgba(9, 11, 15, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: center;
}

.about p {
  margin: 20px 0 0;
  font-size: 1.06rem;
}

.stats {
  padding: 10px;
  display: grid;
  gap: 10px;
}

.stats div {
  padding: 18px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
}

.contact-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #0f1318;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(214, 59, 59, 0.16);
  border-color: rgba(214, 59, 59, 0.68);
}

.contact-info {
  padding: 24px;
}

.note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 860px) {
  .menu-button {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    background: rgba(8, 10, 14, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 13px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .about-layout,
  .contact-layout,
  .plans-grid,
  .payment-panel,
  .payment-methods,
  .process-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .billing-toggle {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-plan {
    transform: none;
  }

  .payment-intro {
    position: static;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .brand span {
    font-size: 0.95rem;
  }

  .hero-content,
  .section-heading,
  .about-layout,
  .contact-layout,
  .billing-toggle,
  .setup-fee-card,
  .plans-grid,
  .payment-panel,
  .process-grid,
  .download-grid,
  .footer {
    width: min(100% - 24px, 1120px);
  }

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

  .setup-fee-card {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .setup-fee-card strong {
    width: 100%;
    min-width: 0;
  }

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

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-metrics,
  .hero-flow {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
