/* Node77 · Shop & pricing */

.shop-section {
  margin-bottom: clamp(48px, 8vw, 80px);
}

.shop-section__note {
  margin: var(--space-4) auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--lumen-muted);
  line-height: 1.65;
}

.shop-section__note a {
  color: var(--accent-brand);
  text-decoration: none;
  font-weight: 500;
}

.shop-section__note a:hover {
  text-decoration: underline;
}

.shop-grid {
  display: grid;
  gap: var(--space-4);
  align-items: stretch;
}

@media (min-width: 900px) {
  .shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shop-grid--pricing {
    grid-template-columns: 1.05fr repeat(3, minmax(0, 1fr));
  }
}

.shop-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 26px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--lumen-hairline);
  background: var(--lumen-panel);
  box-shadow: var(--inset-rim);
  transition: transform var(--duration-normal) var(--ease-out), border-color var(--duration-normal);
}

.shop-plan:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.22);
}

.shop-plan--featured {
  border-color: rgba(99, 102, 241, 0.45);
  background:
    var(--gradient-brand-soft),
    var(--lumen-panel);
  box-shadow: var(--inset-rim), 0 24px 60px rgba(99, 102, 241, 0.15);
}

.shop-plan--free {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
}

.shop-plan__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.28);
}

.shop-plan__head {
  margin-bottom: var(--space-4);
}

.shop-plan__name {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.shop-plan__price {
  margin: 0 0 var(--space-3);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.shop-plan__amount {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shop-plan--free .shop-plan__amount {
  color: var(--lumen-foreground);
  background: none;
  -webkit-background-clip: unset;
}

.shop-plan__period {
  font-size: var(--text-xs);
  color: var(--lumen-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.shop-plan__desc {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--lumen-muted);
  line-height: 1.6;
}

.shop-plan__features {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.shop-plan__features li {
  position: relative;
  padding-left: 18px;
  font-size: var(--text-sm);
  color: var(--lumen-muted);
  line-height: 1.45;
}

.shop-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.45);
}

/* BeatViz hero visualizer */
.bvz-hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--lumen-hairline);
  background:
    radial-gradient(circle at 30% 20%, rgba(236, 72, 153, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.2), transparent 50%),
    #0a0d14;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.bvz-hero-visual__bars {
  position: absolute;
  inset: auto 24px 28px 24px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}

.bvz-hero-visual__bar {
  width: 10px;
  border-radius: 6px 6px 2px 2px;
  background: var(--gradient-brand);
  opacity: 0.85;
  animation: bvz-bar 1.2s ease-in-out infinite alternate;
}

.bvz-hero-visual__bar:nth-child(1) { height: 35%; animation-delay: 0s; }
.bvz-hero-visual__bar:nth-child(2) { height: 65%; animation-delay: 0.1s; }
.bvz-hero-visual__bar:nth-child(3) { height: 45%; animation-delay: 0.2s; }
.bvz-hero-visual__bar:nth-child(4) { height: 90%; animation-delay: 0.15s; }
.bvz-hero-visual__bar:nth-child(5) { height: 55%; animation-delay: 0.25s; }
.bvz-hero-visual__bar:nth-child(6) { height: 75%; animation-delay: 0.05s; }
.bvz-hero-visual__bar:nth-child(7) { height: 40%; animation-delay: 0.3s; }
.bvz-hero-visual__bar:nth-child(8) { height: 85%; animation-delay: 0.12s; }
.bvz-hero-visual__bar:nth-child(9) { height: 50%; animation-delay: 0.22s; }
.bvz-hero-visual__bar:nth-child(10) { height: 70%; animation-delay: 0.08s; }

@keyframes bvz-bar {
  from { transform: scaleY(0.55); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

.bvz-hero-visual__logo {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.bvz-hero-visual__tag {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: #f5d0fe;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.28);
}

.bvz-download-list {
  display: grid;
  gap: var(--space-3);
}

.bvz-download-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--lumen-hairline);
  background: rgba(255, 255, 255, 0.02);
}

.bvz-download-item strong {
  display: block;
  font-size: var(--text-sm);
}

.bvz-download-item span {
  display: block;
  font-size: var(--text-xs);
  color: var(--lumen-muted);
  margin-top: 2px;
}

.bvz-steps {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 720px) {
  .bvz-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bvz-step {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--lumen-hairline);
  background: rgba(255, 255, 255, 0.02);
}

.bvz-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: var(--space-3);
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #041018;
  background: var(--gradient-brand);
}

.bvz-step h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
}

.bvz-step p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--lumen-muted);
  line-height: 1.55;
}

.bvz-key-format {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.dl-empty {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--lumen-hairline);
  background: rgba(255, 255, 255, 0.02);
}

.dl-empty__text {
  margin: 0 0 var(--space-5);
  color: var(--lumen-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  max-width: 42ch;
  margin-inline: auto;
}

@media (prefers-reduced-motion: reduce) {
  .bvz-hero-visual__bar {
    animation: none;
  }
}
