/* ══════════════════════════════════════════
   MUTUAL FUNDS SERVICES — funds-services.css
   Theme: Growth · Ambition · Momentum
   Primary: Blue (#2563eb)  Accent: Green (#22c55e)
   Fonts: Outfit (headings) · Inter (body)
══════════════════════════════════════════ */

/* ── Page-level tokens ── */
:root {
    --mf-primary: #2563eb;
    --mf-primary-light: #4980f6;
    --mf-primary-deep: #1e3a8a;
    --mf-primary-dim: #1d4ed8;
    --mf-primary-pale: #eff6ff;
    --mf-primary-lt: #dbeafe;
    --mf-green: #22c55e;
    --mf-green-deep: #16a34a;
    --mf-green-pale: #dcfce7;
    --mf-soft-bg: #f8faff;
    --mf-dark-bg: #0f172a;
    --mf-sip-bg: #0c1a35;
}

/* Premium Icon System — Localized for Funds Services */
.sfv-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 12px;
    color: var(--mf-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.sfv-icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sfv-icon-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
    border-color: var(--mf-primary-lt);
    color: var(--mf-primary-deep);
}

.sfv-icon-box:hover::before {
    opacity: 1;
}

/* Sizing variations */
.sfv-icon-box--sm {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.sfv-icon-box--sm i {
    width: 20px;
    height: 20px;
}

.sfv-icon-box--lg {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.sfv-icon-box--lg i {
    width: 28px;
    height: 28px;
}

.sfv-icon-box i {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
    position: relative;
    z-index: 1;
}

/* Color variants localized to MF palette */
.sfv-icon-box--blue {
    color: var(--mf-primary);
}

.sfv-icon-box--green {
    color: var(--mf-green);
}

.sfv-icon-box--amber {
    color: #f59e0b;
}

.sfv-icon-box--red {
    color: #ef4444;
}

/* Inline variant */
.icon-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

/* ── Page base ── */
#main {
    opacity: 1;
    animation: mfPageIn 0.75s ease-out forwards;
}



@keyframes mfPageIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Scroll reveal ── */
.mf-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.mf-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════════ */
.mf-section {
    padding: 100px 6vw;
    position: relative;
}

.mf-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mf-container-narrow {
    max-width: 820px;
    margin: 0 auto;
}

.mf-bg-soft {
    background: var(--mf-soft-bg);
}

.center {
    text-align: center;
}

.mf-section-header {
    margin-bottom: 56px;
}

.mf-knowledge-card {
    max-width: 700px;
    margin: 16px auto 0;
    padding: 12px 16px;

    font-size: .9rem;
    line-height: 1.6;

    opacity: .65;

    border-left: 2px solid rgba(255, 255, 255, .15);

    backdrop-filter: blur(8px);

    background: rgba(255, 255, 255, .02);

    border-radius: 12px;
}

.mf-knowledge-card h2 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.mf-knowledge-card p {
    margin: 0;
    font-size: .9rem;
}

.mf-section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-top: 10px;
}

.mf-section-sub {
    color: var(--text-mid);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 12px auto 0;
    line-height: 1.6;
}

.mf-section-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    letter-spacing: -0.5px;
    color: var(--text-dark);
    line-height: 1.15;
    padding: 20px 0;
}

/* ── Eyebrow labels ── */
.mf-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mf-primary);
    background: var(--mf-primary-pale);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.mf-eyebrow-light {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #93c5fd;
    margin-bottom: 14px;
}

.mf-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mf-primary);
    background: var(--mf-primary-pale);
    border: 1px solid var(--mf-primary-lt);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.mf-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mf-green);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: mfLivePulse 2s ease-in-out infinite;
    display: block;
}

@keyframes mfLivePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
    }
}

/* ── Shared buttons ── */
.btn-mf-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mf-primary) 0%, var(--mf-primary-dim) 100%);
    color: #fff;
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18);
    text-align: center;
}

