.section {
  padding: 82px 0;
}

.section-title {
  margin: 0;
  font-size: 42px;
  line-height: 1.16;
}

.section-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 464px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.plan-card.featured {
  color: var(--white);
  border-color: var(--dark);
  background: var(--dark);
}

.tag {
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid #d7d7dd;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.featured .tag {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.plan-card h2 {
  margin: 24px 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
}

.featured p,
.featured li {
  color: rgba(255, 255, 255, 0.68);
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  position: relative;
  padding-left: 18px;
}

.plan-list li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.plan-card .button {
  margin-top: auto;
}

.rights-table {
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.rights-row {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.rights-row:first-child {
  border-top: 0;
  color: var(--white);
  background: var(--dark);
  font-weight: 700;
}

.rights-row span {
  padding: 16px 18px;
  border-left: 1px solid var(--line);
}

.rights-row:first-child span {
  border-left-color: rgba(255, 255, 255, 0.14);
}

.rights-row span:first-child {
  border-left: 0;
  font-weight: 700;
}

.recharge-modal .btn,
.payment-modal .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.recharge-modal .btn-primary,
.payment-modal .btn-primary {
  color: #fff;
  background: #002d70;
}

.recharge-modal .btn-secondary,
.payment-modal .btn-secondary {
  color: #fff;
  background: #ffb218;
}

.notification {
  position: fixed;
  right: 20px;
  z-index: 1200;
  max-width: min(360px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: #2563eb;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.error {
  background: #dc2626;
}

.notification.success {
  background: #16a34a;
}

.notification.warning {
  background: #d97706;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(18px);
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-content {
  position: relative;
  width: min(100%, 560px);
  padding: 28px;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.contact-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: #f1f1f3;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.contact-modal h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
}

.contact-modal p {
  margin: 10px auto 0;
  color: var(--muted);
  text-align: center;
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.contact-qr-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
  text-align: center;
}

.contact-qr-card img {
  width: 100%;
  max-width: 190px;
  margin: 0 auto;
  border-radius: 6px;
  background: #fff;
}

.contact-qr-card strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.3;
}

.contact-qr-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .plans,
  .rights-row {
    grid-template-columns: 1fr;
  }

  .rights-row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .rights-row span:first-child {
    border-top: 0;
  }

  .contact-qr-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand span {
    font-size: 16px;
  }

  .nav-login {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 32px;
  }

  .plan-card {
    min-height: auto;
    padding: 24px;
  }

  .plan-card .button {
    width: 100%;
  }

  .rights-row span {
    padding: 13px 14px;
    overflow-wrap: anywhere;
  }

  .contact-modal-content {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 24px 18px;
  }
}
