:root {
    --blue: #0c83ff;
    --blue-dark: #0062cc;
    --blue-light: #4aa3ff;
    --blue-glow: rgba(12, 131, 255, .25);
    --gold: #f5a623;
    --cream: #fdf9f3;
    --ink: #0a0e1a;
    --ink-60: rgba(10, 14, 26, .6);
    --ink-20: rgba(10, 14, 26, .12);
    --slate: #8896b0;
    --surface: #f0f4fb;
    --radius: 16px;
    --radius-lg: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .4;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ── Custom Buttons ── */
.btn-mfi {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
    border: none;
}

.btn-mfi-lg {
    padding: 13px 30px;
    font-size: 1rem;
}

.btn-mfi-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 18px var(--blue-glow);
}

.btn-mfi-primary:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px var(--blue-glow);
}

.btn-mfi-outline {
    background: transparent;
    border: 1.5px solid var(--ink-20);
    color: var(--ink);
}

.btn-mfi-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-mfi-white {
    background: #fff;
    color: var(--ink);
}

.btn-mfi-white:hover {
    background: var(--cream);
    color: var(--ink);
    transform: translateY(-1px);
}

.btn-mfi-ghost {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .15);
}

.btn-mfi-ghost:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

/* ══ NAVBAR ══ */
.navbar-mfi {
    background: rgba(253, 249, 243, .88) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ink-20);
    height: 72px;
}

.nav-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--blue);
    border-radius: 10px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 14px var(--blue-glow);
    flex-shrink: 0;
}

.nav-logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ink);
    letter-spacing: -.02em;
}

.nav-logo-text span {
    color: var(--blue);
}

.navbar-mfi .nav-link {
    font-size: .88rem;
    font-weight: 500;
    color: var(--ink-60) !important;
    transition: color .2s;
    padding: 8px 14px !important;
}

.navbar-mfi .nav-link:hover {
    color: var(--blue) !important;
}

.navbar-toggler {
    border: 1.5px solid var(--ink-20);
    border-radius: 10px;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

#navMain {
    background: rgba(253, 249, 243, .96);
}

@media(max-width:991.98px) {
    #navMain {
        padding: 16px 20px;
        border-bottom: 1px solid var(--ink-20);
    }

    .navbar-mfi {
        height: auto;
    }
}

/* ══ HERO ══ */
.hero-section {
    min-height: 100vh;
    padding-top: 96px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-blob-1 {
    width: 700px;
    height: 700px;
    background: var(--blue);
    top: -200px;
    right: -100px;
    opacity: .12;
}

.hero-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    bottom: -100px;
    left: 80px;
    opacity: .08;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    background: #fff;
    border: 1px solid var(--ink-20);
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--ink-60);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.hero-badge-dot {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--ink);
}

.hero-title .accent {
    color: var(--blue);
}

.hero-title .accent-gold {
    color: var(--gold);
    position: relative;
}

.hero-title .accent-gold::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    border-radius: 2px;
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-60);
    font-weight: 300;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    color: var(--slate);
    flex-wrap: wrap;
}

.trust-avatars {
    display: flex;
}

.trust-avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--cream);
    background: linear-gradient(135deg, var(--blue-light), var(--blue));
    margin-left: -8px;
    display: grid;
    place-items: center;
    font-size: .65rem;
    font-weight: 700;
    color: #fff;
}

.trust-avatars span:first-child {
    margin-left: 0;
}

/* Dashboard Mock */
.dashboard-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(10, 14, 26, .12), 0 4px 20px rgba(10, 14, 26, .06);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.db-header {
    background: linear-gradient(135deg, var(--blue), #0568d4);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.db-header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.db-header-left {
    position: relative;
    z-index: 1;
}

.db-header-label {
    font-family: 'Syne', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .7);
}

.db-header-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-top: 2px;
}

.db-header-badge {
    background: rgba(255, 255, 255, .15);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.db-body {
    padding: 20px 24px;
}

.db-metric {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 14px;
}

.db-metric-label {
    font-size: .68rem;
    font-weight: 500;
    color: var(--slate);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.db-metric-value {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ink);
}

.db-metric-trend {
    font-size: .68rem;
    font-weight: 500;
    margin-top: 2px;
}

.up {
    color: #10b981
}

.down {
    color: #ef4444
}

.db-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 80px;
    margin-top: 4px;
}

.bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
}

.bar-label {
    font-size: .58rem;
    color: var(--slate);
    margin-top: 3px;
}

.db-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-top: 1px solid var(--ink-20);
    font-size: .75rem;
    color: var(--slate);
}

.db-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.3)
    }
}

.hero-visual-wrap {
    position: relative;
    padding: 24px 50px 24px 55px;
}

@media(max-width:991.98px) {
    .hero-visual-wrap {
        padding: 0;
    }
}

.float-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(10, 14, 26, .12);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
    z-index: 2;
}

.float-card-1 {
    top: -16px;
    left: -44px;
    animation: float 5s ease-in-out infinite;
    animation-delay: 1s;
}

