:root {
  --bg: #080d1d;
  --bg-soft: #0e1428;
  --text: #ffffff;
  --muted: #aab0c5;
  --accent: #ff5257;
  --accent-2: #ff6b6f;
  --accent-cool: #18d6bd;
  --accent-blue: #27c8f2;
  --premium-line: rgba(255, 255, 255, .095);
  --line: rgba(255, 255, 255, .16);
  --panel: rgba(18, 25, 48, .72);
  --panel-strong: rgba(24, 32, 61, .92);
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 15px;
  --fs-md: 17px;
  --fs-lg: 20px;
  --fs-xl: 26px;
  --fs-display: 42px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(24, 214, 189, .88);
  outline-offset: 3px;
}

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 13% 10%, rgba(24, 214, 189, .11), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(255, 82, 87, .12), transparent 32%),
    linear-gradient(180deg, #080d1d 0%, #090e1f 100%);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 74px;
  padding: 0 clamp(18px, 6vw, 96px);
  border-bottom: 1px solid var(--premium-line);
  background: rgba(5, 9, 20, .82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
  backdrop-filter: blur(22px) saturate(1.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  letter-spacing: 0;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-weight: 700;
}
.nav-link {
  position: relative;
  transition: color .18s ease, transform .18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-cool), var(--accent-blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.nav-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.nav-link:hover::after { transform: scaleX(1); }
.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.top-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .76);
  cursor: pointer;
  font-weight: 800;
}
.top-login-btn svg,
.button-arrow {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.top-login-btn:hover { color: #fff; }
.is-authenticated .top-login-btn { display: none; }
.primary-btn, .secondary-btn, .outline-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  font-size: var(--fs-base);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.primary-btn::before, .secondary-btn::before, .outline-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.16) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform .45s ease;
  pointer-events: none;
}
.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(255, 82, 87, .24), inset 0 1px 0 rgba(255,255,255,.2);
}
.secondary-btn, .outline-btn {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.primary-btn:hover, .secondary-btn:hover, .outline-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,0,0,.28), 0 0 0 1px rgba(24,214,189,.14);
}
.primary-btn:hover::before, .secondary-btn:hover::before, .outline-btn:hover::before {
  transform: translateX(120%);
}
.is-loading-btn {
  gap: 10px;
  pointer-events: none;
  opacity: .88;
}
.is-loading-btn::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
.telegram-btn { gap: 10px; }
.telegram-btn img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  padding: 34px clamp(18px, 7vw, 120px) 54px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24, 214, 189, .11), transparent 34%),
    radial-gradient(circle at 79% 37%, rgba(255, 255, 255, .05), transparent 24%);
}
.diagonal {
  position: absolute;
  display: block;
  width: 42vw;
  height: 130vh;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,82,87,.16), rgba(24,214,189,.025));
  transform: rotate(41deg);
  filter: blur(.2px);
}
.diagonal-one { left: 6vw; top: -34vh; opacity: .34; }
.diagonal-two { right: 8vw; top: -42vh; opacity: .28; }
.diagonal-three { left: -20vw; bottom: -82vh; opacity: .24; }
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .88fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  width: 100%;
}
.hero-copy {
  position: relative;
  max-width: 930px;
  animation: rise .7s ease both;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin: 0 0 34px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 650;
}
.status-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cool);
  box-shadow: 0 0 0 7px rgba(24, 214, 189, .11);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.07;
  letter-spacing: 0;
  font-weight: 900;
}
.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--accent-cool), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
}
.feature-band h2 span { color: var(--accent); }
.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 560;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .primary-btn {
  min-height: 54px;
  padding: 0 28px;
  gap: 12px;
  color: #11131a;
  background: #fff;
  box-shadow: 0 18px 46px rgba(255, 255, 255, .12);
}
.hero .secondary-btn {
  min-height: 54px;
  padding: 0 28px;
  color: rgba(255, 255, 255, .62);
  border-color: rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .02);
}
.payment-row,
.store-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.payment-row { flex-wrap: nowrap; }
.store-row { flex-wrap: nowrap; }
.payment-row { margin-top: 34px; }
.store-row { margin-top: 14px; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: min(96px, calc((100% - 28px) / 3));
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .9);
  font-weight: 900;
}
.pay-chip img {
  display: block;
  width: auto;
  max-width: 76px;
  height: 23px;
  object-fit: contain;
  pointer-events: none;
}
.pay-chip span {
  color: #fff;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}
.pay-sbp img { height: 22px; }
.pay-mir img {
  max-width: 80px;
  height: 23px;
}
.pay-sber {
  background: rgba(255, 255, 255, .08);
}
.pay-sber img {
  max-width: 64px;
  height: 25px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(138px, calc((100% - 14px) / 2));
  height: 42px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  overflow: hidden;
}
.store-badge img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}
.store-badge span {
  display: grid;
  color: #fff;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
  white-space: nowrap;
}
.store-badge small {
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
}
.hero-insights { display: grid; gap: 14px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.stat-card,
.capability-card {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 22px 60px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
}
.stat-card {
  min-height: 150px;
  padding: 18px;
}
.stat-icon,
.mini-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 214, 189, .18);
  border-radius: 8px;
  background: rgba(24, 214, 189, .08);
  color: var(--accent-cool);
}
.stat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}
.icon-gift {
  border-color: rgba(24, 214, 189, .2);
  background: rgba(24, 214, 189, .1);
  color: var(--accent-cool);
}
.icon-cashback {
  border-color: rgba(255, 190, 55, .22);
  background: rgba(255, 190, 55, .11);
  color: #ffca4d;
}
.icon-headset {
  border-color: rgba(39, 200, 242, .2);
  background: rgba(39, 200, 242, .1);
  color: var(--accent-blue);
}
.stat-icon svg,
.mini-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-card strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  color: #fff;
}
.stat-card span:last-child {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .56);
  font-size: 14px;
  line-height: 1.35;
}
.capability-card {
  padding: 18px 20px;
}
.capability-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 56px;
  color: rgba(255, 255, 255, .62);
  font-size: 16px;
}
.capability-row + .capability-row {
  border-top: 1px solid rgba(255, 255, 255, .075);
}
.mini-icon {
  width: 40px;
  height: 40px;
}

