:root {
  --bg: #070b14;
  --bg-soft: #0e1728;
  --panel: rgba(10, 17, 29, 0.93);
  --panel-strong: #131e34;
  --white: #f9f8ff;
  --muted: #b8c3d9;
  --line: rgba(255, 255, 255, 0.09);
  --primary: #ff4d9d;
  --primary-strong: #ff1f7a;
  --secondary: #ffd166;
  --success: #63f2c8;
  --cyan: #4cc9ff;
  --glow: rgba(255, 77, 157, 0.42);
  --shadow: 0 28px 80px rgba(4, 8, 16, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 77, 157, 0.25), transparent 28%),
    radial-gradient(circle at top right, rgba(76, 201, 255, 0.2), transparent 32%),
    radial-gradient(circle at bottom center, rgba(255, 209, 102, 0.12), transparent 26%),
    var(--bg);
  color: var(--white);
  line-height: 1.56;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 68px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.eyebrow-lg {
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white) 40%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(9, 13, 24, 0.7);
  border-bottom: 1px solid var(--line);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1em;
  touch-action: manipulation;
  transform: none;
  transition: opacity 0.15s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.45);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

@media (min-width: 901px) {
  .nav-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong), #ff7b54);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(255, 31, 122, 0.46);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 22px 46px rgba(255, 31, 122, 0.62);
}

@keyframes btn-gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes btn-shine {
  0% {
    left: -60%;
  }
  55%,
  100% {
    left: 130%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button-primary {
    background-image: linear-gradient(135deg, var(--primary), var(--primary-strong), #ff7b54, var(--primary));
    background-size: 300% 300%;
    animation: btn-gradient-shift 5s ease infinite;
  }

  .button-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    animation: btn-shine 3.4s ease-in-out infinite;
    pointer-events: none;
  }
}

.button-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 10px;
  margin: 6px 0;
}

.hero {
  padding: 48px 0 40px;
  background: linear-gradient(180deg, rgba(140, 145, 155, 0.08), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 44px;
}

.subtitle {
  max-width: 650px;
  font-size: 1.06rem;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: var(--white);
  font-weight: 600;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 18px rgba(52, 211, 153, 0.8);
}

.promo-note {
  margin: -12px 0 20px;
  font-size: 0.86rem;
  color: var(--secondary);
}

.book-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 620px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.orb-one {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.6), transparent 68%);
  top: 30px;
  right: 60px;
}

.orb-two {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28), transparent 70%);
  bottom: 10px;
  left: 80px;
}

.book-cover {
  position: relative;
  width: min(410px, 100%);
  min-height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 4;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px 16px 16px 6px;
}

.book-cover-3d {
  transform: perspective(1400px) rotateY(-22deg) rotateX(2deg);
  transform-style: preserve-3d;
  box-shadow: 36px 40px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .book-cover-3d:hover {
    transform: perspective(1400px) rotateY(-30deg) rotateX(5deg);
  }
}

/* Сияющий ореол вокруг обложки на главном экране — привлекает взгляд */
.book-cover-glow {
  position: relative;
  z-index: 5;
}

.book-cover-glow::before {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.65) 0%,
    rgba(236, 72, 153, 0.38) 34%,
    rgba(236, 72, 153, 0.18) 58%,
    transparent 74%
  );
  filter: blur(26px);
  animation: cover-glow-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

.book-cover-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 6px 16px 16px 6px;
  box-shadow: 0 0 48px 10px rgba(236, 72, 153, 0.7), 0 0 100px 28px rgba(236, 72, 153, 0.35);
  animation: cover-glow-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cover-glow-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-cover-glow::before,
  .book-cover-glow::after {
    animation: none;
    opacity: 0.85;
  }
}

.book-cover-pages {
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: -26px;
  width: 26px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.18)),
    linear-gradient(to right, rgba(0, 0, 0, 0.12), transparent 30%, transparent 70%, rgba(0, 0, 0, 0.08)),
    repeating-linear-gradient(to bottom, #efece2 0px, #efece2 1.5px, #d9d5c7 1.5px, #d9d5c7 2.5px);
  transform: rotateY(90deg) translateZ(13px);
  transform-origin: left center;
  border-radius: 0 4px 4px 0;
}

