:root {
  --bg: #f4f5f7;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-subtle: rgba(238, 240, 244, 0.85);
  --border: rgba(17, 20, 24, 0.11);
  --border-strong: rgba(17, 20, 24, 0.28);
  --text: #0a0a0c;
  --text-muted: #525866;
  --text-soft: #7d8494;
  --accent: #0a0a0c;
  --accent-hover: #22252b;
  --accent-text: #ffffff;
  --primary-blue: #111418;
  --success: #16a34a;
  --success-bg: rgba(22, 163, 74, 0.12);
  --danger: #dc2626;
  --shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --shimmer-a: #0a0a0c;
  --shimmer-b: #7a808c;
  --shimmer-c: #d8dce3;
  --blob-1: rgba(0, 0, 0, 0.13);
  --blob-2: rgba(255, 255, 255, 0.95);
  --blob-3: rgba(80, 85, 95, 0.15);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #07080a;
  --surface: rgba(18, 20, 25, 0.82);
  --surface-solid: #13151a;
  --surface-subtle: rgba(28, 31, 38, 0.88);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.3);
  --text: #f7f8fa;
  --text-muted: #9ca3b0;
  --text-soft: #6c7382;
  --accent: #f7f8fa;
  --accent-hover: #dcdFE6;
  --accent-text: #090a0d;
  --primary-blue: #ffffff;
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, 0.15);
  --danger: #f87171;
  --shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.78), 0 0 28px -8px rgba(255, 255, 255, 0.07);
  --shimmer-a: #ffffff;
  --shimmer-b: #6e7480;
  --shimmer-c: #1a1d24;
  --blob-1: rgba(255, 255, 255, 0.14);
  --blob-2: rgba(140, 148, 164, 0.11);
  --blob-3: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 400ms ease, color 400ms ease;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Monochrome black & white liquid ambient background */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    #040507 0%,
    #14171d 22%,
    #2e333d 48%,
    #0c0e12 74%,
    #040507 100%
  );
  background-size: 380% 380%;
  animation: bwShimmer 11s ease-in-out infinite;
  transition: background 450ms ease;
}

[data-theme="light"] .ambient-bg {
  background: linear-gradient(
    125deg,
    #ffffff 0%,
    #e4e7ed 24%,
    #b8bec9 48%,
    #f2f4f8 74%,
    #ffffff 100%
  );
  background-size: 380% 380%;
}

.ambient-bg::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 45%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: sheenSweep 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

[data-theme="light"] .ambient-bg::after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
  transition: background 450ms ease;
}

.blob-1 {
  width: 680px;
  height: 680px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 72%);
  animation: floatBlob1 10s ease-in-out infinite alternate;
}

[data-theme="light"] .blob-1 {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 45%, transparent 72%);
}

.blob-2 {
  width: 720px;
  height: 720px;
  bottom: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.14) 45%, transparent 72%);
  animation: floatBlob2 12s ease-in-out infinite alternate;
}

[data-theme="light"] .blob-2 {
  background: radial-gradient(circle, rgba(15, 17, 22, 0.52) 0%, rgba(15, 17, 22, 0.16) 45%, transparent 72%);
}

.blob-3 {
  width: 580px;
  height: 580px;
  top: 38%;
  left: 48%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32) 0%, rgba(0, 0, 0, 0.65) 55%, transparent 75%);
  animation: floatBlob3 9s ease-in-out infinite alternate;
}

[data-theme="light"] .blob-3 {
  background: radial-gradient(circle, rgba(0, 0, 0, 0.35) 0%, rgba(255, 255, 255, 0.9) 55%, transparent 75%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse at center, black 45%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 88%);
}

@keyframes monochromeWave {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes floatBlob1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(260px, 160px) scale(1.28);
  }
  100% {
    transform: translate(110px, 290px) scale(0.9);
  }
}

@keyframes floatBlob2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-280px, -170px) scale(1.25);
  }
  100% {
    transform: translate(-120px, -300px) scale(0.88);
  }
}

@keyframes floatBlob3 {
  0% {
    transform: translate(-50%, -50%) scale(0.85) rotate(0deg);
  }
  50% {
    transform: translate(-25%, -70%) scale(1.35) rotate(60deg);
  }
  100% {
    transform: translate(-75%, -30%) scale(0.95) rotate(120deg);
  }
}

@keyframes bwShimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sheenSweep {
  0% {
    transform: translateX(-140%) skewX(-22deg);
  }
  55%, 100% {
    transform: translateX(220%) skewX(-22deg);
  }
}

.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #060709 0%, #232730 55%, #060709 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 14px rgba(255, 255, 255, 0.18);
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(
    90deg,
    var(--shimmer-a) 0%,
    var(--shimmer-b) 50%,
    var(--shimmer-a) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bwShimmer 6s linear infinite;
}

