i{position:absolute;inset:0;width:calc(var(–p)*1%);background:linear-gradient(90deg,#30260a,var(–gold) 40%,var(–gold-2));transition:width .5s cubic-bezier(.2,.8,.2,1)}
/* Grid + cards */
#iab-success-plan .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px;margin-top:20px}
#iab-success-plan .card{grid-column:span 6;min-height:150px;padding:16px;border-radius:var(–radius);background:linear-gradient(180deg,rgba(255,255,255,.02),transparent);border:1px solid #1a1c27;box-shadow:var(–shadow);position:relative;overflow:hidden;isolation:isolate;transform:translateY(12px);opacity:0;transition:opacity .6s ease,transform .6s ease}
#iab-success-plan .card.reveal{opacity:1;transform:translateY(0)}
#iab-success-plan .card::before{content:””;position:absolute;inset:0;background:radial-gradient(280px 110px at 20% 0%,rgba(212,175,55,.12),transparent 60%);pointer-events:none;z-index:-1}
#iab-success-plan .card-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
#iab-success-plan .badge{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#1a1b24,#12131a);border:1px solid #242736;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);color:var(–gold-2);font-weight:800}
#iab-success-plan h2{margin:0;font-size:clamp(16px,2.8vw,18px);letter-spacing:.2px;color:var(–ink)}
#iab-success-plan .meta{color:var(–muted);font-size:12px}
#iab-success-plan .act{margin-top:12px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#iab-success-plan .btn{–ring:0;cursor:pointer;padding:12px 14px;border-radius:14px;font-weight:700;letter-spacing:.3px;line-height:1;min-height:44px;background:linear-gradient(145deg,#151622,#0f111a);border:1px solid #232537;color:var(–ink);box-shadow:var(–shadow),0 0 0 var(–ring) rgba(212,175,55,.35);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
#iab-success-plan .btn:hover{transform:translateY(-2px)}
#iab-success-plan .btn.done{background:linear-gradient(145deg,#12301d,#0e1f15);border-color:#1e4d32}
#iab-success-plan .check{width:22px;height:22px;border-radius:7px;display:inline-grid;place-items:center;margin-right:6px;background:#11131b;border:1px solid #26293a;vertical-align:middle}
#iab-success-plan .check svg{opacity:.28;transform:scale(.6);transition:opacity .2s ease,transform .2s ease}
#iab-success-plan .btn.done .check{background:#0f1a14;border-color:#1e3a2a}
#iab-success-plan .btn.done .check svg{opacity:1;transform:scale(.95)}
/* Responsive */
@media (max-width:900px){#iab-success-plan .card{grid-column:span 12}}
@media (max-width:640px){
#iab-success-plan{padding:16px 12px 48px}
#iab-success-plan header{padding:18px}
#iab-success-plan .brand-row{gap:12px}
#iab-success-plan .logo{width:44px;height:44px;border-radius:11px}
#iab-success-plan .grid{gap:12px}
#iab-success-plan .card{padding:14px;border-radius:16px}
#iab-success-plan .act{gap:8px}
#iab-success-plan .btn{flex:1;width:100%}
#iab-success-plan .pill{font-size:12px}
}
@media (prefers-reduced-motion: reduce){#iab-success-plan *{animation:none !important;transition:none !important}}
CSS;
wp_register_style(‘iab-success-style’, false);
wp_enqueue_style(‘iab-success-style’);
wp_add_inline_style(‘iab-success-style’, $css);
// 2) Register + inline JS (fixed bug + mobile-light confetti)
$js = <<
One-Day Success Plan
Imagine & Become — discipline today, freedom tomorrow.
Scroll to reveal ✨
0/11 done
temporarily. Consistency > perfection.’);
iab_step(2, ‘Cold-Shower Progression’, ‘Start warm → lower temp daily → energized & disciplined.’, ‘End your shower cold. Over 2–3 weeks you’ll adapt and feel the focus boost. Dress clean — look like you mean it.’);
iab_step(3, ‘Make Bed & Tidy Room’, ‘Discipline begins where you sleep.’, ‘Clean space → clear mind. It’s a small win that sets the day’s tone and compounds your self-respect.’);
iab_step(4, ‘Stretch (1–3 Minutes)’, ‘Wake the body: shoulder rolls, toe touches, deep breaths.’, ‘Optional: add a few pushups or squats. Micro-movement flips your energy switch.’);
iab_step(5, ’30 Minutes in Silence’, ‘No phone. No TV. Plan & visualize.’, ‘Review today’s tasks. Cut time-wasters. Visualize who you’re becoming — manifestation works when paired with action.’);
iab_step(6, ‘Eat a Clean Meal’, ‘Breakfast or lunch — depending on your schedule.’, ‘Night shift? No problem — organize your hours. Fuel for the work ahead, not a crash later.’);
iab_step(7, ‘Learn a Skill (30–60m)’, ‘Business, coding, design, marketing — your future ROI.’, ‘The world distracts you. You fight back by investing in yourself daily. No motivation needed — just start.’);
iab_step(8, ‘Train: Gym or Home’, ‘If gym feels hard, start with pushups + squats at home.’, ‘Build a daily habit. Strong body → strong mind → stronger life.’);
iab_step(9, ‘Work (4–8h+)’, ‘Focused hours on your job or online business.’, ‘Be present, be useful, be excellent. Let today’s work fund tomorrow’s freedom.’);
iab_step(10, ‘Money Check-In’, ‘Count it. Allocate it. Invest with intention.’, ‘If your online work isn’t paying yet, combine with a steady job. Swallow pride, stack cash, invest wisely.’);
iab_step(11, ‘Gratitude & Review’, ‘What went well? What improves tomorrow?’, ‘Remind yourself why you’re doing this. Failures are reps. Reset and go again tomorrow. You vs You.’);
?>