/* GLOBAL VARIABLES */
:root {
    --primary-blue: #7952C7;
    --primary-purple: #7952C7;
    --secondary-blue: #906AD8;
    --accent-purple: #8962D7;
    --lavender-tint: #e9e2f8;
    --lavender-tint-soft: #f7f3fd;
    --lavender-tint-border: #d9caf3;
    --lavender-card: #f2edf9;
    --success-green: #16A34A;
    --danger-red: #EF4444;
    --main-text: #111827;
    --secondary-text: #667085;
    --muted-text: #98A2B3;
    --border-color: #E6DCF5;
    --page-bg: #FAF8FD;
    --card-bg: #FFFFFF;
    --card-bg-subtle: #F8FAFC;
    --header-bg: rgba(255, 255, 255, 0.92);
    --modal-bg: #FFFFFF;
    --input-bg: #F8FAFC;
    --input-border: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(121, 82, 199, 0.06);
    --shadow-md: 0 10px 30px rgba(121, 82, 199, 0.10);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.08);
    
    --bg-tinted: #F5EFFC; /* Soft lavender tint for sections */
    
    --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    
    --gradient-primary: linear-gradient(135deg, #7952C7 0%, #906AD8 50%, #B69BF0 100%);
    --gradient-banner: linear-gradient(135deg, #744BC2 0%, #8962D7 40%, #A989EB 75%, #E9E2F8 100%);
    --gradient-accent: linear-gradient(135deg, #815FC9 0%, #9A7BD6 50%, #C4AEED 100%);
}

/* DARK THEME SYSTEM */
[data-theme="dark"] {
    --primary-blue: #9E7BEE;
    --primary-purple: #9E7BEE;
    --secondary-blue: #B69BF0;
    --accent-purple: #A78BFA;
    --lavender-tint: rgba(158, 123, 238, 0.16);
    --lavender-tint-soft: rgba(158, 123, 238, 0.08);
    --lavender-tint-border: rgba(158, 123, 238, 0.3);
    --lavender-card: #1E1B2E;
    --success-green: #34D399;
    --danger-red: #F87171;
    --main-text: #F8FAFC;
    --secondary-text: #94A3B8;
    --muted-text: #64748B;
    --border-color: rgba(158, 123, 238, 0.22);
    --page-bg: #0B0A12;
    --card-bg: #14121F;
    --card-bg-subtle: #1A1728;
    --header-bg: rgba(11, 10, 18, 0.94);
    --modal-bg: #161324;
    --input-bg: #1E1B2E;
    --input-border: rgba(158, 123, 238, 0.25);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
    --bg-tinted: #120F1D;
    --gradient-banner: linear-gradient(135deg, #3B1F70 0%, #542B9E 50%, #2A1552 100%);
}

/* GENERAL STYLES & STRICT MOBILE OVERFLOW PROTECTION */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
}

body {
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    position: relative;
    font-family: var(--font-primary);
    color: var(--main-text);
    background-color: var(--page-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

section[id] {
    scroll-margin-top: 85px;
}

/* TYPOGRAPHY OVERRIDES */
.text-main { color: var(--main-text) !important; }
.text-secondary-text { color: var(--secondary-text) !important; }
.text-muted-text { color: var(--muted-text) !important; }
.text-primary-accent { color: var(--primary-purple) !important; }
.text-success-green { color: var(--success-green) !important; }
.text-purple { color: var(--accent-purple) !important; }

.bg-page { background-color: var(--page-bg) !important; }
.bg-tinted-blue { background-color: var(--bg-tinted) !important; }
.bg-success-subtle { background-color: rgba(22, 163, 74, 0.1) !important; }

.tracking-wide { letter-spacing: 0.05em; }

/* CONTAINER & SPACING */
.custom-container {
    max-width: 1240px;
}
.section-padding {
    padding-top: 96px;
    padding-bottom: 96px;
}
@media (max-width: 991.98px) {
    .section-padding { padding-top: 72px; padding-bottom: 72px; }
}
@media (max-width: 767.98px) {
    .section-padding { padding-top: 56px; padding-bottom: 56px; }
}

/* HEADER */
.header-nav {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 76px;
    z-index: 100;
    transition: all 0.25s ease;
}
.navbar-brand {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 22px;
    color: var(--main-text);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}
.navbar-brand:hover {
    transform: translateY(-1px);
}

/* BRAND LOGO & ICON WITH 3D ANIMATION */
.brand-logo-img {
    height: 42px;
    max-height: 46px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 10px rgba(121, 82, 199, 0.22));
}

.navbar-brand:hover .brand-logo-img {
    transform: scale(1.04) translateY(-1px);
    filter: drop-shadow(0 6px 16px rgba(186, 1, 181, 0.38));
}

.brand-icon-coin {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 4px 12px rgba(186, 1, 181, 0.35));
    animation: coinPulseFloat 4s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-icon-coin-sm {
    width: 26px;
    height: 26px;
    animation: coinPulseFloat 4s ease-in-out infinite;
}

.navbar-brand:hover .brand-icon-coin,
.footer-logo:hover .brand-icon-coin {
    transform: scale(1.12) rotate(8deg);
    filter: drop-shadow(0 6px 16px rgba(186, 1, 181, 0.55));
}

@keyframes coinPulseFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 4px 12px rgba(186, 1, 181, 0.32));
    }
    50% {
        transform: translateY(-4px) rotate(4deg);
        filter: drop-shadow(0 8px 18px rgba(121, 82, 199, 0.45));
    }
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--main-text) !important;
    transition: color 0.2s ease;
}
.nav-link:hover {
    color: var(--primary-purple) !important;
}

