:root {
  color-scheme: light;
  --ink: #1f2937;
  --muted: #6b7280;
  --muted-strong: #374151;
  --line: rgba(17, 24, 39, 0.12);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-2: #ffffff;
  --paper: #ffffff;
  --accent: #c0268f;
  --accent-2: #7c3aed;
  --accent-soft: #fff7fb;
  --danger: #d12f63;
  --shadow: 0 22px 64px rgba(17, 24, 39, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.7;
}

body::before {
  content: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  width: auto;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

video {
  width: 100%;
  border-radius: 8px;
  background: #f3f4f6;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

html[data-lang="en"] .headline-line,
html[data-lang="ru"] .headline-line {
  white-space: normal;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}

p {
  color: var(--muted-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 max(28px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(18px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05);
  flex-shrink: 0;
}

.lang-btn {
  appearance: none;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.lang-btn:hover {
  color: var(--accent);
  background: rgba(192, 38, 143, 0.06);
}

.lang-btn.is-active {
  color: #fffafd;
  background: linear-gradient(135deg, #c0268f, #8b5cf6);
  box-shadow: 0 8px 18px rgba(192, 38, 143, 0.22);
}

.lang-btn:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.55);
  outline-offset: 2px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(192, 38, 143, 0.38);
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 10px 26px rgba(192, 38, 143, 0.16);
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

nav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

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

.nav-cta {
  padding: 8px 13px;
  border: 1px solid rgba(192, 38, 143, 0.38);
  border-radius: 8px;
  background: linear-gradient(135deg, #c0268f, #8b5cf6);
  color: #fffafd;
  font-weight: 760;
  box-shadow: 0 12px 28px rgba(192, 38, 143, 0.24);
}

main {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100dvh - 68px);
  padding: 44px 0 34px;
}

.hero-shell {
  display: grid;
  min-height: calc(100dvh - 146px);
  align-content: center;
  gap: 22px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.52fr);
  gap: 34px;
  align-items: end;
}

.hero-copy {
  max-width: 880px;
}

.kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(192, 38, 143, 0.22);
  border-radius: 8px;
  background: rgba(192, 38, 143, 0.08);
  color: #8a1b67;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 58ch;
  margin-bottom: 28px;
  color: #374151;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 820;
  transition: transform 140ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.primary-button {
  border: 1px solid rgba(192, 38, 143, 0.2);
  background: linear-gradient(135deg, #c0268f, #8b5cf6);
  color: #fffafd;
  box-shadow: 0 18px 40px rgba(192, 38, 143, 0.28);
}

.secondary-button {
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: #374151;
}

.primary-button:active,
.secondary-button:active {
  transform: translateY(1px);
}

.hero-proof {
  align-self: stretch;
  display: grid;
  align-content: space-between;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(192, 38, 143, 0.2);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.proof-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.proof-row strong {
  color: #111827;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
}

.proof-row-strong strong {
  color: var(--accent);
}

.proof-track {
  height: 1px;
  margin: 14px 0;
  background: rgba(17, 24, 39, 0.1);
}

.proof-track span {
  display: block;
  width: 78%;
  height: 1px;
  background: linear-gradient(90deg, rgba(192, 38, 143, 0), var(--accent));
}

.hero-proof p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 14px;
}

.hero-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.82fr) minmax(220px, 0.72fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-brief article {
  min-height: 150px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-brief .brief-current {
  background: var(--accent-soft);
}

.hero-brief span,
.hero-demand strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.hero-brief p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.68;
}

.hero-demand {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.hero-demand strong {
  margin: 0;
}

.hero-demand div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-demand span {
  padding: 6px 9px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: #4b5563;
  font-size: 13px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.signal-strip div {
  min-height: 128px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.signal-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.signal-strip span {
  color: var(--muted-strong);
}

.content {
  display: grid;
  gap: 34px;
}

.section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-copy {
  max-width: 720px;
}

.narrow-copy {
  max-width: 820px;
}

.pain-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.9fr);
  gap: 34px;
  padding: 46px;
}

.pain-list {
  display: grid;
  gap: 12px;
}

.pain-list div {
  padding: 18px 18px 18px 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.pain-list span {
  float: left;
  width: 36px;
  margin-left: -40px;
  color: var(--accent);
  font-weight: 850;
}

.pain-list p {
  margin-bottom: 0;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 0.82fr);
  gap: 36px;
  align-items: center;
  padding: 28px;
}

.proof-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

.proof-section .section-copy {
  padding: 16px 18px 16px 0;
}

.cases-section {
  padding: 46px;
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  margin-top: 26px;
}

.case-stack {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.case-placeholder {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.case-image-slot,
.case-text-slot,
.case-extra-slot,
.case-reason-slot {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.case-image-slot {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f9fafb;
}

.case-image-slot img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 500px;
  border-radius: 8px;
  object-fit: contain;
}

.case-image-slot span,
.case-text-slot > span,
.case-extra-slot span,
.case-reason-slot span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.case-text-slot {
  display: grid;
  align-content: center;
  padding: 38px;
}

.case-text-slot h3 {
  margin: 14px 0 12px;
  font-size: clamp(26px, 3vw, 42px);
}

.case-text-slot p {
  max-width: 54ch;
  margin: 0;
}

.case-reason-slot {
  display: grid;
  align-content: center;
  padding: 26px;
  background: #ffffff;
}

.case-reason-slot p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.72;
}

.case-extra-slot {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.74);
}

.case-extra-slot video {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.feature-section {
  padding: 48px;
  background: #ffffff;
}

.feature-intro {
  max-width: 860px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0;
}

.feature-card {
  min-height: 232px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.feature-card span {
  display: block;
  margin-bottom: 32px;
  color: var(--accent);
  font-weight: 850;
}

.highlight-card {
  border-color: rgba(192, 38, 143, 0.22);
  background: #ffffff;
  box-shadow: inset 0 3px 0 var(--accent);
}

.prompt-block {
  max-width: 920px;
  padding-top: 4px;
}

blockquote {
  margin: 20px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--accent-soft);
  color: #374151;
}

.compare-section {
  padding: 46px;
}

.compare-stack {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.compare-column {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.compare-prompt-column {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.compare-prompt-column p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.85;
}

.prompt-thumb {
  width: auto;
  max-width: min(180px, 100%);
  max-height: 220px;
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
}

.compare-column video {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

.new-column {
  border-color: rgba(192, 38, 143, 0.24);
  background: #ffffff;
  box-shadow: inset 0 3px 0 var(--accent);
}

.column-title {
  color: #111827;
  font-weight: 850;
}

.generation-section,
.delivery-section {
  padding: 46px;
}

.generation-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  align-items: stretch;
}

.generation-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.generation-prompt p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-line;
}

.generation-input,
.generation-output {
  justify-items: center;
}

.generation-input img,
.generation-output img,
.generation-output video {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  border-radius: 8px;
  object-fit: contain;
}

.generation-output {
  border-color: rgba(192, 38, 143, 0.24);
  box-shadow: inset 0 3px 0 var(--accent);
}

.ejaculation-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.ejaculation-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.ejaculation-card span {
  display: block;
  color: var(--accent);
  font-weight: 850;
}

.ejaculation-card p {
  margin: 0;
  color: #374151;
}

.ejaculation-video {
  justify-items: center;
  border-color: rgba(192, 38, 143, 0.24);
  box-shadow: inset 0 3px 0 var(--accent);
}

.ejaculation-video video {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  border-radius: 8px;
  object-fit: contain;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  padding: 46px;
  border-color: var(--line);
  background: #ffffff;
}

.apply-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apply-list li {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-strong);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1220px, calc(100% - 40px));
  margin: 30px auto 48px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1020px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .hero-main,
  .pain-section,
  .proof-section,
  .case-grid,
  .case-placeholder,
  .compare-row,
  .generation-row,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .hero-brief,
  .hero-demand {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .signal-strip,
  .feature-grid,
  .ejaculation-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section,
  .pain-section,
  .cases-section,
  .feature-section,
  .compare-section,
  .generation-section,
  .delivery-section,
  .apply-section {
    padding: 26px 20px;
  }

  .proof-section {
    padding: 20px;
  }

  .headline-line {
    white-space: normal;
  }
}
