.benefits-page {
  --accent: #2563eb;
  --accent-dark: #1745b8;
  --accent-soft: #edf4ff;
  --accent-rgb: 37, 99, 235;
  --secondary: #7c3aed;
}

.benefits-hero {
  background:
    radial-gradient(circle at 78% 8%, rgba(94, 234, 212, 0.45), transparent 28%),
    radial-gradient(circle at 18% 4%, rgba(147, 197, 253, 0.56), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #ecfdf5 48%, #eff6ff 100%);
}

.benefits-art {
  position: relative;
  z-index: 2;
  min-height: 510px;
}

.benefit-product-stack {
  position: absolute;
  left: 0;
  bottom: 32px;
  width: 320px;
  height: 390px;
}

.benefit-product {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.95);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 54px rgba(28, 75, 125, 0.17);
}

.benefit-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bp-one {
  left: 22px;
  bottom: 12px;
  width: 210px;
  height: 250px;
  transform: rotate(-8deg);
}

.bp-two {
  right: 4px;
  bottom: 34px;
  width: 150px;
  height: 172px;
  transform: rotate(8deg);
}

.bp-three {
  right: 26px;
  top: 14px;
  width: 185px;
  height: 160px;
  transform: rotate(4deg);
}

.mini-wheel {
  position: absolute;
  right: 0;
  top: 52px;
  width: 275px;
  height: 275px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  filter: drop-shadow(0 24px 34px rgba(74, 31, 137, 0.2));
  animation: float-wheel 5.5s ease-in-out infinite;
}

.wheel-disc {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 10px solid #7c3aed;
  border-radius: 50%;
  background:
    conic-gradient(
      #fff2cc 0deg 60deg,
      #f4e8ff 60deg 120deg,
      #e6f6ff 120deg 180deg,
      #fff0f5 180deg 240deg,
      #eafbea 240deg 300deg,
      #fff9dc 300deg 360deg
    );
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.75),
    0 18px 36px rgba(53, 29, 119, 0.2);
  transition: transform 4.2s cubic-bezier(0.12, 0.64, 0.14, 1);
}

.wheel-disc::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 5px dotted #f7c948;
  border-radius: 50%;
}

.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 6px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8b5cf6, #5b21b6);
  box-shadow: 0 10px 24px rgba(73, 28, 130, 0.27);
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.wheel-center:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  text-align: center;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 850;
  transform-origin: 0 0;
}

.wheel-label-1 { transform: rotate(30deg) translate(43px) rotate(-30deg) translate(-50%, -50%); }
.wheel-label-2 { transform: rotate(90deg) translate(43px) rotate(-90deg) translate(-50%, -50%); }
.wheel-label-3 { transform: rotate(150deg) translate(43px) rotate(-150deg) translate(-50%, -50%); }
.wheel-label-4 { transform: rotate(210deg) translate(43px) rotate(-210deg) translate(-50%, -50%); }
.wheel-label-5 { transform: rotate(270deg) translate(43px) rotate(-270deg) translate(-50%, -50%); }
.wheel-label-6 { transform: rotate(330deg) translate(43px) rotate(-330deg) translate(-50%, -50%); }

.static-wheel .wheel-center {
  pointer-events: none;
}

.art-benefit-badges {
  position: absolute;
  right: 14px;
  bottom: 42px;
  z-index: 8;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.art-benefit-badges span {
  max-width: 230px;
  padding: 9px 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #1447a4;
  background: rgba(239, 246, 255, 0.96);
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.14);
  font-size: 11px;
  font-weight: 850;
}

.art-benefit-badges span:nth-child(2) {
  color: #166534;
  background: rgba(236, 253, 245, 0.96);
  transform: translateX(-18px);
}

.art-benefit-badges span:nth-child(3) {
  color: #6b21a8;
  background: rgba(250, 245, 255, 0.96);
  transform: translateX(-4px);
}