.book-cover-spine {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: -16px;
  width: 16px;
  background: linear-gradient(to bottom, #071022, #123246);
  transform: rotateY(-90deg) translateZ(8px);
  transform-origin: right center;
  border-radius: 6px 0 0 6px;
}

.author-section {
  padding-top: 20px;
}

.author-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.author-image-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  min-height: 360px;
  box-shadow: var(--shadow);
}

.author-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-copy p:last-child {
  margin-bottom: 0;
}

.author-expertise {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.author-expertise li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.author-expertise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.author-facts {
  list-style: none;
  margin: 20px 0 6px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.author-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-facts strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.03em;
}

.author-facts span {
  color: var(--muted);
  font-size: 0.82rem;
}

.author-cta {
  margin-top: 24px;
}

.author-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.author-cta-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.price-tag,
.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 77, 157, 0.16), rgba(255, 209, 102, 0.12));
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-new-big {
  background: linear-gradient(90deg, var(--secondary), #ffb347, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.25em;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.book-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.metrics {
  padding: 18px 0 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metrics-grid div {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 14px;
  text-align: center;
}

.metrics-grid strong {
  display: block;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin-bottom: 3px;
}

.metrics-grid span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 26px;
}

.section-heading-row .section-heading {
  margin-bottom: 0;
}

#value .section-heading-row .section-heading {
  max-width: 600px;
}

.section-heading-row-cover {
  flex-shrink: 0;
  width: 234px;
  min-height: 312px;
  margin-right: 46px;
}

.book-cover-floating.section-heading-row-cover {
  margin-right: 110px;
}

.section-heading-row-cover .book-cover-pages {
  width: 32px;
  right: -32px;
  transform: rotateY(90deg) translateZ(16px);
}

.section-heading-row-cover .book-cover-spine {
  width: 17px;
  left: -17px;
  transform: rotateY(-90deg) translateZ(8px);
}

@media (max-width: 900px) {
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-heading-row-cover {
    align-self: center;
  }
}

.section-heading-with-photo {
  display: flex;
  align-items: center;
  gap: 18px;
}

.section-heading-name {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.section-heading-book {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading-photo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(255, 209, 102, 0.5);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: right center;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .section-heading-photo:hover {
    transform: scale(1.35);
    z-index: 5;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  }
}

.section-heading-book-cover {
  width: 95px;
  min-height: 127px;
  margin-right: 34px;
}

.section-heading-book-cover .book-cover-pages {
  width: 14px;
  right: -14px;
  transform: rotateY(90deg) translateZ(7px);
}

.section-heading-book-cover .book-cover-spine {
  width: 7px;
  left: -7px;
  transform: rotateY(-90deg) translateZ(3.5px);
}

.card-grid,
.steps-grid,
.prompt-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.step-card,
.prompt-card,
.review-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.step-card:hover,
.prompt-card:hover,
.review-card:hover,
.value-card:hover,
.free-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 209, 102, 0.35);
}

.info-card {
  padding: 22px 20px;
}

.info-card.featured {
  background: linear-gradient(180deg, rgba(255, 77, 157, 0.1), rgba(255,255,255,0.02));
  border-color: rgba(255,77,157,0.4);
}

.tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,77,157,0.12);
  color: #e9d5ff;
  font-size: 0.72rem;
  font-weight: 800;
}

.tag.alt {
  background: rgba(76, 201, 255, 0.12);
  color: #bfeaff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.value-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.14), rgba(255, 77, 157, 0.1));
  color: var(--secondary);
}

.value-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.value-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.value-card li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.value-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.value-card strong {
  color: var(--white);
}