@media (max-width: 991.98px) {
    .header-nav {
        height: auto;
        min-height: 68px;
        background-color: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 18px rgba(121, 82, 199, 0.06);
        border-bottom: 1px solid var(--lavender-tint-border);
    }
    .header-nav .navbar-collapse {
        background-color: #FFFFFF;
        border-radius: 16px;
        padding: 16px 20px;
        margin-top: 10px;
        margin-bottom: 12px;
        box-shadow: 0 12px 30px rgba(121, 82, 199, 0.12);
        border: 1px solid var(--lavender-tint-border);
    }
    .header-nav .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 15.5px;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    }
    .header-nav .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    .header-nav .btn-auth-login,
    .header-nav .btn-auth-signup,
    .header-nav .btn-connect-wallet {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

/* BUTTONS */
.btn-primary-custom {
    font-family: var(--font-primary);
    background: var(--gradient-primary);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 16px;
    border-radius: 14px;
    height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    box-shadow: 0 8px 20px rgba(121, 82, 199, 0.28);
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-primary-custom:hover {
    background: linear-gradient(135deg, #673EB8 0%, #7D55CB 100%);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(121, 82, 199, 0.38);
}
.btn-secondary-custom {
    font-family: var(--font-primary);
    background-color: #FFFFFF;
    color: var(--main-text);
    font-weight: 700;
    font-size: 16px;
    border-radius: 14px;
    height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-secondary-custom:hover {
    background-color: var(--lavender-tint-soft);
    color: var(--primary-purple);
}
.btn-outline-secondary-custom {
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--main-text) !important;
    font-weight: 700;
    font-size: 16px;
    border-radius: 14px;
    height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--lavender-tint-border);
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-outline-secondary-custom:hover {
    background: #FFFFFF;
    border-color: var(--primary-purple);
    color: var(--primary-purple) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(121, 82, 199, 0.18);
}
.header-nav .btn-auth-login,
a.btn-auth-login,
a.btn-auth-login:link,
a.btn-auth-login:visited,
.btn-auth-login {
    font-family: var(--font-primary, 'Inter', sans-serif) !important;
    background: rgba(121, 82, 199, 0.05) !important;
    color: var(--primary-purple, #7952C7) !important;
    border: 1.5px solid var(--primary-purple, #7952C7) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    border-radius: 12px !important;
    height: 42px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: all 0.22s ease-in-out !important;
    box-shadow: 0 2px 6px rgba(121, 82, 199, 0.08) !important;
}
.header-nav .btn-auth-login:hover,
a.btn-auth-login:hover,
.btn-auth-login:hover {
    background: var(--primary-purple, #7952C7) !important;
    color: #FFFFFF !important;
    border-color: var(--primary-purple, #7952C7) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(121, 82, 199, 0.32) !important;
    text-decoration: none !important;
}
.header-nav .btn-auth-login:active,
a.btn-auth-login:active,
.btn-auth-login:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(121, 82, 199, 0.2) !important;
}

.header-nav .btn-auth-signup,
a.btn-auth-signup,
a.btn-auth-signup:link,
a.btn-auth-signup:visited,
.btn-auth-signup,
.btn-connect-wallet {
    font-family: var(--font-primary, 'Inter', sans-serif) !important;
    background: var(--gradient-primary, linear-gradient(135deg, #7952C7 0%, #906AD8 50%, #B69BF0 100%)) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    border-radius: 12px !important;
    height: 42px !important;
    padding: 0 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(121, 82, 199, 0.32) !important;
    transition: all 0.22s ease-in-out !important;
}
.header-nav .btn-auth-signup:hover,
a.btn-auth-signup:hover,
.btn-auth-signup:hover,
.btn-connect-wallet:hover {
    background: linear-gradient(135deg, #673EB8 0%, #7D55CB 100%) !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(121, 82, 199, 0.45) !important;
    text-decoration: none !important;
}
.header-nav .btn-auth-signup:active,
a.btn-auth-signup:active,
.btn-auth-signup:active,
.btn-connect-wallet:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(121, 82, 199, 0.25) !important;
}

/* CARDS */
.th-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}
.th-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

/* HERO SECTION */
.hero-gradient {
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(144, 106, 216, 0.16) 0%, rgba(233, 226, 248, 0.25) 45%, rgba(255,255,255,0) 75%);
    z-index: 0;
    pointer-events: none;
}
.hero-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 68px;
    line-height: 1.0;
    letter-spacing: -2.5px;
    color: var(--main-text);
}
.hero-subtitle {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.25;
    color: var(--main-text);
}
.hero-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    color: var(--secondary-text);
    max-width: 540px;
}
.hero-eyebrow {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
    color: var(--primary-purple);
    background-color: var(--lavender-tint);
    border: 1px solid var(--lavender-tint-border);
    border-radius: 9999px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-buttons-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.trust-indicators-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--main-text);
}
.trust-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

/* FEATURES STRIP (2nd section) */
.features-strip-section {
    background: linear-gradient(180deg, #FAF8FD 0%, #FFFFFF 100%);
    border-top: 1px solid var(--lavender-tint-border);
    border-bottom: 1px solid var(--lavender-tint-border);
    padding: 68px 0;
    position: relative;
    z-index: 10;
}

.feature-col {
    position: relative;
}

/* Subtle vertical dividers between columns on desktop */
@media (min-width: 992px) {
    .feature-col:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 15%;
        bottom: 15%;
        right: 0;
        width: 1px;
        background: linear-gradient(180deg, rgba(217, 202, 243, 0) 0%, rgba(217, 202, 243, 0.7) 50%, rgba(217, 202, 243, 0) 100%);
    }
}

/* Tablet 2x2 dividers */
@media (min-width: 576px) and (max-width: 991.98px) {
    .feature-col:nth-child(odd)::after {
        content: "";
        position: absolute;
        top: 15%;
        bottom: 15%;
        right: 0;
        width: 1px;
        background: linear-gradient(180deg, rgba(217, 202, 243, 0) 0%, rgba(217, 202, 243, 0.6) 50%, rgba(217, 202, 243, 0) 100%);
    }
}

.feature-strip-item {
    padding: 16px 24px;
    text-align: center;
    cursor: default;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    /* Load animation: fade in and move up */
    animation: featureFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.feature-col:nth-child(1) .feature-strip-item { animation-delay: 0.05s; }
.feature-col:nth-child(2) .feature-strip-item { animation-delay: 0.15s; }
.feature-col:nth-child(3) .feature-strip-item { animation-delay: 0.25s; }
.feature-col:nth-child(4) .feature-strip-item { animation-delay: 0.35s; }

@keyframes featureFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon container with soft gradient */
.feature-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Subtle idle breathing/floating animation */
    animation: iconBreathe 4s ease-in-out infinite alternate;
}

.feature-col:nth-child(2) .feature-icon-container { animation-delay: -1s; }
.feature-col:nth-child(3) .feature-icon-container { animation-delay: -2s; }
.feature-col:nth-child(4) .feature-icon-container { animation-delay: -3s; }

@keyframes iconBreathe {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-3px) scale(1.02);
    }
}

/* Gradient variants */
.icon-gradient-indigo {
    background: var(--lavender-tint);
    color: var(--primary-purple);
    border: 1px solid var(--lavender-tint-border);
    box-shadow: 0 4px 14px rgba(121, 82, 199, 0.12);
}
.icon-gradient-blue {
    background: var(--lavender-tint);
    color: var(--secondary-blue);
    border: 1px solid var(--lavender-tint-border);
    box-shadow: 0 4px 14px rgba(144, 106, 216, 0.12);
}
.icon-gradient-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    color: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}
.icon-gradient-purple {
    background: var(--lavender-tint);
    color: var(--accent-purple);
    border: 1px solid var(--lavender-tint-border);
    box-shadow: 0 4px 14px rgba(121, 82, 199, 0.12);
}

