/* Three-step funnel flow (replaces dashboard preview) */
body.afh-premium.afh-js #afh-steps .afh-reveal {
  opacity: 1;
}

body.afh-premium .afh-three-steps {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
}

body.afh-premium .afh-three-steps-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
}

body.afh-premium .afh-three-steps-glow--tl {
  top: 0;
  left: 0;
  background: rgba(34, 197, 94, 0.1);
}

body.afh-premium .afh-three-steps-glow--br {
  bottom: 0;
  right: 0;
  background: rgba(16, 185, 129, 0.1);
}

body.afh-premium .afh-three-steps-inner {
  position: relative;
  z-index: 1;
}

body.afh-premium .afh-three-steps-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 64px;
}

body.afh-premium .afh-three-steps-badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.afh-premium .afh-three-steps-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
}

body.afh-premium .afh-three-steps-lead {
  margin: 20px auto 0;
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--afh-muted);
}

body.afh-premium .afh-flow-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 72px;
}

body.afh-premium .afh-flow-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  body.afh-premium .afh-flow-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  body.afh-premium .afh-flow-row--reverse .afh-flow-copy {
    order: 1;
  }

  body.afh-premium .afh-flow-row--reverse .afh-flow-visual {
    order: 2;
  }
}

body.afh-premium .afh-flow-visual {
  position: relative;
  padding: 28px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(34, 197, 94, 0.08);
}

body.afh-premium .afh-flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--afh-accent);
  color: #020617;
  font-size: 1.5rem;
  font-weight: 800;
}

body.afh-premium .afh-flow-kicker {
  margin: 0 0 12px;
  color: var(--afh-accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.afh-premium .afh-flow-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}

body.afh-premium .afh-flow-copy > p {
  margin: 0 0 24px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--afh-muted);
}

body.afh-premium .afh-flow-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.afh-premium .afh-flow-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #e2e8f0;
  font-size: 15px;
}

body.afh-premium .afh-flow-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--afh-accent);
  font-weight: 700;
}

body.afh-premium .afh-flow-success {
  margin: 24px 0 0;
  color: #4ade80;
  font-weight: 600;
  font-size: 14px;
}

body.afh-premium .afh-flow-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  body.afh-premium .afh-flow-dual {
    grid-template-columns: 1fr 1fr;
  }
}

body.afh-premium .afh-flow-mini {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: #081120;
}

body.afh-premium .afh-flow-mini-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
}

body.afh-premium .afh-flow-mini-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.1);
}

body.afh-premium .afh-flow-mini-title {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
}

body.afh-premium .afh-flow-field {
  height: 44px;
  margin-bottom: 10px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #64748b;
  font-size: 13px;
}

body.afh-premium .afh-flow-mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 12px;
  background: var(--afh-accent);
  color: #020617;
  font-weight: 700;
  font-size: 13px;
}

body.afh-premium .afh-flow-builder {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #081120;
  overflow: hidden;
}

body.afh-premium .afh-flow-builder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

body.afh-premium .afh-flow-publish {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--afh-accent);
  color: #020617;
  font-size: 11px;
  font-weight: 700;
}

body.afh-premium .afh-flow-builder-body {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 220px;
}

body.afh-premium .afh-flow-sidebar {
  padding: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.afh-premium .afh-flow-sidebar span {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 12px;
}

body.afh-premium .afh-flow-canvas {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.afh-premium .afh-flow-block {
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.05);
  color: #fff;
  font-size: 14px;
  animation: afhFlowFloat 2.4s ease-in-out infinite;
}

body.afh-premium .afh-flow-block:nth-child(2) {
  animation-delay: 0.2s;
}

body.afh-premium .afh-flow-block:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes afhFlowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

body.afh-premium .afh-flow-linkbox {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #081120;
  margin-bottom: 16px;
}

body.afh-premium .afh-flow-linkbox strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
}

body.afh-premium .afh-flow-linkrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.afh-premium .afh-flow-linkurl {
  flex: 1;
  min-width: 0;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #4ade80;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.afh-premium .afh-flow-copybtn {
  height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  background: var(--afh-accent);
  color: #020617;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

body.afh-premium .afh-flow-earnings {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.05);
  animation: afhEarningsGlow 3s ease-in-out infinite;
}

@keyframes afhEarningsGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  50% { box-shadow: 0 0 40px rgba(34, 197, 94, 0.15); }
}

body.afh-premium .afh-flow-earnings-label {
  display: block;
  margin-bottom: 8px;
  color: var(--afh-muted);
  font-size: 13px;
}

body.afh-premium .afh-flow-earnings-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

body.afh-premium .afh-flow-earnings-main strong {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #fff;
}

body.afh-premium .afh-flow-earnings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

body.afh-premium .afh-flow-earnings-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 4px;
}

body.afh-premium .afh-flow-earnings-grid strong {
  color: #fff;
  font-size: 1.35rem;
}

body.afh-premium .afh-flow-cta {
  margin-top: 28px;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-size: 1rem !important;
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  body.afh-premium .afh-flow-block,
  body.afh-premium .afh-flow-earnings {
    animation: none !important;
  }
}