.badge-verified {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--success);
  background: var(--success-bg);
  padding: 3px 10px;
  border-radius: 999px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-pill {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.cheat-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.feat-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.plan-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-badge {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
}

.plan-badge.badge-hot {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.plan-badge.badge-vip {
  background: linear-gradient(120deg, #000000 0%, #7d8494 50%, #ffffff 100%);
  background-size: 200% 200%;
  animation: bwShimmer 4s ease infinite;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.license-key-box {
  margin: 18px 0 6px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-strong);
  background: var(--surface-subtle);
  text-align: left;
}

.license-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.license-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.license-code-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  word-break: break-all;
}

.copy-key-btn {
  padding: 7px 12px;
  font-size: 0.8rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}

.icon-btn:hover {
  border-color: var(--border-strong);
}

[data-theme="light"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

/* Main grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 24px;
  align-items: start;
}

.card {
  position: relative;
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: cardEntrance 650ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:nth-child(2) {
  animation-delay: 110ms;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--shimmer-a) 35%,
    var(--shimmer-b) 50%,
    var(--shimmer-a) 65%,
    transparent 100%
  );
  background-size: 240% 100%;
  animation: bwShimmer 6s ease-in-out infinite;
  opacity: 0.75;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.panel-header {
  margin-bottom: 22px;
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.step-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 6px;
}

h1,
h2 {
  margin: 0 0 6px;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.028em;
  background: linear-gradient(
    110deg,
    var(--shimmer-a) 15%,
    var(--shimmer-b) 48%,
    var(--shimmer-a) 82%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bwShimmer 7s ease-in-out infinite;
}

.subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.text-btn {
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.text-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

/* Plan selector */
.plan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.plan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}

.plan-item:hover {
  border-color: var(--border-strong);
}

.plan-item.is-selected {
  border-color: var(--accent);
  background: linear-gradient(
    115deg,
    var(--surface-subtle) 0%,
    var(--surface-solid) 50%,
    var(--surface-subtle) 100%
  );
  background-size: 220% 220%;
  animation: bwShimmer 6s ease infinite;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.14);
}

.plan-item input {
  display: none;
}

.plan-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.plan-price {
  font-weight: 700;
  font-size: 0.96rem;
  white-space: nowrap;
}

/* Custom amount */
.custom-amount-box {
  margin-bottom: 18px;
}

.custom-amount-box label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.input-with-suffix {
  position: relative;
}

.input-with-suffix .suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-weight: 600;
}

/* Promo */
.promo-section {
  margin-bottom: 22px;
}

.promo-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--text-muted);
}

.promo-label .hint {
  font-weight: 400;
  color: var(--text-soft);
}

.promo-label code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface-subtle);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text);
}

.promo-row {
  display: flex;
  gap: 8px;
}

.promo-status {
  margin: 6px 0 0;
  font-size: 0.82rem;
  min-height: 18px;
}

.promo-status.is-ok {
  color: var(--success);
}

.promo-status.is-err {
  color: var(--danger);
}

/* Summary breakdown */
.summary-breakdown {
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.summary-row span:last-child {
  color: var(--text);
  font-weight: 500;
}

.discount-value,
.free-tag {
  color: var(--success) !important;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.total-row {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.total-row span:last-child {
  font-weight: 700;
}

.trust-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Payment tabs */
.method-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px;
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.method-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 8px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.method-tab:hover {
  color: var(--text);
}

.method-tab.is-active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Live mini card */
.mini-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    #050608 0%,
    #1c1f26 28%,
    #3d4351 50%,
    #14161b 74%,
    #050608 100%
  );
  background-size: 280% 280%;
  animation: bwShimmer 8s ease-in-out infinite;
  color: #f9fafb;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 16px 34px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 350ms ease;
}

.mini-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.mini-card::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 45%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: sheenSweep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

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

.mini-card-chip {
  width: 34px;
  height: 23px;
  border-radius: 5px;
  background: linear-gradient(135deg, #ffffff 0%, #9ca3af 50%, #e5e7eb 100%);
  background-size: 200% 200%;
  animation: bwShimmer 4.5s ease infinite;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.mini-card-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.mini-card-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.12rem;
  letter-spacing: 0.12em;
}

.mini-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.mini-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 2px;
}

.mini-value {
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Form controls */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

input.is-invalid {
  border-color: var(--danger);
}

.input-wrapper {
  position: relative;
}

.input-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  pointer-events: none;
}

.toggle-vis-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
}

.toggle-vis-btn:hover {
  color: var(--text);
}

.error-text {
  display: block;
  font-size: 0.78rem;
  color: var(--danger);
  margin-top: 5px;
  min-height: 0;
}