.btn-mf-primary:hover {
    background: linear-gradient(135deg, var(--mf-primary-light) 0%, var(--mf-primary) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
}

.btn-mf-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    color: var(--text-dark);
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 10px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-mf-ghost:hover {
    background: #fff;
    transform: translateY(-3px);
    border-color: var(--mf-primary-lt);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.btn-mf-solid {
    display: inline-block;
    background: var(--mf-green);
    color: #fff;
    padding: 17px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-mf-solid::before {
    content: '';
    position: absolute;
    top: var(--mfy, 50%);
    left: var(--mfx, 50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.55s ease, height 0.55s ease;
    pointer-events: none;
}

.btn-mf-solid:hover::before {
    width: 400px;
    height: 400px;
}

.btn-mf-solid:hover {
    background: var(--mf-green-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(34, 197, 94, 0.4);
}

.btn-mf-outline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 17px 36px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-mf-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-mf-calc {
    display: block;
    width: fit-content;
    margin: 32px auto 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 13px 26px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-mf-calc:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════════ */
.mf-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 140px 6vw 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #fff 0%, #f0f5ff 55%, #e8f0fe 100%);
}

/* Ambient background graph */
.mf-bg-graph {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.mf-bg-graph svg {
    width: 100%;
    height: 100%;
}

/* Soft top-right glow */
.mf-hero-glow {
    position: absolute;
    top: -15%;
    right: -5%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, transparent 65%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.mf-hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* ── Left: content ── */
.mf-hero-left {
    flex: 1;
}

.mf-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--text-dark);
    margin-bottom: 22px;
}

.mf-hero-title span {
    color: var(--mf-primary);
}

.mf-hero-sub {
    font-size: 1.18rem;
    color: var(--text-mid);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.mf-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.mf-start-micro {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 32px;
    align-items: center;
}

/* ── Wealth simulator ── */
.mf-wealth-sim {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 24px;
    max-width: 440px;
    box-shadow: var(--shadow-sm);
}

.mws-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.mws-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mws-btns {
    display: flex;
    gap: 6px;
}

.mws-btn {
    background: var(--off-white);
    border: 1px solid var(--border);
    color: var(--text-mid);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.mws-btn.active {
    background: var(--mf-primary);
    color: #fff;
    border-color: var(--mf-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.mws-btn:hover:not(.active) {
    border-color: var(--mf-primary);
    color: var(--mf-primary);
}

.mws-result {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.mws-approx {
    color: var(--text-light);
    font-size: 0.9rem;
}

.mws-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--mf-green-deep);
    line-height: 1;
    transition: all 0.3s;
}

.mws-rate {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ── Right: Growth card visual ── */
.mf-hero-right {
    flex: 0 0 420px;
    position: relative;
}

.mf-growth-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: mfCardFloat 8s ease-in-out infinite;
}

@keyframes mfCardFloat {

    0%,
    100% {
        transform: translateY(0) rotate(-0.3deg);
    }

    50% {
        transform: translateY(-12px) rotate(0.3deg);
    }
}

.mgc-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
}

.mgc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mf-green);
    animation: mfLivePulse 2s infinite;
}

.mgc-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    flex: 1;
}

.mgc-badge {
    background: var(--mf-green-pale);
    color: var(--mf-green-deep);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.mgc-chart {
    width: 100%;
    display: block;
    margin-bottom: 16px;
}

.mgc-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--off-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.mgc-stat {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
}

.mgc-stat-sep {
    width: 1px;
    background: var(--border);
    align-self: stretch;
}

.mgcs-val {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 3px;
}

.mgcs-val.green {
    color: var(--mf-green-deep);
}

.mgcs-label {
    font-size: 0.68rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Floating mini cards */
.mf-mini-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: mfCardFloat2 10s ease-in-out infinite;
}

@keyframes mfCardFloat2 {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
}

.mf-mini-card--left {
    bottom: -40px;
    left: -40px;
    animation-delay: -3s;
}

.mf-mini-card--right {
    top: -50px;
    right: -36px;
    animation-delay: -6s;
}

.mmc-icon {
    font-size: 1.5rem;
}

.mmc-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.mmc-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
}

/* ══════════════════════════════════════════
   SECTION 2 — INTRO
══════════════════════════════════════════ */
.mf-intro {
    padding-top: 80px;
    padding-bottom: 80px;
}

.mf-intro-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 60px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.mfd-asset-icon {
    font-size: 1.6rem;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.mfd-asset:hover .mfd-asset-icon {
    transform: scale(1.2) rotate(5deg);
}


.mf-intro-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.mf-intro-card h2 {
    font-size: 2.1rem;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.mf-intro-card p {
    font-size: 1.1rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.mf-intro-card p:last-child {
    margin-bottom: 0;
}

/* ══════════════════════════════════════════
   SECTION 3 — WHAT ARE MUTUAL FUNDS
══════════════════════════════════════════ */
.mf-what-wrap {
    display: flex;
    align-items: center;
    gap: 72px;
}

.mf-what-left {
    flex: 1;
}

.mf-what-right {
    flex: 1;
}

.mf-what-left p {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 18px;
}

.mf-benefit-list {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mf-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: transform 0.2s, border-color 0.2s;
}

.mf-benefit:hover {
    transform: translateX(5px);
    border-color: var(--mf-primary-lt);
}

.mf-benefit-icon {
    font-size: 1.3rem;
}

/* ── Flow Diagram ── */
.mf-flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 32px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}


.mf-flow-diagram::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(34, 197, 94, 0.03) 0%, transparent 50%);
    pointer-events: none;
}


.mfd-col {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(248, 250, 255, 0.5);
    border: 1px solid rgba(37, 99, 235, 0.06);
    border-radius: 20px;
    padding: 20px 18px;
    position: relative;
    z-index: 2;
}


.mfd-col:hover {
    background: #fff;
    border-color: var(--mf-primary-lt);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
    transform: translateY(-4px) scale(1.02);
}

.mfd-col.mfd-visible {
    opacity: 1;
    transform: translateY(0);
}

.mfd-col:nth-child(1) {
    transition-delay: 0.1s;
}

.mfd-col:nth-child(3) {
    transition-delay: 0.4s;
}

.mfd-col:nth-child(5) {
    transition-delay: 0.7s;
}


.mfd-investors-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    padding-left: 10px;
}



.mfd-av {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-left: -10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}


.mfd-av:hover {
    transform: translateY(-8px) scale(1.1);
    z-index: 10;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: var(--mf-primary-lt);
}

.mfd-av--dim {
    opacity: 0.6;
}


.mfd-more {
    font-size: 0.77rem;
    color: var(--text-light);
    font-weight: 600;
    margin-left: 6px;
}


.mfd-fund-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}



.mfd-assets-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}



.mfd-asset {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 8px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 1px solid transparent;
    transition: all 0.3s;
}



.mfd-asset:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--mf-primary-lt);
    background: #fff;
}

