

:root {

  --bg: #faf9f6;
  --card: #ffffff;
  --surface: #eef0f4;
  --surface-2: #f4f5f8;
  --ink: #141c33;
  --ink-2: #1b2547;
  --muted: #58627a;
  --soft: #8a93a8;
  --gold: #f6c343;
  --gold-deep: #e0a417;
  --gold-soft: #fdf3d7;
  --blue: #7fb3e8;
  --blue-deep: #3f78c2;
  --blue-soft: #e7f0fb;
  --line: #e6e6ea;
  --line-2: #dcdde3;
  --ok: #1f9d57;
  --ok-soft: #e6f6ec;
  --warn: #b7791f;
  --err: #d64550;
  --err-soft: #fdecee;

  --font-display: "TT Travels Next", "Rubik", "Segoe UI", sans-serif;
  --font-ui: "PT Root UI", "Geologica", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20, 28, 51, 0.05);
  --shadow: 0 12px 34px rgba(20, 28, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 28, 51, 0.12);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; }
h1 { line-height: 0.98; letter-spacing: -0.025em; }
h2 { line-height: 1.05; letter-spacing: -0.02em; font-weight: 500; }
h3 { line-height: 1.1; letter-spacing: -0.01em; }

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: var(--ink); }

.mono, .price, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0;
  padding: 12px 22px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s, border-color 0.16s, color 0.16s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: #3a2c05; box-shadow: 0 8px 18px rgba(246, 195, 67, 0.35); }
