/* App background + ambient orbs */
.bg-app {
  background: linear-gradient(145deg, #1a0533 0%, #2D0A4E 35%, #4A148C 70%, #1a0533 100%);
  background-attachment: fixed;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: #FF2E97;
  animation: float 12s ease-in-out infinite;
}

.orb-2 {
  width: 280px;
  height: 280px;
  bottom: 10%;
  left: -80px;
  background: #7B2CBF;
  animation: float 15s ease-in-out infinite reverse;
}

.orb-3 {
  width: 200px;
  height: 200px;
  top: 45%;
  right: 15%;
  background: #C77DFF;
  opacity: 0.25;
  animation: float 10s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -24px); }
}

/* Views */
.view {
  animation: fadeIn 0.35s ease;
}

.view.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Content clearance for sticky header + fixed bottom nav */
.app-main {
  padding-top: 1.5rem;
  padding-bottom: 7.5rem;
}

.app-footer {
  padding-bottom: 6.5rem;
}

/* ---- Sticky Splash Ads header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, rgba(12, 4, 22, 0.94) 0%, rgba(18, 6, 36, 0.88) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.site-header-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.brand-logo {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.7rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(255, 46, 151, 0.22);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0.12rem;
}

.brand-logo-img.is-hidden {
  display: none;
}

.brand-logo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.brand-logo-fallback.is-visible {
  display: flex;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.05rem;
}

.brand-name {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff 10%, #e9d5ff 45%, #ff5cba 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tagline {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switcher-inline .lang-select {
  max-width: 7.5rem;
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.58rem 1.05rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #4a148c 0%, #7b2cbf 40%, #ff2e97 100%);
  box-shadow: 0 8px 20px rgba(255, 46, 151, 0.28);
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}

.btn-header-login:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(255, 46, 151, 0.36);
}

.btn-header-login:active {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .site-header {
    padding: 0.8rem 1.5rem;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .brand-logo {
    width: 3rem;
    height: 3rem;
  }

  .brand-tagline {
    max-width: none;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .app-main {
    padding-top: 2rem;
  }

  .lang-switcher-inline .lang-select {
    max-width: 9rem;
  }
}

@media (max-width: 380px) {
  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1rem;
  }

  .btn-header-login {
    padding: 0.52rem 0.8rem;
    font-size: 0.75rem;
  }

  .lang-switcher-inline .lang-select {
    max-width: 5.8rem;
    padding-left: 0.55rem;
    font-size: 0.68rem;
  }
}

/* Legacy floating language switcher (unused when header is present) */
.lang-switcher {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 60;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(30, 8, 55, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  outline: none;
}

.lang-select:focus {
  border-color: rgba(255, 92, 186, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 46, 151, 0.2);
}

.lang-select option {
  color: #1a0533;
  background: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Bottom navigation */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.bottom-nav-inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0.45rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(30, 8, 55, 0.72);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 46, 151, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3.35rem;
  border-radius: 1rem;
  padding: 0.4rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link:active {
  transform: scale(0.97);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(145deg, rgba(123, 44, 191, 0.55), rgba(255, 46, 151, 0.35));
  box-shadow: 0 4px 16px rgba(255, 46, 151, 0.22);
}

.nav-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
}

.nav-text {
  line-height: 1;
}

/* Glass cards */
.glass-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Buttons */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4A148C 0%, #7B2CBF 45%, #FF2E97 100%);
  box-shadow: 0 8px 24px rgba(255, 46, 151, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-gradient:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(255, 46, 151, 0.4);
}

.btn-gradient:active {
  transform: translateY(0);
}

.btn-gradient:disabled,
.btn-gradient[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.25);
  box-shadow: none;
  pointer-events: none;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.9rem;
  padding: 0.8rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.38);
}

.btn-whatsapp-outline {
  background: transparent;
  border: 1px solid rgba(37, 211, 102, 0.55);
  color: #7dffa8;
  box-shadow: none;
}

.btn-whatsapp-outline:hover {
  background: rgba(37, 211, 102, 0.12);
  filter: none;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.18);
}