.feature-icon-container i {
    font-size: 24px;
    transition: transform 0.35s ease;
}

/* Feature title & description */
.feature-strip-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16.5px;
    color: var(--main-text);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    transition: color 0.25s ease;
}

.feature-strip-desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--secondary-text);
    max-width: 250px;
    margin: 0 auto;
}

/* Hover micro-interactions */
.feature-strip-item:hover .feature-icon-container {
    transform: scale(1.08) translateY(-2px);
}
.feature-strip-item:hover .icon-gradient-indigo {
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.22);
}
.feature-strip-item:hover .icon-gradient-blue {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
}
.feature-strip-item:hover .icon-gradient-green {
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.22);
}
.feature-strip-item:hover .icon-gradient-purple {
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.22);
}
.feature-strip-item:hover .feature-icon-container i {
    transform: rotate(4deg) scale(1.05);
}
.feature-strip-item:hover .feature-strip-title {
    color: var(--primary-blue);
}

/* Hero Columns on Desktop */
@media (min-width: 992px) {
    .hero-col-left {
        max-width: 49%;
    }
    .hero-col-right {
        max-width: 51%;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 110px !important;
        padding-bottom: 75px !important;
    }
    .hero-title {
        font-size: 44px;
        letter-spacing: -1.2px;
        line-height: 1.1;
    }
    .hero-subtitle {
        font-size: 21px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 96px !important;
        padding-bottom: 56px !important;
    }
    .hero-title {
        font-size: 32px;
        letter-spacing: -0.6px;
        line-height: 1.18;
    }
    .hero-subtitle {
        font-size: 17px;
        line-height: 1.35;
    }
    .hero-description {
        font-size: 14px;
        line-height: 1.5;
    }
    .hero-buttons-wrap {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-buttons-wrap .btn-primary-custom,
    .hero-buttons-wrap .btn-outline-secondary-custom {
        width: 100%;
        height: 50px;
        font-size: 15px;
    }
    .trust-indicators-wrap {
        justify-content: center;
        gap: 12px;
        font-size: 12.5px;
    }
    .floating-icon {
        display: none !important;
    }
    .portfolio-card {
        padding: 22px 18px !important;
        border-radius: 18px !important;
    }
    #dash-total-supplied {
        font-size: 26px !important;
    }
    #dash-net-apy {
        font-size: 22px !important;
    }
}

/* PORTFOLIO CARD */
.portfolio-card {
    z-index: 2;
    position: relative;
    font-family: var(--font-primary);
}
.floating-icon {
    position: absolute;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.icon-eth {
    top: -20px;
    right: 20%;
    animation-delay: 0s;
}
.icon-usdc {
    bottom: 40px;
    left: -20px;
    animation-delay: 2s;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* LIVE MARKETS */
.markets-section {
    position: relative;
    background-color: #FFFFFF;
    padding: 96px 0;
}
.markets-eyebrow {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--primary-blue);
    background: #EEF2FF;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 9999px;
    padding: 6px 14px;
    display: inline-block;
    text-transform: uppercase;
}
.markets-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 44px;
    letter-spacing: -1.2px;
    color: var(--main-text);
    line-height: 1.15;
}
.markets-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    color: var(--secondary-text);
}

/* Filter pills */
.market-filter-pills {
    display: inline-flex;
    align-items: center;
    background-color: #FAF8FD;
    border: 1px solid var(--lavender-tint-border);
    border-radius: 14px;
    padding: 4px;
    gap: 4px;
}
.market-filter-btn {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-text);
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 8px 18px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.market-filter-btn:hover {
    color: var(--primary-purple);
}
.market-filter-btn.active {
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(121, 82, 199, 0.28);
}

/* Live status pulse badge */
.live-status-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-text);
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}
.pulse-dot::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #10B981;
    animation: livePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes livePulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Card & Table container with subtle glow */
.markets-card-wrapper {
    position: relative;
}
.markets-ambient-glow {
    position: absolute;
    top: 5%;
    left: 10%;
    right: 10%;
    bottom: 5%;
    background: radial-gradient(circle, rgba(121, 82, 199, 0.08) 0%, rgba(233, 226, 248, 0.25) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}
.markets-table-card {
    position: relative;
    z-index: 1;
    background-color: #FFFFFF;
    border: 1px solid var(--lavender-tint-border);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(121, 82, 199, 0.06);
    overflow: hidden;
}

/* Table styling */
.markets-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}
.markets-table thead th {
    font-family: var(--font-primary);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-text);
    background-color: #FAFCFF;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 16px 24px;
}
.markets-table tbody tr {
    transition: background-color 0.15s ease;
}
.markets-table tbody tr:hover {
    background-color: #F8FAFC;
}
.markets-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}
.markets-table tbody td {
    padding: 18px 24px;
    vertical-align: middle;
}

/* Asset visual */
.asset-circle-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.markets-table tbody tr:hover .asset-circle-icon,
.market-mobile-card:hover .asset-circle-icon {
    transform: scale(1.08);
}
.asset-symbol {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    color: var(--main-text);
    line-height: 1.2;
}
.asset-fullname {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    color: var(--secondary-text);
    line-height: 1.2;
}

/* Price & changes */
.asset-price-val {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15.5px;
    color: var(--main-text);
    transition: background-color 0.4s ease, color 0.4s ease;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 4px;
}
.price-pulse-up {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #059669 !important;
}
.price-pulse-down {
    background-color: rgba(239, 68, 68, 0.2) !important;
    color: #DC2626 !important;
}

.change-pill {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 6px;
}
.change-pill.positive {
    color: #059669;
    background: #ECFDF5;
}
.change-pill.negative {
    color: #DC2626;
    background: #FEF2F2;
}
.change-pill.neutral {
    color: var(--secondary-text);
    background: #F1F5F9;
}

