/* GPTAccess — landing */
:root {
  --bg: #07090f;
  --bg-elevated: #0e121c;
  --surface: rgba(18, 24, 38, 0.72);
  --border: rgba(255, 255, 255, 0.08);
  /* Текст: белый / почти белый, без «серых» для читаемости на тёмном фоне */
  --text-primary: #ffffff;
  --text: #ffffff;
  --text-heading: #ffffff;
  --text-secondary: #f9fafb;
  /* «Приглушённый» = белый с прозрачностью, не серый hex */
  --muted: rgba(255, 255, 255, 0.9);
  --text-caption: rgba(255, 255, 255, 0.75);
  --text-disabled: rgba(255, 255, 255, 0.4);
  --accent: #10b981;
  --accent-dim: rgba(16, 185, 129, 0.15);
  --accent-glow: rgba(16, 185, 129, 0.35);
  --violet: #6366f1;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font: var(--font-body);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  --gradient-cta-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --review-card-bg: #0f172a;
  --star-fill: #fbbf24;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Основной текст и списки: белый, вес 600 */
p,
li,
td,
th,
dd,
dt,
blockquote,
label {
  color: var(--text-primary);
  font-weight: 600;
}

ul li,
ol li {
  color: #ffffff;
  font-weight: 600;
}

/* Подписи, подсказки, мелкий текст — белый + opacity (не серый hex) */
small,
.caption,
.form-hint,
.checkout-auth__hint,
.checkout-auth__note,
.checkout-pass-note,
.checkout-card__fineprint,
.checkout-msg,
.buy-card-note,
.support-card__note,
.support-card__hint,
.footer__lava-note,
.stat__sub,
.stat__sub--muted,
.account-muted,
.checkout-guarantee,
.checkout-support-line,
.checkout-micro {
  color: #ffffff;
  font-weight: 500;
  opacity: 0.75;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  opacity: 1;
}

input:disabled,
textarea:disabled,
button:disabled,
.is-disabled {
  color: var(--text-disabled) !important;
  opacity: 1;
}

h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-heading);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container--narrow {
  max-width: 720px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header--animate {
  animation: header-in 0.65s cubic-bezier(0.33, 1, 0.68, 1) both;
}

@keyframes header-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo__accent {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn--lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, #12b886 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 32px var(--accent-glow);
}

.btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn--popular {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 45%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 32px rgba(99, 102, 241, 0.35);
}

.btn--popular:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: rgba(16, 163, 127, 0.4);
  background: rgba(18, 24, 38, 0.95);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--muted);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
}

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

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, var(--accent-dim) 0%, transparent 65%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

.hero__lead--compact {
  display: none;
}

/* Мобильный hero: без карточки с «печатью», меньше дублей текста */
@media (max-width: 768px) {
  .hero {
    padding-top: clamp(2rem, 6vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 8vw, 4rem);
  }

  .hero__visual {
    display: none !important;
  }

  .hero-badge {
    display: none;
  }

  .hero__lead--full {
    display: none;
  }

  .hero__lead--compact {
    display: block;
    margin-bottom: 1.25rem;
  }

  .hero__cta-tg {
    display: none;
  }

  .hero__trust {
    display: none;
  }
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(16, 163, 127, 0.25);
  border-radius: 999px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.85));
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.hero-badge__icon {
  flex-shrink: 0;
  color: var(--accent);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--text-heading);
}

.gradient-accent,
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 600;
  line-height: 1.55;
  color: #ffffff;
  opacity: 0.92;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__trust {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.92;
}

.hero__trust li {
  position: relative;
  padding-left: 1.25rem;
}

.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  animation: hero-trust-pulse 2.4s ease-in-out infinite;
}

.hero__trust li:nth-child(2)::before {
  animation-delay: 0.35s;
}

.hero__trust li:nth-child(3)::before {
  animation-delay: 0.7s;
}

@keyframes hero-trust-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.2);
  }
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.hero__card {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-left: auto;
}

.hero__card--float {
  animation: hero-card-float 7s ease-in-out infinite;
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.hero__card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot--g {
  background: #22c55e;
}

.dot--y {
  background: #eab308;
}

.dot--r {
  background: #ef4444;
}

.hero__card-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
}

.hero__card-body {
  padding: 1.25rem 1rem 1.5rem;
}

.mono {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.65;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.mono--user {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
}

.mono--ai {
  margin-bottom: 0;
  background: rgba(16, 163, 127, 0.1);
  border: 1px solid rgba(16, 163, 127, 0.2);
  color: #a7f3d0;
}

.hero-type-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  min-height: 4.5rem;
}