.btn-gold:hover { background: #f4bb2e; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(246, 195, 67, 0.45); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }

.btn-blue { background: var(--blue-deep); color: #fff; box-shadow: 0 8px 18px rgba(63, 120, 194, 0.28); }
.btn-blue:hover { background: #366aad; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface-2); }

.btn-soft { background: var(--surface); color: var(--ink); }
.btn-soft:hover { background: #e5e7ee; }

.btn-sm { padding: 8px 15px; font-size: 0.9rem; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.tg-star { display: inline-block; vertical-align: middle; overflow: visible; filter: drop-shadow(0 1px 2px rgba(232, 148, 12, 0.35)); }
.pack-q .tg-star, .ptable .tg-star, th .tg-star { vertical-align: -0.14em; }

.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 26px; height: 66px; }

.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 24px; height: 24px; color: var(--gold-deep); flex: none; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.main-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.main-nav > a {
  color: var(--muted); font-weight: 500; padding: 8px 13px; border-radius: 9px;
  transition: color 0.15s, background 0.15s;
}
.main-nav > a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav-mobile-actions { display: none; }

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.balance-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-soft); border: 1px solid #f0dca0;
  color: #7a5a06; font-weight: 500; font-size: 0.9rem;
  border-radius: 11px; padding: 7px 14px;
}
.balance-chip:hover { text-decoration: none; }
.balance-chip .num { font-weight: 600; }
.bc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.flash-wrap { position: fixed; top: 80px; left: 0; right: 0; z-index: 80; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.flash {
  pointer-events: auto; max-width: 580px;
  background: #fff; border-radius: 13px; box-shadow: var(--shadow);
  padding: 13px 20px; font-weight: 500; font-size: 0.94rem;
  border-left: 3px solid var(--ok);
  animation: flash-in 0.32s ease; transition: opacity 0.4s, transform 0.4s;
}
.flash-err { border-left-color: var(--err); }
.flash.hide { opacity: 0; transform: translateY(-12px); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

section { padding: 52px 0; }
.sec-head { max-width: 620px; margin: 0 0 30px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); margin-bottom: 10px; }
.sec-head p { color: var(--muted); font-size: 1.02rem; }
.kicker {
  display: inline-block; font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0; color: var(--blue-deep); background: var(--blue-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}

.hero { padding: 40px 0 12px; }
.hero-head { max-width: 720px; margin-bottom: 30px; }
.hero-head h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); margin-bottom: 14px; }
.hero-head .accent { color: var(--gold-deep); }
.hero-head p { color: var(--muted); font-size: 1.08rem; max-width: 560px; }

.buy-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }

.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 26px 26px 28px;
}
.form-card.dark { background: var(--ink); border-color: var(--ink-2); color: #eef1f8; }
.form-card.dark .fc-title, .form-card.dark label, .form-card.dark .fc-hint { color: #eef1f8; }
.form-card.dark .fc-hint { color: #aab3c9; }

.fc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fc-badge {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--gold-deep);
}
.form-card.dark .fc-badge { background: rgba(246, 195, 67, 0.16); color: var(--gold); }
.fc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.015em; line-height: 1.05; }
.fc-sub { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.form-card.dark .fc-sub { color: #aab3c9; }

.fc-label { display: block; font-size: 0.86rem; font-weight: 500; color: var(--muted); margin-bottom: 9px; }

.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 16px; }
.pack {
  border: 1.5px solid var(--line-2); background: #fff; border-radius: 12px;
  padding: 11px 8px; text-align: center; transition: all 0.15s; cursor: pointer;
}
.pack:hover { border-color: var(--gold); }
.pack.active { border-color: var(--gold-deep); background: var(--gold-soft); }
.pack-q { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.pack-p { font-size: 0.78rem; color: var(--muted); margin-top: 2px; font-family: var(--font-mono); }
.form-card.dark .pack { background: #232c48; border-color: #313b5c; }
.form-card.dark .pack .pack-q { color: #fff; }
.form-card.dark .pack.active { background: rgba(246,195,67,0.14); border-color: var(--gold); }

.term-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.term {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1.5px solid #313b5c; background: #232c48; border-radius: 13px;
  padding: 13px 16px; cursor: pointer; transition: all 0.15s;
}
.term:hover { border-color: var(--gold); }
.term.active { border-color: var(--gold); background: #2a3556; }
.term-name { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: #fff; }
.term-meta { font-size: 0.8rem; color: #aab3c9; margin-top: 1px; }
.term-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.15rem; color: var(--gold); white-space: nowrap; }
.term-pop { display: inline-block; font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; letter-spacing: 0; color: #3a2c05; background: var(--gold); border-radius: 7px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }

.field { margin-bottom: 14px; }
.field-label { display: block; font-size: 0.86rem; font-weight: 500; color: var(--muted); margin-bottom: 7px; }
.form-card.dark .field-label { color: #aab3c9; }
.input {
  width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; font-size: 0.98rem; background: #fff; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(127, 179, 232, 0.25); }
.input.mono { font-family: var(--font-mono); }
.form-card.dark .input { background: #232c48; border-color: #313b5c; color: #fff; }
.form-card.dark .input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(246,195,67,0.22); }
textarea.input { resize: vertical; min-height: 80px; }
.field-hint, .fc-hint { color: var(--soft); font-size: 0.8rem; line-height: 1.45; margin-top: 6px; }

.custom-row { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.custom-row .input { flex: 1; }

.fc-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 15px; margin: 16px 0 14px;
}
.form-card.dark .fc-total { border-color: #313b5c; }
.fc-total .lbl { color: var(--muted); font-size: 0.92rem; }
.form-card.dark .fc-total .lbl { color: #aab3c9; }
.fc-total .val { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 1.85rem); color: var(--ink); }
.form-card.dark .fc-total .val { color: var(--gold); }
.fc-per { font-family: var(--font-mono); font-size: 0.82rem; color: var(--soft); }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 24px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.trust-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-deep); }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.how-n {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem;
  color: var(--gold-deep); background: var(--gold-soft); border-radius: 8px;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.how-step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.how-step p { color: var(--muted); font-size: 0.92rem; }
.how-step code { font-family: var(--font-mono); background: var(--surface); border-radius: 6px; padding: 1px 6px; font-size: 0.88em; color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow-sm);
}
.step-num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff;
  font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.9rem; }

.recent { display: flex; flex-wrap: wrap; gap: 10px; }
.recent-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; font-size: 0.92rem;
}
.recent-item .who { font-family: var(--font-mono); color: var(--ink); }
.recent-item .what { color: var(--muted); }
.recent-item .ok { color: var(--ok); font-size: 0.82rem; font-weight: 500; }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.adv-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.adv-ico svg { width: 26px; height: 26px; }
.adv h3 { font-size: 1.06rem; margin-bottom: 6px; }
.adv p { color: var(--muted); font-size: 0.92rem; }

.subs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.sub-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s;
}
.sub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); text-decoration: none; }
.sub-card h3 { font-size: 1.02rem; }
.sub-card .sub-from { color: var(--soft); font-size: 0.78rem; }
.sub-card .price { color: var(--ink); font-weight: 600; font-size: 1.02rem; white-space: nowrap; }

.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; font-weight: 500; font-size: 1rem; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { flex: none; color: var(--soft); transition: transform 0.24s; }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.faq-more { margin-top: 22px; }

.support-band {
  background: var(--ink); color: #eef1f8; border-radius: var(--radius-lg);
  padding: 34px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.support-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.support-band p { color: #aab3c9; max-width: 460px; }

.page-head { padding: 44px 0 6px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 640px; font-size: 1.02rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; color: var(--soft); font-size: 0.86rem; margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

.calc-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.calc-left { padding: 30px 32px; }
.calc-qty-big {
  font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(2.6rem, 7vw, 3.5rem); line-height: 1; color: var(--ink); margin-bottom: 4px;
}
.calc-qty-big small { font-size: 0.4em; color: var(--gold-deep); font-family: var(--font-ui); font-weight: 500; }
.calc-range { width: 100%; accent-color: var(--gold-deep); height: 32px; margin: 12px 0; }
.calc-packs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.calc-right {
  background: var(--ink); color: #eef1f8; padding: 30px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-right .lbl { font-size: 0.85rem; color: #aab3c9; }
.calc-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 2.4rem; color: var(--gold); margin: 4px 0 2px; }
.calc-per { font-family: var(--font-mono); font-size: 0.88rem; color: #aab3c9; margin-bottom: 4px; }
.calc-save { display: inline-flex; align-self: flex-start; font-size: 0.82rem; font-weight: 500; color: #3a2c05; background: var(--gold); border-radius: 8px; padding: 4px 11px; margin: 6px 0 18px; }

.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 26px; align-items: start; padding-bottom: 30px; }
.product-info { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 30px; }
.product-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.product-ico {
  width: 60px; height: 60px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  background: var(--surface); border: 1px solid var(--line);
}
.product-top h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.product-short { color: var(--muted); font-size: 0.96rem; margin-top: 4px; }
.info-note {
  display: flex; gap: 11px; align-items: flex-start;
  background: var(--gold-soft); border: 1px solid #f0dca0; border-radius: 13px;
  padding: 13px 16px; font-size: 0.9rem; color: #6f5205; margin-bottom: 18px;
}
.info-note b { color: #5a4204; }
.product-desc { color: var(--ink); font-size: 0.97rem; line-height: 1.65; white-space: pre-line; }

.buy-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; position: sticky; top: 84px; }
.buy-card h2 { font-size: 1.2rem; margin-bottom: 16px; }

.variants { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant-face {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff;
  padding: 10px 16px; cursor: pointer; transition: all 0.15s; min-width: 92px; text-align: center;
}
.variant-face:hover { border-color: var(--gold); }
.variant input:checked + .variant-face { border-color: var(--gold-deep); background: var(--gold-soft); }
.variant-title { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.variant-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.82rem; }

.buy-total { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; margin: 20px 0 16px; }
.buy-total span { color: var(--muted); }
.buy-total b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.7rem; color: var(--ink); }
.buy-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--soft); font-size: 0.84rem; margin-top: 12px; }

.verify-wrap { max-width: 560px; margin: 0 auto; padding: 20px 0 40px; }
.verify-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; text-align: center; }
.verify-card .kicker { color: var(--gold-deep); }
.verify-card h1 { font-size: 1.7rem; margin-bottom: 8px; }
.verify-lead { color: var(--muted); margin-bottom: 22px; }
.verify-user {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.1rem); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px; margin-bottom: 8px; word-break: break-all;
}
.verify-meta { display: flex; flex-direction: column; gap: 8px; text-align: left; margin: 22px 0; }
.verify-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.verify-line:last-child { border-bottom: none; }
.verify-line .k { color: var(--muted); font-size: 0.92rem; }
.verify-line .v { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 500; }
.verify-line .v.total { font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.verify-actions { display: flex; gap: 12px; margin-top: 8px; }
.verify-actions .btn { flex: 1; }
.promo-field { display: flex; gap: 9px; margin: 6px 0 4px; }
.promo-field .input { flex: 1; }

.auth-wrap { display: flex; justify-content: center; padding: 56px 20px 80px; }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px 32px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-sub { color: var(--muted); font-size: 0.94rem; margin-bottom: 22px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 18px; }
.auth-switch a { font-weight: 500; }
.agree { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 18px; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.agree input { width: 17px; height: 17px; margin-top: 2px; flex: none; accent-color: var(--gold-deep); }

.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-bottom: 20px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px; }
.pcard h2 { font-size: 1.14rem; margin-bottom: 14px; }
.pcard-full { grid-column: 1 / -1; }
.balance-big { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 2.4rem; color: var(--ink); margin-bottom: 2px; }
.balance-big small { font-size: 0.4em; color: var(--gold-deep); }
.pcard-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.tg-status { display: flex; align-items: center; gap: 10px; background: var(--ok-soft); border: 1px solid #c7e8d3; color: #146c3e; border-radius: 12px; padding: 12px 15px; font-weight: 500; font-size: 0.92rem; }
.tg-code { font-family: var(--font-mono); background: var(--surface); border-radius: 7px; padding: 2px 8px; font-size: 0.88rem; color: var(--ink); }

.order-list { display: flex; flex-direction: column; gap: 14px; }
.order-item { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.order-item summary { list-style: none; cursor: pointer; padding: 15px 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-item summary::-webkit-details-marker { display: none; }
.order-id { font-family: var(--font-mono); color: var(--soft); font-weight: 500; }
.order-name { font-weight: 500; }
.order-sum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; margin-left: auto; }
.order-body { padding: 0 18px 18px; }
.order-date { color: var(--soft); font-size: 0.82rem; font-family: var(--font-mono); }

.timeline { list-style: none; margin: 8px 0 0; padding: 6px 0 0; border-top: 1px solid var(--line); }
.tl-item { position: relative; padding: 12px 0 12px 26px; }
.tl-item::before { content: ""; position: absolute; left: 5px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2); }
.tl-item::after { content: ""; position: absolute; left: 9px; top: 24px; bottom: -6px; width: 1px; background: var(--line-2); }
.tl-item:last-child::after { display: none; }
.tl-item.done::before { background: var(--ok); }
.tl-item.clarify::before { background: var(--gold-deep); }
.tl-item.canceled::before, .tl-item.refunded::before { background: var(--err); }
.tl-status { font-weight: 500; font-size: 0.94rem; }
.tl-note { color: var(--muted); font-size: 0.88rem; margin-top: 1px; }
.tl-time { color: var(--soft); font-size: 0.78rem; font-family: var(--font-mono); margin-top: 2px; }

.clarify-box { background: var(--gold-soft); border: 1px solid #f0dca0; border-radius: 13px; padding: 15px 17px; margin-top: 12px; }
.clarify-box .q { font-weight: 500; color: #6f5205; margin-bottom: 10px; }
.clarify-box form { display: flex; gap: 9px; }
.clarify-box .input { flex: 1; }

.table-scroll { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; min-width: 480px; }
.ptable th { text-align: left; font-size: 0.85rem; letter-spacing: 0; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ptable td { padding: 12px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.ptable tr:last-child td { border-bottom: none; }
.td-num { font-family: var(--font-mono); color: var(--soft); white-space: nowrap; }
.td-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.td-date { color: var(--soft); font-size: 0.82rem; font-family: var(--font-mono); white-space: nowrap; }

.status { display: inline-block; border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.03em; padding: 4px 11px; white-space: nowrap; }
.st-pending { background: var(--surface); color: var(--muted); }
.st-progress { background: var(--blue-soft); color: var(--blue-deep); }
.st-done { background: var(--ok-soft); color: #146c3e; }
.st-clarify { background: var(--gold-soft); color: var(--warn); }
.st-cancel { background: var(--err-soft); color: #a83039; }

.empty-note { border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 24px; text-align: center; color: var(--soft); font-size: 0.92rem; }

.saved-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.saved-chip { font-family: var(--font-mono); font-size: 0.85rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; color: var(--ink); }

.topup-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; padding-bottom: 30px; }
.need-alert { display: flex; gap: 11px; align-items: center; background: var(--gold-soft); border: 1px solid #f0dca0; border-radius: 14px; padding: 15px 18px; color: #6f5205; margin-bottom: 20px; }
.need-alert b { font-family: var(--font-mono); }
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.amount-chip { border: 1.5px solid var(--line-2); background: #fff; border-radius: 10px; padding: 7px 14px; font-family: var(--font-mono); font-size: 0.86rem; color: var(--muted); transition: all 0.15s; }
.amount-chip:hover { border-color: var(--gold); color: var(--ink); }

.methods { display: flex; flex-direction: column; gap: 9px; }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method-face { display: block; border: 1.5px solid var(--line-2); border-radius: 13px; padding: 13px 16px; cursor: pointer; transition: all 0.15s; background: #fff; }
.method-face:hover { border-color: var(--blue); }
.method input:checked + .method-face { border-color: var(--blue-deep); background: var(--blue-soft); }
.method-name { font-weight: 500; display: flex; align-items: center; gap: 8px; }
.method-req { display: none; margin-top: 9px; font-family: var(--font-mono); font-size: 0.86rem; color: var(--ink); background: #fff; border: 1px dashed var(--blue); border-radius: 9px; padding: 9px 12px; word-break: break-word; }
.method input:checked + .method-face .method-req { display: block; }
.topup-steps { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.topup-steps li { display: flex; gap: 12px; color: var(--muted); font-size: 0.92rem; }
.topup-steps .n { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--surface); color: var(--ink); font-family: var(--font-mono); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; }

.legal { max-width: 780px; margin: 0 auto; padding: 10px 0 50px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; line-height: 1.7; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal .updated { color: var(--soft); font-size: 0.86rem; font-family: var(--font-mono); margin-bottom: 20px; }

.cat-block { margin-bottom: 40px; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cat-ico { width: 42px; height: 42px; border-radius: 12px; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); }
.cat-head h2 { font-size: 1.4rem; }
.cat-count { color: var(--soft); font-size: 0.86rem; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.prod-card { display: flex; flex-direction: column; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); text-decoration: none; }
.prod-ico { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--surface); border: 1px solid var(--line); }
.prod-card h3 { font-size: 1.06rem; }
.prod-short { color: var(--muted); font-size: 0.88rem; flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.prod-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.prod-price small { color: var(--soft); font-weight: 400; font-family: var(--font-ui); }
.prod-arrow { color: var(--soft); transition: transform 0.16s, color 0.16s; }
.prod-card:hover .prod-arrow { color: var(--gold-deep); transform: translateX(3px); }

.site-foot { background: #fff; border-top: 1px solid var(--line); margin-top: 46px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 46px 22px 30px; }
.foot-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.foot-col h4 { font-size: 0.94rem; letter-spacing: 0; color: var(--ink); margin-bottom: 13px; font-family: var(--font-ui); font-weight: 600; }
.foot-col a { display: block; color: var(--muted); padding: 5px 0; font-size: 0.92rem; }
.foot-col a:hover { color: var(--ink); text-decoration: none; }
.foot-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 18px 22px 26px; color: var(--soft); font-size: 0.83rem; }
.foot-note { max-width: 540px; }

.form-card.dark {
  background:
    radial-gradient(120% 90% at 12% -8%, rgba(127, 179, 232, 0.12) 0%, rgba(127, 179, 232, 0) 46%),
    linear-gradient(165deg, #223056 0%, #1a2444 46%, #141d38 100%);
  border-color: #2c3a63;
  box-shadow: 0 22px 55px rgba(11, 17, 38, 0.4);
}
.form-card.dark .fc-badge {
  background: linear-gradient(150deg, #ffe07a 0%, #f6c343 52%, #e8940c 100%);
  color: #3a2c05;
  box-shadow: 0 6px 16px rgba(232, 148, 12, 0.4);
}
.form-card.dark .fc-badge .tg-star { filter: drop-shadow(0 1px 1px rgba(58, 44, 5, 0.35)); }

.term {
  border: 1.5px solid #33406a;
  background: linear-gradient(160deg, #26335a 0%, #202b4d 100%);
  border-radius: 14px;
}
.term:hover { border-color: #6f8fce; background: linear-gradient(160deg, #2b3a64 0%, #232f54 100%); transform: translateY(-1px); }
.term.active {
  border-color: var(--gold);
  background: linear-gradient(160deg, #303e69 0%, #2a3556 100%);
  box-shadow: 0 0 0 3px rgba(246, 195, 67, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.term-meta { color: #9fb0d0; }
.term-price { color: var(--gold); text-shadow: 0 1px 10px rgba(246, 195, 67, 0.25); }
.term-pop {
  background: linear-gradient(120deg, #ffe07a, #f6c343);
  color: #3a2c05; box-shadow: 0 2px 8px rgba(232, 148, 12, 0.35);
}
.form-card.dark .pack { background: linear-gradient(160deg, #26335a 0%, #202b4d 100%); border-color: #33406a; }
.form-card.dark .pack:hover { border-color: #6f8fce; }
.form-card.dark .pack.active { background: linear-gradient(160deg, rgba(246,195,67,0.2), rgba(246,195,67,0.08)); border-color: var(--gold); }
.form-card.dark .input { background: #1c2647; border-color: #33406a; }
.form-card.dark .fc-total { border-color: #33406a; }
.form-card.dark .fc-total .val { text-shadow: 0 2px 16px rgba(246, 195, 67, 0.3); }

@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 1px 2px rgba(232,148,12,0.35)) brightness(1); }
  50%      { transform: scale(1.08) rotate(-4deg); filter: drop-shadow(0 2px 6px rgba(246,195,67,0.6)) brightness(1.12); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@keyframes sheen {
  0% { transform: translateX(-130%) skewX(-18deg); }
  100% { transform: translateX(230%) skewX(-18deg); }
}

.form-card { animation: revealUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.stars-form { animation-delay: 0.05s; }
.premium-form { animation-delay: 0.14s; }
.reveal { opacity: 0; }
.reveal.in { animation: revealUp 0.62s cubic-bezier(0.22, 0.61, 0.36, 1) both; }

.fc-badge .tg-star { animation: twinkle 3.6s ease-in-out infinite; }
.qty-star .tg-star { animation: floaty 3s ease-in-out infinite; }
.logo:hover .tg-star { animation: twinkle 0.9s ease-in-out; }

.fc-total .val.bump, .calc-price.bump { animation: bump 0.32s ease; }

.pack { transition: transform 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.pack:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20, 28, 51, 0.12); }
.pack.active { transform: translateY(-1px); }

.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-130%) skewX(-18deg); pointer-events: none;
}
.btn-gold:hover::after { animation: sheen 0.85s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::after, *::before { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; }
}

@media (max-width: 960px) {
  .buy-forms { grid-template-columns: 1fr; }
  .how-grid, .adv-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .calc-card { grid-template-columns: 1fr; }
  .product-layout, .topup-layout { grid-template-columns: 1fr; }
  .buy-card { position: static; }
  .profile-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .main-nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch; padding: 14px 20px 20px; gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 12px 10px; font-size: 1.02rem; }
  .nav-mobile-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
  .nav-mobile-actions .btn { flex: 1; }
  .head-actions .btn, .head-actions .balance-chip { display: none; }
  .burger { display: flex; }
}
@media (max-width: 560px) {
  section { padding: 40px 0; }
  .steps { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: repeat(3, 1fr); }
  .form-card { padding: 22px 20px; }
  .support-band { padding: 26px 22px; }
  .verify-card { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .verify-actions { flex-direction: column; }
}