/* Metric values */
.apy-supply-val {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    color: #059669;
}
.apy-borrow-val {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    color: var(--main-text);
}
.liquidity-val {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 15px;
    color: var(--main-text);
}

/* Table action buttons */
.btn-table-supply {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13.5px;
    background: var(--gradient-primary);
    color: #FFFFFF !important;
    border: none;
    border-radius: 10px;
    height: 40px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(121, 82, 199, 0.22);
}
.btn-table-supply:hover {
    background: linear-gradient(135deg, #673EB8 0%, #7D55CB 100%);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(121, 82, 199, 0.35);
}
.btn-table-borrow {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13.5px;
    background: #FFFFFF;
    color: var(--main-text) !important;
    border: 1.5px solid var(--lavender-tint-border);
    border-radius: 10px;
    height: 40px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-table-borrow:hover {
    border-color: var(--primary-purple);
    background: var(--lavender-tint-soft);
    color: var(--primary-purple) !important;
    transform: translateY(-1px);
}

/* Mobile cards */
.market-mobile-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 18px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.market-mobile-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Shimmer Skeleton Loading */
.skeleton-box {
    background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    display: inline-block;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 991.98px) {
    .markets-title {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .markets-section {
        padding-top: 48px;
        padding-bottom: 50px;
    }
    .markets-title {
        font-size: 26px;
        letter-spacing: -0.6px;
    }
    .markets-subtitle {
        font-size: 14px;
    }
    .market-filter-pills {
        width: 100%;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 4px;
        margin-top: 14px;
        border-radius: 12px;
    }
    .market-filter-pills::-webkit-scrollbar {
        display: none;
    }
    .market-filter-btn {
        padding: 6px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }
    .markets-table-card {
        border-radius: 16px;
    }
    .market-mobile-card {
        padding: 14px 16px;
        border-radius: 14px;
    }
}

/* ICONS */
.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box-sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HOW IT WORKS */
.steps-container {
    padding-top: 2rem;
}
.step-item {
    flex: 1;
}
.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.step-connector {
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 0;
}

/* DASHBOARD MOCKUP */
.dashboard-mockup {
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}

/* NETWORKS & ASSETS */
.network-pill {
    background-color: var(--card-bg);
}
.asset-circle {
    width: 70px;
}

/* ACCORDION */
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-blue) !important;
    box-shadow: none;
}
.custom-accordion .accordion-button::after {
    background-size: 1rem;
}

/* FINAL CTA */
.cta-gradient {
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.05) 0%, rgba(248, 250, 252, 1) 100%);
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-color);
}
.footer a:hover {
    color: var(--primary-blue) !important;
}

/* SECTION 4: LENDING & BORROWING */
.lending-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 76px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 2;
}

.section-eyebrow {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--primary-blue);
    background: #EEF2FF;
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 9999px;
    padding: 6px 14px;
    display: inline-block;
    text-transform: uppercase;
}

.section-headline {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: var(--main-text);
}

.section-desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--secondary-text);
}

/* 3 Lending Feature Cards */
.lending-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.lending-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.lending-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: rgba(199, 210, 254, 0.8);
}

.lending-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #EEF2FF;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
    transition: transform 0.25s ease;
}

.lending-card:hover .lending-card-icon {
    transform: scale(1.08);
}

.lending-card-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    color: var(--main-text);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.lending-card-desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--secondary-text);
    margin-bottom: 0;
}

/* SECTION 4B: BORROWING */
.borrow-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.borrow-card-col {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Decorative 3D Crypto & Glow Behind Borrow Card */
.borrow-card-ambient-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 70%);
    filter: blur(50px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.borrow-crypto-decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    animation: float 7s ease-in-out infinite alternate;
}
.borrow-decor-eth {
    top: -25px;
    left: 0;
    width: 58px;
    height: 58px;
    animation-delay: 0s;
}
.borrow-decor-btc {
    bottom: -15px;
    right: 5px;
    width: 68px;
    height: 68px;
    animation-delay: 1.5s;
}

/* Real-DeFi Borrow Card */
.borrow-ui-card {
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 32px 28px;
    width: 100%;
    max-width: 410px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.borrow-asset-box {
    background-color: #F8FAFC;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}
.borrow-asset-box:hover {
    border-color: rgba(199, 210, 254, 0.9);
}

.borrow-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-family: var(--font-primary);
    font-size: 13.5px;
}
.borrow-metric-row:not(:last-child) {
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}

/* 3 Borrow Benefit Rows */
.borrow-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.borrow-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.borrow-benefit-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--lavender-tint);
    border: 1px solid var(--lavender-tint-border);
    color: var(--primary-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.borrow-benefit-item:hover .borrow-benefit-icon {
    transform: scale(1.06);
}

.borrow-benefit-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    color: var(--main-text);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.borrow-benefit-desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: var(--secondary-text);
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .lending-section,
    .borrow-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .lending-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .section-headline {
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .lending-section,
    .borrow-section {
        padding-top: 48px;
        padding-bottom: 50px;
    }
    .section-headline {
        font-size: 26px;
        letter-spacing: -0.5px;
    }
    .section-desc {
        font-size: 14px;
    }
    .lending-card {
        padding: 18px 16px;
    }
    .borrow-crypto-decor {
        display: none !important;
    }
    .borrow-card-ambient-glow {
        width: 250px;
        height: 250px;
    }
    .borrow-ui-card {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .borrow-asset-box {
        padding: 12px 14px;
        margin-bottom: 12px;
    }
    .borrow-benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .borrow-benefit-title {
        font-size: 15px;
    }
    .borrow-benefit-desc {
        font-size: 12.5px;
    }
}

/* SECTION 5: HOW IT WORKS + DASHBOARD */

/* PART 1: HOW IT WORKS */
.how-it-works-section {
    background-color: #FFFFFF;
    padding-top: 76px;
    padding-bottom: 70px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    position: relative;
    z-index: 2;
}

.how-steps-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 48px;
}

.how-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 170px;
    transition: transform 0.25s ease;
}

.how-step-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 14px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.how-step-item:hover .how-step-icon {
    transform: scale(1.12);
}

.how-step-badge-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.how-step-badge {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--lavender-tint);
    color: var(--primary-purple);
    border: 1px solid var(--lavender-tint-border);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(121, 82, 199, 0.12);
    transition: all 0.2s ease;
}

