/* ═══════════════════════════════════════════
   Homepage — Recurring Subscriptions spotlight
   ═══════════════════════════════════════════ */

body.wavy-clay-home .fin-badge--new {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #d4af37 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
  animation: sub-badge-glow 3s ease-in-out infinite;
}

body.wavy-clay-home .fin-badge--new svg {
  color: #fff;
}

@keyframes sub-badge-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35); }
  50% { box-shadow: 0 6px 28px rgba(168, 85, 247, 0.55); }
}

/* ── Spotlight hero block ── */
body.wavy-clay-home .sub-spotlight {
  padding: 24px 0 64px;
}

body.wavy-clay-home .sub-spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

body.wavy-clay-home .sub-spotlight-visual {
  position: relative;
}

body.wavy-clay-home .sub-spotlight-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-family: var(--fin-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

body.wavy-clay-home .sub-spotlight-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--fin-border);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    12px 16px 48px rgba(91, 33, 182, 0.18);
  background: var(--clay-surface);
}

body.wavy-clay-home .sub-spotlight-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

body.wavy-clay-home .sub-spotlight-float {
  position: absolute;
  bottom: -20px;
  right: -12px;
  width: 38%;
  max-width: 200px;
  background: var(--clay-surface);
  border: 1px solid var(--fin-border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 8px 12px 32px rgba(91, 33, 182, 0.15);
  animation: sub-float 4s ease-in-out infinite;
}

body.wavy-clay-home .sub-spotlight-float img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

body.wavy-clay-home .sub-spotlight-float-label {
  display: block;
  text-align: center;
  font-family: var(--fin-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--wavy-purple);
  margin-top: 8px;
  text-transform: uppercase;
}

@keyframes sub-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

body.wavy-clay-home .sub-spotlight-copy h2 {
  font-family: var(--wavy-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--wavy-text);
  line-height: 1.15;
  margin-bottom: 16px;
}

body.wavy-clay-home .sub-spotlight-copy h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--wavy-purple), var(--wavy-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.wavy-clay-home .sub-spotlight-lead {
  font-size: 1rem;
  color: var(--wavy-text-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

body.wavy-clay-home .sub-perk-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

body.wavy-clay-home .sub-perk-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  font-size: 0.9rem;
  color: var(--wavy-text-soft);
  line-height: 1.55;
}

body.wavy-clay-home .sub-perk-list li:last-child {
  border-bottom: none;
}

body.wavy-clay-home .sub-perk-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(212, 175, 55, 0.12));
  border: 1px solid var(--fin-border);
  border-radius: 10px;
}

body.wavy-clay-home .sub-perk-list strong {
  display: block;
  color: var(--wavy-text);
  font-weight: 600;
  margin-bottom: 2px;
}

body.wavy-clay-home .sub-interval-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

body.wavy-clay-home .sub-interval-chips span {
  font-family: var(--fin-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wavy-muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(124, 58, 237, 0.25);
  background: rgba(124, 58, 237, 0.05);
}

/* ── How-it-works cards ── */
body.wavy-clay-home .sub-how-section {
  padding-bottom: 72px;
}

body.wavy-clay-home .sub-how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

body.wavy-clay-home .sub-how-card {
  background: var(--clay-surface);
  border: 1px solid var(--fin-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 6px 6px 22px rgba(91, 33, 182, 0.08);
  transition: transform 0.25s var(--wavy-ease), box-shadow 0.25s;
}

body.wavy-clay-home .sub-how-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 12px 32px rgba(91, 33, 182, 0.14);
}

body.wavy-clay-home .sub-how-card--featured {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.12),
    8px 12px 36px rgba(124, 58, 237, 0.15);
}

body.wavy-clay-home .sub-how-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-bottom: 1px solid var(--fin-border);
}

body.wavy-clay-home .sub-how-card-body {
  padding: 22px 20px 24px;
}

body.wavy-clay-home .sub-how-step {
  font-family: var(--fin-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wavy-purple);
}

body.wavy-clay-home .sub-how-card h3 {
  font-family: var(--wavy-display);
  font-size: 1.15rem;
  color: var(--wavy-text);
  margin: 8px 0 10px;
}

body.wavy-clay-home .sub-how-card p {
  font-size: 0.84rem;
  color: var(--wavy-text-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

body.wavy-clay-home .sub-how-card code {
  display: inline-block;
  font-family: var(--fin-mono);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--wavy-muted);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 5px;
  padding: 4px 8px;
}

body.wavy-clay-home .fin-cta-btns {
  justify-content: center;
  margin-bottom: 8px;
}

body.wavy-clay-home .fin-stats-grid {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  body.wavy-clay-home .fin-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  body.wavy-clay-home .sub-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  body.wavy-clay-home .sub-spotlight-float {
    right: 12px;
    bottom: -16px;
    width: 42%;
  }

  body.wavy-clay-home .sub-how-cards {
    grid-template-columns: 1fr;
  }

  body.wavy-clay-home .fin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  body.wavy-clay-home .fin-stats-grid {
    grid-template-columns: 1fr;
  }

  body.wavy-clay-home .sub-spotlight-float {
    position: relative;
    right: auto;
    bottom: auto;
    width: 60%;
    margin: -24px auto 0;
  }
}

/* Nav NEW badge (all pages) */
.wavy-nav-link--new {
  position: relative;
}

.wavy-nav-link--new::after {
  content: 'NEW';
  position: absolute;
  top: -6px;
  right: -8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1.2;
}