.value-note {
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.tech-highlight {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  padding: 24px 132px 24px 26px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 20px;
}

.tech-highlight::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 260px;
  background: url("assets/img/cover.webp") center/cover;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to left, black, transparent);
  mask-image: linear-gradient(to left, black, transparent);
  pointer-events: none;
}

.tech-highlight-badge,
.tech-highlight p {
  position: relative;
  z-index: 1;
}

.tech-highlight-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.16);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tech-highlight-seal {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.14), transparent 40%),
    radial-gradient(circle, rgba(255, 209, 102, 0.22), rgba(9, 15, 26, 0.94) 72%);
  border: 1px solid rgba(255, 226, 168, 0.75);
  box-shadow:
    0 0 0 1px rgba(9, 15, 26, 0.9),
    0 0 0 6px rgba(255, 209, 102, 0.16),
    0 0 0 7px rgba(255, 209, 102, 0.35),
    0 14px 30px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  text-align: center;
}

.tech-highlight-seal-num {
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #fff3d6, var(--secondary) 55%, #b8842f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.4));
}

.tech-highlight-seal-label {
  margin-top: 3px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  line-height: 1.2;
}

@media (max-width: 640px) {
  .tech-highlight-seal {
    display: none;
  }

  .tech-highlight {
    padding-right: 26px;
  }
}

.tech-highlight p {
  margin-bottom: 10px;
}

.tech-highlight p:last-child {
  margin-bottom: 0;
}

.tech-highlight strong {
  color: var(--white);
}

.value-compare {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding: 34px 40px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.14), rgba(19, 12, 26, 0.4) 45%, rgba(76, 201, 255, 0.1));
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.value-compare-glow {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.25), transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.value-compare-left {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 440px;
}

.value-compare-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(76, 201, 255, 0.14);
  border: 1px solid rgba(76, 201, 255, 0.4);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value-compare-copy h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.value-compare-copy h3 .accent {
  background: linear-gradient(90deg, var(--secondary), #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.value-compare-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.value-compare-old {
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: line-through;
}

.value-compare-new {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 2px;
}

.value-compare-roi {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 8px;
}

.value-compare-price .button {
  box-shadow: 0 10px 26px rgba(255, 77, 157, 0.35);
}

@media (max-width: 900px) {
  .value-compare {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }

  .value-compare-glow {
    display: none;
  }

  .value-compare-price {
    align-items: flex-start;
    width: 100%;
  }
}

.dark-panel {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.format-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.format-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 209, 102, 0.35);
}

.format-card-digital {
  border-color: rgba(76, 201, 255, 0.3);
}

.format-card-print {
  border-color: rgba(255, 209, 102, 0.4);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(255, 255, 255, 0.02));
}

.format-card-tag {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--bg);
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.format-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.16), rgba(255, 255, 255, 0.04));
  color: var(--cyan);
}

.format-card-print .format-card-icon {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.2), rgba(255, 255, 255, 0.04));
  color: var(--secondary);
}

.format-card-icon .icon-svg {
  width: 24px;
  height: 24px;
}

.format-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.format-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.format-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.format-card-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1rem;
}

.format-card-new {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.format-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  flex-grow: 1;
}

.format-card-cta {
  align-self: flex-start;
  margin-top: auto;
}

.format-card-list li {
  padding-left: 18px;
  position: relative;
}

.format-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.format-card-print .format-card-list li::before {
  background: var(--secondary);
}

@media (max-width: 720px) {
  .formats-grid {
    grid-template-columns: 1fr;
  }
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  padding: 20px 18px;
}

.step-num {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--secondary);
  font-weight: 900;
  letter-spacing: 0.1em;
}

.prompt-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prompt-card {
  padding: 20px 18px;
}

.mini-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary);
  font-weight: 800;
}

.review-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.preview-carousel {
  position: relative;
}

.preview-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.preview-track::-webkit-scrollbar {
  height: 6px;
}

.preview-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.preview-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.preview-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(9, 13, 24, 0.9);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.preview-arrow:hover {
  border-color: rgba(255, 209, 102, 0.5);
}