.how-step-item:hover .how-step-badge {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(121, 82, 199, 0.28);
}

.how-step-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 16px;
    color: var(--main-text);
    margin: 0;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.how-step-item:hover .how-step-title {
    color: var(--primary-purple);
}

.how-step-desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.45;
    color: var(--secondary-text);
    max-width: 140px;
    margin: 0 auto;
}

/* Connecting arrows between steps */
.how-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    font-size: 18px;
    margin-top: 50px;
    transition: all 0.25s ease;
}

.how-step-item:hover + .how-step-arrow {
    color: var(--primary-purple);
    transform: translateX(3px);
}

/* PART 2: DASHBOARD SECTION */
.dashboard-preview-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    padding-top: 80px;
    padding-bottom: 84px;
    position: relative;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* The Dashboard Mockup UI container */
.product-dashboard-ui {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 610px;
    height: 380px;
    font-family: var(--font-primary);
}

/* Sidebar */
.dash-sidebar {
    width: 140px;
    background: #FAFCFF;
    border-right: 1px solid rgba(226, 232, 240, 0.85);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.dash-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 16px;
    color: var(--main-text);
    margin-bottom: 22px;
    padding-left: 6px;
}

.dash-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-nav-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.15s ease;
}

.dash-nav-item.active a,
.dash-nav-item a:hover {
    background: var(--lavender-tint);
    color: var(--primary-purple);
    font-weight: 600;
}

/* Main Dashboard Panel */
.dash-main-panel {
    flex: 1;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}

.dash-greeting {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-text);
    margin-bottom: 2px;
}

.dash-portfolio-label {
    font-size: 12px;
    color: var(--muted-text);
    font-weight: 500;
}

.dash-portfolio-amount {
    font-weight: 800;
    font-size: 26px;
    color: var(--main-text);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.dash-stat-badge {
    font-size: 11.5px;
    font-weight: 600;
    color: #16A34A;
}

/* Portfolio cards */
.dash-mini-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 10px;
    padding: 10px 14px;
    flex: 1;
}

.dash-mini-card-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.dash-mini-card-value {
    font-size: 16px;
    font-weight: 800;
    color: var(--main-text);
    line-height: 1.2;
}

.dash-mini-card-sub {
    font-size: 11px;
    font-weight: 600;
}

/* Asset Rows */
.dash-asset-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}

.btn-dash-action {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--lavender-tint-border);
    background: var(--lavender-tint-soft);
    color: var(--primary-purple);
    text-decoration: none;
    transition: all 0.15s ease;
}
.btn-dash-action:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
}

/* Responsive Rules for Section 5 */
@media (max-width: 991.98px) {
    .how-steps-row {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }
    .how-step-arrow {
        display: none !important;
    }
    .product-dashboard-ui {
        max-width: 100%;
        margin-top: 24px;
    }
}

@media (max-width: 575.98px) {
    .how-it-works-section,
    .dashboard-preview-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .how-steps-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-left: 0;
        margin-top: 24px;
    }
    .how-step-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        max-width: 100%;
        gap: 14px;
        width: 100%;
        background: #FAF8FD;
        border: 1px solid var(--lavender-tint-border);
        border-radius: 14px;
        padding: 14px 16px;
    }
    .how-step-icon {
        margin-bottom: 0;
        font-size: 24px;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    .how-step-badge-title {
        margin-bottom: 2px;
    }
    .how-step-title {
        font-size: 15px;
    }
    .how-step-desc {
        max-width: 100%;
        margin: 0;
        font-size: 12px;
    }
    .dash-sidebar {
        display: none;
    }
    .product-dashboard-ui {
        height: auto;
        border-radius: 16px;
    }
    .dash-main-panel {
        padding: 16px 14px;
    }
    .dash-portfolio-amount {
        font-size: 22px;
    }
    .dash-mini-card {
        padding: 8px 10px;
    }
    .dash-mini-card-value {
        font-size: 14px;
    }
    .dash-asset-row {
        gap: 4px;
        font-size: 11.5px;
    }
}

/* SECTION 6: WHY CHOOSE LENDX */
.why-lendx-section {
    background-color: #FFFFFF;
    padding: 76px 0;
    position: relative;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.why-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.why-feature-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.why-feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--lavender-tint-border);
    box-shadow: 0 10px 24px rgba(121, 82, 199, 0.1);
}

.why-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.why-feature-card:hover .why-card-icon-wrap {
    transform: scale(1.08);
}

.icon-wrap-green {
    background: #ECFDF5;
    color: #059669;
}

.icon-wrap-blue {
    background: var(--lavender-tint);
    color: var(--secondary-blue);
    border: 1px solid var(--lavender-tint-border);
}

.icon-wrap-purple {
    background: var(--lavender-tint);
    color: var(--primary-purple);
    border: 1px solid var(--lavender-tint-border);
}

.why-card-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 15px;
    color: var(--main-text);
    margin-bottom: 3px;
    letter-spacing: -0.2px;
}

.why-card-desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--secondary-text);
    margin-bottom: 0;
}

/* SECTION 7: SUPPLY & BORROW ACTION CARDS */
.action-cards-section {
    background-color: #FFFFFF;
    padding-top: 20px;
    padding-bottom: 84px;
    position: relative;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.action-card {
    border-radius: 22px;
    padding: 34px 32px;
    position: relative;
    overflow: hidden;
    min-height: 330px;
    display: flex;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.03);
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* Supply card: subtle white to pale green */
.action-card-supply {
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FDF4 100%);
    border: 1px solid rgba(187, 247, 208, 0.7);
}

/* Borrow card: subtle white to pastel lavender */
.action-card-borrow {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAF8FD 50%, #e9e2f8 100%);
    border: 1px solid var(--lavender-tint-border);
}

.action-card-badge {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.badge-supply {
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
}

.badge-borrow {
    color: var(--primary-purple);
    background: var(--lavender-tint);
    border: 1px solid var(--lavender-tint-border);
}

.action-card-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 26px;
    line-height: 1.2;
    color: var(--main-text);
    letter-spacing: -0.6px;
    margin-bottom: 6px;
}

.action-card-desc {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    color: var(--secondary-text);
    margin-bottom: 18px;
}