.benefits-band {
  position: relative;
  padding: 76px clamp(18px, 7vw, 112px) 88px;
  background:
    radial-gradient(circle at 88% 18%, rgba(24, 214, 189, .12), transparent 24%),
    #f7f9fb;
  color: #111827;
}
.benefits-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
}
.benefits-eyebrow {
  margin: 0 0 18px;
  color: #47cfa9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.benefits-band h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}
.benefits-lead {
  max-width: 760px;
  margin: 22px 0 54px;
  color: #6b7280;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 560;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.benefit-card {
  min-height: 274px;
  padding: 28px 26px;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 18px 42px rgba(17, 24, 39, .04);
}
.benefit-card.is-featured {
  border-color: rgba(24, 214, 189, .72);
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(24, 214, 189, .08);
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: rgba(24, 214, 189, .12);
  color: #16b99f;
}
.benefit-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card h3 {
  margin: 0 0 16px;
  color: #111827;
  font-size: 22px;
  line-height: 1.18;
}
.benefit-card p {
  margin: 0;
  color: #6b7280;
  font-size: 17px;
  line-height: 1.52;
}

.apps-band, .faq-band, .account-view {
  padding: 76px clamp(18px, 7vw, 112px);
}
.apps-band h2, .faq-band h2, .account-header h1 {
  margin: 0 0 30px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}
.feature-band {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-content: center;
  padding: 120px clamp(18px, 7vw, 112px) 132px;
  background:
    linear-gradient(180deg, #070b14 0%, #070908 82%, rgba(8, 13, 29, .98) 100%),
    radial-gradient(circle at 50% 18%, rgba(24, 214, 189, .09), transparent 28%);
  overflow: hidden;
}
.feature-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(24, 214, 189, .035) 50%, transparent 100%),
    linear-gradient(180deg, transparent 0%, transparent 84%, rgba(8,13,29,.16));
  pointer-events: none;
}
.feature-eyebrow {
  position: relative;
  margin: 0 0 12px;
  color: #20c6a4;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.feature-band h2 {
  position: relative;
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.04;
}
.feature-lead {
  position: relative;
  margin: 14px auto 34px;
  max-width: 520px;
  color: rgba(255, 255, 255, .48);
  text-align: center;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 560;
}
.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: min(760px, 100%);
  margin: 0 auto;
}
.metric-card, .detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}
.feature-card {
  min-height: 156px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 214, 189, .28);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 16px 34px rgba(0,0,0,.18);
}
.feature-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.feature-number {
  color: rgba(255, 255, 255, .06);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
}
.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, .52);
  font-size: 13px;
  line-height: 1.45;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(24, 214, 189, .16);
  border-radius: 8px;
  background: rgba(24, 214, 189, .1);
  color: var(--accent-cool);
}
.feature-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pricing-band {
  position: relative;
  display: block;
  margin-top: -1px;
  background:
    linear-gradient(180deg, rgba(8, 13, 29, .98) 0%, rgba(8, 13, 29, .86) 14%, rgba(8, 13, 29, 0) 32%),
    radial-gradient(circle at 14% 0%, rgba(24, 214, 189, .08), transparent 28%),
    linear-gradient(180deg, #080d1d 0%, #090e1f 100%);
}
.pricing-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  height: 90px;
  background: linear-gradient(180deg, rgba(7, 9, 8, 0), rgba(8, 13, 29, .98));
  pointer-events: none;
}
.pricing-head,
.pricing-grid {
  position: relative;
  z-index: 1;
}
.pricing-head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}
.pricing-eyebrow {
  margin: 0 0 10px;
  color: #47cfa9;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.pricing-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.05;
}
.pricing-head p:not(.pricing-eyebrow) {
  margin: 12px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
  margin: 0 auto;
}
.price-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  min-height: 250px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
}
.price-card-trial {
  border-color: rgba(24, 214, 189, .42);
  background: rgba(24, 214, 189, .09);
}
.price-card-featured {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
}
.price-label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .46);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.price-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.08;
}
.price-value {
  margin: 0 0 8px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}