.mfd-asset-icon {
    font-size: 1.4rem;
    margin-bottom: 2px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.mfd-asset:hover .mfd-asset-icon {
    transform: scale(1.2) rotate(8deg);
}



.mfd-asset--eq {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #dbeafe;
}

.mfd-asset--bd {
    background: #f0fdf4;
    color: #15803d;
    border-color: #dcfce7;
}


.mfd-asset--ot {
    background: var(--off-white);
    color: var(--text-mid);
}

.mfd-tag {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.mfd-sub {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}


.mfd-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 48px;
    z-index: 1;
}

.mfd-arrow-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--mf-primary-lt), var(--mf-primary), var(--mf-green-pale));
    border-radius: 2px;
    position: relative;
}

.mfd-arrow::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--mf-primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--mf-primary);
    animation: mfdPulse 2s infinite;
}


@keyframes mfdPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.mfd-arrow-head {
    display: none;
}


/* ══════════════════════════════════════════
   SECTION 4 — TYPES OF MUTUAL FUNDS
══════════════════════════════════════════ */
.mf-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.mf-type-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.mf-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--mf-primary));
    border-radius: 20px 20px 0 0;
}

.mf-type-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 0 0 2px var(--card-accent, var(--mf-primary));
}

.mtc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mtc-icon {
    font-size: 2rem;
    width: 52px;
    height: 52px;
    background: var(--card-pale, var(--mf-primary-pale));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.mf-type-card:hover .mtc-icon {
    transform: scale(1.1) rotate(-5deg);
}

.mtc-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
}

.mf-type-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.mf-type-card p {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: 18px;
    line-height: 1.55;
}

.mtc-best-for {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 16px;
    font-weight: 500;
}