.action-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.action-check-item {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13.5px;
    color: var(--main-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-check-item i {
    font-size: 15px;
}

/* Action Buttons */
.btn-action-supply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    background: #10B981;
    color: #FFFFFF;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action-supply:hover {
    background: #059669;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.btn-action-borrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 14px rgba(121, 82, 199, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-action-borrow:hover {
    background: linear-gradient(135deg, #673EB8 0%, #7D55CB 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(121, 82, 199, 0.38);
}

/* Illustration Wrappers */
.action-illustration-wrap {
    position: relative;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-illustr-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
}

.glow-supply {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.35) 0%, rgba(56, 189, 248, 0.2) 100%);
}

.glow-borrow {
    background: radial-gradient(circle, rgba(121, 82, 199, 0.35) 0%, rgba(233, 226, 248, 0.45) 100%);
}

.action-crypto-float {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
    animation: float 6s ease-in-out infinite alternate;
}

.action-card:hover .action-crypto-float {
    transform: scale(1.04);
}

@media (max-width: 991.98px) {
    .why-lendx-section {
        padding: 55px 0;
    }
    .why-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .action-illustration-wrap {
        width: 150px;
    }
}

@media (max-width: 767.98px) {
    .action-card {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
        padding: 26px 20px;
        border-radius: 18px;
    }
    .action-illustration-wrap {
        width: 100%;
        height: 150px;
        margin-top: 10px;
    }
    .btn-action-supply,
    .btn-action-borrow {
        width: 100%;
        height: 46px;
    }
}

@media (max-width: 575.98px) {
    .why-lendx-section {
        padding: 45px 0;
    }
    .why-features-grid {
        grid-template-columns: 1fr;
    }
    .why-title {
        font-size: 26px !important;
        letter-spacing: -0.5px;
    }
    .why-desc {
        font-size: 13.5px !important;
    }
    .why-feature-card {
        padding: 14px 16px;
    }
    .action-card {
        padding: 22px 16px;
    }
    .action-card-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   SECTION 8: SUPPORTED ASSETS
   ========================================================================== */
.supported-assets-section {
    background-color: #FFFFFF;
    padding-top: 50px;
    padding-bottom: 60px;
    position: relative;
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.assets-container-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.assets-heading-block {
    flex-shrink: 0;
    max-width: 330px;
}

.assets-eyebrow {
    font-family: var(--font-primary);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-purple);
    background: var(--lavender-tint);
    border: 1px solid var(--lavender-tint-border);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.assets-main-title {
    font-family: var(--font-primary);
    font-size: 30px;
    font-weight: 800;
    color: var(--main-text);
    line-height: 1.18;
    letter-spacing: -0.6px;
    margin-bottom: 0;
}

.assets-horizontal-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asset-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: inherit;
    color: inherit;
    cursor: pointer;
    min-width: 68px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.supported-asset-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--lavender-tint-border);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03), 0 0 12px rgba(121, 82, 199, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    animation: subtleAssetFloat 5s ease-in-out infinite;
}

/* Stagger float animation */
.asset-item-link:nth-child(2) .supported-asset-circle { animation-delay: 0.7s; }
.asset-item-link:nth-child(3) .supported-asset-circle { animation-delay: 1.4s; }
.asset-item-link:nth-child(4) .supported-asset-circle { animation-delay: 2.1s; }
.asset-item-link:nth-child(5) .supported-asset-circle { animation-delay: 2.8s; }
.asset-item-link:nth-child(6) .supported-asset-circle { animation-delay: 3.5s; }
.asset-item-link:nth-child(7) .supported-asset-circle { animation-delay: 4.2s; }
.asset-item-link:nth-child(8) .supported-asset-circle { animation: none; }

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

.asset-item-link:hover .supported-asset-circle {
    transform: scale(1.08) translateY(-2px);
    border-color: var(--secondary-blue);
    box-shadow: 0 8px 22px rgba(121, 82, 199, 0.2), 0 0 16px rgba(233, 226, 248, 0.6);
}

.asset-item-link:hover .asset-item-ticker {
    color: var(--primary-purple);
}

.asset-circle-more {
    color: #64748B;
    font-size: 20px;
    background: #FAF8FD;
    border: 1px dashed var(--lavender-tint-border);
}

.asset-item-link:hover .asset-circle-more {
    color: var(--primary-purple);
    background: var(--lavender-tint);
    border-color: var(--primary-purple);
    border-style: solid;
}

.asset-item-ticker {
    font-family: var(--font-primary);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--main-text);
    line-height: 1.2;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.asset-item-name {
    font-family: var(--font-primary);
    font-size: 11.5px;
    font-weight: 400;
    color: var(--secondary-text);
    line-height: 1.2;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .assets-container-inner {
        gap: 28px;
    }
    .assets-horizontal-list {
        gap: 14px;
    }
    .supported-asset-circle {
        width: 52px;
        height: 52px;
    }
    .assets-main-title {
        font-size: 26px;
    }
}

@media (max-width: 991.98px) {
    .assets-container-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .assets-heading-block {
        max-width: 100%;
    }
    .assets-horizontal-list {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .assets-horizontal-list::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .supported-assets-section {
        padding-top: 45px;
        padding-bottom: 50px;
    }
    .assets-horizontal-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px 8px;
        justify-items: center;
        overflow-x: visible;
    }
    .asset-item-link {
        min-width: unset;
        width: 100%;
    }
    .supported-asset-circle {
        width: 50px;
        height: 50px;
        margin-bottom: 6px;
    }
    .asset-item-ticker {
        font-size: 13.5px;
    }
    .asset-item-name {
        font-size: 10.5px;
    }
}

/* ==========================================================================
   SECTION 9: FAQ (FREQUENTLY ASKED QUESTIONS)
   ========================================================================== */
.faq-section {
    background-color: #FFFFFF;
    background: radial-gradient(circle at 12% 40%, rgba(233, 226, 248, 0.5) 0%, transparent 60%), #FFFFFF;
    padding-top: 75px;
    padding-bottom: 85px;
    position: relative;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Subtle lavender/blue transition glow line at bottom */
.faq-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(121, 82, 199, 0.3) 30%, rgba(144, 106, 216, 0.4) 50%, rgba(233, 226, 248, 0.6) 70%, transparent 100%);
    pointer-events: none;
}

.faq-eyebrow {
    font-family: var(--font-primary);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-purple);
    background: var(--lavender-tint);
    border: 1px solid var(--lavender-tint-border);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.faq-title {
    font-family: var(--font-primary);
    font-size: 38px;
    font-weight: 800;
    color: var(--main-text);
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 24px;
}