.price-value span {
  margin-left: 4px;
  color: rgba(255, 255, 255, .48);
  font-size: 14px;
}
.price-desc {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.45;
}
.price-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}
.price-card li::before {
  content: "✓";
  color: #47cfa9;
  font-weight: 900;
}
.bonus-note {
  margin: 0 0 10px;
  color: #47cfa9;
  font-size: 11px;
  font-weight: 850;
}
.price-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #111827;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.price-btn-primary,
.price-btn:hover {
  background: linear-gradient(135deg, #19c58f, #16b99f);
  color: #fff;
  box-shadow: 0 12px 24px rgba(24, 214, 189, .16);
}
.price-btn:hover { transform: translateY(-2px); }
.faq-band {
  padding-top: 58px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 50% 0%, rgba(24, 214, 189, .06), transparent 28%),
    linear-gradient(180deg, #090e1f 0%, #070908 100%);
}
.faq-head {
  max-width: 600px;
  margin: 0 auto 32px;
  text-align: center;
}
.faq-eyebrow {
  margin: 0 0 11px;
  color: #20c6a4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.faq-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
}
.faq-head p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 1.4;
}
.faq-list {
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
  margin: 0 auto;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}
.faq-item[open] {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .045);
}
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 54px 0 20px;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  transform: translateY(-50%);
  transition: transform .18s ease, background .18s ease;
}
.faq-item summary::before {
  content: "";
  position: absolute;
  right: 27px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, .5);
  border-bottom: 2px solid rgba(255, 255, 255, .5);
  transform: translateY(-62%) rotate(45deg);
  z-index: 1;
  transition: transform .18s ease, border-color .18s ease;
}
.faq-item[open] summary::after {
  background: rgba(24, 214, 189, .12);
}
.faq-item[open] summary::before {
  border-color: var(--accent-cool);
  transform: translateY(-32%) rotate(225deg);
}
.faq-item p {
  max-width: 520px;
  margin: -2px 54px 20px 20px;
  color: rgba(255, 255, 255, .48);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 28px;
  padding: 34px clamp(18px, 7vw, 112px) 38px;
  border-top: 1px solid rgba(255, 255, 255, .075);
  background:
    radial-gradient(circle at 18% 0%, rgba(24, 214, 189, .08), transparent 28%),
    linear-gradient(180deg, #070908 0%, #060914 100%);
}
.footer-brand {
  max-width: 560px;
}
.footer-logo {
  margin-bottom: 14px;
  font-size: 18px;
}
.footer-brand p,
.footer-note {
  margin: 0;
  color: rgba(255, 255, 255, .46);
  font-size: 12px;
  line-height: 1.55;
}
.footer-links {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  text-decoration: none;
  font-size: 12px;
  font-weight: 780;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.footer-links a:hover {
  color: #fff;
  border-color: rgba(24, 214, 189, .28);
  background: rgba(24, 214, 189, .055);
}
.footer-note {
  grid-column: 1 / -1;
  padding-top: 4px;
  color: rgba(255, 255, 255, .34);
}

.legal-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(24, 214, 189, .12), transparent 30%),
    linear-gradient(180deg, #080d1d 0%, #060914 100%);
}
.legal-page {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 70px;
}
.legal-brand {
  width: max-content;
  margin-bottom: 28px;
}
.legal-doc {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255,255,255,.04);
}
.legal-eyebrow {
  margin: 0 0 12px;
  color: #20c6a4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.legal-doc h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
}
.legal-updated {
  margin: 14px 0 34px;
  color: rgba(255, 255, 255, .45);
  font-size: 14px;
}
.legal-doc section {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .075);
}
.legal-doc h2 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 1.25;
}
.legal-doc p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: 15px;
  line-height: 1.72;
}
.legal-doc p + p {
  margin-top: 10px;
}
.legal-doc a {
  color: #4de0c6;
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 224, 198, .32);
}
.legal-doc a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .42);
}