.float-card-2 {
    bottom: 20px;
    right: -36px;
    animation: float 7s ease-in-out infinite;
    animation-delay: 2.5s;
}

.fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.fc-icon-blue {
    background: rgba(12, 131, 255, .12)
}

.fc-icon-gold {
    background: rgba(245, 166, 35, .12)
}

.fc-label {
    font-size: .68rem;
    color: var(--slate)
}

.fc-value {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink)
}

@media(max-width:991.98px) {
    .float-card {
        display: none
    }
}

/* ══ STATS ══ */
.stats-strip {
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), var(--gold), transparent);
}

.stat-item {
    padding: 40px 32px;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

@media(max-width:991.98px) {
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        padding: 28px 24px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

@media(max-width:575.98px) {
    .stat-item {
        padding: 24px 16px;
    }
}

.stat-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: -.03em;
    background: linear-gradient(135deg, #fff, var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: .82rem;
    color: rgba(255, 255, 255, .4);
}

/* ══ SECTION COMMON ══ */
.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1.1;
}

.section-desc {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--ink-60);
    font-weight: 300;
}

/* ══ FEATURE CARDS ══ */
.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--ink-20);
    height: 100%;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 131, 255, .04), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(12, 131, 255, .12);
    border-color: rgba(12, 131, 255, .2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured {
    background: linear-gradient(135deg, var(--blue), #0568d4);
    border-color: transparent;
}

.feature-card.featured .feature-title {
    color: #fff
}

.feature-card.featured .feature-desc {
    color: rgba(255, 255, 255, .75)
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, .15)
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(12, 131, 255, .1);
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px
}

.feature-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: .88rem;
    line-height: 1.7;
    color: var(--ink-60);
    font-weight: 300;
}

@media(max-width:575.98px) {
    .feature-card {
        padding: 24px
    }
}

/* ══ HOW IT WORKS ══ */
.how-section {
    background: var(--ink);
}

.how-section .section-title {
    color: #fff
}

.how-section .section-desc {
    color: rgba(255, 255, 255, .5)
}

.how-section .section-tag {
    color: var(--gold)
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(12, 131, 255, .15);
    border: 1px solid rgba(12, 131, 255, .2);
    display: grid;
    place-items: center;
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
}

.step-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.step-desc {
    font-size: .85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .4);
    font-weight: 300;
}

.step-wrap {
    position: relative;
}

.step-wrap:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 36px;
    right: -16px;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    opacity: .35;
}

@media(max-width:991.98px) {
    .step-wrap::after {
        display: none
    }
}

/* ══ MODULE ROWS ══ */
.module-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 20px;
    border: 1px solid var(--ink-20);
    transition: all .25s;
    height: 100%;
}

.module-row:hover {
    border-color: rgba(12, 131, 255, .25);
    box-shadow: 0 8px 32px rgba(12, 131, 255, .08);
    transform: translateX(4px);
}

.module-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.module-icon svg {
    width: 20px;
    height: 20px
}

.module-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    margin-bottom: 3px;
}

.module-desc {
    font-size: .8rem;
    color: var(--slate);
    margin: 0;
}

.module-arrow {
    margin-left: auto;
    color: var(--ink-20);
    flex-shrink: 0;
    transition: all .25s;
}

.module-row:hover .module-arrow {
    color: var(--blue);
    transform: translateX(4px);
}

/* ══ CTA ══ */
.cta-box {
    background: linear-gradient(135deg, var(--ink) 0%, #132040 100%);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: var(--blue);
    border-radius: 50%;
    filter: blur(120px);
    opacity: .18;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 80px;
    width: 200px;
    height: 200px;
    background: var(--gold);
    border-radius: 50%;
    filter: blur(80px);
    opacity: .1;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-tag {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    letter-spacing: -.03em;
    color: #fff;
    line-height: 1.1;
}

.cta-desc {
    font-size: .95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .5);
    font-weight: 300;
}

@media(max-width:767.98px) {
    .cta-box {
        border-radius: 20px
    }
}

/* ══ FOOTER ══ */
footer {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    background: var(--blue);
    border-radius: 8px;
    display: grid;
    place-items: center;
}

.footer-logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: .95rem;
    color: #fff;
}

.footer-tagline {
    font-size: .85rem;
    color: rgba(255, 255, 255, .35);
    line-height: 1.6;
    font-weight: 300;
}

.footer-col-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    font-size: .85rem;
    color: rgba(255, 255, 255, .35);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--blue-light);
}

.footer-divider {
    border-color: rgba(255, 255, 255, .07) !important;
}

.footer-copy {
    font-size: .78rem;
    color: rgba(255, 255, 255, .25);
}

.badge-mfi {
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: .7rem;
    color: rgba(255, 255, 255, .3);
    background: transparent;
    white-space: nowrap;
}

/* ══ SCROLL REVEAL ══ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .12s
}

.reveal-delay-2 {
    transition-delay: .24s
}

.reveal-delay-3 {
    transition-delay: .36s
}