.hero-type-block--reply {
  margin-bottom: 0;
  min-height: 4.75rem;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.hero-type-block.is-dim {
  opacity: 0.35;
  filter: saturate(0.65);
}

.hero-type-label {
  font-family: var(--font);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(199, 210, 254, 0.65);
}

.hero-type-label--ai {
  color: rgba(167, 243, 208, 0.65);
}

.hero-type-wrap {
  display: block;
  min-height: 2.75rem;
}

.hero-type-text {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.65;
}

.type-cursor {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  border-radius: 1px;
  animation: cursor-blink 0.9s steps(1, end) infinite;
}

.type-cursor--user {
  background: #a5b4fc;
}

.type-cursor--ai {
  background: #6ee7b7;
}

.type-cursor.is-off {
  animation: none;
  opacity: 0;
}

@keyframes cursor-blink {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero__glow {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Stats */
.stats {
  padding: 2rem 0;
  border-block: 1px solid var(--border);
  background: rgba(14, 18, 28, 0.5);
}

.home-market .stats {
  position: relative;
  background:
    radial-gradient(75% 120% at 0% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 58%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(14, 18, 28, 0.8) 100%);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

/* Одна горизонтальная строка в каждой ячейке: число + подпись (+ ссылка) */
.stats__grid > .stat,
.stats__grid > a.stat {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.55rem;
}

@media (min-width: 768px) {
  .stats__grid > .stat,
  .stats__grid > a.stat {
    flex-wrap: nowrap;
  }
}

.stats__grid .stat__label {
  margin-inline: 0;
  max-width: none;
}

.stats__grid .stat__sub {
  display: inline;
  margin-top: 0;
}

.stats__grid .stat__num-row {
  flex-wrap: nowrap;
}

@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.stat__num-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.45rem;
}

.stat__num-prefix {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  opacity: 0.95;
}

.stat__num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat__num-row .stat__num {
  display: inline-block;
}

.stat__num--gradient {
  background: linear-gradient(120deg, #e8ecf4 0%, #34d399 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__num--counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-height: 1.15em;
  transition: text-shadow 0.4s ease;
  transform-origin: center bottom;
}

.stat__num--counter.is-done {
  text-shadow: 0 0 28px rgba(52, 211, 153, 0.35);
  animation: stat-num-pop 0.75s cubic-bezier(0.34, 1.45, 0.64, 1) both;
}

@keyframes stat-num-pop {
  0% {
    transform: scale(0.88);
    filter: brightness(1.15);
  }
  55% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat__num--counter.is-done {
    animation: none;
    text-shadow: none;
  }
}

.stat__num--support {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  background: linear-gradient(120deg, #a5b4fc 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.92;
  max-width: 18ch;
  margin-inline: auto;
  line-height: 1.45;
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 6rem) 0;
}

.section[id] {
  scroll-margin-top: 72px;
}

.section--alt {
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.4) 0%, transparent 100%);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-kicker {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.section__title {
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
}

.section__subtitle {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.9;
}

.section__head--reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  max-width: 100%;
  text-align: left;
}

.section__head--reviews .section__head-text {
  flex: 1 1 280px;
  min-width: 0;
  text-align: left;
}

.section__head--reviews .section__subtitle {
  max-width: 520px;
}

.btn-reviews-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  background: var(--gradient-cta-blue);
  border: none;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-reviews-tg:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #fff;
}

@media (max-width: 720px) {
  .section__head--reviews {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .section__head--reviews .section__head-text {
    text-align: center;
  }

  .btn-reviews-tg {
    width: 100%;
  }
}

/* Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.plan-card--popular {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.12),
    0 24px 56px rgba(0, 0, 0, 0.4),
    0 0 80px -20px rgba(99, 102, 241, 0.25);
  background: linear-gradient(165deg, rgba(99, 102, 241, 0.08) 0%, var(--bg-elevated) 45%);
}

.plan-card--featured {
  border-color: rgba(16, 163, 127, 0.35);
  box-shadow: 0 0 0 1px rgba(16, 163, 127, 0.08), 0 24px 48px rgba(0, 0, 0, 0.35);
}

.plan-card__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 6px;
}

.plan-card__ribbon--popular {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.plan-card__name {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.plan-card__desc {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
}

.plan-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.plan-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-card__currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
}

.plan-card__period {
  width: 100%;
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.9;
}

.plan-card__list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.plan-card--popular .plan-card__list li::before {
  background: #818cf8;
  box-shadow: 0 0 8px rgba(129, 140, 248, 0.5);
}

.plan-card__btn {
  width: 100%;
  margin-top: auto;
}

.plans__note {
  margin: 2rem 0 0;
  font-size: 0.8125rem;
  color: #ffffff;
  font-weight: 500;
  opacity: 0.75;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.plans--tariff-features {
  align-items: stretch;
}

.plan-card--features-only {
  min-height: 100%;
}

.plan-card--features-only .plan-card__name {
  margin-bottom: 1.25rem;
  font-size: 1.625rem;
}

.plan-card--features-only .plan-card__list {
  margin-bottom: 0;
}

.plan-card--features-only .plan-card__list li:last-child {
  margin-bottom: 0;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.feature {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.feature:hover {
  border-color: rgba(16, 163, 127, 0.2);
}

.feature__icon {
  margin-bottom: 0.75rem;
}

.feature__icon--shape {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(16, 163, 127, 0.2) 0%, rgba(99, 102, 241, 0.12) 100%);
  border: 1px solid rgba(16, 163, 127, 0.28);
  position: relative;
  overflow: hidden;
}

.feature__icon--shape::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(16, 163, 127, 0.35), transparent 55%);
  animation: feature-shape-shimmer 4s ease-in-out infinite;
}

.feature__icon--shape::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  opacity: 0.75;
  animation: feature-shape-core 3.2s ease-in-out infinite;
}

.feature__icon--shape-1::after {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  animation-delay: 0s;
}

.feature__icon--shape-2::after {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation-delay: 0.15s;
}

.feature__icon--shape-3::after {
  width: 22px;
  height: 14px;
  border-radius: 4px;
  animation-delay: 0.3s;
}

.feature__icon--shape-4::after {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid var(--accent);
  box-sizing: border-box;
  opacity: 0.9;
  animation-delay: 0.45s;
}

@keyframes feature-shape-shimmer {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

@keyframes feature-shape-core {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(-50%, -52%) scale(1.08);
    opacity: 1;
  }
}


.feature__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.feature__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Схема «подписка»: куб + лучи к карточкам */
.features-scheme {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: stretch;
  min-height: min(440px, 70vh);
  padding: clamp(0.75rem, 2vw, 1.25rem) 0;
}

.features-scheme__viz {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius);
}

.features-scheme__stars {
  position: absolute;
  inset: -10%;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1px 1px at 78% 18%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 91% 65%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 45% 40%, rgba(16, 163, 127, 0.35), transparent),
    radial-gradient(1px 1px at 55% 72%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 33% 55%, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(1px 1px at 66% 30%, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.55;
  animation: feat-stars-twinkle 14s ease-in-out infinite alternate;
}

@keyframes feat-stars-twinkle {
  0% {
    opacity: 0.4;
    transform: translate(0, 0);
  }
  100% {
    opacity: 0.62;
    transform: translate(-2%, 1%);
  }
}

.features-scheme__wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.features-scheme__wire {
  fill: none;
  stroke: rgba(16, 163, 127, 0.42);
  stroke-width: 0.42;
  stroke-dasharray: 5 4.5;
  stroke-linecap: round;
  animation: feat-wire-dash 4s linear infinite;
}

.features-scheme__wire--b {
  animation-delay: -1s;
}

.features-scheme__wire--c {
  animation-delay: -2s;
}

.features-scheme__wire--d {
  animation-delay: -3s;
}

@keyframes feat-wire-dash {
  to {
    stroke-dashoffset: -36;
  }
}

.features-scheme__glow {
  fill: rgba(16, 163, 127, 0.14);
  transform-box: fill-box;
  transform-origin: center;
  animation: feat-hub-pulse 3.5s ease-in-out infinite;
}

.features-scheme__core {
  fill: var(--accent);
  animation: feat-hub-core 2.8s ease-in-out infinite;
}

@keyframes feat-hub-pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.8;
  }
}

@keyframes feat-hub-core {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

.features-scheme__card {
  position: relative;
  z-index: 1;
}

.features-scheme__card--tl {
  grid-column: 1;
  grid-row: 1;
}

.features-scheme__card--bl {
  grid-column: 1;
  grid-row: 2;
}

.features-scheme__hub {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-height: 220px;
}

.features-scheme__card--tr {
  grid-column: 3;
  grid-row: 1;
}

.features-scheme__card--br {
  grid-column: 3;
  grid-row: 2;
}

.feat-cube-scene {
  width: min(220px, 100%);
  height: 220px;
  perspective: 640px;
  perspective-origin: 50% 42%;
  filter: drop-shadow(0 0 28px rgba(16, 163, 127, 0.22));
}

.feat-cube {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 62px auto;
  transform-style: preserve-3d;
  animation: feat-cube-spin 32s linear infinite;
}

@keyframes feat-cube-spin {
  from {
    transform: rotateX(-18deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-18deg) rotateY(360deg);
  }
}

.feat-cube__face {
  position: absolute;
  width: 96px;
  height: 96px;
  border: 1.5px solid rgba(16, 163, 127, 0.78);
  background: rgba(16, 163, 127, 0.03);
  box-shadow:
    inset 0 0 24px rgba(16, 163, 127, 0.06),
    0 0 18px rgba(16, 163, 127, 0.12);
  backface-visibility: visible;
}

.feat-cube__face--front {
  transform: rotateY(0deg) translateZ(48px);
}

.feat-cube__face--back {
  transform: rotateY(180deg) translateZ(48px);
}

.feat-cube__face--right {
  transform: rotateY(90deg) translateZ(48px);
}

.feat-cube__face--left {
  transform: rotateY(-90deg) translateZ(48px);
}

.feat-cube__face--top {
  transform: rotateX(90deg) translateZ(48px);
}

.feat-cube__face--bottom {
  transform: rotateX(-90deg) translateZ(48px);
}

.feat-cube__face--front .feat-cube__node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 10px rgba(16, 163, 127, 0.95),
    0 0 20px rgba(16, 163, 127, 0.35);
  animation: feat-node-pulse 2.4s ease-in-out infinite;
}

.feat-cube__face--front .feat-cube__node:nth-child(1) {
  top: -4px;
  left: -4px;
  animation-delay: 0s;
}

.feat-cube__face--front .feat-cube__node:nth-child(2) {
  top: -4px;
  right: -4px;
  animation-delay: 0.35s;
}

.feat-cube__face--front .feat-cube__node:nth-child(3) {
  bottom: -4px;
  right: -4px;
  animation-delay: 0.7s;
}

.feat-cube__face--front .feat-cube__node:nth-child(4) {
  bottom: -4px;
  left: -4px;
  animation-delay: 1.05s;
}

@keyframes feat-node-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .features-scheme {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(200px, auto) auto auto;
    min-height: unset;
  }

  .features-scheme__viz {
    position: absolute;
    inset: 0;
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 240px;
  }

  .features-scheme__hub {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 200px;
    padding: 1.5rem 0;
  }

  .features-scheme__wires {
    opacity: 0.28;
  }

  .features-scheme__card--tl {
    grid-column: 1;
    grid-row: 2;
  }

  .features-scheme__card--tr {
    grid-column: 2;
    grid-row: 2;
  }

  .features-scheme__card--bl {
    grid-column: 1;
    grid-row: 3;
  }

  .features-scheme__card--br {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 520px) {
  .features-scheme {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(180px, auto) repeat(4, auto);
  }

  .features-scheme__card--tl,
  .features-scheme__card--tr,
  .features-scheme__card--bl,
  .features-scheme__card--br {
    grid-column: 1;
  }

  .features-scheme__card--tl {
    grid-row: 2;
  }

  .features-scheme__card--tr {
    grid-row: 3;
  }

  .features-scheme__card--bl {
    grid-row: 4;
  }

  .features-scheme__card--br {
    grid-row: 5;
  }

  .features-scheme__hub {
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .features-scheme__stars,
  .features-scheme__wire,
  .features-scheme__glow,
  .features-scheme__core,
  .feat-cube,
  .feat-cube__face--front .feat-cube__node {
    animation: none !important;
  }

  .feat-cube {
    transform: rotateX(-18deg) rotateY(-32deg);
  }

  .features-scheme__wire {
    stroke-dasharray: none;
  }
}

/* Steps */
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step__num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--accent);
  padding: 0.35rem 0.6rem;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
}

.step__title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.step__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* CTA */
.section--cta {
  padding: 3rem 0;
}

.cta-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(16, 163, 127, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(16, 163, 127, 0.25);
  border-radius: var(--radius);
}

