/* ═══════════════════════════════════════════════════════════════
   MogulBay – Retirement Planning Page (Redesigned)
   Premium visuals, emerald/teal mesh gradients, depth, animations
   ═══════════════════════════════════════════════════════════════ */

:root {
  --rp-ink: #030712;
  --rp-navy: #0c2548;
  --rp-deep: #09162e;
  --rp-blue: #2563eb;
  --rp-blue-light: #60a5fa;
  --rp-sky: #38bdf8;
  --rp-mint: #10b981;
  --rp-emerald: #10b981;
  --rp-teal: #14b8a6;
  --rp-amber: #f59e0b;
  --rp-purple: #8b5cf6;
  --rp-rose: #f43f5e;
}

/* ── Global Page Background ──────────────────────────────────── */
.page-bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: #fafafa; }
.page-bg .orb, .page-bg .grid-overlay { display: none; }

/* Header Nav Overrides */
body:has(.rp-hero) .mb-header:not(.is-compact) .mb-links a { color: #d4d4d8; }
body:has(.rp-hero) .mb-header:not(.is-compact) .mb-links a:hover,
body:has(.rp-hero) .mb-header:not(.is-compact) .mb-links a.active { color: #fff; }
body:has(.rp-hero) .mb-header:not(.is-compact) .mb-burger { border-color: rgba(255, 255, 255, .28); color: #fff; }

/* ── Hero Section (Full-Bleed Emerald/Teal Dark Mesh) ────────── */
.rp-hero {
  position: relative;
  display: flex;
  overflow: hidden;
  margin: 0 0 2.5rem;
  padding: clamp(5.5rem, 9vw, 7rem) clamp(1rem, 3vw, 2.5rem) clamp(3.5rem, 6vw, 5.5rem);
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 78% 18%, rgba(21, 93, 252, 0.32), transparent 42%),
    radial-gradient(circle at 18% 88%, rgba(59, 130, 246, 0.18), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.08), transparent 55%),
    linear-gradient(125deg, #030712 0%, #0a2242 48%, #030712 100%);
  color: #fff;
}

.rp-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 88%);
}

.rp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
}

.rp-hero h1 {
  margin: 0;
  color: #f8fafc;
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.rp-hero h1 .title-row { display: block; }
.rp-hero h1 .title-row + .title-row { margin-top: .25rem; }
.rp-hero h1 em {
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.rp-hero .hero-intro {
  color: #cbd5e1;
  font-family: Poppins, system-ui, sans-serif;
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
}

/* Badge Pill */
.rp-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1.1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.35);
  backdrop-filter: blur(12px);
  font-family: Manrope, system-ui, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #34d399;
}
.rp-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px #34d399;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.6; } }

/* Hero Interactive Mockup Card */
.rp-hero-mockup {
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.35rem;
  padding: 1.4rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.rp-hero-mockup::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #10b981, #14b8a6, #2563eb, #8b5cf6);
}

.rp-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: .85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rp-mockup-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.2s ease-in-out;
}

/* ── Section Containers & Panels ─────────────────────────────── */
.rp-section { margin-bottom: 1.25rem; }

.rp-kicker {
  margin: 0 0 .5rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--rp-emerald);
}

/* ── Light Glass Panel – Redesigned ──────────────────────────── */
.rp-panel {
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 253, 244, 0.92) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 
    0 1px 3px rgba(6, 78, 59, 0.04),
    0 10px 30px rgba(6, 78, 59, 0.04);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s ease, border-color .4s ease;
}
.rp-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #064e3b, #10b981, #38bdf8, #2563eb);
}
.rp-panel::after {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05), transparent 70%);
  pointer-events: none;
}
.rp-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 
    0 20px 50px rgba(6, 78, 59, 0.09),
    0 0 0 1px rgba(16, 185, 129, 0.1);
}

/* ── Dark Mesh Panel ──────────────────────────────────────────── */
.rp-panel-dark {
  position: relative;
  background: 
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(37, 99, 235, 0.32), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(56, 189, 248, 0.2), transparent 55%),
    linear-gradient(155deg, #030712 0%, #0a2242 55%, #09162e 100%);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 1.6rem;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(3, 7, 18, 0.3);
}
.rp-panel-dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #8b5cf6, #60a5fa);
}

/* ── CTA Buttons ─────────────────────────────────────────────── */
.rp-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: 9999px;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  overflow: hidden;
  transition: all .25s ease;
  text-decoration: none;
  cursor: pointer;
}
.rp-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.rp-cta:hover::after { transform: translateX(120%); }
.rp-cta:hover { transform: translateY(-2px); filter: brightness(1.06); }
.rp-cta:active { transform: scale(0.98); }

