:root {
  --night-950: #070c24;
  --night-900: #0b1230;
  --night-800: #151e3f;
  --violet-500: #6a6df0;
  --text-primary: #f6f7fa;
  --text-secondary: #c6cbe0;
  --text-muted: #969db7;
  --border: rgba(178, 188, 255, 0.16);
  --border-strong: rgba(164, 171, 255, 0.34);
  --content-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 78% 18%, rgba(106, 109, 240, 0.19), transparent 28rem),
    radial-gradient(circle at 10% 82%, rgba(57, 77, 142, 0.19), transparent 30rem),
    linear-gradient(145deg, var(--night-950), var(--night-900) 48%, #10193a);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(246, 247, 250, 0.25) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(106, 109, 240, 0.2) 0 1px, transparent 1.3px);
  background-position: 0 0, 46px 36px;
  background-size: 92px 92px, 124px 124px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(calc(100% - 36px), var(--content-width));
  margin: 0 auto;
  padding: 22px 0 52px;
}

.product-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(11, 18, 48, 0.68);
  box-shadow: 0 16px 50px rgba(1, 5, 20, 0.26);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 8px 18px rgba(106, 109, 240, 0.24));
}

.brand__text {
  display: grid;
}

.brand__text strong {
  font-size: 0.98rem;
}