.cta-block__title {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.cta-block__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__row {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.25s ease, border-radius 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq__item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq__row:has(.faq__panel.is-open) .faq__item {
  border-color: rgba(16, 163, 127, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.faq__toggle {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq__item[aria-expanded="true"] .faq__toggle {
  transform: rotate(-135deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.33, 1, 0.68, 1);
  background: var(--bg-elevated);
}

.faq__panel.is-open {
  grid-template-rows: 1fr;
}

.faq__panel-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease 0.06s, transform 0.45s cubic-bezier(0.33, 1, 0.68, 1) 0.04s, border-color 0.3s ease;
}

.faq__panel.is-open .faq__panel-inner {
  padding-bottom: 1.25rem;
  border-color: var(--border);
  opacity: 1;
  transform: translateY(0);
}

.faq__panel-inner p {
  margin: 0;
  padding-top: 0.25rem;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.65;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-card__title {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-card__value {
  margin: 0;
  font-size: 1.0625rem;
}

.contact-card__value a {
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__copy {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.88;
  max-width: 320px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.9;
}

.footer__links a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer__brand .logo {
  display: inline-block;
}

.footer__lava {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.footer__lava img {
  width: 22px;
  height: auto;
  display: block;
  opacity: 0.88;
}

.footer__lava span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  opacity: 0.9;
  text-transform: uppercase;
}

.footer__lava--center {
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
}

.footer__inner--stack {
  flex-direction: column;
  align-items: center;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.85s cubic-bezier(0.33, 1, 0.68, 1) var(--reveal-delay, 0s),
    transform 0.85s cubic-bezier(0.33, 1, 0.68, 1) var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  --reveal-delay: 0.1s;
}

.reveal--delay-2 {
  --reveal-delay: 0.2s;
}

.reveal--delay-3 {
  --reveal-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .header--animate {
    animation: none;
  }

  .hero__card--float {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .type-cursor {
    animation: none;
    opacity: 0.5;
  }

  .faq__panel {
    transition: grid-template-rows 0.01ms;
  }

  .faq__panel-inner {
    transition: none;
  }

  .faq__toggle {
    transition: transform 0.15s ease;
  }
}

/* Checkout / purchase page */
.checkout-page {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 10vw, 6rem);
  min-height: 60vh;
}

.checkout-page__inner {
  max-width: 520px;
}

.checkout-page__back {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
}

.checkout-page__back a {
  color: #ffffff;
  font-weight: 600;
  opacity: 0.9;
}

.checkout-page__back a:hover {
  color: #ffffff;
  opacity: 1;
}

.checkout-card {
  padding: 2rem 2rem 2.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.checkout-card--featured {
  border-color: rgba(16, 163, 127, 0.35);
  box-shadow: 0 0 0 1px rgba(16, 163, 127, 0.08), 0 24px 64px rgba(0, 0, 0, 0.35);
}

.checkout-card__head {
  margin-bottom: 1.5rem;
}

.checkout-card__title {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.checkout-card__lead {
  margin: 0;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.55;
}

.checkout-card__price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.checkout-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.checkout-card__amount {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.checkout-card__currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.9;
}

.checkout-card__period {
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.9;
}

.checkout-card__list {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.checkout-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.checkout-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.checkout-card__actions {
  text-align: center;
  min-width: 0;
  padding-bottom: 0.25rem;
}

.checkout-card__pay {
  width: 100%;
  max-width: 100%;
}

.checkout-card__hint {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: #ffffff;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1.5;
}

.mono-inline {
  font-family: var(--mono);
  font-size: 0.85em;
  color: var(--text);
}

/* Mobile nav */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: rgba(7, 9, 15, 0.97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .header__actions .btn--sm {
    display: none;
  }
}

/* —— Subscriptions page, activation, admin —— */
.page-sub {
  padding-bottom: 3rem;
}

.sub-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

.sub-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sub-hero__instant {
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  max-width: 52ch;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #a7f3d0;
  background: rgba(16, 163, 127, 0.12);
  border: 1px solid rgba(16, 163, 127, 0.28);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.sub-hero__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.0625rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.65;
}

.section--tight {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.sub-h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.container--narrow-sub {
  max-width: 720px;
}

.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: rgba(14, 18, 28, 0.85);
  font-weight: 600;
  color: var(--text);
}

.compare-table td {
  color: var(--muted);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.check-yes {
  color: var(--accent);
  font-weight: 700;
}

.sub-note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

.features--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .features--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .features--3 {
    grid-template-columns: 1fr;
  }
}

.method-list {
  margin: 0;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.7;
}

.method-list li {
  margin-bottom: 1rem;
}

.method-list strong {
  color: var(--text);
}

.guarantee-card {
  padding: 1.5rem 1.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.guarantee-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.guarantee-list li {
  margin-bottom: 0.85rem;
}

.guarantee-list strong {
  color: var(--text);
}

.cta-block__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Activation page */
.activate-body {
  background: #050508;
  min-height: 100vh;
}

.activate-main {
  padding: clamp(2rem, 5vw, 3.5rem) 0 4rem;
}

.activate-container {
  max-width: 560px;
}

.activate-card {
  padding: 2rem 2rem 2.25rem;
  background: #12141a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.activate-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
}

.activate-card__subtitle {
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.activate-field {
  margin-bottom: 1rem;
}

.activate-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.activate-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--text);
  background: #0a0c10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.activate-input--readonly {
  cursor: default;
  opacity: 0.95;
}

.activate-steps {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.activate-steps__title {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.activate-step {
  margin-bottom: 1.35rem;
}

.activate-step__text {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.55;
}

.activate-step__num {
  font-weight: 700;
  color: var(--text);
}

.activate-step__btn {
  margin-top: 0.25rem;
}

.btn--token {
  display: inline-flex;
  padding: 0.55rem 1.35rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  background: linear-gradient(180deg, #e8e8ec 0%, #c8cad2 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 4px 24px rgba(255, 255, 255, 0.12);
  transition: filter 0.2s, transform 0.15s;
}

.btn--token:hover {
  filter: brightness(1.05);
}

.activate-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.activate-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  font-style: italic;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: help;
  vertical-align: middle;
}

.activate-textarea {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text);
  background: #0a0c10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  resize: vertical;
  min-height: 120px;
}

.activate-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.btn--submit-wide {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  background: #1a1d26;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.btn--submit-wide:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(16, 163, 127, 0.35);
}

.btn--submit-wide:not(:disabled):hover {
  filter: brightness(1.08);
}

.btn--submit-wide:disabled,
.btn--submit-wide.is-disabled {
  cursor: not-allowed;
  opacity: 0.85;
}

.activate-footnote {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--accent);
  min-height: 1.25em;
}

.header--minimal,
.footer--minimal {
  border-color: rgba(255, 255, 255, 0.06);
}

.footer__copy--center {
  text-align: center;
  width: 100%;
  max-width: none;
}

.footer__copy--center a {
  color: var(--muted);
}

.checkout-card__hint--2 {
  margin-top: 0.75rem;
}

.checkout-card__hint--2 a {
  font-weight: 600;
}

/* Admin */
.admin-body {
  min-height: 100vh;
  background: var(--bg);
}

.admin-main {
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.admin-wrap {
  max-width: 900px;
}

.admin-wrap--wide {
  max-width: min(1180px, 100%);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.admin-tab-btn {
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
  cursor: pointer;
}

.admin-tab-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-tab-btn--active {
  color: var(--text);
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.35);
}

.admin-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.35rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  background: #dc2626;
}

.admin-tab-panel {
  margin-bottom: 2rem;
}

.admin-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.admin-kpi-card--accent {
  border-color: rgba(139, 92, 246, 0.25);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), var(--bg-elevated));
}

.admin-support-table-wrap {
  max-height: min(62vh, 520px);
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.admin-orders-history-wrap {
  max-height: min(55vh, 480px);
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.admin-orders-history-wrap .admin-table {
  margin: 0;
}

.admin-support-table-wrap .admin-table {
  margin: 0;
}

.admin-support-reply__thread {
  max-height: min(48vh, 420px);
  overflow-y: auto;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-support-reply__msg {
  max-width: min(92%, 640px);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-support-reply__msg--user {
  align-self: flex-start;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.admin-support-reply__msg--admin {
  align-self: flex-end;
  background: rgba(16, 163, 127, 0.2);
  border: 1px solid rgba(16, 163, 127, 0.45);
}

.admin-support-reply__msg-image {
  width: min(320px, 100%);
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-support-reply__meta {
  font-size: 0.72rem;
  opacity: 0.72;
}

.admin-support-reply__copy {
  justify-self: start;
}

.admin-chat-upload-preview {
  margin: 0.45rem 0 0.65rem;
}

.admin-chat-upload-preview__card {
  display: inline-grid;
  gap: 0.4rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.55rem;
  background: rgba(0, 0, 0, 0.18);
}

.admin-chat-upload-preview__image {
  width: min(260px, 100%);
  max-height: 180px;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid var(--border);
}

.admin-chat-upload-preview__meta {
  font-size: 0.76rem;
  color: var(--muted);
}

.admin-orderchats-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}

.admin-orderchats-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.14);
  max-height: min(72vh, 860px);
  overflow-y: auto;
}

.admin-orderchats-item {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.admin-orderchats-item:last-child {
  border-bottom: 0;
}

.admin-orderchats-item:hover {
  background: rgba(99, 102, 241, 0.08);
}

.admin-orderchats-item--active {
  background: rgba(99, 102, 241, 0.16);
}

.admin-orderchats-item--new {
  background: rgba(16, 163, 127, 0.14);
  box-shadow: inset 3px 0 0 rgba(16, 163, 127, 0.95);
}

.admin-orderchats-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-orderchats-item__title {
  font-weight: 600;
  color: var(--text);
}

.admin-orderchats-item__meta {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.admin-orderchats-item__unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  padding: 0 0.35rem;
  background: #dc2626;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.admin-orderchats-right {
  display: grid;
  gap: 0.9rem;
}

.admin-ordercard,
.admin-orderchat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.14);
  padding: 0.9rem;
}

.admin-ordercard__compact {
  margin: 0;
  padding: 0.58rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.12);
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-ordercard__comment {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-orderchat__messages {
  max-height: min(42vh, 440px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-orderchat__msg {
  max-width: min(90%, 620px);
  padding: 0.5rem 0.65rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  display: grid;
  gap: 0.35rem;
}

.admin-orderchat__msg--user {
  align-self: flex-start;
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.admin-orderchat__msg--admin {
  align-self: flex-end;
  background: rgba(16, 163, 127, 0.2);
  border: 1px solid rgba(16, 163, 127, 0.45);
}

.admin-orderchat__msg-image {
  width: min(340px, 100%);
  max-height: 240px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-orderchat__msg-meta {
  font-size: 0.72rem;
  opacity: 0.74;
}

.admin-orderchat__copy {
  justify-self: start;
}

.warehouse-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 1rem;
}

.warehouse-sections,
.warehouse-main {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.14);
  padding: 0.85rem;
}

.warehouse-sections__list {
  display: grid;
  gap: 0.45rem;
  max-height: min(60vh, 620px);
  overflow-y: auto;
}

.warehouse-section-item {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.45rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.18);
}

.warehouse-section-item--active {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.14);
}

.warehouse-section-item__pick {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  padding: 0.1rem;
}

.warehouse-section-item__title {
  font-size: 0.88rem;
  font-weight: 600;
}

.warehouse-section-item__meta {
  font-size: 0.73rem;
  color: var(--muted);
}

.warehouse-section-item__actions {
  display: inline-flex;
  gap: 0.35rem;
}

.warehouse-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.55rem;
}

.warehouse-add {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.warehouse-add__card {
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 0.45rem;
}

.warehouse-items {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
  max-height: min(60vh, 760px);
  overflow-y: auto;
}

.warehouse-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  display: grid;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.18);
}

.warehouse-item--used {
  border-color: rgba(148, 163, 184, 0.45);
  opacity: 0.84;
}

.warehouse-item--active {
  border-color: rgba(16, 163, 127, 0.45);
}

.warehouse-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.warehouse-item__badge {
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  background: rgba(99, 102, 241, 0.24);
  border: 1px solid rgba(99, 102, 241, 0.45);
}

.warehouse-item__date {
  font-size: 0.72rem;
  color: var(--muted);
}

.warehouse-item__data {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.82rem;
  line-height: 1.42;
  max-height: 10.5rem;
  overflow: auto;
}

.warehouse-item__comment {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.warehouse-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-orderchat__composer {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.admin-orderchat__input {
  width: 100%;
  min-height: 2.2rem;
  max-width: 100%;
  resize: none;
}

@media (max-width: 980px) {
  .admin-orderchats-grid {
    grid-template-columns: 1fr;
  }

  .warehouse-grid,
  .warehouse-add,
  .warehouse-toolbar {
    grid-template-columns: 1fr;
  }
}

.admin-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
  font-weight: 500;
}

.admin-back:hover {
  color: var(--text);
}

.admin-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.admin-lead {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 56ch;
}

.admin-auth {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.admin-auth-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.admin-error {
  color: #f87171;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.admin-kpi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 520px) {
  .admin-kpi {
    grid-template-columns: 1fr;
  }
}

.admin-kpi-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-kpi__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.admin-kpi__val {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--text);
}

.admin-kpi__val--sm {
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font);
}

.admin-chart-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .admin-chart-grid--2 {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.admin-chart-box {
  padding: 1rem 1.125rem;
  background: rgba(14, 18, 28, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 280px;
}

.admin-chart-box canvas {
  max-height: 320px;
}

#tbl-revenue-recent td:last-child {
  font-family: var(--font);
  color: var(--muted);
}

.admin-h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table th,
.admin-table td {
  padding: 0.65rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: rgba(14, 18, 28, 0.9);
  font-weight: 600;
  color: var(--muted);
}

.admin-table td:last-child {
  font-family: var(--mono);
  color: var(--accent);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-cdk {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.admin-cdk__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.admin-cdk__pre {
  margin: 0.75rem 0 0;
  padding: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.5;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--muted);
}

.admin-cdk__hint {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.admin-table tr.admin-support-row--new {
  background: rgba(99, 102, 241, 0.12);
  box-shadow: inset 3px 0 0 rgba(99, 102, 241, 0.85);
}

.admin-table tr.admin-support-row--client {
  box-shadow: inset 3px 0 0 rgba(16, 163, 127, 0.65);
}

.admin-table tr.admin-support-row--new.admin-support-row--client {
  background: rgba(16, 163, 127, 0.12);
  box-shadow: inset 3px 0 0 rgba(16, 163, 127, 0.95);
}

/* Buy pages (Plus / Pro) */
.buy-page {
  padding-bottom: 4rem;
}

.buy-page__inner {
  max-width: 1080px;
}

.buy-instant-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.35rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(16, 163, 127, 0.14) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid rgba(16, 163, 127, 0.35);
  border-radius: var(--radius);
}

.buy-instant-banner__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.buy-instant-banner strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.buy-instant-banner p {
  margin: 0;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.55;
}

.buy-grid {
  display: grid;
  grid-template-columns: 1fr min(360px, 100%);
  gap: 2rem;
  align-items: start;
}

/* Страница с двумя тарифами Pro: шире колонка с карточками */
@media (min-width: 901px) {
  .buy-grid--pro {
    grid-template-columns: minmax(0, 1fr) minmax(300px, min(42vw, 680px));
  }
}

@media (min-width: 1200px) {
  .buy-grid--pro {
    grid-template-columns: minmax(0, 1.05fr) minmax(560px, 720px);
  }
}

@media (max-width: 900px) {
  .buy-grid {
    grid-template-columns: 1fr;
  }
}

.buy-main__figure {
  margin: 0 0 1.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 2 / 1;
  max-width: min(100%, 640px);
}

.buy-main__figure:has(img[style*="display: none"]) {
  display: none;
}

.buy-main__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.buy-main__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.buy-main__lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.65;
  max-width: 54ch;
}

.buy-section {
  margin-bottom: 2.25rem;
}

.buy-section__title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.buy-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (max-width: 520px) {
  .buy-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.buy-benefit {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.buy-benefit__mark {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 6px;
}

.buy-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
}

.buy-steps li {
  margin-bottom: 0.85rem;
}

.buy-steps strong {
  color: var(--text);
}

.buy-section__footnote {
  margin-top: 1rem;
}

.buy-pro-tiers {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  /* По умолчанию одна колонка — карточки на всю ширину aside, без обрезки текста */
  grid-template-columns: 1fr;
}

.buy-pro-tiers .checkout-card {
  min-width: 0;
}

/* Две карточки в ряд только при достаточной ширине контейнера (container query) */
.buy-aside--pro-tiers {
  container-type: inline-size;
  container-name: proaside;
  min-width: 0;
}

@container proaside (min-width: 520px) {
  .buy-pro-tiers {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* Fallback без container queries: широкий вьюпорт */
@supports not (container-type: inline-size) {
  @media (min-width: 1100px) {
    .buy-grid--pro .buy-pro-tiers {
      grid-template-columns: 1fr 1fr;
    }
  }
}

.buy-aside .checkout-card {
  position: sticky;
  top: 88px;
}

/* На странице с двумя карточками sticky ломает отображение — карточки скроллятся естественно */
.buy-grid--pro .buy-aside .checkout-card {
  position: relative;
  top: auto;
}

.buy-aside-card-title {
  margin: 0;
  font-size: 1.35rem;
}

.buy-aside-card-lead {
  margin-top: 0.5rem;
}

.buy-card-note {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.buy-card-note a {
  font-weight: 600;
}

/* Страница buy-pro — компактный продающий вид */
.buy-instant-banner--compact {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.1rem;
  align-items: center;
}

.buy-instant-banner--compact .buy-instant-banner__icon {
  font-size: 1.4rem;
}

.buy-instant-banner--compact strong {
  font-size: 0.98rem;
}

.buy-instant-banner--compact p {
  font-size: 0.875rem;
  line-height: 1.45;
}

.buy-main--compact {
  padding-bottom: 0.5rem;
}

.buy-main--compact .buy-main__title {
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.03em;
}

.buy-main__lead--short {
  margin-bottom: 1rem;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
}

.buy-compare-mini {
  margin: 0 0 1rem;
  padding: 0 0 0 1.15rem;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.5;
}

.buy-compare-mini li {
  margin-bottom: 0.45rem;
}

.buy-compare-mini strong {
  color: var(--text-heading);
}

.buy-main__footnote {
  margin: 0;
  font-size: 0.875rem;
}

.buy-main__footnote a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.buy-main__footnote a:hover {
  border-bottom-color: rgba(16, 185, 129, 0.45);
}

.buy-grid--pro .checkout-card--compact {
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.buy-grid--pro .checkout-card--compact .plan-card__ribbon {
  font-size: 0.625rem;
  padding: 0.2rem 0.5rem;
}

.checkout-card__head--compact {
  margin-bottom: 0.65rem;
}

.buy-grid--pro .checkout-card--compact .checkout-card__title {
  margin-top: 0.35rem;
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.buy-grid--pro .checkout-card--compact .checkout-card__price-block {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
}

.buy-grid--pro .checkout-card--compact .checkout-card__amount {
  font-size: 1.85rem;
}

.checkout-card__list--compact {
  margin-bottom: 1rem !important;
}

.checkout-card__list--compact li {
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.checkout-auth--compact {
  gap: 0.65rem;
}

.checkout-card__fineprint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #ffffff;
  font-weight: 500;
  opacity: 0.75;
  text-align: center;
}

.checkout-card__fineprint a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.checkout-card__fineprint a:hover {
  text-decoration: underline;
}

/* Форма перед оплатой */
.checkout-auth {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
}

.checkout-auth__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.checkout-auth__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.92;
}

.checkout-auth__input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.checkout-auth__input:focus {
  outline: none;
  border-color: rgba(16, 163, 127, 0.45);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.checkout-auth__input--from-session {
  cursor: default;
  opacity: 0.95;
}

.checkout-auth__note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-msg {
  min-height: 1.25rem;
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.checkout-msg--err {
  color: #f87171;
}

.payment-success-card {
  margin-top: 2rem;
}

.payment-success-err {
  color: #f87171;
  font-size: 0.9375rem;
  margin-top: 1rem;
}

/* Личный кабинет — авторизация */
.account-page-body .account-main {
  padding-top: 0.5rem;
}

.account-layout {
  max-width: 480px;
  margin-inline: auto;
}

.account-card--wide {
  max-width: 100%;
}

.account-card__header--center {
  text-align: center;
}

.account-card__header--center .activate-card__subtitle {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.account-auth-shell {
  position: relative;
  margin-top: 0.5rem;
}

.account-auth-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(
    135deg,
    rgba(16, 163, 127, 0.45) 0%,
    rgba(99, 102, 241, 0.35) 45%,
    rgba(16, 163, 127, 0.2) 100%
  );
  opacity: 0.65;
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
}

.account-auth-card {
  position: relative;
  z-index: 1;
  padding: 2rem 1.75rem 1.75rem;
  background: linear-gradient(165deg, rgba(18, 24, 38, 0.95) 0%, rgba(12, 16, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.account-auth-heading {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.account-auth-lead {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.account-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.account-auth-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.account-auth-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: rgba(7, 9, 15, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-auth-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.account-auth-input:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.account-auth-input:focus {
  outline: none;
  border-color: rgba(16, 163, 127, 0.5);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.account-auth-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.account-auth-msg {
  min-height: 1.35rem;
  margin: 0;
  text-align: center;
}

.account-auth-switch {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.account-auth-link {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
}

.account-auth-link:hover {
  text-decoration: underline;
  color: #12b88e;
}

.account-password-banner {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-sm);
}

.account-password-banner__text {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.account-password-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}

.account-password-form__field {
  flex: 1 1 200px;
  margin: 0;
}

.account-purchases__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.account-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-order {
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.account-order__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.account-order__num {
  font-weight: 700;
  color: var(--text);
}

.account-order__plan {
  font-size: 0.8125rem;
  color: var(--muted);
}

.account-order__key {
  display: block;
  font-size: 0.8125rem;
  word-break: break-all;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.account-order__btn {
  width: 100%;
  max-width: 220px;
}

.account-purchases__empty {
  color: var(--muted);
  font-size: 0.9375rem;
}

.account-logout {
  margin-top: 1.25rem;
}

.account-activation-gate {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(16, 163, 127, 0.08);
  border: 1px solid rgba(16, 163, 127, 0.25);
  border-radius: var(--radius-sm);
}

.account-activation-gate__btn {
  width: 100%;
  max-width: 320px;
}

.account-activation-gate__hint {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Страница ввода кода перед активацией (ЛК) */
.activate-gate-body {
  min-height: 100vh;
  margin: 0;
}

.activate-gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.activate-gate-card {
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.75rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.activate-gate-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.activate-gate-card__lead {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

.activate-gate-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.activate-gate-label--spaced {
  margin-top: 1rem;
}

.activate-gate-plan-hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.activate-gate-select {
  cursor: pointer;
  appearance: auto;
}

.activate-gate-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--mono);
  font-size: 0.875rem;
  color: var(--text);
  background: rgba(7, 9, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
}

.activate-gate-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.activate-gate-input:focus {
  outline: none;
  border-color: rgba(16, 163, 127, 0.45);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.activate-gate-msg {
  min-height: 1.25rem;
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.activate-gate-msg--err {
  color: #f87171;
}

.activate-gate-submit {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0c0e14 !important;
  background: #e4e6eb !important;
  border: none !important;
  border-radius: var(--radius-sm);
}

.activate-gate-submit:hover {
  filter: brightness(1.05);
  text-decoration: none !important;
}

.activate-gate-foot {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.875rem;
}

.activate-gate-foot a {
  color: var(--muted);
}

.activate-gate-foot a:hover {
  color: var(--accent);
}

/* Юридические страницы */
.legal-doc {
  max-width: 720px;
  margin: 0 auto;
}

.legal-doc__meta {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.92;
}

.legal-doc__meta strong {
  color: var(--text);
  font-weight: 600;
}

.legal-doc__meta p {
  margin: 0 0 0.65rem;
}

.legal-doc__meta p:last-child {
  margin-bottom: 0;
}

.legal-doc h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.legal-doc h2:first-of-type {
  margin-top: 0;
}

.legal-doc p {
  margin: 0 0 1rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
}

.legal-doc li {
  margin-bottom: 0.5rem;
}

.legal-doc li:last-child {
  margin-bottom: 0;
}

/* Отзывы (главная) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--review-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card:hover {
    transform: none;
  }
}

.review-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.review-card__who {
  min-width: 0;
  flex: 1;
}

.review-card__name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.review-card__date {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.75;
  line-height: 1.3;
}

.review-card__stars {
  display: flex;
  gap: 0;
  line-height: 1;
  font-size: 14px;
  color: var(--star-fill);
  letter-spacing: 0;
}

.review-card__star {
  display: inline-block;
}

.review-card__text {
  margin: 16px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
}

/* Поддержка (главная) */
.support-card {
  margin-top: 0.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
}

.support-card__hint {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: left;
}

.support-card__note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Виджет поддержки (правый нижний угол) */
.support-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10050;
  font-family: var(--font-body);
}

.support-widget__anchor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.support-widget__popover[hidden] {
  display: none !important;
}

.support-widget__popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(380px, calc(100vw - 32px));
  padding: 24px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.support-widget__popover--enter {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .support-widget__popover {
    transition: none;
    transform: none;
  }

  .support-widget__popover--enter {
    transform: none;
  }
}

.support-widget__menu[hidden],
.support-widget__chat-layer[hidden] {
  display: none !important;
}

.support-widget__popover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.support-widget__online-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 4px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.support-widget__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px #10b981;
  animation: support-dot-pulse 2s ease-in-out infinite;
}

.support-widget__dot--pill {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .support-widget__dot {
    animation: none;
  }
}

@keyframes support-dot-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.support-widget__close-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  opacity: 0.85;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.support-widget__close-x:hover {
  color: #fff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

.support-widget__popover-title {
  margin: 16px 0 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-heading);
  line-height: 1.2;
}

.support-widget__popover-title--chat {
  margin-top: 0.75rem;
  font-size: 1.15rem;
}

.support-widget__popover-desc {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.92;
  line-height: 1.45;
}

.support-widget__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.support-widget__btn--telegram {
  color: #fff;
  background: var(--gradient-cta-blue);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.support-widget__btn--telegram:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .support-widget__btn--telegram:hover,
  .support-widget__btn--site:hover {
    transform: none;
  }
}

.support-widget__btn--site {
  margin-top: 12px;
  color: #111827;
  background: #f3f4f6;
}

.support-widget__btn--site:hover {
  filter: brightness(1.03);
}

.support-widget__popover-foot {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.75;
}

.support-widget__back {
  border: none;
  background: transparent;
  color: #ffffff;
  opacity: 0.88;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
  font-family: inherit;
}

.support-widget__back:hover {
  color: #ffffff;
  opacity: 1;
}

.support-widget__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1f2937;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-widget__pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35), 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .support-widget__pill:hover {
    transform: none;
  }
}

.support-widget__pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.support-widget__pill-line1 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.support-widget__pill-line2 {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.support-widget__chat-layer {
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 520px);
}

.support-widget__messages {
  flex: 1;
  min-height: 180px;
  max-height: 260px;
  overflow-y: auto;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.support-widget__loading {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.85;
}

.support-widget__msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  max-width: 92%;
}

.support-widget__msg--user {
  align-self: flex-end;
  align-items: flex-end;
}

.support-widget__msg--admin {
  align-self: flex-start;
}

.support-widget__bubble {
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #ffffff;
  font-weight: 600;
  white-space: pre-wrap;
  word-break: break-word;
}

.support-widget__msg--user .support-widget__bubble {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.support-widget__msg--admin .support-widget__bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.support-widget__form {
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.support-widget__form textarea {
  width: 100%;
  resize: vertical;
  min-height: 56px;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.support-widget__send {
  align-self: flex-end;
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
}

.support-widget__hint {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #ffffff;
  font-weight: 500;
  opacity: 0.75;
  line-height: 1.4;
}

.support-widget__hint--error {
  color: #fecaca;
  opacity: 1;
  font-weight: 600;
}

.support-widget__hint--error[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .support-widget {
    right: 16px;
    bottom: 16px;
  }
}

/* --- Доработка доверия / конверсии (hero, stats, hiw, футер, TG) --- */
.header__tg-icon {
  display: block;
  margin-right: 0.4rem;
  flex-shrink: 0;
}

.header__tg {
  display: inline-flex;
  align-items: center;
}

.header__tg:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--accent);
}

.hero__cta-tg {
  align-self: center;
}

.hero__trust li:nth-child(4)::before {
  animation-delay: 1.05s;
}

.stat__sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.stat__sub--muted {
  font-size: 0.8rem;
  color: var(--muted);
}

.stat__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.stat__link:hover {
  border-bottom-color: rgba(16, 185, 129, 0.5);
}

a.stat.stat--link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.55rem;
  padding: 0.5rem 0.75rem;
  margin: -0.5rem -0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  a.stat.stat--link {
    flex-wrap: nowrap;
  }
}

a.stat.stat--link:hover {
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.footer__lava-note {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

/* Как это работает — timeline */
.hiw-section {
  scroll-margin-top: 72px;
}

.hiw {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  max-width: 760px;
  margin: 1.5rem auto 0;
}

@media (max-width: 640px) {
  .hiw {
    flex-direction: column;
  }
}

.hiw__rail {
  position: relative;
  width: 48px;
  flex-shrink: 0;
  min-height: 120px;
}

@media (max-width: 640px) {
  .hiw__rail {
    display: none;
  }
}

.hiw__rail-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  top: 1.5rem;
  bottom: 1.5rem;
  background: var(--border);
  border-radius: 2px;
}

.hiw__rail-fill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: center top;
  width: 3px;
  top: 1.5rem;
  bottom: 1.5rem;
  background: linear-gradient(180deg, var(--accent), rgba(16, 185, 129, 0.15));
  border-radius: 2px;
  will-change: transform;
}

.hiw__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.hiw-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hiw-step--visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .hiw-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hiw-step__node {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 2px solid rgba(16, 185, 129, 0.45);
  color: var(--accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.35);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.hiw-step--visible .hiw-step__node {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.hiw-step__card {
  position: relative;
  flex: 1;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(22, 28, 42, 0.95), rgba(14, 18, 28, 0.9));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 1024px) {
  .hiw-step__card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  }
}

.hiw-step__wm {
  position: absolute;
  top: 0.65rem;
  right: 1rem;
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
}

.hiw-step__title {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
}

.hiw-step__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.95;
}

.hiw-step__chip {
  margin-top: 1rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #ffffff;
  opacity: 0.9;
}

.hiw-step__chip--accent {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.35);
}

.hiw__cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hiw__cta-hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 600;
  opacity: 0.92;
}

.hiw__cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

/* Sticky social proof */
.social-proof-badge {
  position: fixed;
  left: 16px;
  bottom: 20px;
  z-index: 10040;
  max-width: min(320px, calc(100vw - 32px));
  padding: 0.85rem 2rem 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(14, 18, 28, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.85rem;
  line-height: 1.45;
}

.social-proof-badge__line2 {
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

.social-proof-badge__line2 a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.social-proof-badge__line2 a:hover {
  border-bottom-color: rgba(16, 185, 129, 0.45);
}

.social-proof-badge__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #ffffff;
  opacity: 0.75;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.social-proof-badge__close:hover {
  color: #ffffff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
  .social-proof-badge {
    left: 12px;
    bottom: 72px;
  }
}

/* Оформление: шаги после оплаты, гарантия */
.checkout-after-pay {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(16, 185, 129, 0.06);
}

.checkout-after-pay__title {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.checkout-after-pay ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.checkout-after-pay li {
  margin-bottom: 0.4rem;
}

.checkout-guarantee {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.92);
}

.checkout-support-line {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-support-line a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.checkout-support-line a:hover {
  border-bottom-color: rgba(16, 185, 129, 0.45);
}

.checkout-pass-note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-card--pro-x5-popular {
  position: relative;
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35), 0 12px 48px rgba(16, 185, 129, 0.12);
}

.plan-card__ribbon--popular-choice {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.95), rgba(52, 211, 153, 0.75));
  color: #0b1220;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}

.checkout-card--pro-x20-upgrade .plan-card__ribbon {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(129, 140, 248, 0.45);
}

.checkout-auth__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.buy-variants-grid {
  display: grid;
  gap: 0.85rem;
}

.buy-variants-grid--chatgpt {
  grid-template-columns: minmax(280px, 340px) minmax(440px, 620px);
  justify-content: center;
  align-items: start;
  width: min(1040px, 100%);
  margin: 0 auto;
}

@media (max-width: 980px) {
  .buy-variants-grid--chatgpt {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

.variant-widget {
  border: 1px solid rgba(70, 88, 132, 0.5);
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.92), rgba(6, 11, 22, 0.95));
  border-radius: 16px;
  padding: 0.95rem;
  box-shadow: 0 12px 24px rgba(3, 8, 20, 0.36);
}

.variant-widget__head {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-bottom: 0.7rem;
}

.variant-widget__options {
  display: grid;
  gap: 0.5rem;
}

.variant-widget__option {
  border: 1px solid rgba(95, 118, 177, 0.45);
  background: rgba(10, 18, 34, 0.8);
  color: var(--text);
  border-radius: 12px;
  padding: 0.82rem 0.82rem;
  display: grid;
  gap: 0.25rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.variant-widget__option:hover {
  border-color: rgba(129, 140, 248, 0.7);
  transform: translateY(-1px);
}

.variant-widget__option--active {
  border-color: rgba(52, 211, 153, 0.78);
  background: linear-gradient(180deg, rgba(16, 55, 49, 0.58), rgba(8, 23, 29, 0.86));
}

.variant-widget__option-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.28;
}

.variant-widget__option-price {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.86);
}

.variant-widget__main {
  min-width: 0;
}

.checkout-card--variant {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(120, 137, 255, 0.28);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(99, 102, 241, 0.16), transparent 45%),
    radial-gradient(120% 140% at 100% 100%, rgba(16, 185, 129, 0.14), transparent 45%),
    linear-gradient(180deg, rgba(8, 18, 36, 0.93), rgba(4, 10, 24, 0.96));
  box-shadow: 0 16px 36px rgba(6, 10, 26, 0.45);
  animation: buyCardIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--variant-delay, 0ms);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  min-height: 100%;
  border-radius: 16px;
}

#plans.product-chatgpt-mode .section__head {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#plans.product-chatgpt-mode .chatgpt-variant-mount {
  margin-top: 1rem;
}

#plans.product-chatgpt-mode .plans__note {
  max-width: 920px;
  margin: 1rem auto 0;
  text-align: center;
}

.checkout-card--variant::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(129, 140, 248, 0.22), rgba(56, 189, 248, 0.15), rgba(16, 185, 129, 0.14));
  opacity: 0;
  transition: opacity 220ms ease;
}

.checkout-card--variant:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.48);
  box-shadow: 0 22px 42px rgba(7, 12, 30, 0.55);
}

.checkout-card--variant:hover::before {
  opacity: 1;
}

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

/* ——— Лендинг: преимущества, каталог, стек сервисов ——— */
.hero--landing .hero__trust--landing {
  margin-top: 1.25rem;
}

.landing-service-stack {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: auto;
}

.landing-service-stack__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-primary);
}

.landing-service-stack__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.landing-service-stack__dot--gpt {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

.landing-service-stack__dot--claude {
  background: #d97757;
  box-shadow: 0 0 10px rgba(217, 119, 87, 0.35);
}

.landing-service-stack__dot--grok {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.35);
}

.landing-service-stack__dot--cursor {
  background: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.landing-service-stack__dot--suno {
  background: #f472b6;
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.35);
}

.landing-service-stack__note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-caption);
  line-height: 1.45;
}

.advantage-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.advantage-card__icon {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.5rem;
}

.advantage-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.advantage-card__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.section__head--advantages-compact {
  margin-bottom: 1.3rem;
}

.section__head--advantages-compact .section__title {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.advantage-grid--compact {
  gap: 0.9rem;
}

.advantage-grid--compact .advantage-card {
  background: linear-gradient(160deg, rgba(16, 22, 36, 0.96), rgba(12, 17, 28, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1rem 0.9rem;
  min-height: 150px;
}

.advantage-grid--compact .advantage-card__icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(86, 156, 214, 0.45);
  background: rgba(45, 72, 120, 0.22);
  color: #92d0ff;
  font-size: 0.72rem;
  margin-bottom: 0.65rem;
}

.advantage-grid--compact .advantage-card__title {
  font-size: 1.12rem;
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 0.42rem;
}

.advantage-grid--compact .advantage-card__text {
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(232, 238, 252, 0.86);
  line-height: 1.35;
}

.home-advantages-band {
  position: relative;
  padding: clamp(2.4rem, 6vw, 3.6rem) 0;
}

.home-advantages-band::before,
.home-advantages-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.home-advantages-band::before {
  top: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0) 0%, rgba(13, 20, 34, 0.75) 100%);
  transform: translateY(-100%);
}

.home-advantages-band::after {
  bottom: 0;
  height: 70px;
  background: linear-gradient(0deg, rgba(8, 14, 24, 0) 0%, rgba(13, 20, 34, 0.75) 100%);
  transform: translateY(100%);
}

.home-advantages-band__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 2.5vw, 1.9rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(170deg, rgba(13, 20, 34, 0.96) 0%, rgba(8, 12, 23, 0.92) 100%);
  box-shadow: 0 20px 44px rgba(2, 5, 12, 0.38);
}

.landing-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (max-width: 900px) {
  .landing-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .landing-catalog {
    grid-template-columns: 1fr;
  }
}

.product-tile {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  min-height: 100%;
}

.product-tile:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.product-tile__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.product-tile__name {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.product-tile__desc {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 600;
}

.product-tile__cta {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.product-tile--claude:hover {
  border-color: rgba(217, 119, 87, 0.45);
}

.product-tile--grok:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.product-tile--cursor:hover {
  border-color: rgba(129, 140, 248, 0.45);
}

.product-tile--suno:hover {
  border-color: rgba(244, 114, 182, 0.45);
}

/* Страницы отдельных сервисов (Claude, Grok…) */
.service-page {
  padding: 2.5rem 0 4rem;
}

.service-page__inner {
  max-width: 720px;
}

.service-hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 0.85rem;
}

.service-hero__label--claude {
  color: #fdba8c;
  border-color: rgba(217, 119, 87, 0.45);
  background: rgba(217, 119, 87, 0.12);
}

.service-hero__label--grok {
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.service-hero__label--cursor {
  color: #c7d2fe;
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(99, 102, 241, 0.12);
}

.service-hero__label--suno {
  color: #fbcfe8;
  border-color: rgba(244, 114, 182, 0.4);
  background: rgba(244, 114, 182, 0.12);
}

.service-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.service-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.service-features {
  margin: 1.75rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.65;
}

.service-features li {
  margin-bottom: 0.65rem;
}

.service-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-note {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-caption);
  line-height: 1.5;
}

/* ——— Главная: шапка маркетплейса (тёмная) и карусель ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
}

.market-header__top {
  border-bottom: 1px solid var(--border);
}

.market-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.65rem 0;
}

.market-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.market-logo__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  display: flex;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}

.market-logo__text {
  text-transform: lowercase;
}

.market-logo__muted {
  font-weight: 700;
  color: var(--muted);
}

.market-btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-heading);
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.market-btn-catalog:hover {
  background: rgba(255, 255, 255, 0.06);
}

.market-search {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 520px;
  position: relative;
}

.market-search__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: border-color 0.15s ease;
}

.market-search__inner:focus-within {
  border-color: rgba(16, 185, 129, 0.45);
}

.market-search__ico {
  flex-shrink: 0;
  color: var(--muted);
}

.market-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
  outline: none;
}

.market-search__input::placeholder {
  color: var(--text-caption);
  font-weight: 500;
  opacity: 1;
}

.market-search__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0d1524;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 30;
}

.market-search__suggest[hidden] {
  display: none !important;
}

.market-search__suggest-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: left;
  padding: 0.62rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.market-search__suggest-item + .market-search__suggest-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.market-search__suggest-item:hover,
.market-search__suggest-item:focus-visible {
  background: rgba(16, 185, 129, 0.12);
  outline: none;
}

.market-search__suggest-name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.market-search__suggest-name::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.95);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.market-search__suggest-hint {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.74rem;
  font-weight: 600;
}

.market-quick {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-left: auto;
}

.market-quick__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 52px;
}

.market-quick__link svg {
  color: var(--muted);
}

.market-quick__link:hover {
  color: var(--accent);
}

.market-quick__link:hover svg {
  color: var(--accent);
}

.market-burger {
  margin-left: auto;
  border-color: var(--border);
  background: var(--surface);
}

.market-burger span {
  background: var(--text-heading);
}

.market-cats-wrap {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.market-cats-scroll {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.market-cats-scroll::-webkit-scrollbar {
  height: 4px;
}

.market-cats-kicker {
  flex: 0 0 auto;
  margin: 0 0.5rem 0 0;
  padding: 0.4rem 0;
  font-family: inherit;
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  white-space: nowrap;
  position: sticky;
  left: 0;
  z-index: 2;
  background: linear-gradient(90deg, var(--bg-elevated) 78%, transparent 100%);
  padding-right: 1rem;
}

.market-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  color: var(--text-heading);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.market-cat:hover {
  background: rgba(16, 185, 129, 0.14);
  color: var(--text-heading);
}

/* Герой главной (ChatGPT) */
.market-hero {
  position: relative;
  overflow: hidden;
  background: #050508;
  color: #fff;
  padding: 1.75rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

.market-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 130px;
  pointer-events: none;
  background:
    radial-gradient(85% 80% at 16% 100%, rgba(16, 185, 129, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, rgba(7, 10, 16, 0) 0%, rgba(10, 13, 18, 0.95) 70%, rgba(10, 13, 18, 1) 100%);
}

.market-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .market-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

.market-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.95);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  letter-spacing: 0.01em;
}

.market-hero__badge-ico {
  display: flex;
  color: var(--accent);
}

.market-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #f8fafc;
}

.market-hero__title-line {
  display: block;
}

.market-hero__accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.35);
}

.market-hero__lead {
  margin: 0 0 1.35rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.88);
  max-width: 32rem;
}

.market-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.market-hero__note {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #e8fff5;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
}

.market-hero__tg {
  color: #86efac;
  text-decoration: underline;
  text-decoration-color: rgba(134, 239, 172, 0.8);
  text-underline-offset: 3px;
}

.market-hero__tg:hover {
  color: #bbf7d0;
}

/* Мокап окна чата */
.market-hero__mock {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, #0f172a 0%, #020617 100%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 900px) {
  .market-hero__mock {
    margin: 0 0 0 auto;
  }
}

.market-hero__mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.market-hero__mock-dots {
  display: flex;
  gap: 5px;
}

.market-hero__mock-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64748b;
}

.market-hero__mock-dots span:first-child {
  background: #ef4444;
}

.market-hero__mock-dots span:nth-child(2) {
  background: #eab308;
}

.market-hero__mock-dots span:nth-child(3) {
  background: #22c55e;
}

.market-hero__mock-url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 450;
  color: rgba(248, 250, 252, 0.65);
  letter-spacing: 0.02em;
}

.market-hero__mock-body {
  padding: 1rem 0.9rem 1.1rem;
  min-height: 200px;
}

.market-hero__mock-k {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 0.35rem;
}

.market-hero__mock-k--muted {
  margin-top: 0.75rem;
  color: rgba(148, 163, 184, 0.55);
}

.market-hero__mock-req {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(30, 58, 138, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
  line-height: 1.4;
  min-height: 2.5rem;
}

.market-hero__mock-ans {
  margin-top: 0.4rem;
  min-height: 4.5rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px dashed rgba(148, 163, 184, 0.2);
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.88);
  line-height: 1.4;
}

.market-hero__typing {
  position: relative;
}

.market-hero__typing::after {
  content: "";
  display: inline-block;
  width: 0.58em;
  height: 1.1em;
  margin-left: 0.12em;
  vertical-align: -0.16em;
  border-right: 2px solid rgba(248, 250, 252, 0.9);
  animation: marketBlink 0.8s steps(1, end) infinite;
}

@keyframes marketBlink {
  50% {
    opacity: 0;
  }
}

.market-promo {
  position: relative;
  background: linear-gradient(180deg, #0a0d12 0%, #111827 45%, #0f172a 100%);
  padding: 1.5rem 0 2.5rem;
  color: #fff;
}

.market-promo::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -44px;
  height: 76px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0) 0%, rgba(10, 13, 18, 0.95) 100%);
}

.market-promo__head {
  position: relative;
  z-index: 1;
  margin-bottom: 0.75rem;
}

.market-promo__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.market-promo__lead {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.88);
  max-width: 46rem;
}

.market-promo__viewport {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
}

.market-promo__empty {
  margin: 0.75rem 0 0;
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.88);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.market-promo__empty[hidden] {
  display: none !important;
}

.market-promo__empty-reset {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.market-promo__empty-reset:hover {
  color: #34d399;
}

.market-card--hidden {
  display: none !important;
}

.market-promo__nav {
  position: absolute;
  top: calc(50% - 26px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.75);
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.market-promo__nav:hover {
  background: rgba(30, 41, 59, 0.95);
  transform: scale(1.04);
}

.market-promo__nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.market-promo__nav--prev {
  left: max(2px, env(safe-area-inset-left));
}

.market-promo__nav--next {
  right: max(2px, env(safe-area-inset-right));
}

.market-promo__nav--prev::after {
  content: "‹";
  font-size: 1.65rem;
  line-height: 1;
  margin-top: -2px;
}

.market-promo__nav--next::after {
  content: "›";
  font-size: 1.65rem;
  line-height: 1;
  margin-top: -2px;
}

.market-promo__track {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 2.75rem 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.market-promo__track::-webkit-scrollbar {
  display: none;
}

.market-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 min(82vw, 380px);
  scroll-snap-align: start;
  min-height: 220px;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Затемнение поверх фото — текст и бейдж остаются читаемыми */
.market-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.12) 38%,
    rgba(0, 0, 0, 0.45) 72%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.market-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.market-card--pulse {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.85), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.market-card--gpt {
  background:
    radial-gradient(ellipse 120% 80% at 90% 20%, rgba(52, 211, 153, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 10% 90%, rgba(16, 185, 129, 0.35) 0%, transparent 50%),
    linear-gradient(155deg, #022c22 0%, #064e3b 45%, #0f172a 100%);
}

.market-card--claude {
  background:
    radial-gradient(circle at 85% 25%, rgba(251, 113, 133, 0.4) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(251, 146, 60, 0.35) 0%, transparent 50%),
    linear-gradient(160deg, #431407 0%, #7c2d12 40%, #1c1917 100%);
}

.market-card--grok {
  background:
    radial-gradient(circle at 70% 70%, rgba(226, 232, 240, 0.15) 0%, transparent 40%),
    linear-gradient(145deg, #020617 0%, #1e293b 50%, #0f172a 100%);
}

.market-card--ide {
  background:
    radial-gradient(circle at 20% 30%, rgba(129, 140, 248, 0.45) 0%, transparent 42%),
    linear-gradient(155deg, #1e1b4b 0%, #312e81 42%, #0f172a 100%);
}

.market-card--suno {
  background:
    radial-gradient(circle at 75% 65%, rgba(244, 114, 182, 0.45) 0%, transparent 45%),
    linear-gradient(150deg, #500724 0%, #831843 48%, #1f2937 100%);
}

.market-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #ecfdf5;
}

.market-card__body {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.35rem 1.35rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.72) 100%);
}

.market-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(244, 114, 182, 0.35);
  border: 1px solid rgba(249, 168, 212, 0.5);
  color: #fce7f3;
  margin-bottom: 0.5rem;
}

.market-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.market-card__hint {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.88);
  line-height: 1.45;
}

@media (min-width: 900px) {
  .market-header__row {
    flex-wrap: nowrap;
  }
}

@media (min-width: 769px) {
  .home-market .market-burger {
    display: none;
  }

  .home-market #nav.market-nav-mobile:not(.is-open) {
    display: none;
  }
}

@media (max-width: 768px) {
  .market-promo__nav {
    display: none;
  }

  .market-promo__track {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .market-quick {
    display: none;
  }

  .market-search {
    flex: 1 1 100%;
    order: 3;
    max-width: none;
  }

  .market-burger {
    order: 2;
  }

  .home-market .nav.market-nav-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    border-radius: 16px 16px 0 0;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    padding: 1rem 1.25rem;
    flex-direction: column;
    gap: 0;
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .home-market .nav.market-nav-mobile.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .home-market .nav.market-nav-mobile a {
    color: var(--text-heading);
    border-bottom-color: var(--border);
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  .home-market .header ~ main,
  .home-market main {
    padding-bottom: 0;
  }
}

/* --- Главная: блок каталога (API shop) --- */
.market-catalog-embed {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.market-catalog-embed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.market-catalog-embed__layout {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  align-items: start;
}

@media (max-width: 900px) {
  .market-catalog-embed__layout {
    grid-template-columns: 1fr;
  }
}

.market-catalog-embed__aside {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
}

.market-catalog-embed__aside-title {
  margin: 0 0 0.5rem 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

.market-catalog-embed__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.market-catalog-embed__nav button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.52rem 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.market-catalog-embed__nav button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.market-catalog-embed__nav button.market-catalog-embed__nav--on {
  background: rgba(16, 185, 129, 0.14);
}

.market-catalog-embed__cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 1rem;
  overflow: visible !important;
  scroll-snap-type: none;
}

.market-catalog-embed__grid-wrap {
  min-width: 0;
}

/* Подборка «Лучшие» на главной */
.home-featured {
  position: relative;
  border-radius: var(--radius-lg, 20px);
  padding: 1.1rem 0.85rem 1rem;
  background: linear-gradient(
    152deg,
    rgba(16, 185, 129, 0.11) 0%,
    rgba(99, 102, 241, 0.07) 42%,
    rgba(15, 23, 42, 0.55) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.home-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(680px 180px at 18% -20%, rgba(52, 211, 153, 0.16), transparent 55%);
  pointer-events: none;
}

.home-featured > * {
  position: relative;
  z-index: 1;
}

.home-featured__head {
  margin-bottom: 0.75rem;
  padding: 0 0.15rem;
}

.home-featured__kicker {
  display: inline-block;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #34d399;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.home-featured__viewport {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.25rem;
  align-items: center;
  margin-top: 0.15rem;
}

@media (max-width: 520px) {
  .home-featured__viewport {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .home-featured__fab {
    display: none;
  }
}

.home-featured__rail {
  min-width: 0;
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.home-featured__track.market-catalog-embed__cards {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  grid-template-columns: none !important;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.4rem 0.2rem 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  -webkit-overflow-scrolling: touch;
}

.home-featured__track .market-card {
  flex: 0 0 min(252px, 78vw);
  scroll-snap-align: center;
  max-width: min(252px, 78vw);
}

.home-featured__fab {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, transform 0.15s;
}

.home-featured__fab:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.18);
}

.home-featured__fab:active:not(:disabled) {
  transform: scale(0.95);
}

.home-featured__fab:disabled {
  opacity: 0.28;
  cursor: default;
}

.home-featured__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.1rem;
  min-height: 0.85rem;
}

.home-featured__dots[hidden],
.home-featured__dots:empty {
  display: none !important;
}

.home-featured__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.home-featured__dot--active {
  background: #34d399;
  transform: scale(1.25);
}

.home-featured__cta {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.home-featured__cta .btn {
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25);
}

.home-featured__search-empty {
  margin-top: 0.75rem;
}

/* --- New storefront on homepage --- */
.home-anim-hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 62vh, 760px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #07090f;
  overflow: hidden;
}

.home-anim-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7, 9, 15, 0), rgba(7, 9, 15, 0.94));
}

.home-anim-hero__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #07090f;
}

.home-showcase {
  padding: 2rem 0 1.2rem;
}

.home-showcase__promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(115deg, rgba(16, 163, 127, 0.2), rgba(99, 102, 241, 0.15));
  margin-bottom: 1.25rem;
}