.btn-faq-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 11px;
    background: var(--lavender-tint);
    color: var(--primary-purple);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    border: 1px solid var(--lavender-tint-border);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-faq-view i {
    transition: transform 0.2s ease;
}

.btn-faq-view:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(121, 82, 199, 0.25);
}

.btn-faq-view:hover i {
    transform: translateX(3px);
}

/* FAQ Accordion Row Item */
.faq-item {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 16px 20px;
    min-height: 58px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.015);
}

.faq-item:hover {
    background: #FAF8FD;
    border-color: var(--lavender-tint-border);
}

.faq-item:hover .faq-chevron {
    color: var(--primary-purple);
}

.faq-item.is-open {
    background: #FAF8FD;
    border-color: var(--lavender-tint-border);
    box-shadow: 0 6px 20px rgba(121, 82, 199, 0.08);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--main-text);
    line-height: 1.35;
    transition: color 0.2s ease;
}

.faq-question-btn:focus {
    outline: none;
}

.faq-item:hover .faq-question-btn {
    color: var(--primary-purple);
}

.faq-item.is-open .faq-question-btn,
.faq-question-btn:not(.collapsed) {
    color: var(--primary-purple);
}

.faq-chevron {
    font-size: 17px;
    color: #64748B;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item.is-open .faq-chevron,
.faq-question-btn:not(.collapsed) .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary-purple);
}

