.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;
  display: block;
  border-radius: 42px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.benefits-art:hover {
  transform: translateY(-3px);
  filter: saturate(1.04);
}

.benefits-art:focus-visible {
  outline: 4px solid rgba(37, 99, 235, 0.32);
  outline-offset: 7px;
}

.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;
}

.shared-wheel-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.mini-wheel .shared-wheel-image {
  width: 100%;
  height: 100%;
}

.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 {
  border: 1px solid rgba(37, 99, 235, 0.06);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.benefits-page .quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.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 .hub-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.035),
    0 10px 22px rgba(15, 23, 42, 0.08);
}

.hub-icon-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(15, 23, 42, 0.12));
  transition: transform 0.22s ease;
}

.hub-card:hover .hub-icon-art {
  transform: translateY(-1px) scale(1.06);
}

.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;
}

.hub-card .hub-download-link {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 12px;
  background: #f7faff;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hub-card .hub-download-link:hover,
.hub-card .hub-download-link:focus-visible {
  border-color: rgba(37, 99, 235, 0.28);
  background: #eef5ff;
  transform: translateY(-1px);
}

.hub-card:nth-child(1) .hub-download-link {
  color: #047857;
  border-color: rgba(5, 150, 105, 0.16);
  background: #f0fdf7;
}

.hub-card:nth-child(2) .hub-download-link {
  color: #1d4ed8;
}

.hub-card:nth-child(3) .hub-download-link {
  color: #be185d;
  border-color: rgba(219, 39, 119, 0.16);
  background: #fff6fa;
}

.hub-card:nth-child(4) .hub-download-link {
  color: #6d28d9;
  border-color: rgba(124, 58, 237, 0.16);
  background: #faf7ff;
}

.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%, 360px);
  margin-inline: auto;
}

.wheel-image-shell {
  filter: drop-shadow(0 24px 34px rgba(74, 31, 137, 0.18));
}

.invite-wheel-art {
  width: 100%;
}

.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;
  }
}