.modal-layer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: end center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 6, 16, .72); backdrop-filter: blur(10px); }
.auth-sheet {
  position: relative;
  width: min(460px, calc(100% - 24px));
  margin: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  animation: sheetIn .2s ease both;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.close-btn { position: absolute; right: 16px; top: 16px; }
.close-btn::before, .close-btn::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #fff;
  left: 11px;
  top: 18px;
}
.close-btn::before { transform: rotate(45deg); }
.close-btn::after { transform: rotate(-45deg); }
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.tab {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}
.tab.is-active { background: var(--accent); color: #fff; }
.auth-sheet h2 { margin: 24px 0 18px; }
.auth-form { display: grid; gap: 14px; }
.auth-form label > span:not(.password-field) { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.auth-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 0 14px;
  outline: none;
}
.auth-form input:focus { border-color: var(--accent); }
.password-field {
  position: relative;
  display: block;
}
.auth-form .password-field input {
  padding-right: 52px;
}
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.password-toggle::before {
  content: "";
  width: 22px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.74);
  border-radius: 50% / 58%;
  transition: border-color .18s ease, opacity .18s ease;
}
.password-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  transform: translateY(-50%);
  transition: background .18s ease;
}
.password-toggle.is-visible::before {
  border-color: var(--accent-2);
}
.password-toggle.is-visible::after {
  background: var(--accent-2);
}
.password-toggle:hover::before,
.password-toggle:hover::after {
  opacity: 1;
}
.full-btn { width: 100%; }
.form-note, .form-error { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.form-error { color: #ff9a9d; min-height: 18px; }
.form-error.is-success { color: #ffe28a; }
.auth-link-btn {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  cursor: pointer;
  font-weight: 800;
  padding: 2px 0;
  text-align: center;
  transition: color .18s ease, transform .18s ease;
}
.auth-link-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}
.auth-route {
  background: #080d1d;
  color: #111827;
}
.auth-route .page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 13% 10%, rgba(24, 214, 189, .11), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(255, 82, 87, .12), transparent 32%),
    linear-gradient(180deg, #080d1d 0%, #090e1f 100%);
}
.auth-route .topbar {
  display: none;
}
.auth-page-view[hidden] {
  display: none;
}
.auth-page-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 44px) 16px;
  color: #111827;
}
.auth-page-shell {
  width: min(380px, 100%);
  display: grid;
  gap: 10px;
  animation: authPanelIn .42s cubic-bezier(.2, .8, .2, 1) both;
}
.auth-brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px) saturate(1.12);
}
.auth-brand .brand-mark {
  width: 24px;
  height: 24px;
  font-size: 13px;
  letter-spacing: 0;
}
.auth-panel {
  width: 100%;
  padding: clamp(18px, 3.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .78);
  backdrop-filter: blur(22px) saturate(1.16);
}
.auth-benefits svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.auth-panel h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.12;
  letter-spacing: 0;
}
.auth-subtitle {
  margin: 7px 0 12px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}
.auth-page-view .auth-form {
  gap: 9px;
}
.auth-page-view .auth-form label > span:not(.password-field) {
  color: #111827;
  font-size: 11px;
  font-weight: 800;
}
.auth-page-view .auth-form input {
  min-height: 38px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
}
.auth-page-view .auth-form input::placeholder {
  color: #9ca3af;
}
.auth-page-view .auth-form input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, .06);
}
.auth-page-view .auth-form .password-field input {
  padding-right: 42px;
}
.auth-page-view .password-toggle {
  width: 34px;
  height: 34px;
}
.auth-page-view .password-toggle::before {
  width: 18px;
  height: 11px;
}
.auth-page-view .password-toggle::after {
  width: 5px;
  height: 5px;
}
.auth-page-view .password-toggle::before {
  border-color: #9ca3af;
}
.auth-page-view .password-toggle::after {
  background: #9ca3af;
}
.auth-page-view .password-toggle.is-visible::before {
  border-color: #111827;
}
.auth-page-view .password-toggle.is-visible::after {
  background: #111827;
}
.auth-page-view .primary-btn {
  min-height: 40px;
  margin-top: 2px;
  border-radius: 8px;
  background: #111827;
  box-shadow: none;
  font-size: 13px;
}
.auth-page-view .primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(17, 24, 39, .16);
}
.auth-page-view .secondary-btn {
  min-height: 38px;
  border-color: #dfe3ea;
  color: #111827;
  background: #fff;
}
.auth-page-view .auth-link-btn {
  justify-self: center;
  width: fit-content;
  color: #6b7280;
  font-size: 12px;
}
.auth-page-view .auth-link-btn:hover {
  color: #111827;
}
.auth-page-view .form-note,
.auth-page-view .form-error,
.auth-terms {
  color: #8b95a5;
  font-size: 10px;
  line-height: 1.5;
}
.auth-page-view .form-error {
  color: #dc2626;
}
.auth-page-view .form-error.is-success {
  color: #0f766e;
}
.auth-terms a,
.auth-switch a {
  color: inherit;
  text-underline-offset: 4px;
}
.auth-switch {
  margin: 0;
  color: #9ca3af;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.auth-benefits[hidden] {
  display: none;
}
.auth-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8fafc;
  color: #4b5563;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
  font-size: 10px;
  font-weight: 800;
}
.auth-benefits svg {
  width: 13px;
  height: 13px;
  color: #9ca3af;
}
@keyframes authPanelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.telegram-link-view {
  display: grid;
  align-items: center;
}
.telegram-link-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,82,87,.38);
  border-radius: 8px;
  padding: clamp(22px, 5vw, 36px);
  background:
    radial-gradient(420px 180px at 12% 0%, rgba(255,82,87,.22), transparent 64%),
    linear-gradient(135deg, rgba(35, 22, 47, .94), rgba(12, 19, 40, .94));
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
  animation: rise .45s ease both;
}
.telegram-link-glow {
  position: absolute;
  inset: -90px auto auto 18%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,82,87,.22);
  filter: blur(36px);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}
.telegram-link-card > *:not(.telegram-link-glow) {
  position: relative;
}
.telegram-link-card h1 {
  max-width: 640px;
  margin: 0 0 16px;
  font-size: clamp(28px, 4.6vw, 42px);
  line-height: 1.04;
}
.telegram-link-id {
  display: inline-flex;
  gap: 8px;
  margin: 0 0 14px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.86);
  font-weight: 800;
}
.telegram-link-text {
  max-width: 620px;
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
}
.telegram-link-form {
  max-width: 460px;
}