.preview-arrow-prev {
  left: -14px;
}

.preview-arrow-next {
  right: -14px;
}

@media (max-width: 640px) {
  .preview-arrow {
    display: none;
  }
}

.preview-card:hover {
  transform: translateY(-4px);
}

.preview-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
  transition: filter 0.2s ease;
}

.preview-card img:hover {
  filter: brightness(1.08);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 800px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.06);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-arrow-prev {
  left: 16px;
}

.lightbox-arrow-next {
  right: 16px;
}

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  /* На телефоне картинка занимает почти весь экран: её открывают, чтобы рассмотреть */
  .lightbox {
    padding: 56px 8px 64px;
  }

  .lightbox img {
    max-width: 96vw;
    max-height: 78vh;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    background: rgba(10, 14, 24, 0.62);
    border-color: rgba(255, 255, 255, 0.35);
  }

  .lightbox-arrow-prev {
    left: 8px;
  }

  .lightbox-arrow-next {
    right: 8px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    background: rgba(10, 14, 24, 0.62);
  }
}

.preview-card figcaption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .preview-card {
    flex-basis: 160px;
  }
}

.marketplaces-section {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marketplaces-section .section-heading p {
  margin-top: 4px;
  max-width: 640px;
}

.marketplaces-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.marketplaces-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.marketplaces-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 201, 255, 0.35);
}

.marketplaces-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(76, 201, 255, 0.14);
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.9rem;
}

.marketplaces-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.marketplaces-card p {
  font-size: 0.88rem;
  margin: 0;
}

@media (max-width: 1100px) {
  .marketplaces-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .marketplaces-grid {
    grid-template-columns: 1fr;
  }
}

.prompt-categories {
  margin-top: 28px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.prompt-categories-title {
  margin: 0 0 14px;
  color: var(--white);
  font-weight: 700;
}

.prompt-categories ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
}

.prompt-categories li {
  position: relative;
  padding-left: 16px;
  font-size: 0.94rem;
}

.prompt-categories li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

@media (max-width: 900px) {
  .prompt-categories ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.assistants-block {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 34px 32px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.1), rgba(19, 12, 26, 0.4) 55%, rgba(76, 201, 255, 0.08));
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.assistants-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.assistants-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.assistants-stat strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.03em;
}

.assistants-stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.assistants-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.assistant-chip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.assistant-chip:hover {
  border-color: rgba(76, 201, 255, 0.4);
  background: rgba(76, 201, 255, 0.05);
  transform: translateY(-3px);
}

.assistant-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.16), rgba(76, 201, 255, 0.12));
  color: var(--cyan);
}

.assistant-chip h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--white);
}