.brand__text small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.product-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.product-nav a,
.back-link {
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.product-nav a:hover,
.back-link:hover {
  color: var(--text-primary);
  background: rgba(106, 109, 240, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  align-items: center;
  gap: clamp(38px, 5vw, 78px);
  min-height: calc(100vh - 122px);
  padding: clamp(54px, 7vw, 100px) 4px 52px;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 580px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #b9bcff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: linear-gradient(to right, transparent, var(--violet-500));
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero__positioning {
  max-width: 560px;
  margin: 22px 0 0;
  color: transparent;
  background: linear-gradient(100deg, #ffffff, #c4c7ff 56%, #8d90ff);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero__lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}



.hero__audience {
  max-width: 560px;
  margin: 16px 0 0;
  color: #b9bcff;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1.55;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(177, 185, 255, 0.18);
  border-radius: 999px;
  color: #c9cdf7;
  background: rgba(106, 109, 240, 0.09);
  font-size: 0.73rem;
  font-weight: 750;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #7779ff, #5a5ddd);
  box-shadow: 0 14px 32px rgba(91, 94, 222, 0.28);
}



.button--download {
  position: relative;
  min-height: 54px;
  min-width: 248px;
  padding-inline: 22px;
  border-color: rgba(191, 194, 255, 0.28);
  background:
    linear-gradient(135deg, #8688ff 0%, #686bf0 48%, #5659d9 100%);
  box-shadow:
    0 16px 38px rgba(91, 94, 222, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button--download::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-right: 10px;
  flex: 0 0 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 88 88'%3E%3Cpath fill='%23ffffff' d='M4 12.8 36 8v35H4V12.8Zm40-5.4 40-6v41H44V7.4ZM4 45h32v35L4 75.2V45Zm40 0h40v41l-40-5.7V45Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.button--download:hover {
  border-color: rgba(211, 214, 255, 0.42);
  background:
    linear-gradient(135deg, #9294ff 0%, #7376f5 48%, #6063e3 100%);
  box-shadow:
    0 20px 46px rgba(91, 94, 222, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button--secondary {
  min-width: 224px;

  border-color: var(--border);
  background: rgba(246, 247, 250, 0.055);
}

.button--secondary:hover {
  border-color: var(--border-strong);
  background: rgba(106, 109, 240, 0.1);
}

.hero__note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  min-height: 570px;
  isolation: isolate;
}

.hero-visual__glow {
  position: absolute;
  top: 8%;
  left: 14%;
  z-index: -2;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(106, 109, 240, 0.2);
  filter: blur(64px);
}

.product-shot {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background: rgba(13, 21, 50, 0.92);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.38);
  backface-visibility: hidden;
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-shot--dashboard {
  top: 10%;
  left: 0;
  z-index: 3;
  width: 90%;
  transform: rotate(-0.8deg);
}

.product-shot--dashboard img {
  aspect-ratio: 1.86 / 1;
  object-position: center top;
}

.product-shot--kanban {
  right: 0;
  bottom: 4%;
  z-index: 5;
  width: 58%;
  transform: rotate(1.7deg);
}

.product-shot--kanban img {
  aspect-ratio: 1.55 / 1;
  object-position: 14% top;
}

.future-anchor {
  scroll-margin-top: 110px;
}

@media (max-width: 1000px) {
  .product-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .product-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 780px);
    min-height: 610px;
    margin-inline: auto;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding-top: 10px;
  }

  .product-header {
    min-height: 68px;
    padding: 9px 10px;
    border-radius: 18px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
  }

  .brand__text small {
    display: none;
  }

  .back-link {
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .hero {
    gap: 36px;
    padding: 56px 2px 32px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.6rem);
  }

  .hero__positioning {
    font-size: clamp(1.35rem, 6vw, 1.85rem);
  }

  .hero__lead {
    line-height: 1.65;
  }

  .hero__actions {
    display: grid;
  }

  .button,
  .button--download,
  .button--secondary {
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    min-height: 430px;
  }

  .product-shot {
    border-radius: 19px;
  }

  .product-shot--dashboard {
    top: 7%;
    width: 94%;
  }

  .product-shot--kanban {
    right: 0;
    bottom: 4%;
    width: 64%;
  }

}

@media (max-width: 430px) {
  .back-link {
    font-size: 0;
  }

  .back-link::after {
    content: "←";
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 330px;
  }

}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


/* Stage 9 — Что решает Pajama Organizer */

.why-section {
  padding: 92px 0 28px;
  scroll-margin-top: 110px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-kicker {
  margin: 0 0 10px;
  color: #b9bcff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.3vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.72;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.why-card {
  position: relative;
  min-height: 240px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(21, 30, 63, 0.82), rgba(8, 15, 39, 0.82));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(164, 171, 255, 0.32);
}

.why-card::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  background: rgba(106, 109, 240, 0.12);
  filter: blur(52px);
}

.why-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  padding-inline: 10px;
  border: 1px solid rgba(169, 175, 255, 0.22);
  border-radius: 999px;
  color: #d0d3ff;
  background: rgba(106, 109, 240, 0.1);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.why-card h3 {
  max-width: 440px;
  margin: 22px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.why-card p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.72;
}

.why-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(154, 160, 255, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 7% 50%, rgba(106, 109, 240, 0.16), transparent 13rem),
    rgba(246, 247, 250, 0.035);
}

.why-result__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(169, 175, 255, 0.24);
  border-radius: 15px;
  color: #d9dbff;
  background: rgba(106, 109, 240, 0.11);
  font-size: 1.05rem;
  font-weight: 850;
}

.why-result p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.68;
}

@media (max-width: 800px) {
  .why-section {
    padding-top: 70px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .why-section {
    padding-top: 56px;
  }

  .why-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .why-result {
    grid-template-columns: 1fr;
  }
}


/* Stage 10 — Возможности Organizer */

.features-section {
  padding: 92px 0 28px;
  scroll-margin-top: 110px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(21, 30, 63, 0.82), rgba(8, 15, 39, 0.82));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(164, 171, 255, 0.32);
}

.feature-card::after {
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  content: "";
  background: rgba(106, 109, 240, 0.12);
  filter: blur(52px);
}

.feature-card--ai {
  border-color: rgba(134, 138, 255, 0.28);
  background:
    radial-gradient(circle at 90% 10%, rgba(106, 109, 240, 0.2), transparent 16rem),
    linear-gradient(145deg, rgba(24, 34, 78, 0.9), rgba(9, 16, 40, 0.84));
}

.feature-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding-inline: 10px;
  border: 1px solid rgba(169, 175, 255, 0.22);
  border-radius: 14px;
  color: #d0d3ff;
  background: rgba(106, 109, 240, 0.1);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.feature-card h3 {
  margin: 22px 0 0;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

.features-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(154, 160, 255, 0.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 7% 50%, rgba(106, 109, 240, 0.16), transparent 13rem),
    rgba(246, 247, 250, 0.035);
}

.features-note__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(169, 175, 255, 0.24);
  border-radius: 15px;
  color: #d9dbff;
  background: rgba(106, 109, 240, 0.11);
  font-size: 1rem;
  font-weight: 850;
}

.features-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.68;
}

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

@media (max-width: 700px) {
  .features-section {
    padding-top: 56px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 20px;
  }

  .features-note {
    grid-template-columns: 1fr;
  }
}


/* Stage 11 — Интерфейс Organizer */

.screens-section {
  padding: 92px 0 28px;
  scroll-margin-top: 110px;
}

.screen-showcase {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  margin-top: 24px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(106, 109, 240, 0.16), transparent 25rem),
    linear-gradient(145deg, rgba(18, 27, 61, 0.88), rgba(8, 14, 37, 0.84));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.23);
}

.screen-showcase--reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr);
}

.screen-showcase--reverse .screen-showcase__copy {
  order: 2;
}

.screen-showcase--reverse .screen-frame {
  order: 1;
}

.screen-showcase__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(169, 175, 255, 0.2);
  border-radius: 999px;
  color: #cdd0ff;
  background: rgba(106, 109, 240, 0.1);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.screen-showcase__copy h3 {
  margin: 20px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.screen-showcase__copy > p {
  margin: 17px 0 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.72;
}

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

.screen-points li {
  position: relative;
  padding-left: 21px;
  color: #d8dced;
  font-size: 0.91rem;
  line-height: 1.55;
}

.screen-points li::before {
  position: absolute;
  top: 0.58em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--violet-500);
  box-shadow: 0 0 13px rgba(106, 109, 240, 0.5);
}

.screen-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: rgba(7, 12, 36, 0.94);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.38);
}

.screen-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.screen-frame--dashboard img {
  aspect-ratio: 1.86 / 1;
}