.account-view { min-height: calc(100vh - 74px); }
.account-shell {
  width: min(520px, 100%);
  margin: 0 auto;
}
.notice-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,82,87,.38);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 22px;
  background:
    radial-gradient(420px 150px at 8% 0%, rgba(255,82,87,.24), transparent 64%),
    linear-gradient(135deg, rgba(35, 22, 47, .94), rgba(12, 19, 40, .94));
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
  animation: rise .45s ease both;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.notice-banner:hover {
  transform: translateY(-3px);
  border-color: rgba(255,82,87,.62);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}
.notice-glow {
  position: absolute;
  inset: -60% auto auto 12%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,82,87,.28);
  filter: blur(32px);
  animation: pulseGlow 3s ease-in-out infinite;
}
.notice-badge {
  position: relative;
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.notice-banner strong,
.notice-banner p {
  position: relative;
}
.notice-banner strong {
  display: block;
  font-size: clamp(22px, 4vw, 34px);
  line-height: 1.1;
}
.notice-banner p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.account-header { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.account-header h1 {
  font-size: clamp(24px, 4.4vw, 34px);
  margin-bottom: 12px;
}
.renewal-alert {
  margin: -4px 0 18px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 211, 77, .78);
  border-radius: 8px;
  background: rgba(255, 191, 0, .13);
  color: #ffe28a;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(255, 191, 0, .12), 0 16px 38px rgba(255, 191, 0, .12);
  animation: yellowBlink 1.15s ease-in-out infinite;
}
.bot-profile-card {
  overflow: hidden;
  border: 1px solid rgba(224, 184, 108, .22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(42, 29, 43, .88), rgba(18, 20, 32, .92));
  box-shadow: 0 18px 44px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
  animation: rise .55s ease both;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bot-profile-card:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 184, 108, .34);
  box-shadow: 0 22px 52px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.06);
}
.profile-hero-card {
  position: relative;
  height: clamp(145px, 18vw, 180px);
  overflow: hidden;
  background: #08090f;
}
.profile-hero-img,
.payment-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.profile-hero-img {
  object-position: center 36%;
}
.profile-stats {
  padding: 14px 16px 6px;
  font-size: clamp(15px, 2.6vw, 17px);
  line-height: 1.34;
  font-weight: 500;
}
.profile-stats p {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}
.profile-stats strong {
  font-weight: 500;
}
.profile-link-block { padding: 14px 16px 16px; }
.profile-link-block h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 2.8vw, 19px);
}
.link-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric-card { padding: 20px; }
.metric-card span { display: block; color: var(--muted); margin-bottom: 10px; }
.metric-card strong { font-size: clamp(28px, 4vw, 46px); }
.wide { grid-column: span 1; }
.copy-link {
  width: 100%;
  min-height: 46px;
  overflow-wrap: anywhere;
  text-align: left;
  border: 0;
  border-left: 3px solid #d6a449;
  border-radius: 8px;
  color: #fff;
  background: rgba(76, 50, 43, .72);
  cursor: pointer;
  padding: 9px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: clamp(12px, 2.9vw, 15px);
  line-height: 1.22;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.copy-link:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.copy-link.is-loading {
  background: linear-gradient(90deg, rgba(92,55,45,.85), rgba(255,82,87,.22), rgba(92,55,45,.85));
  background-size: 220% 100%;
  animation: loadingSweep 1.4s ease-in-out infinite;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.bot-actions { grid-template-columns: repeat(2, 1fr); }
.bot-action {
  min-height: 42px;
  border-color: transparent;
  border-radius: 8px;
  background: rgba(45, 46, 61, .96);
  padding: 8px 10px;
  font-size: clamp(15px, 2.8vw, 18px);
  line-height: 1.15;
  justify-content: center;
  overflow-wrap: anywhere;
  animation: actionPop .38s ease both;
}
.bot-action:nth-child(1) { animation-delay: .04s; }
.bot-action:nth-child(2) { animation-delay: .08s; }
.bot-action:nth-child(3) { animation-delay: .12s; }
.bot-action:nth-child(4) { animation-delay: .16s; }
.bot-action:nth-child(5) { animation-delay: .20s; }
.bot-action:nth-child(6) { animation-delay: .24s; }
.bot-action:nth-child(7) { animation-delay: .28s; }
.bot-action:nth-child(8) { animation-delay: .32s; }
.bot-action:nth-child(9) { animation-delay: .36s; }
.bot-action:nth-child(10) { animation-delay: .40s; }
.bot-action:hover {
  background: rgba(58, 59, 78, .98);
  box-shadow: 0 14px 34px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.06);
}
.bot-actions .full-row { grid-column: 1 / -1; }
.pay-action {
  border-color: rgba(255, 152, 31, .78);
  background:
    radial-gradient(160px 70px at 20% 0%, rgba(255,152,31,.18), transparent 70%),
    rgba(61, 49, 69, .98);
  box-shadow: inset 0 0 0 1px rgba(255, 82, 87, .28), 0 12px 30px rgba(255, 82, 87, .12);
}
.pay-action:hover {
  border-color: rgba(255, 152, 31, .96);
  box-shadow: 0 18px 42px rgba(255,82,87,.18), inset 0 0 0 1px rgba(255,152,31,.26);
}
.support-action { background: rgba(61, 49, 69, .98); }
.action-link { text-align: center; }
.detail-panel { margin-top: 12px; padding: 18px; color: rgba(255,255,255,.88); }
.detail-panel.is-entering { animation: detailIn .22s ease both; }
.detail-panel.is-leaving { animation: detailOut .18s ease both; }
.detail-panel h3 { margin: 0 0 12px; }
.detail-lead {
  margin: 0 0 16px;
  color: rgba(255,255,255,.86);
  font-size: clamp(15px, 2.8vw, 17px);
  line-height: 1.42;
}
.detail-copy-link {
  margin-top: 8px;
}
.detail-panel.is-payment {
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.detail-panel.is-checking-payment .payment-success-title::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  border: 2px solid rgba(255,255,255,.36);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -1px;
  animation: spin .75s linear infinite;
}
.payment-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  background: rgba(52, 34, 54, .92);
  animation: rise .32s ease both;
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.payment-hero {
  min-height: 270px;
  overflow: hidden;
  background: #08090f;
}
.payment-body {
  padding: 18px 22px 20px;
  font-size: clamp(15px, 2.8vw, 17px);
  line-height: 1.34;
}
.payment-body h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.2;
}
.payment-stats {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
}
.payment-stats p {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.payment-stats strong {
  font-weight: 760;
}
.payment-note {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 38px 12px 16px;
  border-left: 5px solid #ff981f;
  border-radius: 8px;
  background: rgba(92, 55, 45, .9);
}
.payment-note::after {
  content: "”";
  position: absolute;
  right: 12px;
  top: 0;
  color: #ff981f;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}
.payment-desc {
  margin: 0;
  color: rgba(255,255,255,.92);
}
.detail-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.detail-list li { padding: 12px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--muted); }
.device-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.device-row:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.075);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.device-row-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.device-row-copy strong {
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.device-row-copy span {
  font-size: 13px;
}
.device-delete-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,82,87,.58);
  border-radius: 50%;
  background: rgba(255,82,87,.08);
  color: #fff;
  cursor: pointer;
  font-size: 19px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.device-delete-btn:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(255,82,87,.18);
  border-color: rgba(255,82,87,.94);
  box-shadow: 0 12px 28px rgba(255,82,87,.16);
}
.confirm-card {
  display: grid;
  gap: 12px;
}
.confirm-card p {
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.45;
}
.confirm-note {
  color: var(--muted) !important;
}
.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.danger-btn {
  min-height: 48px;
  border: 1px solid rgba(255,82,87,.86);
  border-radius: 999px;
  background: rgba(255,82,87,.16);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.danger-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,82,87,.28);
  box-shadow: 0 16px 34px rgba(255,82,87,.18);
}
.tariff-confirm-btn {
  min-height: 44px;
  border-color: rgba(214, 164, 73, .34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(214,164,73,.12));
  color: rgba(255,255,255,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 24px rgba(0,0,0,.16);
}
.tariff-confirm-btn:hover {
  border-color: rgba(214, 164, 73, .5);
  background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(214,164,73,.18));
}
.pay-list { gap: 14px; }
.payment-amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.payment-amount-btn {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  color: #fff;
  cursor: pointer;
  font-size: clamp(16px, 3vw, 19px);
  font-weight: 500;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.payment-amount-btn:not(:disabled):hover {
  transform: translateY(-2px);
  background: rgba(58, 59, 78, .98);
  box-shadow: 0 14px 34px rgba(0,0,0,.24), inset 0 0 0 1px rgba(255,255,255,.06);
}
.payment-amount-btn:disabled {
  cursor: not-allowed;
  opacity: .48;
}
.payment-success-title {
  margin-bottom: 18px;
}
.pay-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
}
.pay-plan-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.pay-plan-copy strong {
  color: rgba(255,255,255,.84);
  font-size: clamp(16px, 3vw, 19px);
  line-height: 1.15;
}
.pay-plan-copy span {
  color: var(--muted);
  font-size: clamp(14px, 2.6vw, 16px);
}
.pay-plan-btn {
  min-width: 148px;
  min-height: 56px;
  padding: 0 20px;
  white-space: nowrap;
  background: rgba(255,255,255,.02);
}
.qr-box {
  display: inline-grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}