.faq-answer-body {
    padding-top: 12px;
    font-family: var(--font-primary);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--secondary-text);
    line-height: 1.55;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    margin-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .faq-title {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    .faq-section {
        padding-top: 50px;
        padding-bottom: 55px;
    }
    .faq-title {
        font-size: 26px;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
    }
    .btn-faq-view {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
    .faq-item {
        padding: 14px 16px;
        border-radius: 12px;
    }
    .faq-question-btn {
        font-size: 14px;
        min-height: 28px;
    }
    .faq-answer-body {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ==========================================================================
   SECTION 10: FINAL CTA BANNER
   ========================================================================== */
.final-cta-section {
    background-color: var(--page-bg);
    padding-top: 60px;
    padding-bottom: 75px;
    position: relative;
}

.final-cta-banner {
    position: relative;
    border-radius: 24px;
    background: var(--gradient-banner);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 50px rgba(116, 75, 194, 0.22), 0 4px 16px rgba(15, 23, 42, 0.04);
    padding: 42px 48px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
}

/* Subtle background glow effect */
.cta-bg-glow {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 226, 248, 0.4) 0%, rgba(169, 137, 235, 0.25) 50%, transparent 75%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

.final-cta-title {
    font-family: var(--font-primary);
    font-size: 38px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.final-cta-subtitle {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.4;
    margin-bottom: 22px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    border-radius: 9999px;
    background: #FFFFFF;
    color: #7048C6;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-primary:hover {
    background: #FAF8FD;
    color: #5D37B0;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn-cta-primary i {
    transition: transform 0.2s ease;
}

.btn-cta-primary:hover i {
    transform: translateX(3px);
}

/* 3D Crypto Composition Container */
.cta-artwork-wrap {
    position: relative;
    width: 250px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-artwork-float {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.final-cta-banner:hover .cta-artwork-float {
    transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .final-cta-banner {
        padding: 34px 36px;
    }
    .final-cta-title {
        font-size: 32px;
    }
    .final-cta-subtitle {
        font-size: 15px;
    }
    .cta-artwork-wrap {
        width: 200px;
        height: 150px;
    }
}

@media (max-width: 767.98px) {
    .final-cta-section {
        padding-top: 45px;
        padding-bottom: 55px;
    }
    .final-cta-banner {
        padding: 36px 20px;
        text-align: center;
        border-radius: 20px;
    }
    .final-cta-title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }
    .final-cta-subtitle {
        font-size: 14.5px;
        margin-bottom: 20px;
    }
    .btn-cta-primary {
        width: 100%;
        max-width: 290px;
    }
    .cta-artwork-wrap {
        width: 200px;
        height: 140px;
        margin: 24px auto 0 auto;
    }
}

@media (max-width: 575.98px) {
    .final-cta-section {
        padding-top: 36px;
        padding-bottom: 44px;
    }
    .final-cta-banner {
        padding: 30px 16px;
        border-radius: 18px;
    }
    .final-cta-title {
        font-size: 24px;
        letter-spacing: -0.4px;
    }
    .final-cta-subtitle {
        font-size: 13.5px;
        margin-bottom: 18px;
    }
    .btn-cta-primary {
        width: 100%;
        max-width: 100%;
        height: 46px;
        font-size: 14px;
    }
    .cta-artwork-wrap {
        width: 180px;
        height: 125px;
        margin-top: 18px;
    }
    .cta-bg-glow {
        width: 240px;
        height: 160px;
    }
}

/* ==========================================================================
   SECTION 11: LENDX FINAL FOOTER (PURPLE + PINK BRAND SYSTEM)
   ========================================================================== */
:root {
    --brand-primary: #886CC0;
    --brand-secondary: #FFA7D7;
    --brand-primary-light: #a590cf;
    --brand-secondary-light: #ffdaee;
    --brand-danger-light: #fd607c;
    --brand-primary-hover: #6c4bae;
    --brand-primary-dark: #402c67;
    --brand-main-text: #000000;
    --brand-secondary-text: #6F6780;
    --brand-font: 'Roboto', sans-serif;
    --brand-main-gradient: linear-gradient(to right, rgba(186, 1, 181, 0.85) 0%, rgba(103, 25, 255, 0.85) 100%);
}

.footer {
    background-color: #FFFFFF;
    background-image: 
        radial-gradient(circle at 10% 0%, rgba(233, 226, 248, 0.45), transparent 35%),
        radial-gradient(circle at 90% 100%, rgba(217, 202, 243, 0.3), transparent 35%);
    border-top: 1px solid var(--lavender-tint-border);
    padding-top: 80px;
    padding-bottom: 50px;
    font-family: var(--brand-font);
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 40px 50px;
    align-items: start;
}

/* Brand Column */
.footer-brand-col {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 14px;
    transition: transform 0.25s ease;
}

.footer-logo:hover {
    transform: translateY(-1px);
}

.footer-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(121, 82, 199, 0.22));
}

.footer-logo-text {
    font-family: var(--brand-font);
    font-weight: 700;
    font-size: 22px;
    color: var(--brand-main-text);
    letter-spacing: -0.5px;
}

.footer-tagline {
    font-family: var(--brand-font);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--brand-secondary-text);
    line-height: 1.5;
    margin-bottom: 22px;
}

/* Social Icons */
.footer-social-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lavender-tint);
    border: 1px solid var(--lavender-tint-border);
    color: var(--brand-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link:hover {
    background: var(--gradient-primary);
    color: #FFFFFF;
    border-color: transparent;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px rgba(121, 82, 199, 0.28);
}

/* Navigation Columns */
.footer-col-title {
    font-family: var(--brand-font);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand-primary-dark);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-link {
    font-family: var(--brand-font);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--brand-secondary-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.footer-nav-link::after {
    content: '→';
    font-size: 11px;
    margin-left: 5px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover {
    color: var(--brand-primary) !important;
    transform: translateX(3px);
}

.footer-nav-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Bottom Footer Divider & Legal */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(136, 108, 192, 0.15);
    width: 100%;
    margin-top: 52px;
    margin-bottom: 26px;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-family: var(--brand-font);
    font-size: 12.5px;
    color: var(--brand-secondary-text);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-legal-link {
    font-family: var(--brand-font);
    font-size: 12.5px;
    color: var(--brand-secondary-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: var(--brand-primary) !important;
}

/* Responsive Rules for Footer */
@media (max-width: 1199.98px) {
    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
        gap: 32px 30px;
    }
}

@media (max-width: 991.98px) {
    .footer {
        padding-top: 65px;
        padding-bottom: 45px;
    }
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px 24px;
    }
    .footer-brand-col {
        grid-column: span 3;
        max-width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .footer {
        padding-top: 55px;
        padding-bottom: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-brand-col {
        grid-column: span 1;
        margin-bottom: 4px;
    }
    .footer-divider {
        margin-top: 36px;
        margin-bottom: 22px;
    }
    .footer-bottom-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    .footer-legal-links {
        justify-content: center;
        gap: 18px;
    }
}

/* ==========================================================================
   THEME TOGGLE & DARK MODE OVERRIDES
   ========================================================================== */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    background: var(--lavender-tint) !important;
    border: 1px solid var(--lavender-tint-border) !important;
    color: var(--primary-purple) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover {
    transform: rotate(20deg) scale(1.08);
    background: var(--gradient-primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(121, 82, 199, 0.35);
}

[data-theme="dark"] .header-nav {
    background-color: rgba(11, 10, 18, 0.85);
    border-bottom: 1px solid rgba(158, 123, 238, 0.2);
}

[data-theme="dark"] .header-nav .navbar-collapse {
    background-color: #14121F;
    border-color: rgba(158, 123, 238, 0.25);
}

[data-theme="dark"] .portfolio-card {
    background: rgba(20, 18, 31, 0.94) !important;
    border-color: rgba(158, 123, 238, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .features-strip-section,
[data-theme="dark"] .markets-section,
[data-theme="dark"] .lending-section,
[data-theme="dark"] .borrow-section,
[data-theme="dark"] .how-it-works-section,
[data-theme="dark"] .why-lendx-section,
[data-theme="dark"] .action-cards-section,
[data-theme="dark"] .supported-assets-section,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .footer {
    background-color: var(--page-bg) !important;
}

[data-theme="dark"] .markets-table-card,
[data-theme="dark"] .market-mobile-card,
[data-theme="dark"] .lending-card,
[data-theme="dark"] .borrow-ui-card,
[data-theme="dark"] .why-feature-card,
[data-theme="dark"] .product-dashboard-ui,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .supported-asset-circle {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--main-text) !important;
}

[data-theme="dark"] .markets-table thead th {
    background-color: var(--card-bg-subtle) !important;
    color: var(--secondary-text) !important;
    border-bottom-color: var(--border-color) !important;
}

[data-theme="dark"] .markets-table tbody tr {
    border-bottom-color: rgba(158, 123, 238, 0.12) !important;
}

[data-theme="dark"] .markets-table tbody tr:hover {
    background-color: rgba(158, 123, 238, 0.08) !important;
}

[data-theme="dark"] .borrow-asset-box {
    background-color: var(--input-bg) !important;
    border-color: var(--input-border) !important;
}

[data-theme="dark"] .dash-sidebar {
    background: #0E0C17 !important;
    border-right-color: var(--border-color) !important;
}

[data-theme="dark"] .dash-main-panel {
    background: #14121F !important;
}

[data-theme="dark"] .dash-mini-card {
    background: #1C182B !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .dash-asset-row {
    border-bottom-color: rgba(158, 123, 238, 0.15) !important;
}

[data-theme="dark"] .action-card-supply {
    background: linear-gradient(135deg, #131B19 0%, #0F291E 100%) !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] .action-card-borrow {
    background: linear-gradient(135deg, #181427 0%, #241A3E 100%) !important;
    border-color: rgba(158, 123, 238, 0.35) !important;
}

[data-theme="dark"] .how-step-item {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .faq-item:hover,
[data-theme="dark"] .faq-item.is-open {
    background: #1A162B !important;
    border-color: rgba(158, 123, 238, 0.4) !important;
}

[data-theme="dark"] .footer-logo-text,
[data-theme="dark"] .footer-col-title {
    color: #F8FAFC !important;
}

/* ==========================================================================
   INTERACTIVE WEB3 MODALS & TOAST NOTIFICATION SYSTEM
   ========================================================================== */
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 16px;
}

.custom-modal-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 440px;
    padding: 28px 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--main-text);
}

.custom-modal-backdrop.is-active .custom-modal-container {
    transform: scale(1) translateY(0);
}

.custom-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--lavender-tint-soft);
    border: 1px solid var(--lavender-tint-border);
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.custom-modal-close:hover {
    background: var(--danger-red);
    color: #FFFFFF;
    border-color: transparent;
    transform: rotate(90deg);
}

.wallet-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--card-bg-subtle);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-option-item:hover {
    background: var(--lavender-tint-soft);
    border-color: var(--primary-purple);
    transform: translateX(4px);
}

.wallet-option-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Toast Notifications */
.thunt-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}

.thunt-toast {
    background: var(--card-bg);
    color: var(--main-text);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: auto;
    animation: toastSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@keyframes toastSlideUp {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Responsive Floating Fixes */
@media (max-width: 991.98px) {
    .floating-icon {
        display: none !important;
    }
    .borrow-crypto-decor {
        display: none !important;
    }
}