.screen-frame--kanban img {
  aspect-ratio: 1.55 / 1;
}

.screens-caption {
  margin: 16px 4px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 900px) {
  .screen-showcase,
  .screen-showcase--reverse {
    grid-template-columns: 1fr;
  }

  .screen-showcase--reverse .screen-showcase__copy,
  .screen-showcase--reverse .screen-frame {
    order: initial;
  }
}

@media (max-width: 700px) {
  .screens-section {
    padding-top: 56px;
  }

  .screen-showcase {
    gap: 24px;
    padding: 24px 18px 20px;
    border-radius: 22px;
  }

  .screen-frame {
    border-radius: 17px;
  }
}


/* Stage 12 — Скачивание и установка */

.download-section {
  padding: 92px 0 28px;
  scroll-margin-top: 110px;
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
  padding: clamp(34px, 5vw, 66px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 14%, rgba(106, 109, 240, 0.24), transparent 25rem),
    linear-gradient(145deg, rgba(18, 27, 61, 0.92), rgba(8, 14, 37, 0.86));
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.25);
}

.download-copy h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.download-copy > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.76;
}

.download-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 28px;
}

.download-meta {
  margin-top: 15px !important;
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
}

.install-card {
  padding: 26px;
  border: 1px solid rgba(178, 188, 255, 0.16);
  border-radius: 24px;
  background: rgba(246, 247, 250, 0.045);
  backdrop-filter: blur(14px);
}

.install-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.install-steps {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.install-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(169, 175, 255, 0.24);
  border-radius: 11px;
  color: #d9dbff;
  background: rgba(106, 109, 240, 0.11);
  font-size: 0.78rem;
  font-weight: 850;
}

.install-steps strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
}

.install-steps p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.requirement-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(21, 30, 63, 0.78), rgba(8, 15, 39, 0.76));
}

.requirement-card__label {
  display: block;
  color: #b9bcff;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.requirement-card strong {
  display: block;
  margin-top: 13px;
  font-size: 1.15rem;
  line-height: 1.25;
}

.requirement-card p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.organizer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: 24px 4px 8px;
  border-top: 1px solid rgba(178, 188, 255, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand span {
  display: grid;
}

.footer-brand strong {
  font-size: 0.9rem;
}

.footer-brand small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.footer-copy {
  display: grid;
  justify-items: end;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-align: right;
}

.footer-copy a {
  color: #c7caff;
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

@media (max-width: 1000px) {
  .download-panel {
    grid-template-columns: 1fr;
  }

  .requirements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .download-section {
    padding-top: 56px;
  }

  .download-panel {
    gap: 30px;
    padding: 28px 18px 22px;
    border-radius: 24px;
  }

  .download-actions {
    display: grid;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .requirement-card {
    min-height: 0;
  }

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

  .footer-copy {
    justify-items: start;
    text-align: left;
  }
}


/* Stage 14 Fix 2 — просмотр скриншотов как на Easy Test */

[hidden] {
  display: none !important;
}

.image-zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
}

.image-zoom img {
  width: 100%;
  height: 100%;
  transform: none;
  transition:
    filter 180ms ease,
    opacity 180ms ease;
}

.image-zoom:hover img {
  filter: brightness(1.055);
}

.image-zoom:focus-visible {
  outline: 3px solid rgba(156, 161, 255, 0.92);
  outline-offset: -3px;
}

.image-zoom__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(209, 212, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(7, 12, 36, 0.84);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  font-size: 0.7rem;
  font-weight: 800;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(10px);
}

.image-zoom__hint::before {
  margin-right: 7px;
  content: "⌕";
  font-size: 0.96rem;
}

.image-zoom:hover .image-zoom__hint,
.image-zoom:focus-visible .image-zoom__hint {
  opacity: 1;
  transform: translateY(0);
}

body.image-preview-open {
  overflow: hidden;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.image-preview.is-open {
  opacity: 1;
  visibility: visible;
}

.image-preview__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(3, 7, 20, 0.88);
  cursor: default;
  backdrop-filter: blur(15px);
}

.image-preview__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
}

.image-preview__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1839px);
  max-height: calc(100vh - 108px);
  border: 1px solid rgba(189, 197, 255, 0.24);
  border-radius: 18px;
  background: #081126;
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.58);
  object-fit: contain;
  image-rendering: auto;
}

.image-preview__caption {
  margin: 0;
  color: #d8dced;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.image-preview__close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(213, 217, 255, 0.3);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(9, 15, 38, 0.78);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.image-preview__close:hover {
  background: rgba(106, 109, 240, 0.32);
}

.image-preview__close:focus-visible {
  outline: 3px solid rgba(156, 161, 255, 0.92);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .image-zoom__hint {
    right: 8px;
    bottom: 8px;
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.64rem;
  }

  .image-preview {
    padding: 10px;
  }

  .image-preview__content {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .image-preview__image {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 86px);
    border-radius: 12px;
  }

  .image-preview__close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-preview,
  .image-zoom img,
  .image-zoom__hint {
    transition: none;
  }
}