.qr-wrap {
  display: grid;
  place-items: center;
  width: 100%;
  margin-top: 14px;
}
.qr-box img,
.qr-box canvas { width: 200px; height: 200px; }
.add-device-qr-card {
  overflow: hidden;
  border: 1px solid rgba(214, 164, 73, .18);
  border-radius: 8px;
  background:
    radial-gradient(280px 160px at 50% -8%, rgba(214,164,73,.13), transparent 70%),
    linear-gradient(180deg, rgba(42, 36, 55, .98), rgba(31, 29, 45, .98));
  box-shadow: 0 22px 54px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
}
.add-device-qr-card .qr-wrap {
  margin: 0;
  padding: 16px 16px 0;
}
.add-device-qr-card .qr-box {
  width: min(100%, 420px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}
.add-device-qr-card .qr-box img,
.add-device-qr-card .qr-box canvas {
  width: 100% !important;
  height: 100% !important;
}
.add-device-qr-card h3 {
  margin: 18px 24px 8px;
  font-size: clamp(18px, 3.4vw, 22px);
  line-height: 1.18;
}
.add-device-qr-card .detail-lead {
  margin: 0 24px 18px;
  color: rgba(255,255,255,.96);
  font-size: clamp(20px, 4.2vw, 26px);
  font-weight: 850;
  line-height: 1.18;
}
.qr-step-icon {
  margin: 0 24px 10px;
  font-size: 28px;
  line-height: 1;
}
.add-device-qr-card blockquote {
  margin: 0 24px 24px;
  padding: 12px 16px;
  border-left: 4px solid #d68c26;
  border-radius: 8px;
  background: rgba(77, 55, 47, .66);
  color: rgba(255,255,255,.94);
  font-size: clamp(15px, 3.2vw, 18px);
  line-height: 1.35;
}
.connection-help-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(52, 34, 54, .92);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.connection-help-hero {
  min-height: 260px;
  background: #08090f;
  overflow: hidden;
}
.connection-help-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.connection-help-body {
  padding: 20px 22px 22px;
  font-size: clamp(16px, 3vw, 19px);
  line-height: 1.35;
}
.connection-help-body h3,
.connection-help-body h4 {
  margin: 0 0 22px;
  font-size: inherit;
}
.connection-help-steps {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.connection-help-steps li {
  width: fit-content;
  max-width: 100%;
  padding: 4px 12px;
  border-left: 5px solid #ff981f;
  border-radius: 8px;
  background: rgba(92, 55, 45, .9);
}
.connection-help-note {
  margin: 0;
  font-style: italic;
  color: rgba(255,255,255,.92);
}
.support-detail-btn {
  width: 100%;
  min-height: 64px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  font-size: clamp(16px, 3vw, 19px);
}
.instruction-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(52, 34, 54, .92);
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.instruction-hero {
  min-height: 260px;
  overflow: hidden;
  background: #08090f;
}
.instruction-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.instruction-body {
  padding: 20px 22px 22px;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 2.9vw, 17px);
  line-height: 1.42;
}
.instruction-body h3,
.instruction-body h4,
.instruction-body p {
  margin: 0 0 14px;
}
.instruction-body h4 {
  margin-top: 18px;
}
.instruction-body blockquote {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-left: 5px solid #ff981f;
  border-radius: 8px;
  background: rgba(92, 55, 45, .9);
}
.instruction-body .link-quote {
  padding: 0;
  overflow: hidden;
}
.instruction-copy-code {
  display: block;
  width: 100%;
  min-height: 64px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 12px 14px;
  text-align: left;
  transition: background .18s ease, transform .18s ease;
}
.instruction-copy-code:hover {
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
}
.instruction-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
}
.download-links {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.download-link {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  justify-content: center;
  text-align: center;
}
.back-btn {
  width: 100%;
  margin-top: 16px;
}
.detail-panel.is-payment .back-btn {
  width: 100%;
  margin: 8px 0 0;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 46, 61, .98);
  font-size: clamp(16px, 3vw, 19px);
  font-weight: 500;
}
.bot-actions.is-leaving { animation: actionsOut .18s ease both; }
.bot-actions.is-entering { animation: actionsIn .22s ease both; }