@keyframes float-wheel {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

.benefits-page .quick-card:nth-child(1) .quick-icon {
  color: #16a34a;
  background: #e8f9ee;
}

.benefits-page .quick-card:nth-child(2) .quick-icon {
  color: #2563eb;
  background: #eaf2ff;
}

.benefits-page .quick-card:nth-child(3) .quick-icon {
  color: #7c3aed;
  background: #f3eaff;
}

.benefits-page .quick-card:nth-child(4) .quick-icon {
  color: #059669;
  background: #e8fff7;
}

.benefits-page .product-cta-benefits {
  background: linear-gradient(135deg, #16a34a, #059669);
}

.benefits-page .product-badge {
  background: #16a34a;
}

.benefits-page .price-line strong {
  color: #16a34a;
}

.benefits-page .product-card:nth-child(even) .product-media {
  background: linear-gradient(145deg, #f1fdf6, #eef6ff);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hub-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #dfe7f5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 56, 100, 0.07);
}

.hub-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.06);
}

.hub-card:nth-child(1) .hub-icon { color: #16a34a; background: #e8f9ee; }
.hub-card:nth-child(2) .hub-icon { color: #2563eb; background: #eaf2ff; }
.hub-card:nth-child(3) .hub-icon { color: #db2777; background: #fff0f6; }
.hub-card:nth-child(4) .hub-icon { color: #7c3aed; background: #f3eaff; }

.hub-card h3 {
  margin: 17px 0 7px;
  font-size: 18px;
}

.hub-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hub-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.invite-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(196, 181, 253, 0.38), transparent 28%),
    linear-gradient(135deg, #f7f3ff, #edf6ff 58%, #f0fdf7);
}

.invite-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: 46px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(124, 58, 237, 0.13);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(52, 36, 103, 0.12);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.invite-copy h2 {
  margin-bottom: 14px;
}

.invite-copy > p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 24px;
}

.progress-card {
  margin-top: 26px;
  padding: 17px;
  border: 1px solid #e1e6f2;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
}

.progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.progress-head strong,
.progress-head span {
  display: block;
}

.progress-head strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.progress-head div > span {
  color: var(--muted);
  font-size: 12px;
}

.progress-head > b {
  color: #6d28d9;
  font-size: 19px;
}

.progress-track {
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e4f7;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cf6, #2563eb);
  transition: width 0.55s ease;
}

.invite-wheel {
  text-align: center;
}

.wheel-shell {
  position: relative;
  width: min(100%, 340px);
  margin-inline: auto;
  padding: 18px;
}

.wheel-shell .wheel-disc {
  width: 100%;
}

.wheel-pointer {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 33px solid #f59e0b;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 6px rgba(123, 70, 6, 0.25));
}

.wheel-status {
  min-height: 24px;
  margin: 13px 0 0;
  color: #5b3b8c;
  font-size: 13px;
  font-weight: 780;
}

.invite-link-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 12px;
}

.invite-link-field button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-inline: 14px;
  border-radius: 13px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.share-grid button {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #344054;
  background: #f2f4f7;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
}

.demo-unlock {
  margin-top: 11px;
}

.demo-unlock:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

@media (max-width: 1080px) {
  .benefits-art {
    transform: scale(0.92);
    transform-origin: center;
  }

  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invite-panel {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.7fr);
    gap: 26px;
    padding: 34px;
  }
}

@media (max-width: 820px) {
  .benefits-art {
    width: min(100%, 540px);
    min-height: 470px;
    margin-inline: auto;
    transform: none;
  }

  .benefit-product-stack {
    left: 2%;
  }

  .mini-wheel {
    right: 2%;
  }

  .invite-panel {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .invite-copy {
    text-align: center;
  }

  .invite-copy > p {
    margin-inline: auto;
  }

  .invite-actions {
    justify-content: center;
  }

  .progress-card {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .benefits-art {
    min-height: 410px;
  }

  .benefit-product-stack {
    left: -20px;
    bottom: 18px;
    transform: scale(0.76);
    transform-origin: left bottom;
  }

  .mini-wheel {
    right: -18px;
    top: 48px;
    width: 230px;
    height: 230px;
  }

  .art-benefit-badges {
    right: 0;
    bottom: 20px;
  }

  .art-benefit-badges span {
    max-width: 190px;
    font-size: 10px;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: 190px;
  }

  .invite-panel {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .invite-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .invite-actions .btn {
    width: 100%;
  }

  .wheel-shell {
    width: min(100%, 310px);
  }

  .share-grid,
  .invite-link-field {
    grid-template-columns: 1fr;
  }

  .invite-link-field button {
    min-height: 44px;
    justify-content: center;
  }
}

html[lang="es-MX"] .wheel-label {
  width: 86px;
  font-size: 8px;
}

html[lang="ja"] .wheel-label,
html[lang="ko"] .wheel-label {
  font-size: 8px;
}