.reg-whatsapp-qr {
  margin-top: 1.15rem;
  padding: 1rem 0.85rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.reg-whatsapp-qr-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.reg-whatsapp-qr-lead {
  margin: 0.35rem 0 0.85rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.reg-whatsapp-qr-link {
  display: inline-flex;
  padding: 0.55rem;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.reg-whatsapp-qr-img {
  display: block;
  width: min(100%, 11.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Form fields */
.referral-banner {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 141, 206, 0.35);
  background: rgba(255, 46, 151, 0.12);
}

.referral-banner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.referral-banner-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.referral-banner strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff8dce;
  letter-spacing: 0.02em;
}

.field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}

.field-input {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field-input:focus {
  border-color: rgba(255, 92, 186, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 46, 151, 0.2);
}

/* Package cards */
.package-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.package-option.selected {
  border-color: rgba(255, 92, 186, 0.75);
  background: linear-gradient(145deg, rgba(123, 44, 191, 0.35), rgba(255, 46, 151, 0.2));
  box-shadow: 0 0 20px rgba(255, 46, 151, 0.15);
}

.package-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.package-name {
  font-size: 0.8125rem;
  font-weight: 700;
}

.package-price {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.package-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #7B2CBF, #FF2E97);
  padding: 0.1rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.package-badge.soon {
  background: rgba(255, 255, 255, 0.15);
}

/* Wizard progress bar */
.wizard-progress {
  padding: 0 0.25rem;
}

.progress-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 3.5rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.25s;
}

.progress-step.is-active,
.progress-step.is-done {
  color: #fff;
}

.progress-dot {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.progress-step.is-active .progress-dot {
  border-color: transparent;
  background: linear-gradient(135deg, #4A148C, #FF2E97);
  box-shadow: 0 0 18px rgba(255, 46, 151, 0.4);
}

.progress-step.is-done .progress-dot {
  border-color: transparent;
  background: linear-gradient(135deg, #5B1A8B, #C77DFF);
}

.progress-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.progress-line {
  flex: 1;
  height: 2px;
  margin-top: 1rem;
  margin-left: 0.35rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
}

.progress-line.is-filled {
  background: linear-gradient(90deg, #7B2CBF, #FF2E97);
}

/* Wizard card: allow sticky header without clipping */
.wizard-card {
  overflow: visible;
}

/* Summary header inside wizard card (scrolls with page) */
.sticky-summary {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #2a0a48 0%, #301051 100%);
  border-radius: 1.25rem 1.25rem 0 0;
}

.sticky-summary.hidden {
  display: none !important;
}

.sticky-summary-inner {
  padding: 0.9rem 1.25rem 1rem;
}

.summary-heading {
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 0;
}

.summary-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.summary-row dt {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.summary-row dd {
  margin: 0;
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

.summary-row dd.summary-package {
  color: #ff5cba;
}

.wizard-body {
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .sticky-summary-inner {
    padding: 1rem 1.75rem 1.1rem;
  }

  .summary-grid {
    gap: 0.85rem 1.5rem;
  }

  .summary-row dd {
    font-size: 0.875rem;
  }

  .bottom-nav-inner {
    max-width: 32rem;
  }
}

.form-step {
  animation: fadeIn 0.3s ease;
}

.form-step.hidden {
  display: none;
}

/* Terms checkbox */
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem 0.95rem;
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.terms-check input[type="checkbox"] {
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #ff2e97;
  cursor: pointer;
}

.terms-emphasis {
  font-weight: 700;
  color: #ff5cba;
}

.terms-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #ff5cba;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.terms-link:hover {
  color: #ff8dce;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 2, 20, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  max-height: min(82vh, 34rem);
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, #301051 0%, #1f0738 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 46, 151, 0.15);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.modal-body {
  overflow-y: auto;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.modal-footer {
  padding: 0.9rem 1.15rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.login-popup-actions .btn-gradient {
  text-decoration: none;
}

@media (min-width: 640px) {
  .login-popup-actions {
    flex-direction: row;
  }
}

/* Home how-it-works cards */
.how-card {
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1.15rem 1.1rem;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.how-card:hover {
  border-color: rgba(255, 92, 186, 0.4);
  transform: translateY(-2px);
}

.how-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(123, 44, 191, 0.55), rgba(255, 46, 151, 0.35));
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 46, 151, 0.2);
}

.how-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.how-step {
  margin: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 92, 186, 0.9);
}

.how-title {
  margin: 0.25rem 0 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.how-desc {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

.login-cta {
  border-color: rgba(255, 92, 186, 0.28);
}

/* Products page — partner carousel (mobile) / grid (desktop) + group chips */
.product-category-tabs {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.partner-carousel {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.partner-carousel-bar {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(48, 18, 78, 0.95), rgba(18, 6, 36, 0.98));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.partner-carousel-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.partner-carousel-nav span {
  display: block;
  margin-top: -0.1rem;
}

.partner-carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.partner-carousel-nav:not(:disabled):active {
  transform: scale(0.97);
  background: rgba(123, 44, 191, 0.35);
}

.partner-carousel-current {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.7rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.75), rgba(255, 46, 151, 0.45));
  border: 1px solid rgba(255, 92, 186, 0.45);
  box-shadow: 0 8px 18px rgba(255, 46, 151, 0.18);
}

.partner-carousel-label {
  min-width: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-carousel-count {
  flex-shrink: 0;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.partner-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}

.partner-carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width 0.15s, background 0.15s;
}

.partner-carousel-dot.active {
  width: 1.1rem;
  background: linear-gradient(90deg, #7b2cbf, #ff2e97);
}

.product-partner-tabs-desktop {
  display: none;
}

@media (min-width: 720px) {
  .partner-carousel {
    display: none;
  }

  .product-partner-tabs-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 6, 36, 0.92);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }
}

.product-cat-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.product-cat-tab:hover {
  border-color: rgba(255, 92, 186, 0.4);
  background: rgba(123, 44, 191, 0.18);
  color: #fff;
}

.product-cat-tab.active {
  color: #fff;
  border-color: rgba(255, 92, 186, 0.55);
  background: linear-gradient(135deg, rgba(123, 44, 191, 0.75), rgba(255, 46, 151, 0.45));
  box-shadow: 0 8px 18px rgba(255, 46, 151, 0.22);
}

.product-cat-tab-name {
  font-size: 0.8rem;
  font-weight: 800;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.2;
}

.product-cat-tab-count {
  flex-shrink: 0;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-group-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
  padding: 0.1rem 0 0.35rem;
}

.product-group-tab {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(30, 10, 50, 0.98);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-group-tab span {
  opacity: 0.7;
  font-size: 0.68rem;
}

.product-group-tab.active {
  color: #fff;
  border-color: rgba(255, 92, 186, 0.5);
  background: rgba(255, 46, 151, 0.28);
}

.products-sell-catalog {
  display: grid;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.sell-category-head {
  margin-bottom: 0.85rem;
}

.sell-category-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sell-category-lead {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.sell-product-cat-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 92, 186, 0.85);
}

.product-owner-block,
.product-owner-meta {
  margin-top: 0.35rem;
}

.product-owner-line {
  margin: 0.2rem 0 0.15rem;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

.product-owner-line span {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
}

.product-owner-line strong,
.product-owner-name {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.product-owner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.45rem;
  font-size: 0.8rem;
}

.product-owner-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  width: 100%;
}

.product-owner-link {
  color: #ff8dce;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.78rem;
  font-weight: 600;
}

.product-owner-link:hover {
  color: #ffb3de;
}

.product-modal-header {
  align-items: flex-start;
}

.sell-category-head .product-owner-meta {
  margin: 0.4rem 0 0.15rem;
}

.sell-empty {
  margin: 0;
  padding: 1.25rem;
  border-radius: 0.85rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  text-align: center;
  grid-column: 1 / -1;
}

.sell-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .sell-product-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .sell-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sell-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 1rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(42, 18, 68, 0.95), rgba(18, 6, 36, 0.98));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.sell-product-name {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.sell-product-monthly {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.sell-product-monthly span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.sell-product-breakdown {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 92, 186, 0.28);
  background: rgba(255, 46, 151, 0.08);
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.sell-product-breakdown.norate {
  border-style: dashed;
  color: rgba(255, 255, 255, 0.65);
}

.sell-product-breakdown p {
  margin: 0;
}

.sell-product-breakdown span {
  color: rgba(255, 255, 255, 0.45);
}

.sell-total {
  margin-top: 0.25rem !important;
  font-weight: 800;
  color: #ff8dce;
}

.sell-product-annual {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

.save-pill {
  color: #7dffa8;
  font-weight: 700;
}

.btn-choose-plan {
  margin-top: auto;
  width: 100%;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.72rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #4a148c 0%, #7b2cbf 42%, #ff2e97 100%);
  box-shadow: 0 8px 18px rgba(255, 46, 151, 0.28);
}

.btn-choose-plan:hover {
  filter: brightness(1.06);
}

/* Product details modal */
.modal-panel.product-details-panel {
  width: min(100%, 30rem);
  max-height: min(90vh, 40rem);
}

.product-details-body {
  overflow-y: auto;
  padding-right: 0.15rem;
}

.incentive-panel {
  padding: 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 92, 186, 0.35);
  background: rgba(123, 44, 191, 0.16);
}

.incentive-panel-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ff8dce;
}

.incentive-panel-lead {
  margin: 0.25rem 0 0.7rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.billing-tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.billing-tabs {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.1rem;
}

.billing-tab {
  flex: 1 0 auto;
  min-width: 6.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 4, 20, 0.45);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.billing-tab.is-active {
  border-color: rgba(255, 141, 206, 0.65);
  background: rgba(255, 92, 186, 0.22);
  color: #fff;
}

.billing-tab-base {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
}

.plan-incentive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.plan-incentive-scroll {
  max-height: min(42vh, 18rem);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.2rem;
  scrollbar-width: thin;
}

@media (min-width: 420px) {
  .plan-incentive-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.plan-incentive-card {
  padding: 0.65rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 4, 20, 0.55);
}

.plan-incentive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.plan-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.plan-fee {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.plan-incentive-values {
  display: grid;
  gap: 0.4rem;
}

.pi-label {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.25;
}

.pi-value {
  display: block;
  margin-top: 0.1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ff8dce;
}

.incentive-note {
  margin: 0.7rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px dashed rgba(255, 92, 186, 0.4);
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.features-heading {
  margin: 1rem 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.features-list {
  display: grid;
  gap: 0.45rem;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.feature-icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7b2cbf, #ff2e97);
}

/* Legacy joining cards (unused) */
.products-card-grid {
  display: grid;
  gap: 0.85rem;
}

@media (max-width: 380px) {
  .progress-label {
    font-size: 0.55rem;
  }

  .progress-dot {
    height: 1.75rem;
    width: 1.75rem;
  }

  .nav-text {
    font-size: 0.62rem;
  }
}