[hidden] { display: none !important; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes actionPop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulseGlow { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: .85; transform: scale(1.16); } }
@keyframes loadingSweep { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes actionsOut { to { opacity: 0; transform: translateX(-32px); } }
@keyframes actionsIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes detailIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
@keyframes detailOut { to { opacity: 0; transform: translateX(32px); } }
@keyframes yellowBlink {
  0%, 100% { opacity: .76; box-shadow: 0 0 0 1px rgba(255, 191, 0, .08), 0 12px 28px rgba(255, 191, 0, .08); }
  50% { opacity: 1; box-shadow: 0 0 0 1px rgba(255, 211, 77, .42), 0 18px 48px rgba(255, 191, 0, .24); }
}

@media (max-width: 1180px) and (min-width: 821px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 46px; }
  .hero-insights {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
    align-items: stretch;
  }
  .capability-card { align-content: center; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; width: min(380px, 100%); }
}

@media (max-width: 820px) {
  .topbar { height: 66px; padding: 0 16px; }
  .brand { font-size: 18px; letter-spacing: 2px; }
  .nav { display: none; }
  .top-actions { gap: 8px; }
  .top-login-btn { min-height: 40px; font-size: 14px; }
  .top-login-btn svg { width: 18px; height: 18px; }
  .top-register { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .hero {
    min-height: calc(100vh - 66px);
    display: flex;
    padding: 34px 18px 46px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .status-badge {
    min-height: 38px;
    margin-bottom: 28px;
    padding: 0 16px;
    font-size: 15px;
  }
  .hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }
  .lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions > * { width: 100%; }
  .hero .primary-btn,
  .hero .secondary-btn { min-height: 56px; }
  .payment-row { margin-top: 28px; }
  .pay-chip {
    width: 92px;
    min-height: 36px;
  }
  .store-row { margin-top: 14px; }
  .store-badge {
    width: min(136px, calc((100% - 14px) / 2));
    height: 42px;
    padding: 0 9px;
  }
  .store-badge img { width: 21px; height: 21px; }
  .store-badge span { font-size: 14px; }
  .store-badge small { font-size: 9px; }
  .hero-insights { gap: 12px; }
  .stat-grid { gap: 12px; }
  .stat-card {
    min-height: 156px;
    padding: 18px;
  }
  .stat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
  }
  .stat-card strong { font-size: 22px; }
  .stat-card span:last-child { font-size: 14px; }
  .capability-card { padding: 16px; }
  .capability-row {
    min-height: 58px;
    font-size: 16px;
    gap: 12px;
  }
  .diagonal { width: 78vw; }
  .diagonal-one { left: 16vw; top: -20vh; }
  .diagonal-two { right: -34vw; }
  .feature-band, .apps-band, .faq-band, .account-view { padding: 52px 18px; }
  .feature-band {
    min-height: auto;
    display: block;
    padding-top: 58px;
    padding-bottom: 64px;
  }
  .feature-band h2 { font-size: 28px; }
  .feature-lead {
    margin-bottom: 24px;
    font-size: 15px;
  }
  .feature-card {
    min-height: 0;
    padding: 18px;
  }
  .feature-card-top { margin-bottom: 18px; }
  .feature-number { font-size: 26px; }
  .benefits-band { padding: 52px 18px 58px; }
  .benefits-band h2 { font-size: 30px; }
  .benefits-lead {
    margin-bottom: 28px;
    font-size: 16px;
  }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-card {
    min-height: 0;
    padding: 22px;
  }
  .benefit-icon { margin-bottom: 22px; }
  .pricing-head {
    margin-bottom: 22px;
    text-align: left;
  }
  .pricing-head h2 { font-size: 28px; }
  .pricing-head p:not(.pricing-eyebrow) { font-size: 15px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card {
    min-height: 0;
    padding: 18px;
  }
  .price-card h3 { font-size: 18px; }
  .price-value { font-size: 26px; }
  .faq-band { padding-top: 42px; padding-bottom: 48px; }
  .faq-head {
    margin-bottom: 22px;
    text-align: left;
  }
  .faq-head h2 { font-size: 28px; }
  .faq-head p { font-size: 14px; }
  .faq-item summary {
    min-height: 50px;
    padding: 0 50px 0 16px;
    font-size: 14px;
  }
  .faq-item summary::after {
    right: 14px;
    width: 26px;
    height: 26px;
  }
  .faq-item summary::before {
    right: 23px;
  }
  .faq-item p {
    margin: -2px 16px 18px;
    font-size: 13px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 18px 32px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .footer-note {
    padding-top: 0;
  }
  .legal-page {
    width: min(100% - 24px, 920px);
    padding: 22px 0 42px;
  }
  .legal-doc {
    padding: 22px;
  }
  .legal-doc h1 {
    font-size: 28px;
  }
  .legal-doc p {
    font-size: 14px;
  }
  .feature-grid, .dashboard-grid, .action-grid { grid-template-columns: 1fr; }
  .account-header { display: grid; }
  .account-view { padding-top: 28px; }
  .bot-actions { grid-template-columns: 1fr 1fr; }
  .bot-actions .full-row { grid-column: 1 / -1; }
  .profile-hero-card { height: 150px; }
  .payment-hero { min-height: 220px; }
  .profile-stats,
  .profile-link-block { padding-left: 14px; padding-right: 14px; }
  .pay-plan {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .pay-plan-btn {
    width: 100%;
    min-width: 0;
  }
  .payment-body {
    padding: 16px 18px 18px;
    font-size: 16px;
  }
  .payment-body h3 {
    margin-bottom: 16px;
    font-size: 20px;
  }
  .payment-note {
    padding-right: 34px;
  }
  .payment-amount-btn,
  .detail-panel.is-payment .back-btn {
    min-height: 58px;
    font-size: 17px;
  }
  .detail-panel.is-payment .back-btn {
    width: 100%;
    margin: 8px 0 0;
  }
}

@media (max-width: 520px) {
  .brand-mark { display: none; }
  .brand { font-size: 16px; letter-spacing: 1px; }
  .top-login-btn span { display: none; }
  .hero h1 { font-size: 34px; }
  .stat-grid { grid-template-columns: 1fr; }
  .payment-row { gap: 10px; }
  .pay-chip { width: min(86px, calc((100% - 20px) / 3)); }
  .pay-chip span { font-size: 15px; }
  .store-row { gap: 10px; }
  .store-badge { width: min(126px, calc((100% - 10px) / 2)); }
}

@media (hover: none) {
  .primary-btn:hover,
  .secondary-btn:hover,
  .outline-btn:hover,
  .feature-card:hover,
  .notice-banner:hover,
  .bot-profile-card:hover {
    transform: none;
  }
}
