:root {
  --funnel-panel: linear-gradient(180deg, rgba(17, 29, 46, 0.94), rgba(13, 21, 32, 0.98));
  --funnel-border: rgba(0, 212, 255, 0.18);
  --funnel-soft-border: rgba(255, 255, 255, 0.08);
  --funnel-copy: #b9cfe2;
  --funnel-muted: #86a0b8;
}

.funnel-nav .funnel-nav-links,
.funnel-nav .nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.funnel-nav .nav-cta {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

.next-move {
  position: relative;
  margin: 3rem 0;
  padding: 1.75rem;
  border-radius: 20px;
  border: 1px solid var(--funnel-border);
  background: var(--funnel-panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.next-move::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.72), transparent);
}

.next-move-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.next-move-copy {
  max-width: 640px;
}

.next-move-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.next-move-title {
  margin: 0 0 0.55rem 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

.next-move-sub {
  margin: 0;
  color: var(--funnel-copy);
  font-size: 0.96rem;
  line-height: 1.7;
}

.next-move-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.next-move-card {
  display: block;
  height: 100%;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--funnel-soft-border);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.next-move-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(255, 255, 255, 0.045);
}

.next-move-card.is-primary {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.03));
  border-color: rgba(0, 212, 255, 0.24);
}

.next-move-card.is-archive {
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.08), rgba(0, 212, 255, 0.04));
  border-color: rgba(123, 47, 255, 0.2);
}

.next-move-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.next-move-card.is-archive .next-move-kicker {
  color: #c3a9ff;
}

.next-move-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.next-move-card p {
  margin: 0;
  color: var(--funnel-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.next-move-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

.next-move-card.is-archive .next-move-action {
  color: #c3a9ff;
}

.funnel-footer,
.funnel-footer-note {
  position: relative;
  z-index: 1;
  text-align: center;
}

.funnel-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin-top: 0.7rem;
  color: var(--funnel-muted);
  font-size: 0.76rem;
}

.funnel-footer-links a {
  color: var(--funnel-muted);
  text-decoration: none;
}

.funnel-footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .funnel-nav {
    padding: 0.9rem 1rem !important;
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .funnel-nav .funnel-nav-links,
  .funnel-nav .nav-links {
    width: 100%;
    gap: 0.55rem 0.85rem;
    justify-content: flex-start !important;
  }

  .funnel-nav a {
    font-size: 0.84rem !important;
    line-height: 1.25;
  }

  .funnel-nav .nav-optional {
    display: none !important;
  }
}

@media (max-width: 680px) {
  .next-move {
    padding: 1.2rem;
    margin: 2rem 0;
    border-radius: 18px;
  }

  .next-move-head {
    gap: 0.9rem;
    margin-bottom: 1rem;
  }

  .next-move-grid {
    grid-template-columns: 1fr;
  }
}

/* Sticky email signup bar (U-001) */
.sticky-subscribe-bar {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(123,47,255,0.12));
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}
.sticky-subscribe-bar.hidden {
  transform: translateY(calc(100% + 1rem));
  opacity: 0;
  pointer-events: none;
}
.sticky-subscribe-bar .close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: #86a0b8;
  font-size: 1rem;
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.sticky-subscribe-bar .close:hover {
  color: #00d4ff;
  background: rgba(0,212,255,0.1);
}
.sticky-subscribe-bar .message {
  color: #b9cfe2;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}
.sticky-subscribe-bar .message strong {
  color: #00d4ff;
}
.sticky-subscribe-bar .cta {
  display: inline-block;
  background: #00d4ff;
  color: #060b12;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.sticky-subscribe-bar .cta:hover {
  background: #00b8e6;
}
@media (max-width: 768px) {
  .sticky-subscribe-bar {
    bottom: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;
    max-width: none;
    text-align: center;
  }
  .sticky-subscribe-bar .message {
    margin-right: 0;
  }
}