.home-showcase__promo-left {
  display: grid;
  gap: 0.2rem;
  color: var(--text);
}

.home-showcase__promo-left strong {
  font-size: 0.95rem;
}

.home-showcase__promo-left span {
  font-size: 0.82rem;
  color: var(--muted);
}

.home-showcase__promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: #0c111a;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(180deg, #23d89f, #19b786);
}

.home-showcase__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.home-showcase__head h1 {
  margin: 0 0 0.3rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.home-showcase__head p {
  margin: 0;
  color: var(--muted);
}

.home-showcase__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.home-showcase__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-showcase__cat {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 15, 26, 0.65);
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  padding: 0.38rem 0.72rem;
  cursor: pointer;
}

.home-showcase__cat--on {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.2);
}

.home-showcase__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.home-showcase__more {
  display: none;
  margin: 1rem auto 0;
}

.home-advantages-anim {
  display: none;
}

.home-advantages-anim__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #07090f;
}

.home-advantages-mobile {
  display: block;
}

.home-showcase__empty {
  color: var(--muted);
  margin: 0 0 1rem;
}

.home-showcase-card {
  position: relative;
  display: grid;
  gap: 0.75rem;
  min-height: 170px;
  padding: 0.8rem 0.82rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--showcase-accent, linear-gradient(145deg, rgba(37,99,235,0.34), rgba(13,18,28,0.95)));
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  animation: showcase-in 480ms cubic-bezier(0.22, 0.8, 0.23, 1) forwards;
  animation-delay: var(--showcase-delay, 0ms);
}

.home-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 110% at 100% 100%, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.home-showcase-card:hover {
  transform: translateY(-4px) scale(1.01);
  transition: transform 220ms ease;
}

.home-showcase-card__top,
.home-showcase-card__body {
  position: relative;
  z-index: 1;
}

.home-showcase-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-showcase-card__icon,
.home-showcase-card__go {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-showcase-card__title {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.25;
}

.home-showcase-card__desc {
  margin: 0.3rem 0 0;
  color: rgba(231, 237, 255, 0.9);
  font-size: 0.83rem;
  line-height: 1.35;
}

.home-showcase-card__meta {
  margin-top: 0.65rem;
}

.home-showcase-card__price {
  font-size: 0.8rem;
  color: #d7fbe8;
}

@keyframes showcase-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .home-anim-hero {
    height: clamp(260px, 50vh, 420px);
  }

  .home-showcase__promo {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-showcase__toolbar {
    align-items: stretch;
  }

  .home-showcase__toolbar .btn {
    width: 100%;
    justify-content: center;
  }

  .home-showcase__grid {
    grid-template-columns: 1fr;
  }

  .home-showcase__more {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .home-advantages-band {
    padding: clamp(2.8rem, 4vw, 3.8rem) 0;
  }
}