.assistant-chip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.assistants-note {
  position: relative;
  margin: 0 0 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.assistants-note strong {
  color: var(--secondary);
}

.assistants-block > .button {
  position: relative;
}

@media (max-width: 900px) {
  .assistants-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .assistants-grid {
    grid-template-columns: 1fr;
  }

  .assistants-stats {
    gap: 20px;
  }
}

.review-card {
  margin: 0;
  padding: 22px 20px;
  color: var(--white);
}

.review-card footer {
  margin-top: 18px;
  color: var(--secondary);
  font-weight: 700;
}

.case-card {
  display: flex;
  flex-direction: column;
}

.case-tag {
  margin: 0 0 12px;
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(76, 201, 255, 0.12);
  border: 1px solid rgba(76, 201, 255, 0.35);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-row {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.case-label {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 9px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}

.case-label-before {
  background: rgba(255, 92, 92, 0.16);
  border: 1px solid rgba(255, 92, 92, 0.4);
  color: #ff6b6b;
}

.case-label-after {
  background: rgba(99, 242, 200, 0.16);
  border: 1px solid rgba(99, 242, 200, 0.4);
  color: var(--success);
}

.case-result {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.92rem;
}

.case-cta {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.12), rgba(19, 12, 26, 0.4) 55%, rgba(76, 201, 255, 0.08));
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.case-cta-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.case-cta-tag {
  display: inline-block;
  margin: 0 0 2px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(76, 201, 255, 0.14);
  border: 1px solid rgba(76, 201, 255, 0.4);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-cta-copy h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.case-cta-copy > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.case-cta-copy .button {
  box-shadow: 0 10px 26px rgba(255, 77, 157, 0.35);
}

.case-cta .book-cover-sm {
  width: 130px;
  min-height: 174px;
}

.case-cta .book-cover-sm .book-cover-pages {
  width: 18px;
  right: -18px;
  transform: rotateY(90deg) translateZ(9px);
}

.case-cta .book-cover-sm .book-cover-spine {
  width: 9px;
  left: -9px;
  transform: rotateY(-90deg) translateZ(4.5px);
}

@media (max-width: 640px) {
  .case-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }
}

.compact-section {
  padding-top: 20px;
}

.free-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.free-grid {
  display: grid;
  /* материалов может стать больше, поэтому колонки подстраиваются сами,
     а не заданы числом: иначе последняя карточка повисает одна в ряду */
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 26px;
}

/* Пояснение под карточками: одно письмо на все три материала */
.free-note {
  margin: 22px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Вход в раздел статей с главной: заметный блок под бесплатными материалами */
.blog-teaser {
  margin: 34px auto 0;
  max-width: 820px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.blog-teaser h3 {
  margin: 6px 0 12px;
  font-size: 1.6rem;
  line-height: 1.25;
}

.blog-teaser-sub {
  color: var(--muted);
  margin: 0 auto 18px;
  max-width: 640px;
  font-size: 0.95rem;
}

.blog-teaser-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.blog-teaser-links a {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.86rem;
  color: var(--white);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.blog-teaser-links a:hover {
  border-color: var(--primary);
  color: var(--white);
}

.free-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.free-card:hover {
  transform: translateY(-4px);
}

.free-card-step {
  position: absolute;
  top: -14px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  font-weight: 900;
  font-size: 0.92rem;
  color: var(--bg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.55);
}

.free-card-cyan {
  border-color: rgba(76, 201, 255, 0.35);
}

.free-card-cyan .free-card-step {
  background: var(--cyan);
}

.free-card-gold {
  border-color: rgba(255, 209, 102, 0.4);
}

.free-card-gold .free-card-step {
  background: var(--secondary);
}

.free-card-pink {
  border-color: rgba(255, 77, 157, 0.4);
}

.free-card-pink .free-card-step {
  background: var(--primary);
}

.free-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.free-card-with-cover {
  padding-top: 0;
}

.free-card-media {
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  margin: 0 0 18px;
}

.free-card-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0;
  background: #071022;
}

.free-card-with-cover h3,
.free-card-with-cover p,
.free-card-with-cover .button {
  margin-left: 20px;
  margin-right: 20px;
}

.free-card-with-cover .button {
  align-self: flex-start;
  margin-bottom: 20px;
}

.free-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.free-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(9, 13, 24, 0.9);
  border: 1px solid rgba(76, 201, 255, 0.4);
  color: var(--cyan);
  font-weight: 900;
  font-size: 1rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .free-grid {
    grid-template-columns: 1fr;
  }
}

.video-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #000;
}

.video-wrap.video-horizontal {
  aspect-ratio: 16 / 9;
  max-width: 720px;
  margin: 0 auto;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin: 10px 2px 0;
  font-size: 0.84rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.shorts-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shorts-item {
  aspect-ratio: 9 / 16;
}

@media (max-width: 900px) {
  .shorts-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

.events-section {
  padding-top: 10px;
}

.events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.events-list li {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.events-list strong {
  color: var(--white);
  font-size: 0.98rem;
}

.events-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .events-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.offer-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
}

.offer-intro {
  display: flex;
  align-items: center;
  gap: 34px;
}

.book-cover-sm {
  width: 168px;
  min-height: 224px;
  flex-shrink: 0;
}

.book-cover-sm.book-cover-3d {
  box-shadow: 14px 18px 32px rgba(0, 0, 0, 0.5);
}

.book-cover-sm .book-cover-pages {
  width: 24px;
  right: -24px;
  transform: rotateY(90deg) translateZ(12px);
}

.book-cover-sm .book-cover-spine {
  width: 12px;
  left: -12px;
  transform: rotateY(-90deg) translateZ(6px);
}

.value-compare-visual {
  position: relative;
  flex: 1;
  min-width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.roi-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.22), rgba(9, 15, 26, 0.9) 72%);
  border: 1.5px solid rgba(255, 209, 102, 0.55);
  box-shadow: 0 0 0 6px rgba(255, 209, 102, 0.08), 0 10px 26px rgba(0, 0, 0, 0.5);
  transform: rotate(-8deg);
  text-align: center;
}

.roi-badge-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.roi-badge-label {
  margin-top: 2px;
  padding: 0 8px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cyan);
  line-height: 1.2;
}

@media (max-width: 640px) {
  .roi-badge {
    width: 88px;
    height: 88px;
  }

  .roi-badge-num {
    font-size: 1.2rem;
  }
}

.value-compare-cover {
  width: 240px;
  min-height: 320px;
  flex-shrink: 0;
}

.value-compare-cover .book-cover-pages {
  width: 34px;
  right: -34px;
  transform: rotateY(90deg) translateZ(17px);
}

.value-compare-cover .book-cover-spine {
  width: 17px;
  left: -17px;
  transform: rotateY(-90deg) translateZ(8.5px);
}

@media (max-width: 640px) {
  .offer-intro {
    flex-direction: column;
    align-items: flex-start;
  }
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--white);
}