.rp-cta-primary {
  background: linear-gradient(135deg, #030712 0%, #0c2548 50%, #2563eb 100%);
  color: #fff;
  padding: .8rem 1.6rem;
  font-size: .92rem;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.rp-cta-glow {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #dbeafe 100%);
  color: #0c2548;
  padding: .85rem 1.75rem;
  font-size: .95rem;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.3);
}

.rp-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  padding: .8rem 1.5rem;
  font-size: .9rem;
  backdrop-filter: blur(8px);
}
.rp-cta-secondary:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }

/* ── Interactive Question Cards Grid (Section 2) – Redesigned ── */
.rp-q-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media(min-width: 640px) { .rp-q-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px) { .rp-q-grid { grid-template-columns: repeat(3, 1fr); } }

.rp-q-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 1.3rem;
  background: linear-gradient(160deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.04);
  overflow: hidden;
}
.rp-q-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.07), rgba(37, 99, 235, 0.06));
  opacity: 0;
  transition: opacity .35s ease;
}
.rp-q-card:hover::before { opacity: 1; }
.rp-q-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 
    0 16px 40px rgba(16, 185, 129, 0.1),
    0 0 0 1px rgba(16, 185, 129, 0.08);
}
.rp-q-card__badge {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Manrope, system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #2563eb);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
  margin-bottom: .9rem;
}
.rp-q-card__text {
  position: relative;
  font-family: Manrope, system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
}

/* ── Financial Bucket Cards (Section 3) – Redesigned ─────────── */
.rp-bucket-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media(min-width: 640px) { .rp-bucket-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 1024px) { .rp-bucket-grid { grid-template-columns: repeat(4, 1fr); } }

.rp-bucket {
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(12, 37, 72, 0.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.rp-bucket::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
  background: var(--rp-emerald);
}
.rp-bucket:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}
.rp-bucket h4 {
  margin: 0 0 .7rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.rp-bucket p {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: .86rem;
  color: #475569;
  line-height: 1.55;
}

/* ── Readiness Drivers Grid (Section 4) – Redesigned ─────────── */
.rp-driver-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media(min-width: 640px) { .rp-driver-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width: 1024px) { .rp-driver-grid { grid-template-columns: repeat(4, 1fr); } }

.rp-driver-tag {
  padding: .85rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid rgba(16, 185, 129, 0.18);
  font-family: Manrope, system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: .55rem;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(0,0,0,0.02);
}
.rp-driver-tag:hover {
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.1);
}
.rp-driver-tag__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  flex-shrink: 0;
}

/* ── Section 5 – Comparison Cards (Redesigned) ───────────────── */
.rp-history-card,
.rp-projection-card {
  border-radius: 1.4rem;
  padding: 1.6rem;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.rp-history-card:hover,
.rp-projection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}
.rp-history-card {
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
}
.rp-history-card:hover { border-color: rgba(37, 99, 235, 0.35); }
.rp-projection-card {
  background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 40%, #ccfbf1 100%);
  border: 1.5px solid rgba(20, 184, 166, 0.2);
}
.rp-projection-card:hover { border-color: rgba(20, 184, 166, 0.4); }

.rp-compare-row {
  padding: .7rem .9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
  backdrop-filter: blur(4px);
}
.rp-compare-row:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.rp-compare-tag {
  font-family: Manrope, system-ui, sans-serif;
  font-size: .64rem;
  font-weight: 800;
  padding: .3rem .6rem;
  border-radius: .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Section 6 – Savings Example (Redesigned) ────────────────── */
.rp-savings-example {
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}
.rp-savings-example::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(37, 99, 235, 0.3), rgba(20, 184, 166, 0.2));
  z-index: -1;
  opacity: 0;
  transition: opacity .4s ease;
}
.rp-savings-example:hover::before { opacity: 1; }
.rp-savings-example .grid > div {
  transition: all .25s ease;
  backdrop-filter: blur(4px);
}
.rp-savings-example .grid > div:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(52, 211, 153, 0.5) !important;
  transform: translateY(-2px);
}

/* ── Section 7 – Spending Scenarios (Redesigned) ─────────────── */
.rp-spending-grid .p-3\.5 {
  border-radius: 1.1rem;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}
.rp-spending-grid .p-3\.5:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.08);
}

