 :root {
  --bg: #050505;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f7fb;
  --muted: #b7bdc9;
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.22);
  --success: rgba(16, 185, 129, 0.16);
  --danger: rgba(239, 68, 68, 0.16);
  --warning: rgba(245, 158, 11, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.09), transparent 22%),
    linear-gradient(180deg, #070707 0%, #050505 100%);
  min-height: 100vh;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
}

.page-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  opacity: .4;
}

.glow-left {
  top: 40px;
  left: -60px;
  background: rgba(139, 92, 246, 0.18);
}

.glow-right {
  top: 240px;
  right: -80px;
  background: rgba(79, 70, 229, 0.16);
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
  position: relative;
  z-index: 2;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

.hero {
  padding: 38px;
  margin-bottom: 22px;
}

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #d7c7ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero h1,
.section-card h2,
.footer-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.04;
}

.section-card h2,
.footer-card h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.hero-text,
.section-card p,
.footer-card p,
figcaption {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-text {
  max-width: 700px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.point,
.text-panel,
.notice-item,
.compare-item {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
}

.point-title,
.notice-item h3,
.text-panel h3,
.compare-item h3 {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}

.point-text,
.small-note {
  color: var(--muted);
  line-height: 1.7;
}

.grid.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.section-card,
.footer-card {
  padding: 30px;
}

.accent-border {
  border-color: rgba(139, 92, 246, 0.28);
  box-shadow: 0 18px 50px rgba(91, 51, 173, 0.18);
}

.steps,
.notice-list,
.compare-list,
.text-blocks {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.step:last-child {
  border-bottom: 0;
}

.step span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.16);
  color: #efe8ff;
  font-weight: 800;
}

.step p {
  margin: 4px 0 0;
}

.warning {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(255,255,255,0.03));
}

.muted {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
}

.wide-section {
  margin-bottom: 22px;
}

.section-intro {
  max-width: 820px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 18px;
}

.shot-card {
  margin: 0;
  padding: 16px;
  background: var(--panel-strong);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
}

.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shot-open img,
.lightbox img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #0c0c0c;
}

.shot-open img {
  height: 420px;
  object-fit: contain;
}

.shot-card figcaption {
  margin-top: 12px;
  font-size: 14px;
}

.single-column {
  grid-template-columns: 1fr;
}

.plus {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(255,255,255,0.03));
}

.minus {
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.12), rgba(255,255,255,0.03));
}

.compact-compare {
  grid-template-columns: repeat(2, 1fr);
}

.footer-card {
  margin-bottom: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 20;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  width: min(100%, 1040px);
  max-height: 100%;
}

.lightbox img {
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #d5d9e3;
  font-size: 14px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 920px) {
  .hero-points,
  .grid.two-columns,
  .compact-compare,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section-card,
  .footer-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1180px);
    padding-top: 18px;
    padding-bottom: 28px;
  }

  .hero h1,
  .section-card h2,
  .footer-card h2 {
    line-height: 1.12;
  }

  .hero-text,
  .section-card p,
  .footer-card p {
    font-size: 15px;
    line-height: 1.72;
  }

  .hero {
    padding: 26px;
  }

  .shot-open img {
    height: 340px;
  }

  .lightbox {
    padding: 12px;
  }
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.screenshot-card {
    margin: 0;
}

.screenshot-card img,
.screenshot-card picture img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    border-radius: 18px;
    background: #0b0b12;
    display: block;
}

@media (max-width: 760px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .screenshot-card img,
    .screenshot-card picture img {
        height: 180px;
    }
}

@media (max-width: 520px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .screenshot-card img,
    .screenshot-card picture img {
        height: 150px;
    }
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.shot-card {
    margin: 0;
}

.shot-open {
    padding: 10px;
}

.shot-open img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    background: #08080d;
}

@media (max-width: 700px) {
    .screens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .shot-open img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .screens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .shot-open {
        padding: 8px;
    }

    .shot-open img {
        height: 135px;
        border-radius: 14px;
    }
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.shot-card {
    margin: 0;
    padding: 10px;
}

.shot-open {
    padding: 0;
    background: transparent;
    border: 0;
    width: 100%;
    display: block;
}

.shot-open img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    background: #08080d;
}

@media (max-width: 480px) {
    .screens-grid {
        gap: 10px;
    }

    .shot-card {
        padding: 8px;
    }

    .shot-open img {
        height: 135px;
        border-radius: 14px;
    }
}

.shot-card.shot-preview {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.shot-open {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.shot-open img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    background: transparent !important;
    border: 0 !important;
    border-radius: 14px;
    box-shadow: none !important;
}

@media (max-width: 480px) {
    .shot-open img {
        height: 170px;
        border-radius: 12px;
    }
}

.screens-grid {
    gap: 10px !important;
}