/* SBP box */
.sbp-box {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.qr-frame {
  flex-shrink: 0;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.sbp-info h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.sbp-info p {
  margin: 0 0 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.sbp-banks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.bank-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.bank-pill.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.sbp-timer {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Wallet options */
.wallet-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
}

.wallet-option.is-selected {
  border-color: var(--accent);
  background: var(--surface-subtle);
}

.wallet-option input {
  display: none;
}

.wallet-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.wallet-icon.sber {
  background: #21a038;
  color: #ffffff;
}

.wallet-icon.tbank {
  background: #ffdd2d;
  color: #111418;
}

.wallet-meta {
  display: flex;
  flex-direction: column;
}

.wallet-name {
  font-weight: 600;
  font-size: 0.94rem;
}

.wallet-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Checkbox & buttons */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 4px 0 20px;
  cursor: pointer;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: linear-gradient(
    115deg,
    #07080a 0%,
    #2d323c 35%,
    #5b6270 50%,
    #1c1f26 70%,
    #07080a 100%
  );
  background-size: 260% 260%;
  animation: bwShimmer 5.5s ease-in-out infinite;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(
    115deg,
    #ffffff 0%,
    #cfd4dc 35%,
    #8d94a2 50%,
    #eef0f4 72%,
    #ffffff 100%
  );
  background-size: 260% 260%;
  color: #090a0d;
  box-shadow: 0 10px 28px -8px rgba(255, 255, 255, 0.25);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 35%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: sheenSweep 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1.5px);
  filter: contrast(1.08);
  box-shadow: 0 14px 30px -8px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .btn-primary:hover:not(:disabled) {
  box-shadow: 0 14px 32px -6px rgba(255, 255, 255, 0.35);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-secondary {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--transition), background-color var(--transition);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-subtle);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.legal-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-soft);
}

/* Receipt card */
.receipt-card {
  max-width: 520px;
  margin: 20px auto 0;
  text-align: center;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: grid;
  place-items: center;
}

.receipt-details {
  margin: 24px 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.receipt-row span:last-child {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.status-pill {
  color: var(--success) !important;
  background: var(--success-bg);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600 !important;
}

.receipt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

[hidden] {
  display: none !important;
}

/* Responsive */
@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .sbp-box {
    flex-direction: column;
    text-align: center;
  }

  .sbp-banks {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .card {
    padding: 20px;
  }

  .form-row,
  .receipt-actions {
    grid-template-columns: 1fr;
  }

  .method-tab span {
    font-size: 0.8rem;
  }
}

  /* Landing & Pricing store styles */
  html {
    scroll-behavior: smooth;
  }

  .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
  }

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

  .nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 999px;
    transition: all var(--transition);
  }

  .nav-link:hover {
    color: var(--text);
    background: var(--surface);
  }

  .nav-cta {
    color: var(--text);
    border: 1px solid var(--border-strong);
    background: var(--surface-subtle);
  }

  .back-store-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    padding: 8px 14px;
  }

  /* Hero section */
  .hero-section {
    text-align: center;
    padding: 48px 32px;
    margin-bottom: 44px;
  }

  .hero-content {
    max-width: 780px;
    margin: 0 auto;
  }

  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface-subtle);
    color: var(--text-muted);
    margin-bottom: 18px;
  }

  .eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
  }

  .hero-title {
    font-size: clamp(1.9rem, 4vw, 2.85rem);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 1.04rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 28px;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
  }

  .hero-btn-main {
    width: auto;
    min-width: 240px;
    text-decoration: none;
  }

  .hero-btn-sub {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .stat-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
  }

  .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  /* Section blocks */
  .section-block {
    margin-bottom: 48px;
  }

  .section-head {
    text-align: center;
    margin-bottom: 26px;
  }

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

  .feature-card {
    padding: 22px;
  }

  .feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .feature-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
  }

  .feature-card p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  /* 5 Tariffs Pricing Grid */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
  }

  .pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
  }

  .pricing-card.is-featured {
    border-color: var(--accent);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--accent);
  }

  .pricing-name {
    font-size: 1.22rem;
    font-weight: 800;
  }

  .pricing-sub {
    margin: 4px 0 14px;
    font-size: 0.84rem;
    color: var(--text-muted);
  }

  .pricing-price {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
  }

  .pricing-price span {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
  }

  .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 0.86rem;
    color: var(--text-muted);
  }

  .pricing-features li strong {
    color: var(--text);
  }

  .pricing-buy-btn {
    width: 100%;
    text-align: center;
    text-decoration: none;
    justify-content: center;
  }

  /* FAQ */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }

  .faq-item {
    padding: 22px;
  }

  .faq-item h3 {
    margin: 0 0 8px;
    font-size: 1rem;
  }

  .faq-item p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--text-muted);
  }

  .faq-item code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--surface-subtle);
    padding: 2px 6px;
    border-radius: 5px;
    color: var(--text);
  }

  @media (max-width: 920px) {
    .features-grid {
      grid-template-columns: 1fr 1fr;
    }
    .hero-stats {
      grid-template-columns: 1fr 1fr;
    }
    .top-nav {
      display: none;
    }
  }

  @media (max-width: 600px) {
    .features-grid,
    .faq-grid {
      grid-template-columns: 1fr;
    }
  }

  @media print {
  .topbar,
  .receipt-actions {
    display: none;
  }

  .card {
    border: none;
    box-shadow: none;
  }
}
