.comparison-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 930px;
  padding: 72px 24px 70px;
  background: #030304;
  color: #fffaf0;
  text-align: center;
}

.comparison-title {
  margin: 0 0 48px;
  color: #fffaf0;
  font-size: clamp(40px, 4.8vw, 58px);
  font-weight: 300;
  line-height: 0.9;
}

.comparison-title strong {
  font-weight: 800;
}

.comparison-title span {
  color: var(--gold-2);
  font-weight: 800;
}

.comparison-browser {
  position: relative;
  width: min(100%, 940px);
  overflow: hidden;
  border: 1px solid rgba(255, 0, 0, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 0, 0, 0.12), transparent 30%),
    #0b0c0c;
}

.comparison-browser::before,
.comparison-browser::after {
  position: absolute;
  top: 76%;
  width: 70px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  content: "";
}

.comparison-browser::before {
  left: -48px;
  border-right: 0;
  border-radius: 80px 0 0 80px;
}

.comparison-browser::after {
  right: -48px;
  border-left: 0;
  border-radius: 0 80px 80px 0;
}

.comparison-bar {
  display: grid;
  grid-template-columns: repeat(3, 10px) 24px 20px 20px minmax(180px, 370px) 1fr;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(248, 245, 237, 0.5);
}

.comparison-url {
  justify-self: center;
  width: min(100%, 370px);
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 245, 237, 0.38);
  font-size: 13px;
  text-align: left;
}

.comparison-icons {
  justify-self: end;
  word-spacing: 14px;
}

.comparison-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 46px;
  min-height: 410px;
  padding: 24px 64px 30px;
}

.comparison-card {
  width: 100%;
  border-radius: 14px;
  text-align: left;
}

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

.comparison-card li {
  position: relative;
  min-height: 36px;
  padding: 9px 16px 9px 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fffaf0;
  font-size: 15px;
  line-height: 1.15;
}

.comparison-card li::before {
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fffaf0;
  color: #716b5e;
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-50%);
}

.comparison-card p {
  margin-top: 16px;
  color: #fffaf0;
  font-size: 13px;
  font-weight: 600;
}

.comparison-card-muted {
  padding: 22px;
  background: linear-gradient(135deg, rgba(190, 198, 190, 0.56), rgba(146, 153, 146, 0.76));
}

.comparison-card-gold {
  padding: 20px 22px;
  background: linear-gradient(135deg, #ff0000, #ff0000);
  box-shadow: 0 0 54px rgba(255, 0, 0, 0.2);
}

.comparison-choice {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(100%, 940px);
  min-height: 66px;
  margin-top: 14px;
  padding: 0 22px;
  border: 1px solid rgba(255, 0, 0, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.comparison-choice span {
  position: relative;
  padding-left: 36px;
  color: #fffaf0;
  font-size: 15px;
}

.comparison-choice span::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(248, 245, 237, 0.34);
  content: "";
  transform: translateY(-50%);
}

.comparison-choice span:last-child::before {
  background: linear-gradient(90deg, #ff0000, #ff0000);
}

.comparison-choice strong {
  color: #fffaf0;
  font-size: 15px;
  font-weight: 400;
}

.comparison-copy {
  max-width: 860px;
  margin: 34px auto 28px;
  color: rgba(248, 245, 237, 0.52);
  font-size: 17px;
  line-height: 1.25;
}

.comparison-button {
  min-width: 300px;
  box-shadow: 0 0 42px rgba(255, 0, 0, 0.26);
}

html[data-theme="light"] .comparison-section {
  background: linear-gradient(180deg, #fbf7ef 0%, #f4ecde 100%);
  color: #1b1b1d;
}

html[data-theme="light"] .comparison-title,
html[data-theme="light"] .comparison-choice span,
html[data-theme="light"] .comparison-choice strong {
  color: #1b1b1d;
}

html[data-theme="light"] .comparison-browser,
html[data-theme="light"] .comparison-choice {
  background: rgba(255, 255, 255, 0.64);
}

html[data-theme="light"] .comparison-browser {
  border-color: rgba(255, 0, 0, 0.24);
  background: #ffffff;
}

html[data-theme="light"] .comparison-browser::before,
html[data-theme="light"] .comparison-browser::after {
  border-color: rgba(255, 0, 0, 0.22);
}

html[data-theme="light"] .comparison-bar {
  border-bottom: 1px solid rgba(255, 0, 0, 0.16);
  background: rgba(255, 0, 0, 0.08);
}

html[data-theme="light"] .comparison-url {
  border: 1px solid rgba(255, 0, 0, 0.16);
  background: rgba(255, 0, 0, 0.06);
}

html[data-theme="light"] .comparison-card li {
  border-color: rgba(255, 255, 255, 0.34);
}

html[data-theme="light"] .browser-action,
html[data-theme="light"] .comparison-url,
html[data-theme="light"] .comparison-icons {
  color: #1b1b1d;
}

html[data-theme="light"] .comparison-copy {
  color: rgba(27, 27, 29, 0.62);
}

@media (max-width: 900px) {
  .comparison-section {
    min-height: 1180px;
    padding: 66px 16px;
  }

  .comparison-title {
    margin-bottom: 34px;
    font-size: 42px;
  }

  .comparison-bar {
    grid-template-columns: repeat(3, 10px) 1fr;
  }

  .comparison-bar .browser-action,
  .comparison-icons {
    display: none;
  }

  .comparison-stage {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 16px;
  }

  .comparison-choice {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
}