.offer-list li {
  position: relative;
  padding-left: 22px;
}

.offer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-size: 1.6rem;
  line-height: 1;
}

.cta-section {
  padding-top: 60px;
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
  background: linear-gradient(135deg, rgba(255, 77, 157, 0.16), rgba(76, 201, 255, 0.1), rgba(255, 209, 102, 0.1));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px 30px;
  box-shadow: var(--shadow);
}

.cta-box > div:first-child {
  flex: 1 1 420px;
  max-width: 480px;
}

.cta-cover {
  flex-shrink: 0;
  width: 190px;
  min-height: 253px;
}

.cta-cover .book-cover-pages {
  width: 27px;
  right: -27px;
  transform: rotateY(90deg) translateZ(13.5px);
}

.cta-cover .book-cover-spine {
  width: 13px;
  left: -13px;
  transform: rotateY(-90deg) translateZ(6.5px);
}

.cta-actions {
  flex: 0 1 260px;
}

.cta-description {
  max-width: 560px;
  margin: 0;
}

.cta-fear {
  max-width: 560px;
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 92, 92, 0.1);
  border: 1px solid rgba(255, 92, 92, 0.3);
  color: #ff9b9b;
  font-size: 0.88rem;
  font-weight: 600;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: 340px;
}

.checkout-panel {
  display: grid;
  gap: 10px;
  width: min(100%, 400px);
}

.checkout-option {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.checkout-option:hover,
.checkout-option:focus-within {
  border-color: rgba(255, 209, 102, 0.5);
  transform: translateY(-1px);
}

.checkout-option.active {
  border-color: rgba(76, 201, 255, 0.7);
  background: rgba(76, 201, 255, 0.08);
}

.checkout-option input {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
  margin: 0 12px 0 0;
}

.checkout-option span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--white);
}

.checkout-option strong {
  font-size: 0.96rem;
}

.checkout-option small {
  color: var(--muted);
  font-size: 0.78rem;
}

.discount-badge {
  font-size: 1.1rem;
}