.mtc-best-for strong {
    color: var(--text-dark);
}

.mtc-bar-wrap {
    margin-top: auto;
}

.mtc-bar-track {
    height: 16px;
    position: relative;
    background: transparent;
    margin-bottom: 16px;
    overflow: visible;
}

/* The tapered background wedge */
.mtc-bar-track::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--off-white);
    clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 65%);
    border-radius: 4px;
    opacity: 0.8;
}

.mtc-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    /* animates via JS */
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    overflow: visible;
}

/* The tapered colored fill */
.mtc-bar-fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-accent, var(--mf-primary));
    clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 65%);
}

/* The slider thumb */
.mtc-bar-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--card-accent, var(--mf-primary));
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.mtc-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════
   SECTION 5 — SIP: THE POWER OF SIP
══════════════════════════════════════════ */
.mf-sip {
    overflow: hidden;
    padding: 0;
}

.mf-sip-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0c1a35 0%, #0f172a 55%, #1a2d5a 100%);
    z-index: 0;
}

.mf-sip::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 65%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.mf-sip-inner {
    padding: 100px 6vw;
    display: flex;
    align-items: center;
    gap: 72px;
    position: relative;
    z-index: 2;
}

.mf-sip-left {
    flex: 1;
}

.mf-sip-right {
    flex: 1;
}