.rp-spending-card {
  border-radius: 1.2rem;
  padding: 1.3rem;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.rp-spending-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.rp-spending-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.rp-spending-card:hover::before { opacity: 1; }
.rp-spending-card--neutral {
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(100, 116, 139, 0.2);
}
.rp-spending-card--neutral::before { background: linear-gradient(90deg, #64748b, #94a3b8); }
.rp-spending-card--lower {
  background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.rp-spending-card--lower::before { background: linear-gradient(90deg, #10b981, #34d399); }
.rp-spending-card--higher {
  background: linear-gradient(160deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.rp-spending-card--higher::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

/* ── Section 8 – Debt Tags (Redesigned) ──────────────────────── */
.rp-debt-tags .px-3 {
  border-radius: .85rem;
  padding-top: .6rem !important;
  padding-bottom: .6rem !important;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.rp-debt-tags .px-3:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 63, 94, 0.4);
  background: #fff1f2;
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.08);
}

.rp-debt-questions .p-3\.5 {
  border-radius: 1.1rem;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(0,0,0,0.02);
}
.rp-debt-questions .p-3\.5:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

/* ── Section 9 – Timeline Cards (Redesigned) ─────────────────── */
.rp-timeline-card {
  border-radius: 1.4rem;
  padding: 1.7rem;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.rp-timeline-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 180px; height: 180px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.rp-timeline-card:hover::before { opacity: 1; }
.rp-timeline-card--a {
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.2);
}
.rp-timeline-card--a::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
}
.rp-timeline-card--a:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}
.rp-timeline-card--b {
  background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
}
.rp-timeline-card--b::before {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 70%);
}
.rp-timeline-card--b:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.1);
}
.rp-timeline-badge {
  font-family: Manrope, system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 800;
  padding: .35rem .7rem;
  border-radius: .6rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Life Decision Cards (Section 10) – Redesigned ───────────── */
.rp-decision-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media(min-width: 640px) { .rp-decision-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px) { .rp-decision-grid { grid-template-columns: repeat(3, 1fr); } }

.rp-decision {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 1.4rem;
  background: linear-gradient(160deg, #ffffff 0%, #fafbff 50%, #ecfdf5 100%);
  border: 1px solid rgba(16, 185, 129, 0.15);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.rp-decision::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, #10b981, #2563eb, #38bdf8);
  opacity: 0;
  transition: opacity .35s ease;
}
.rp-decision::after {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.rp-decision:hover::before { opacity: 1; }
.rp-decision:hover::after { opacity: 1; }
.rp-decision:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.1);
}
.rp-decision__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .85rem;
}
.rp-decision__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #d1fae5, #a7f3d0);
  color: var(--rp-emerald);
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
  transition: transform .3s ease, box-shadow .3s ease;
}
.rp-decision:hover .rp-decision__icon {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
.rp-decision__title {
  font-family: Manrope, system-ui, sans-serif;
  font-size: .98rem;
  font-weight: 800;
  color: var(--rp-ink);
}
.rp-decision__text {
  font-family: Poppins, system-ui, sans-serif;
  font-size: .85rem;
  color: #475569;
  line-height: 1.6;
  position: relative;
}

/* ── Section 11 – Additional Considerations Grid (Redesigned) ── */
.rp-consideration-grid .p-3 {
  border-radius: 1rem;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}
.rp-consideration-grid .p-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(37, 99, 235, 0.06));
  opacity: 0;
  transition: opacity .3s ease;
}
.rp-consideration-grid .p-3:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.08);
}
.rp-consideration-grid .p-3:hover::before { opacity: 1; }