.format-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.format-option {
  font: inherit;
  cursor: pointer;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.format-option.is-active {
  border-color: rgba(255, 209, 102, 0.5);
  background: rgba(255, 209, 102, 0.12);
  color: var(--white);
}

@media (max-width: 900px) {
  .format-toggle {
    justify-content: center;
  }
}

.price-old {
  margin-right: 6px;
  font-size: 0.72em;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(184, 195, 217, 0.7);
}

.cta-gift-note {
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(99, 242, 200, 0.14);
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

.cta-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.about-book-section {
  padding-top: 8px;
  padding-bottom: 8px;
}

.about-book-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-book-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
}

.about-book-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--bg);
  font-weight: 900;
}

.about-book-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.about-book-card p {
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 900px) {
  .about-book-grid {
    grid-template-columns: 1fr;
  }
}

.featured-section {
  margin-top: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.featured-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 209, 102, 0.35);
}

.featured-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.14), rgba(255, 255, 255, 0.04));
  color: var(--cyan);
}

.icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.featured-card h3 {
  font-size: 0.96rem;
  margin-bottom: 6px;
}

/* ---- Micro-interactions: icon wiggle + interactive polish ---- */

@keyframes icon-wiggle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  20% {
    transform: rotate(-10deg) scale(1.08);
  }
  40% {
    transform: rotate(9deg) scale(1.08);
  }
  60% {
    transform: rotate(-6deg) scale(1.04);
  }
  80% {
    transform: rotate(4deg) scale(1.02);
  }
}