.mf-title-light {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.mf-body-light {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.mf-sip-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mf-sip-list li {
    font-size: 1rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.mf-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--mf-green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Savings vs Investment comparison */
.mf-compare {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mfc-item {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mfc-item .mfc-icon {
    font-size: 1.5rem;
}

.mfc-head {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mfc-val {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.mfc-val span {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 400;
}

.mfc-val.green {
    color: var(--mf-green);
}

.mfc-vs {
    font-size: 0.7rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* ── Compound chart card ── */
.mf-compound-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(20px);
}

.mcc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mcc-header span:first-child {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
}

.mcc-pill {
    background: rgba(34, 197, 94, 0.15);
    color: var(--mf-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
}

.mcc-chart {
    width: 100%;
    display: block;
    margin-bottom: 16px;
}

.mcc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
}

.mcc-stat {
    text-align: center;
    padding: 8px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mcc-stat:last-child {
    border-right: none;
}

.mcc-stat--highlight {
    background: rgba(34, 197, 94, 0.08);
    border-radius: 8px;
}

.mccs-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.mccs-num.green {
    color: var(--mf-green);
}

.mccs-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ══════════════════════════════════════════
   SECTION 6 — WHY CHOOSE SPEEDY FINVEST
══════════════════════════════════════════ */
.mf-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mf-why .mf-eyebrow {
    font-size: 0.84rem;
}

.mf-why .mf-section-header h2 {
    font-size: clamp(2.2rem, 3.85vw, 3.08rem);
}

.mf-why .mf-section-sub {
    font-size: 1.16rem;
}

.mf-why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.mf-why-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
    border-color: var(--mf-primary-lt);
}

.mwc-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--mf-primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 18px;
    transition: transform 0.3s;
}

.mf-why-card:hover .mwc-icon-wrap {
    transform: scale(1.12) rotate(-5deg);
}

.mf-why-card h4 {
    font-size: 1.16rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.mf-why-card p {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.55;
    margin: 0;
}

/* ══════════════════════════════════════════
   SECTION 7 — HOW WE HELP YOU (PROCESS)
══════════════════════════════════════════ */
.mf-steps-outer {
    position: relative;
    padding-top: 32px;
}

/* Connecting track line */
.mf-steps-track {
    position: absolute;
    top: 56px;
    left: calc(10% + 28px);
    right: calc(10% + 28px);
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.mf-steps-track-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--mf-primary), #53d7ff);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.mf-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.mf-process .mf-eyebrow {
    font-size: 0.84rem;
}

.mf-process .mf-section-header h2 {
    font-size: clamp(2.2rem, 3.85vw, 3.08rem);
}

.mf-process .mf-section-sub {
    font-size: 1.16rem;
}

.mf-step {
    text-align: center;
    transition: transform 0.3s;
}

.mf-step:hover {
    transform: translateY(-6px);
}

.mfs-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #90b2ec;
    border: 2px solid var(--mf-primary-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 10px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.mf-step.active .mfs-circle,
.mf-step:hover .mfs-circle {
    background: #f7faff;
    border-color: var(--mf-primary);
    transform: scale(1.1);
}

.mf-step.active .mfs-circle {
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15);
}

.mfs-num {
    font-family: 'Outfit', sans-serif;
    font-size: 0.79rem;
    font-weight: 800;
    color: var(--mf-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mf-step h3,
.mf-step h4 {
    font-size: 1.01rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-family: 'Outfit', sans-serif;
    line-height: 1.35;
}

.mf-step p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.5;
    margin: 0;
}

/* ══════════════════════════════════════════
   SECTION 8 — FAQ
══════════════════════════════════════════ */
.mf-accordion {
    margin-top: 0;
}

.mfa-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.mfa-item:hover {
    border-color: var(--mf-primary-lt);
}

.mfa-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.mfa-icon {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
}

.mfa-item.open .mfa-header {
    border-bottom: 1px solid var(--border);
}

.mfa-item.open .mfa-icon {
    transform: rotate(0deg);
    color: var(--mf-primary);
}

.mfa-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s ease, padding 0.35s;
    padding: 0 24px;
    background: #fafcff;
}

.mfa-body p {
    margin: 0;
    color: var(--text-mid);
    font-size: 1.02rem;
    line-height: 1.72;
}

.mfa-item.open .mfa-body {
    max-height: 400px;
    padding: 20px 24px;
}

.mf-faq-helper {
    text-align: center;
    margin-top: 22px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.mf-faq-helper a {
    color: var(--mf-primary);
    font-weight: 600;
    text-decoration: none;
}

/* ══════════════════════════════════════════
   SECTION 9 — WHO SHOULD INVEST
══════════════════════════════════════════ */
.mf-who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mf-who-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.mf-who-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    pointer-events: none;
}

.mf-who-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.mf-who-card:hover::after {
    border-color: var(--mf-primary);
}

.mwho-icon {
    margin-bottom: 16px;
    display: inline-flex;
    transition: transform 0.3s;
}

.mf-who-card:hover .mwho-icon {
    transform: scale(1.15);
}

.mf-who-card h4 {
    font-size: 1.16rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.mf-who-card p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.55;
    margin-bottom: 16px;
}

.mwho-tag {
    display: inline-block;
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--mf-primary);
    background: var(--mf-primary-pale);
    border: 1px solid var(--mf-primary-lt);
    padding: 4px 12px;
    border-radius: 12px;
}

/* ══════════════════════════════════════════
   SECTION 10 — TRUST BLOCK
══════════════════════════════════════════ */
.mf-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mts-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.mts-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mts-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--mf-primary-deep);
    line-height: 1;
    margin-bottom: 10px;
}

.mts-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.mts-sub {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ══════════════════════════════════════════
   SECTION 11 — FINAL CTA
══════════════════════════════════════════ */
.mf-final {
    position: relative;
    padding: 120px 6vw;
    background: #f8f9ff;
    /* Deep cinematic navy */
    overflow: hidden;
}

/* Animated background beams */
.mf-final-beams {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(37, 99, 235, 0.1) 45deg,
            transparent 90deg,
            rgba(34, 197, 94, 0.08) 135deg,
            transparent 180deg,
            rgba(37, 99, 235, 0.1) 225deg,
            transparent 270deg,
            rgba(34, 197, 94, 0.08) 315deg,
            transparent 360deg);
    animation: mfBeamRotate 25s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes mfBeamRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Central soft glow */
.mf-final-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.mf-final-card {
    position: relative;
    z-index: 2;
    background: radial-gradient(ellipse at top left, #0059ff96 0%, #091b42 60%, rgb(0, 67, 175) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
    border-radius: 48px;
    padding: 100px 60px;
    text-align: center;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    max-width: 1200px;
    margin: 0 auto;
}

.mf-final-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.mf-final-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    background-color: rgba(255, 255, 255, 0.033);
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-radius: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: mfIconFloat 4s ease-in-out infinite;
}

.mf-final-icon svg {
    width: 130px;
    height: 130px;
    stroke-width: 2px;
    color: #fff;
    opacity: 0.95;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.mf-final-icon::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    z-index: -1;
    filter: blur(30px);
    pointer-events: none;
}

@keyframes mfIconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(5deg);
    }
}

.mf-final-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.mf-final-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    line-height: 1.6;
}

.mf-final-tagline {
    font-size: 1.05rem;
    color: var(--mf-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 48px !important;
}

.mf-final-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.mf-final-micro {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 500;
    margin-bottom: 0 !important;
}




/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .mf-hero-inner {
        flex-direction: column;
    }

    .mf-hero-left,
    .mf-hero-right {
        width: 100%;
    }

    .mf-hero-right {
        display: flex;
        justify-content: center;
    }

    .mf-growth-card {
        max-width: 460px;
    }

    .mf-mini-card--left {
        left: 0;
    }

    .mf-mini-card--right {
        right: 0;
    }

    .mf-what-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .mf-sip-inner {
        flex-direction: column;
        gap: 48px;
    }

    .mf-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf-steps {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .mf-step {
        flex: 0 0 calc(33.33% - 27px);
        max-width: calc(33.33% - 27px);
        text-align: center;
    }

    .mfs-circle {
        margin: 0 auto 16px !important;
    }

    .mfs-content h3,
    .mfs-content h4 {
        margin-top: 0;
        margin-bottom: 8px;
    }

    .mf-steps-track {
        display: none;
    }

    .mf-who-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mf-section {
        padding: 60px 4%;
    }

    .mf-hero {
        min-height: auto;
        padding: 100px 4% 20px;
    }

    .mf-hero-inner {
        gap: 30px;
    }

    .mf-hero-title {
        font-size: clamp(2rem, 7vw, 2.8rem);
        letter-spacing: -1px;
    }

    .mf-hero-sub {
        font-size: 1rem;
    }

    .mf-hero-ctas {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .btn-mf-primary,
    .btn-mf-ghost {
        width: auto;
        padding: 9px 18px;
        font-size: 0.85rem;
    }

    .mf-wealth-sim {
        max-width: none;
    }

    .mws-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .mf-growth-card {
        padding: 19px;
        border-radius: 16px;
        height: 69%;
    }

    .mgc-chart {
        margin-bottom: 8px;
    }

    .mgc-stat {
        padding: 8px 5px;
    }

    .mgcs-val {
        font-size: 0.95rem;
    }

    .mgcs-label {
        font-size: 0.65rem;
    }

    .mf-mini-card {
        display: none;
    }

    .mf-intro-card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .mf-intro-card h2 {
        font-size: 1.6rem;
    }

    .mf-flow-diagram {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
    }

    .mfd-arrow {
        flex-direction: column;
        transform: none;
        height: 50px;
        animation: mfdArrowBounce 2s infinite ease-in-out;
    }

    .mfd-arrow-line {
        width: 2px;
        height: 100%;
    }

    @keyframes mfdArrowBounce {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(6px);
        }
    }

    .mf-sip-left {
        text-align: center;
    }

    .mf-sip-list {
        align-items: center;
    }

    .mf-compare {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 400px;
        margin: 40px auto 32px;
    }

    .mfc-item {
        width: 100%;
        justify-content: center;
        padding: 20px;
    }

    .mf-types-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mf-type-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .mf-sip-inner {
        padding: 60px 4%;
    }

    .mf-title-light {
        font-size: 1.8rem;
    }

    .mf-compare {
        flex-direction: column;
        gap: 8px;
    }

    .mfc-vs {
        display: none;
    }

    .mcc-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .mccs-num {
        font-size: 0.95rem;
    }

    .mf-why-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mf-why-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .mf-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mf-step {
        flex: none;
        max-width: none;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 0;
    }

    .mfs-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mfs-content>* {
        margin: 0 !important;
    }

    .mfs-circle {
        margin: 0;
        flex-shrink: 0;
    }

    .mfs-num {
        font-size: 0.7rem;
        margin-bottom: 2px !important;
    }

    .mf-step h3,
    .mf-step h4 {
        font-size: 0.95rem;
    }

    .mf-step p {
        font-size: 0.85rem;
        color: var(--text-mid);
    }

    .mfa-header {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .mfa-item.open .mfa-body {
        padding: 16px 20px;
    }

    .mf-who-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mf-who-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .mf-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .mts-item {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .mts-num {
        font-size: 2.2rem;
    }

    .mf-final-card {
        padding: 56px 24px;
        border-radius: 20px;
    }

    .mf-final-content h2 {
        font-size: clamp(1.7rem, 5vw, 2rem);
    }

    .mf-final-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-mf-solid,
    .btn-mf-outline {
        width: 100%;
        text-align: center;
        border-radius: 12px;
        padding: 14px 24px;
        font-size: 0.97rem;
    }
}

@media (max-width: 400px) {
    .mf-hero-title {
        font-size: 1.8rem;
    }

    .mf-trust-grid {
        grid-template-columns: 1fr;
    }

    .mts-num {
        font-size: 2rem;
    }

    .mcc-stats {
        grid-template-columns: 1fr;
    }

    .mcc-stat {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mcc-stat:last-child {
        border-bottom: none;
    }

    /* Process Steps Extra Mobile Adjustments */
    .mfs-circle {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }

    .mf-step {
        gap: 12px;
    }

    .mf-step h3,
    .mf-step h4 {
        font-size: 0.88rem;
    }

    .mf-step p {
        font-size: 0.8rem;
    }
}

/* ══════════════════════════════════════════
   MODAL — SIP CALCULATOR (Glassmorphic)
   ══════════════════════════════════════════ */
.mf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    /* Vertically center */
    justify-content: center;
    /* Horizontally center */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 24px;
    /* Breathing room for the card */
}


.mf-modal-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mf-modal-card {
    width: 100%;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 40px;
    /* Slightly reduced padding */
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: calc(100vh - 48px);
    /* Ensure it fits with padding */
    overflow-y: auto;
    margin: auto;
    /* Extra insurance for flex centering */
}


.mf-modal-overlay.is-active .mf-modal-card {
    transform: translateY(0) scale(1);
}

.mf-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    color: var(--text-dark);
    z-index: 10;
}

.mf-modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}

/* ── Calculator Shared ── */
.edu-label {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mf-primary);
    background: var(--mf-primary-pale);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.edu-title {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.edu-subtitle {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: 32px;
}

.ec-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px;
    border-radius: 40px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.ec-tab {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-mid);
    cursor: pointer;
    transition: all 0.2s;
}

.ec-tab.active {
    background: #fff;
    color: var(--mf-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ec-body {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.ec-inputs {
    flex: 1;
}

.ec-panel {
    display: none;
}

.ec-panel.active {
    display: block;
}

.ec-field {
    margin-bottom: 24px;
}

.ec-field-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ec-field-top label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.ec-val {
    font-family: 'Outfit';
    font-size: 1rem;
    font-weight: 700;
    color: var(--mf-primary);
}

.ec-field input[type="range"] {
    width: 100%;
    accent-color: var(--mf-primary);
    height: 6px;
    cursor: pointer;
}

/* ── Result Card ── */
.ec-result-card {
    width: 320px;
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.ec-donut-wrap {
    position: relative;
    width: 180px;
    height: 180px;
}

.ec-donut {
    width: 100%;
    height: 100%;
}

.ec-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.edc-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.edc-num {
    font-family: 'Outfit';
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--mf-primary-deep);
}

.ec-legend {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ecl-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.ecl-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ecl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ecl-val {
    font-weight: 700;
    color: var(--text-dark);
}

.full-width {
    width: 100%;
    display: block;
}

/* ── Prevent scroll when modal open ── */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .ec-body {
        flex-direction: column;
        gap: 32px;
    }

    .ec-result-card {
        width: 100%;
    }

    .mf-modal-card {
        padding: 32px 20px;
    }

    .mf-final {
        padding: 80px 4%;
    }

    .mf-final-card {
        padding: 60px 24px;
        border-radius: 32px;
    }

    .mf-final-icon {
        width: 110px;
        height: 110px;
        border-radius: 28px;
        margin-bottom: 24px;
    }

    .mf-final-icon svg {
        width: 54px;
        height: 54px;
    }

    .mf-final-icon::before {
        width: 100px;
        height: 100px;
    }

    .mf-final-tagline {
        margin-bottom: 32px !important;
    }
}