/* ── Section 12 – FI vs Retirement Cards (Redesigned) ────────── */
.rp-fi-card {
  border-radius: 1.4rem;
  padding: 1.6rem;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.rp-fi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  opacity: 0;
  transition: opacity .35s ease;
}
.rp-fi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}
.rp-fi-card:hover::before { opacity: 1; }
.rp-fi-card--retire {
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.15);
}
.rp-fi-card--retire::before { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.rp-fi-card--retire:hover { border-color: rgba(37, 99, 235, 0.35); }
.rp-fi-card--fi {
  background: linear-gradient(160deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
}
.rp-fi-card--fi::before { background: linear-gradient(90deg, #10b981, #34d399); }
.rp-fi-card--fi:hover { border-color: rgba(16, 185, 129, 0.4); }

/* ── AI Assistant Chat Container (Section 13) – Redesigned ───── */
.rp-ai-chat-box {
  background: linear-gradient(155deg, #030712 0%, #0a2242 60%, #09162e 100%);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 1.6rem;
  padding: 1.6rem;
  color: #fff;
  box-shadow: 0 20px 50px rgba(3, 7, 18, 0.4);
  position: relative;
  overflow: hidden;
}
.rp-ai-chat-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.12), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.1), transparent 50%);
  pointer-events: none;
}

.rp-ai-questions { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; position: relative; z-index: 1; }
@media(max-width: 640px) { .rp-ai-questions { grid-template-columns: 1fr; } }

.rp-ai-q {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-family: Poppins, system-ui, sans-serif;
  font-size: .86rem;
  color: #e2e8f0;
  line-height: 1.55;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.rp-ai-q:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}
.rp-ai-q__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Manrope, system-ui, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #10b981, #2563eb);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ── Stepper Timeline (Section 14) – Redesigned ──────────────── */
.rp-path { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media(min-width: 640px) { .rp-path { grid-template-columns: 1fr 1fr; } }
@media(min-width: 1024px) { .rp-path { grid-template-columns: repeat(4, 1fr); } }

.rp-path-step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border-radius: 1.3rem;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 50%, #f0fdf4 100%);
  border: 1px solid rgba(12, 37, 72, 0.08);
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.rp-path-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(37, 99, 235, 0.04));
  opacity: 0;
  transition: opacity .35s ease;
}
.rp-path-step:hover::before { opacity: 1; }
.rp-path-step:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.08);
}
.rp-path-step__num {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Manrope, system-ui, sans-serif;
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #2563eb);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28);
  margin-bottom: .85rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.rp-path-step:hover .rp-path-step__num {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.rp-path-step__text h4 {
  position: relative;
  margin: 0 0 .4rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: var(--rp-ink);
}
.rp-path-step__text p {
  position: relative;
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: .84rem;
  color: #475569;
  line-height: 1.55;
}

/* ── Legal / Caution Callout (Redesigned) ────────────────────── */
.rp-legal-note {
  padding: 1.3rem 1.5rem;
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.06) 0%, rgba(254, 243, 199, 0.5) 50%, rgba(254, 246, 172, 0.4) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  font-family: Poppins, system-ui, sans-serif;
  font-size: .87rem;
  color: #78350f;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}
.rp-legal-note::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
}

/* ── FAQ Accordion (Section 16) – Redesigned ─────────────────── */
.rp-faq {
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, #ffffff 0%, #fafbff 100%);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.rp-faq + .rp-faq { margin-top: .8rem; }
.rp-faq:hover {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.05);
}
.rp-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-family: Manrope, system-ui, sans-serif;
  font-size: .96rem;
  font-weight: 700;
  color: var(--rp-ink);
  line-height: 1.45;
  transition: color .2s ease;
}
.rp-faq summary:hover { color: var(--rp-emerald); }
.rp-faq summary::-webkit-details-marker { display: none; }
.rp-faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: .6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  color: #475569;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all .3s ease;
}
.rp-faq[open] summary::after { 
  content: "\2212"; 
  background: linear-gradient(145deg, #10b981, #14b8a6); 
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transform: rotate(180deg);
}
.rp-faq[open] { 
  border-color: rgba(16, 185, 129, 0.4); 
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
}
.rp-faq p {
  margin: 0;
  padding: 0 1.5rem 1.35rem;
  color: #475569;
  font-size: .92rem;
  line-height: 1.7;
}

/* ── Closing Banner (Redesigned) ──────────────────────────────── */
.rp-closing-cta {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background: 
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, 0.35), transparent 45%),
    radial-gradient(circle at 18% 85%, rgba(56, 189, 248, 0.25), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12), transparent 60%),
    linear-gradient(125deg, #030712 0%, #0a2242 50%, #030712 100%);
  border: 1px solid rgba(96, 165, 250, 0.35);
  margin-bottom: 1rem;
  box-shadow: 
    0 25px 60px rgba(3, 7, 18, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.rp-closing-cta .hero-shine {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 30%, rgba(56, 189, 248, 0.12) 45%, rgba(37, 99, 235, 0.2) 50%, rgba(56, 189, 248, 0.12) 55%, transparent 70%);
  animation: heroShine 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroShine { 0%, 100% { transform: translateX(-12%) rotate(0deg); opacity: .5; } 50% { transform: translateX(12%) rotate(2deg); opacity: 1; } }

.gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #60a5fa 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rp-closing-cta .grid > div {
  transition: all .25s ease;
}
.rp-closing-cta .grid > div:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.rp-breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: Poppins, system-ui, sans-serif;
  font-size: .8rem;
  color: #64748b;
  margin-bottom: 1.1rem;
}
.rp-breadcrumb a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.rp-breadcrumb a:hover { color: #34d399; }
.rp-breadcrumb span { color: #64748b; }

/* ── Scroll Entrance Animations ──────────────────────────────── */
.rp-block {
  opacity: 0;
  transform: translateY(28px) scale(.99);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
.rp-block.is-visible {
  opacity: 1;
  transform: none;
}
.rp-block[data-delay="1"].is-visible { transition-delay: .1s; }

.section-shell { background: transparent; border-radius: 0; border: none; box-shadow: none; }

@media(prefers-reduced-motion: reduce) {
  .hero-shine, .gradient-text { animation: none !important; }
  .rp-block { opacity: 1; transform: none; transition: none; }
  .rp-cta::after { transition: none; }
  .rp-q-card::before, .rp-decision::before, .rp-decision::after,
  .rp-path-step::before, .rp-decision:hover .rp-decision__icon,
  .rp-path-step:hover .rp-path-step__num { transform: none; transition: none; }
}
