.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  background:
    radial-gradient(1100px 560px at 18% -5%, rgba(109, 40, 217, .30), transparent 60%),
    radial-gradient(800px 480px at 88% 8%, rgba(193, 18, 61, .22), transparent 55%);
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-section h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  max-width: 1200px;
}

.hero-sub {
  margin-top: 15px;
  font-size: 1.1rem;
  max-width: 580px;
}

.ps-comp-img {
  width: 82%;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}

.feat-mockup--photo {
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}

.card-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feat-mockup {
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.problem-section {
  padding: 32px 0;
  background: rgba(255, 255, 255, .022);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ps-intro {
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.ps-intro h2 {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  direction: ltr;
}

.ps-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vs-side {
  font-size: inherit;
  font-weight: 800;
  line-height: 1.2;
}

.vs-side:first-child {
  text-align: right;
}

.vs-side--good {
  background: linear-gradient(135deg, var(--ruby), #6D28D9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.vs-badge {
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

.ps-compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 82%;
  margin-inline: auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
}

.pct-cell {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.pct-cell--bad {
  background: rgba(255, 255, 255, .03);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.pct-cell--good {
  background: rgba(193, 18, 61, .06);
}

.pct-cell--good-span {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.pct-good-logo {
  height: 48px;
}

.pct-item-text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.pct-item-desc {
  font-size: .8rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .ps-compare-table {
    width: 100%;
  }

  .pct-cell {
    padding: 14px 16px;
  }

  .pct-item-text {
    font-size: .88rem;
  }
}

.features-section {
  padding: 20px 0 60px;
}

.features-section .wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.final {
  padding: 20px 0 60px;
}

.cta-card {
  border: 1px solid var(--border);
  background:
    radial-gradient(800px 400px at 20% 20%, rgba(109, 40, 217, .22), transparent 60%),
    radial-gradient(700px 380px at 80% 10%, rgba(193, 18, 61, .2), transparent 55%),
    rgba(255, 255, 255, .04);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-card p {
  max-width: 600px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 3, 18, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(160deg, rgba(27, 11, 58, .98), rgba(18, 7, 39, .98));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(109, 40, 217, .15);
  padding: 36px 32px 32px;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform .28s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease;
  opacity: 0;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans);
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, .12);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 6px;
  margin-top: 8px;
}

.modal-header p {
  font-size: .875rem;
}

.modal-submit {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 1rem;
  border-radius: 16px;
}

.modal-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 0 10px;
}

.modal-success.show {
  display: flex;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(193, 18, 61, .3), rgba(109, 40, 217, .3));
  border: 1px solid rgba(109, 40, 217, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.modal-success h3 {
  margin: 0;
  font-size: 1.3rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .grid,
  .grid--alt {
    grid-template-columns: 1fr;
  }

  .grid--alt .content,
  .grid--alt .media {
    order: unset;
  }

  .media {
    min-height: 280px;
  }

  .content {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    row-gap: 0;
    height: auto;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .nav__lang {
    margin-inline-start: auto;
  }

  .nav__cta {
    width: 100%;
    margin-inline-start: 0;
    padding-top: 10px;
  }

  .nav__cta .btn {
    flex: 1;
    justify-content: center;
  }

  .cta-card {
    padding: 36px 24px;
  }

  .modal {
    padding: 28px 20px 24px;
  }

  .hero-section {
    padding: 80px 0 70px;
  }
}