@keyframes book-float {
  0%,
  100% {
    transform: perspective(1400px) rotateY(-22deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(1400px) rotateY(-17deg) rotateX(4deg) translateY(-12px);
  }
}

@keyframes book-hover-swing {
  0%,
  100% {
    transform: perspective(1400px) rotateY(-28deg) rotateX(3deg);
  }
  50% {
    transform: perspective(1400px) rotateY(-14deg) rotateX(3deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .book-cover-floating {
    animation: book-float 4.5s ease-in-out infinite;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .book-cover-floating:hover {
    animation: book-hover-swing 2.4s ease-in-out infinite;
  }

  .value-card:hover .value-icon,
  .featured-card:hover .featured-icon,
  .format-card:hover .format-card-icon,
  .about-book-card:hover .about-book-num,
  .marketplaces-card:hover .marketplaces-num,
  .free-card:hover .free-card-step,
  .info-card:hover .value-icon,
  .roi-badge:hover {
    animation: icon-wiggle 0.55s ease;
  }

  .tag,
  .mini-tag,
  .case-tag,
  .format-card-tag {
    transition: transform 0.2s ease;
  }

  .info-card:hover .tag,
  .prompt-card:hover .mini-tag,
  .case-card:hover .case-tag {
    transform: scale(1.06) translateY(-1px);
  }

  .button-secondary {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }

  .button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.featured-card p {
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-card {
  border-radius: 20px;
  padding: 22px 22px;
  border: 1px solid var(--line);
}

.fit-yes {
  background: linear-gradient(180deg, rgba(99, 242, 200, 0.1), rgba(255, 255, 255, 0.02));
  border-color: rgba(99, 242, 200, 0.32);
}

.fit-no {
  background: rgba(255, 255, 255, 0.02);
}

.fit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.fit-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.fit-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.fit-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
}

.fit-no li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 900px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 209, 102, 0.3);
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: rgba(76, 201, 255, 0.35);
  background: linear-gradient(135deg, rgba(76, 201, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  padding: 14px 44px 14px 40px;
  font-weight: 700;
  color: var(--white);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #0b0f1a;
  font-weight: 900;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.14);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: var(--secondary);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(135deg);
  background: rgba(76, 201, 255, 0.16);
  border-color: rgba(76, 201, 255, 0.45);
  color: var(--cyan);
}

.faq-item p {
  margin: 0 0 16px;
  padding-left: 40px;
  font-size: 0.94rem;
}

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(9, 13, 24, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 12px 0;
  transform: translateY(120%);
  transition: transform 0.25s ease;
}

.sticky-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-bar-price {
  font-weight: 800;
  color: var(--secondary);
  flex-shrink: 0;
}

.sticky-bar-text {
  color: var(--muted);
  font-size: 0.9rem;
  flex-grow: 1;
}

.sticky-bar-cta {
  flex-shrink: 0;
  padding: 0.7rem 1.3rem;
}

@media (max-width: 640px) {
  .sticky-bar-text {
    display: none;
  }
}

.footer {
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.9);
  padding-bottom: 92px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
}

.legal-details {
  padding-bottom: 22px;
}

.legal-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  user-select: none;
}

.legal-details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .card-grid,
  .steps-grid,
  .prompt-grid,
  .review-grid,
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy,
  .cta-actions {
    align-items: center;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 16px;
    background: rgba(9, 13, 24, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-button {
    display: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

  .hero {
    padding-top: 40px;
  }

  .card-grid,
  .steps-grid,
  .prompt-grid,
  .review-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .book-cover {
    transform: none;
  }
}

/* Карточки-ссылки на видео (внешние плееры на странице не встраиваются) */
.video-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; text-decoration: none; color: var(--white);
  padding: 26px 20px; border-radius: 18px;
  background: linear-gradient(160deg, #1a2142 0%, #0f1530 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.video-link:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.28); }
.video-link.wide { aspect-ratio: 16 / 9; max-width: 720px; margin: 22px auto 0; }
.video-link.shorts-item { aspect-ratio: 9 / 16; }
.video-link .vl-play {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff5a8a, #ff8a4c); color: #fff; font-size: 24px; padding-left: 5px;
}
.video-link .vl-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; max-width: 26ch; }
.video-link .vl-cta { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
/* Записи эфира и нарезки */
.efir-gallery { margin-top: 28px; }
.efir-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.efir-item { margin: 0; }
.efir-item .video-wrap.video-horizontal { max-width: none; }
.efir-item figcaption { margin-top: 10px; font-size: .95rem; color: var(--muted); text-align: center; }
@media (max-width: 700px) { .efir-grid { grid-template-columns: 1fr; } }

/* Карточки видео с обложкой */
.video-link.vl-cover { position: relative; overflow: hidden; padding: 0; justify-content: flex-end; background: #0b1020; }
.video-link.vl-cover .vl-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.video-link.vl-cover:hover .vl-thumb { transform: scale(1.04); }
.video-link.vl-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,11,20,0) 45%, rgba(7,11,20,.88) 100%); pointer-events: none; }
.video-link.vl-cover .vl-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.video-link.vl-cover .vl-caption { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 20px; text-align: center; width: 100%; }
.video-link.vl-cover .vl-title { max-width: none; font-size: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.video-link.vl-cover .vl-cta { color: #dfe6f5; }

/* оферта и политика */
.formats-legal { text-align:center; font-size:14px; opacity:.8; margin:18px auto 0; max-width:640px; }
.footer-legal-links { font-size:14px; margin:0 0 10px; opacity:.85; }
.footer-legal-links a, .formats-legal a { color:inherit; text-decoration:underline; }


/* «В издательстве»: печатная книга пока не продаётся — спокойная некликабельная кнопка */
.button-soon { background: transparent; color: #9fbcff; border: 1px dashed rgba(120, 160, 255, 0.55); cursor: default; }
.button-soon:hover, .button-soon:focus-visible { transform: none; }
.format-card-soon { font-size: 1.6rem; letter-spacing: 0.01em; color: #9fbcff; }

/* Кнопка печатной книги: тот же переливающийся стиль, оттенки синего */
.button-blue {
  background: linear-gradient(135deg, #2563ff, #1fa2ff, #6a5cff);
  box-shadow: 0 18px 38px rgba(37, 99, 255, 0.46);
}
.button-blue:hover,
.button-blue:focus-visible {
  box-shadow: 0 22px 46px rgba(37, 99, 255, 0.62);
}
@media (prefers-reduced-motion: no-preference) {
  .button-blue {
    background-image: linear-gradient(135deg, #2563ff, #1fa2ff, #6a5cff, #2563ff);
    background-size: 300% 300%;
  }
}
