/*
Theme Name: SFV Theme White
Theme URI: http://example.com/
Author: Amit
Author URI: http://example.com/
Description: Speedy Finvest — Minimalist White Theme. Clean, high-contrast, professional.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: sfv-theme-white
*/

/* ══════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════ */
:root {
    --off-white: #f2f5f8;
    --white: #ffffff;
    --blue-deep: #1e3a8a;
    --blue-mid: #2563eb;
    --blue-dim: #1d4ed8;
    --blue-light: #dbeafe;
    --blue-pale: #eff6ff;
    --violet-deep: #4338ca;
    --violet-mid: #6366f1;
    --violet-light: #e0e7ff;
    --slate-green: #22c55e;
    --green-deep: #16a34a;
    --green-pale: #dcfce7;
    --text-dark: #111827;
    --text-mid: #4b5563;
    --text-light: #9ca3af;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(0, 0, 0, 0.06);
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
}

/* ══════════════════════════════════════════
   HOME PAGE ICONS (index.php)
   Note: All other pages use localized icon 
   styles in their respective CSS files.
══════════════════════════════════════════ */
.sfv-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 12px;
    color: var(--blue-mid);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

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

.sfv-icon-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
    color: var(--blue-deep);
}

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

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

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

.home .icon-inline {
    display: inline-flex;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.sfv-icon-box--blue {
    color: var(--blue-mid);
}

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

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

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

/* BASE */


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--off-white);
    font-family: 'Inter', sans-serif;
    color: var(--text-mid);
    overflow-x: hidden;
    line-height: 1.7;
}

.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

strong {
    color: var(--text-dark);
}

p {
    line-height: 1.75;
}

/* ══════════════════════════════════════════
   LOADER (light)
══════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#currency-wrap {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.currency {
    position: absolute;
    font-size: 96px;
    font-weight: 900;
    color: var(--blue-deep);
    opacity: 0;
    transform: scale(0.6) rotate(-20deg);
    line-height: 1;
    font-family: Georgia, serif;
}

#logo-wrap {
    position: absolute;
    opacity: 0;
    display: flex;
    align-items: center;
}

#logo-icon {
    width: 100px;
    height: 100px;
    overflow: visible;
}

#logo-text {
    overflow: hidden;
    width: 0;
    white-space: nowrap;
    margin-left: 18px;
}

#logo-text span {
    display: inline-block;
    font-size: 64px;
    font-weight: 900;
    color: var(--blue-deep);
    line-height: 1;
    letter-spacing: -1.5px;
    font-family: 'Outfit', sans-serif;
}

/* Mobile scaling overrides for initial loader animation */
@media (max-width: 600px) {
    #logo-icon {
        width: 50px !important;
        height: 50px !important;
    }

    #halfway-toast {
        display: none !important;
    }

    #logo-text {
        margin-left: 10px !important;
    }

    #logo-text span {
        font-size: 32px !important;
        letter-spacing: -0.75px !important;
    }

    #currency-wrap {
        width: 80px !important;
        height: 80px !important;
    }

    .currency {
        font-size: 64px !important;
    }
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    opacity: 0;
    visibility: visible;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(0.01px);
    -webkit-backdrop-filter: blur(0.01px);
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    will-change: top, left, right, border-radius, background-color, backdrop-filter;
    transition:
        top 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        left 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        right 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.6s ease,
        backdrop-filter 0.6s ease,
        box-shadow 0.6s ease,
        border-color 0.6s ease,
        padding 0.6s ease,
        opacity 0.8s ease,
        visibility 0.8s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

#navbar.scrolled {
    top: 16px;
    left: 2.5%;
    right: 2.5%;
    width: auto;
    opacity: 1;
    visibility: visible;
    background-color: rgba(255, 255, 255, 0.484);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 0 30px;
}

#navbar.scrolled:hover {
    background-color: rgba(255, 255, 255, 0.770);
    backdrop-filter: blur(100px);
    -webkit-backdrop-filter: blur(100px);
}

#nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}



.logo-line-1,
.logo-line-2 {
    font-size: 30px;
    font-weight: 900;
    color: var(--blue-deep);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.nav-mobile-pill {
    display: none;
}

#nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    position: relative;
    transition: color 0.2s;
}

#nav-links a:hover {
    color: var(--blue-deep);
}

/* ── Education Dropdown ── */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.nav-dropdown-trigger.active-nav {
    color: var(--blue-mid);
    font-weight: 700;
}

.nav-dropdown-trigger:hover {
    color: var(--blue-deep);
}

.nd-arrow {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.25s;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 25px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px) translateZ(0);
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.957);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1000;
}

@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .nd-arrow {
        transform: rotate(180deg);
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) translateZ(0);
    }
}

.nav-dropdown.is-open .nd-arrow {
    transform: rotate(180deg);
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) translateZ(0);
}


.nd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
    white-space: nowrap;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.nd-item:hover {
    background: var(--off-white);
    color: var(--text-dark);
}

.nd-item.active {
    background: #eff6ff;
    /* var(--blue-pale) */
    color: var(--blue-mid);
    font-weight: 700;
    padding-left: 11px;
    border-left: 3px solid var(--blue-mid);
}

.nd-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 8px;
}

.nav-services-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    min-width: 480px;
}

.nd-all-services {
    grid-column: span 2;
    background: var(--blue-pale);
    color: var(--blue-mid);
    border: 1px solid var(--blue-light);
    justify-content: center;
    margin-bottom: 4px;
}

.nd-all-services:hover {
    background: var(--blue-light);
}



#nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-coming {
    cursor: pointer;
    border: 1.5px solid var(--border-dark);
    background: transparent;
    color: var(--text-mid);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-coming:hover {
    background: #FEF3C7;
    color: var(--blue-deep);
    border-color: #ffa943;
}

.coming-badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #ffbf34;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    background: var(--blue-mid);
    padding: 8px 18px 8px 22px;
    border-radius: 30px;
    transition: all 0.25s;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-get-started .sfv-icon-box {
    width: 24px !important;
    height: 24px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    border: none !important;
    margin-left: 2px;
    display: flex !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: background 0.2s, color 0.2s, translate 0.2s;
}

.btn-get-started .sfv-icon-box i {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 3.5px !important;
}

.btn-get-started:hover {
    background: var(--blue-dim);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-get-started:hover .sfv-icon-box {
    background: rgba(255, 255, 255, 0.902) !important;
    color: #2461E7 !important;
    translate: 3px 0;
}

/* ── Innovative Burger Menu ── */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--blue-deep);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.burger-menu.active span {
    background: var(--text-dark);
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── Mobile Menu Overlay ── */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center vertically */
    padding: 60px 20px 80px;
    /* Account for navbar at bottom */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
}

#mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav-links a {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Outfit';
}

.mobile-nav-links > a,
.mobile-nav-links > .mobile-nav-dropdown {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu-overlay.active .mobile-nav-links > a,
#mobile-menu-overlay.active .mobile-nav-links > .mobile-nav-dropdown {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu-overlay.active .mobile-nav-links > :nth-child(1) {
    transition-delay: 0.1s;
}

#mobile-menu-overlay.active .mobile-nav-links > :nth-child(2) {
    transition-delay: 0.15s;
}

#mobile-menu-overlay.active .mobile-nav-links > :nth-child(3) {
    transition-delay: 0.2s;
}

#mobile-menu-overlay.active .mobile-nav-links > :nth-child(4) {
    transition-delay: 0.25s;
}

#mobile-menu-overlay.active .mobile-nav-links > :nth-child(5) {
    transition-delay: 0.3s;
}

#mobile-menu-overlay.active .mobile-nav-links > :nth-child(6) {
    transition-delay: 0.35s;
}

.mobile-menu-footer {
    margin-top: 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-menu-overlay.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.mobile-menu-footer p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Coming Soon Toast */
#coming-toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--blue-deep);
    color: #fff;
    border-radius: var(--r-md);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 320px;
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.25);
}

#coming-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#coming-toast .toast-icon {
    font-size: 1.8rem;
}

#coming-toast strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: 'Outfit';
}

#coming-toast p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ══════════════════════════════════════════
   SHARED UTILITIES
══════════════════════════════════════════ */
#main {
    opacity: 0;
    padding-top: 0;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 20px;
    padding: 5px 14px;
    background: var(--blue-light);
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
}

.section-label.center {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto 20px;
}

.white-card {
    background: var(--white);
    /* border: 1px solid var(--border); */
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s, transform 0.3s;
}

.white-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-wrap {
    min-height: 100vh;
    padding: 140px 5% 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    gap: 40px;
    background: linear-gradient(160deg, var(--white) 0%, var(--off-white) 60%, #eef2ff 100%);
}

.hero-wrap::before {
    content: '';
    position: absolute;
    top: -5%;
    right: 0;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.hero-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--off-white), transparent);
    pointer-events: none;
}

.hero-content {
    width: 58%;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 40px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
}

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

@keyframes live-pulse {

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

    70% {
        box-shadow: 0 0 0 8px transparent;
    }
}

h1 {
    font-size: clamp(44px, 6vw, 88px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -3px;
    margin-bottom: 28px;
}

.h1-line {
    display: block;
    padding-bottom: 10px;
    font-size: 4.7rem;
}

/* this this */
.h1-accent {
    background: linear-gradient(120deg, var(--blue-mid), var(--violet-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.h1-green {
    background: linear-gradient(95deg, var(--slate-green), var(--green-deep));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 540px;
    margin-bottom: 44px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary-s {
    padding: 16px 36px;
    background: var(--blue-mid);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--r-sm);
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-primary-s:hover {
    background: var(--blue-dim);
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.45);
}

.btn-primary-s:hover .btn-circle-icon {
    transform: translateX(4px);
}

.btn-primary-s .btn-circle-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin-left: 8px !important;
    box-shadow: none !important;
    border: none !important;
    transition: transform 0.3s ease !important;
}

.btn-primary-s .btn-circle-icon i,
.btn-primary-s .btn-circle-icon svg {
    color: var(--blue-mid) !important;
    stroke: var(--blue-mid) !important;
    width: 14px !important;
    height: 14px !important;
    transition: color 0.3s ease, stroke 0.3s ease !important;
}

.btn-primary-s:hover .btn-circle-icon i,
.btn-primary-s:hover .btn-circle-icon svg {
    color: var(--blue-dim) !important;
    stroke: var(--blue-dim) !important;
}

.btn-ghost-s {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-mid);
    transition: color 0.2s;
    padding: 16px 0;
    display: inline-block;
}

.btn-ghost-s:hover {
    color: var(--blue-mid);
}

/* Hero right — floating cards */
.hero-right {
    width: 35%;
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hc-main {
    width: 340px;
    padding: 28px;
    position: absolute;
    top: -2%;
    left: 5%;
    z-index: 2;
    border-top: 3px solid var(--slate-green);
    animation: hfloat 7s ease-in-out infinite;
}

.gc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 16px;
    font-family: 'Inter';
}

.gc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.gc-dot-green {
    background: var(--slate-green);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
    animation: live-pulse 2s infinite;
}

.gc-amount {
    font-family: 'Outfit';
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.gc-growth {
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-green);
    margin-bottom: 20px;
}

.gc-growth span {
    color: var(--text-light);
    font-weight: 400;
    margin-left: 4px;
}

.mini-chart {
    margin-bottom: 16px;
}

.mini-chart svg {
    width: 100%;
    height: 50px;
}

.alloc-bar-wrap {
    margin-top: 8px;
}

.alloc-bar {
    display: flex;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    gap: 2px;
    margin-bottom: 12px;
}

.ab-seg {
    height: 100%;
    border-radius: 2px;
}

.alloc-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.alloc-legend span {
    font-size: 10px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.alloc-legend i {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    display: inline-block;
}

.hc-sm {
    padding: 22px;
    position: absolute;
    z-index: 3;
    animation: hfloat2 9s ease-in-out infinite;
    border-left: 3px solid var(--blue-light);
}

.hc-sm1 {
    width: 180px;
    bottom: 10%;
    left: -10%;
}

.hc-sm2 {
    width: 190px;
    top: 38%;
    right: -4%;
    animation-delay: -4s;
    border-left: 3px solid var(--green-pale);
}

.hcsm-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.hcsm-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 6px;
}

.hcsm-val {
    font-family: 'Outfit';
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-dark);
}

.hcsm-val span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: 'Inter';
    font-weight: 400;
}

@keyframes hfloat {

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

    50% {
        transform: translateY(-14px) rotate(0.5deg);
    }
}

@keyframes hfloat2 {

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

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

/* Ring decorations */
.hero-ring {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 30s linear infinite;
}

.hero-ring-2 {
    width: 500px;
    height: 500px;
    border-color: rgba(34, 197, 94, 0.07);
    animation-direction: reverse;
    animation-duration: 45s;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* hero bg area chart */
.hero-bg-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-chart svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    stroke-dasharray: 3000;
    stroke-dashoffset: 3000;
    animation: draw-line 3.5s ease forwards 1.5s;
}

@keyframes draw-line {
    to {
        stroke-dashoffset: 0;
    }
}

/* ══════════════════════════════════════════
   TICKER
══════════════════════════════════════════ */
.ticker-wrap {
    overflow: hidden;
    padding: 14px 0;
    white-space: nowrap;
    background: var(--blue-pale);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-inner {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    animation: ticker 32s linear infinite;
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-mid);
    letter-spacing: 0.5px;
}

.t-sep {
    color: var(--slate-green);
    opacity: 0.6;
    font-size: 9px;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ══════════════════════════════════════════
   PARTNER LOGO TICKER
══════════════════════════════════════════ */
.partners-section {
    padding: 72px 0 80px;
    background: linear-gradient(160deg, #14254d 0%, #0c2f7a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.partners-header {
    text-align: center;
    padding: 0 5% 40px;
}

.partners-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.partners-sub {
    font-size: 1rem;
    color: #e0e9ff;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

.home .partners-section .section-label {
    background: var(--blue-deep);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Outer viewport wrapper with fade edges */
.partners-ticker-outer {
    position: relative;
    overflow: hidden;
    padding: 12px 0;
}

.partners-fade-left,
.partners-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    cursor: pointer;
}

.partners-fade-left {
    left: 0;
    background: linear-gradient(to right, #14254d 0%, transparent 100%);
}

.partners-fade-right {
    right: 0;
    background: linear-gradient(to left, #0c2f7a 0%, transparent 100%);
}

/* The scrolling track — JS will duplicate its children */
.partners-track-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: max-content;
    animation: partners-scroll 80s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.partners-track-wrap:hover {
    animation-play-state: paused;
}

@keyframes partners-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Gap between capsules */
.pt-capsule-gap {
    width: 28px;
    flex-shrink: 0;
}

/* ── Pill Capsule ── */
.pt-capsule {
    display: flex;
    align-items: stretch;
    border-radius: 100px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.02);
    min-height: 82px;
    /* ← CHANGE THIS to increase the overall height of the pill */
    flex-shrink: 0;
    transition: box-shadow 0.25s;
}

.pt-capsule:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
}

/* ── Category Header (left fixed anchor) ── */
.pt-cat-head {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 22px;
    min-width: 80px;
    background: var(--cat-color, #2563eb);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    line-height: 1.3;
    flex-shrink: 0;
    border-radius: 100px 0 0 100px;
    position: relative;
}

/* Right-side subtle glow from cat-head */
.pt-cat-head::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 0;
    bottom: 0;
    width: 18px;
    background: linear-gradient(to right, var(--cat-color, #2563eb), transparent);
    opacity: 0.15;
}

/* ── Companies area (scrolling content) ── */
.pt-companies {
    display: flex;
    align-items: center;
    padding: 0 20px 0 24px;
    gap: 4px;
    background: var(--cat-bg, rgba(37, 99, 235, 0.06));
    border-radius: 0 100px 100px 0;
    flex-shrink: 0;
}

/* ── Individual company entry ── */
.pt-company {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    height: 100%;
    min-height: 72px;
    /* ← CHANGE THIS to match the pill height above */
    transition: background 0.2s;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.pt-company:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ── Logo ── */
.pt-logo {
    height: 45px;
    /* ← INCREASE THIS (e.g., 48px or 52px) to make the LOGOS larger overall */
    /* width: auto ensures logos maintain natural aspect ratio */
    width: auto;
    max-width: 175px;
    /* ← INCREASE THIS (e.g., 250px+) if some logos are very wide/long */
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    /* Lazy-load placeholder */
    background: var(--border);
    border-radius: 4px;
    transition: opacity 0.3s;
}

/* Once loaded, no background */
.pt-logo.loaded {
    background: transparent;
}

/* Hide names initially via data attr */
[data-show-names="false"] .pt-name {
    display: none;
}

/* ── Company name ── */
.pt-name {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
    white-space: nowrap;
    max-height: 38px;
    /* ← CHANGE THIS to match the logo height above */
    /* Same as logo height */
    overflow: hidden;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pt-name br {
    /* allow 2-line names within fixed height */
    content: '';
    display: block;
}

/* ── Dot separator ── */
.pt-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cat-color, #2563eb);
    opacity: 0.35;
    flex-shrink: 0;
    margin: 0 2px;
}

/* ── Responsive ── */
@media (max-width: 764px) {
    .pt-cat-head {
        font-size: 9px;
        padding: 0 14px;
        min-width: 60px;
    }

    .pt-company {
        padding: 0 10px;
        gap: 7px;
    }

    .pt-logo {
        height: 24px;
        max-width: 105px;
        /* Increased from 80px to accommodate wider logos on mobile */
    }

    .pt-name {
        font-size: 10px;
    }

    .partners-fade-left,
    .partners-fade-right {
        width: 60px;
    }
}


/* ══════════════════════════════════════════
   METRICS ROW
══════════════════════════════════════════ */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 60px 5%;
}

.metric-card {
    padding: 32px 24px;
    text-align: center;
}

.mc-num {
    font-family: 'Outfit';
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--blue-deep);
    line-height: 1;
    margin-bottom: 10px;
}

.count-up {
    color: var(--blue-deep) !important;
}

.mc-num span {
    color: var(--slate-green);
}

.mc-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-family: 'Outfit';
}

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

/* ══════════════════════════════════════════
   PAIN SECTION
══════════════════════════════════════════ */
.pain-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 5%;
    gap: 0;
    border-top: 1px solid var(--border);
    align-items: start;
    background: var(--white);
}

.ps-left {
    padding-right: 8%;
    position: sticky;
    top: 100px;
}

.ps-left h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.ps-left h2 em {
    font-style: normal;
    color: var(--blue-mid);
}

.ps-left p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
}

.ps-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
}

.pain-item {
    padding: 28px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border-left: 3px solid var(--border);
    transition: border-color 0.3s;
}

.pain-item:hover {
    border-left-color: var(--blue-mid);
}

.pi-num {
    font-family: 'Outfit';
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.08);
    line-height: 1;
    min-width: 80px;
    flex-shrink: 0;
}

.pain-item p {
    font-size: 1rem;
    line-height: 1.65;
    padding-top: 8px;
}

/* ══════════════════════════════════════════
   PRODUCTS (TABS)
══════════════════════════════════════════ */
.products-section {
    padding: 100px 5%;
    background: var(--off-white);
}

.prod-header {
    margin-bottom: 60px;
}

.prod-header h2 {
    font-size: clamp(32px, 4vw, 56px);
    letter-spacing: -2px;
    line-height: 1.1;
}

.tabs-wrap {
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--off-white);
}

.tab-btn {
    flex: 1;
    padding: 18px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter';
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--text-dark);
    background: rgba(37, 99, 235, 0.03);
}

.tab-btn.active {
    color: var(--blue-mid);
    border-bottom-color: var(--blue-mid);
    background: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px;
    align-items: center;
}

/* .tab-visual {
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--r-lg);
} */

.tab-visual-grid {
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tab-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.tab-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 28px;
}

.tab-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-list li {
    font-size: 0.9rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-list li::before {
    content: '◆';
    color: var(--slate-green);
    font-size: 8px;
}

.donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.donut-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
}

.donut-legend span {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.donut-legend i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.bar-chart-wrap {
    padding: 30px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
}

.bar-chart-wrap svg {
    width: 100%;
}

.ins-visual {
    animation: hfloat 8s ease-in-out infinite;
}

.products-cta {
    margin-top: 48px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.products-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 90% 50%, rgba(99, 179, 237, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 20%, rgba(167, 139, 250, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.products-cta::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.products-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 64px 5%;
    gap: 20px;
}

.products-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #bfdbfe;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    backdrop-filter: blur(6px);
}

.products-cta-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0;
    max-width: 680px;
}

.products-cta-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 520px;
    margin: 0;
}

.products-cta-btn {
    margin-top: 8px;
    background: #fff !important;
    color: var(--blue-mid) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22) !important;
    text-decoration: none;
    font-size: 1rem;
}

.products-cta-btn:hover {
    background: #f0f6ff !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
}

.products-cta-btn .btn-circle-icon {
    background: var(--blue-mid) !important;
}

.products-cta-btn .btn-circle-icon i,
.products-cta-btn .btn-circle-icon svg {
    color: #fff !important;
    stroke: #fff !important;
}

/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.hiw-section {
    padding: 100px 5%;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.hiw-title {
    font-size: clamp(28px, 4vw, 50px);
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 70px;
}

.hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.hiw-step {
    padding: 36px 28px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--off-white);
}

.hiw-num {
    font-family: 'Outfit';
    font-size: 4rem;
    font-weight: 900;
    color: var(--blue-light);
    line-height: 1;
    margin-bottom: 16px;
}

.hiw-step-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.hiw-step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.hiw-step p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-mid);
}

/* ══════════════════════════════════════════
   PORTFOLIO VISUALIZER
══════════════════════════════════════════ */
.portfolio-viz-section {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    padding: 100px 5%;
    align-items: center;
    background: var(--off-white);
}

.pv-left h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.pv-left p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 40px;
}

.pv-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pv-stat {
    padding: 20px 22px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--white);
}

.pvs-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-light);
    display: block;
    margin-bottom: 12px;
}

.pvs-bar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pvs-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.pvs-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--slate-green), var(--green-deep));
    transition: width 1.5s ease;
}

.pf2 {
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-deep));
}

.pvs-bar-wrap span {
    font-family: 'Outfit';
    font-weight: 700;
    color: var(--slate-green);
    font-size: 0.9rem;
    min-width: 36px;
}

.pvs-sub {
    font-size: 12px;
    color: var(--text-light);
}

.pv-right {
    padding: 32px;
    overflow: hidden;
}

.pv-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pv-chart-header span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mid);
}

.pv-badge {
    background: var(--green-pale);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--green-deep);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pv-chart-svg {
    width: 100%;
}

/* ══════════════════════════════════════════
   FINANCIAL CALCULATORS
══════════════════════════════════════════ */
.calculators-section {
    padding: 100px 5%;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.calc-header {
    text-align: center;
    margin-bottom: 60px;
}

.calc-header h2 {
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.calc-header p {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    margin: 0 auto;
}

.calc-container {
    padding: 40px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.calc-tabs {
    background: #f1f5f9;
    padding: 6px;
    border-radius: 40px;
    display: flex;
    gap: 4px;
    width: fit-content;
    margin: 0 auto 40px;
}

.calc-tab {
    background: transparent;
    border: none;
    border-radius: 30px;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Outfit', sans-serif;
}

.calc-tab:hover {
    color: #2563eb;
}

.calc-tab.active {
    background: #fff;
    color: #2563eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ec-tabs {
    background: #f1f5f9;
    padding: 6px;
    border-radius: 40px;
    display: flex;
    gap: 4px;
    width: fit-content;
    margin-bottom: 32px;
}

.ec-tab {
    background: transparent;
    border: none !important;
    border-radius: 30px !important;
    padding: 8px 24px !important;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ec-tab.active {
    background: #fff !important;
    color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ec-body {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.ec-inputs {
    flex: 1;
    padding: 10px 0;
}

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

.ec-field-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ec-field-top label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.ec-result-card {
    width: 320px;
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    margin: 15px 0;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #2563eb;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.ec-legend {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.ecl-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.ecl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.ecl-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    flex-grow: 1;
}

.ecl-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
}

.btn-mf-primary,
.btn-edu-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 10px 24px;
    background: #2563eb;
    color: #fff;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-mf-primary:hover,
.btn-edu-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.ec-donut-wrap {
    width: 220px;
    height: 220px;
}

.edc-num {
    font-size: 1.6rem !important;
    font-weight: 900;
    color: #1e3a8a;
}

.calc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.calc-input-group {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--off-white);
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calc-label-row label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
}

.calc-val-display,
.ec-val-wrap {
    position: relative;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #065f46;
    /* Deep emerald */
    background: #ecfdf5;
    /* Emerald 50 */
    padding: 6px 16px;
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 130px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: text;
}

/* Specific styling for the numbers inside */
.calc-numeric-input,
.ec-val-input {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: right;
    outline: none;
    caret-color: auto;
    -moz-appearance: textfield;
}

.calc-numeric-input::-webkit-outer-spin-button,
.calc-numeric-input::-webkit-inner-spin-button,
.ec-val-input::-webkit-outer-spin-button,
.ec-val-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ec-val-prefix,
.calc-input-prefix {
    font-size: 1rem;
    margin-right: 8px;
    opacity: 0.6;
}

.ec-val-suffix,
.calc-input-suffix {
    font-size: 0.95rem;
    margin-left: 4px;
    opacity: 0.6;
}

/* Invisible hit area expansion (5px extra click room) */
.calc-val-display::after,
.ec-val-wrap::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
}

/* Highlight the pill when focused */
.calc-val-display:focus-within,
.ec-val-wrap:focus-within {
    border-color: #10b981;
    background: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
    transform: translateY(-1px);
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue-mid);
    border: 3px solid #fff;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.calc-res-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.calc-res-item {
    padding: 22px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--off-white);
}

.calc-res-total {
    grid-column: span 2;
    background: var(--green-pale);
    border-color: rgba(34, 197, 94, 0.3);
}

.calc-res-total .res-val {
    color: var(--green-deep);
    font-size: 2.4rem;
}

.res-label {
    font-size: 0.8rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.res-bullet {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.res-val {
    font-family: 'Outfit';
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark);
}

/* ── Semi-Circular Gauge ── */
.calc-res-gauge {
    grid-column: span 2;
    padding: 0;
    background: none;
    border: none;
}

.semi-gauge-wrap {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.semi-gauge-svg {
    width: 100%;
    max-width: 220px;
    height: auto;
    overflow: visible;
}

.gauge-arc {
    transition: stroke-dashoffset 0.5s ease;
}

.semi-gauge-legend {
    display: flex;
    justify-content: center;
    gap: 28px;
    width: 100%;
}

.sgl-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
}

.sgl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sgl-label {
    color: var(--text-mid);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sgl-val {
    font-family: 'Outfit';
    font-weight: 800;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.sgl-pct {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--border);
    padding: 1px 6px;
    border-radius: 20px;
}

/* ── EMI Calculator Paired Row ── */
.calc-paired-row {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.calc-emi-total {
    background: var(--green-pale);
    border-color: rgba(34, 197, 94, 0.3);
}

.calc-emi-total .res-val {
    color: var(--green-deep);
    font-size: 2rem;
}

/* ══════════════════════════════════════════
   LIFE STAGES
══════════════════════════════════════════ */
.life-section {
    padding: 100px 5%;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.life-title {
    font-size: clamp(28px, 4vw, 50px);
    letter-spacing: -1.5px;
    text-align: center;
    margin-bottom: 60px;
}

.life-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 20px;
}

.life-card {
    padding: 36px 24px;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 14px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--white);
    transition: box-shadow 0.3s, transform 0.3s;
}

.life-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: var(--border-dark);
}

.featured-life {
    border-top: 3px solid var(--slate-green);
}

.lc-icon {
    font-size: 2.4rem;
}

.lc-stage {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue-mid);
    font-weight: 700;
}

.life-card h3 {
    font-size: 1.15rem;
    margin: 0;
}

.life-card p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--text-mid);
}

/* ══════════════════════════════════════════
   LIFESTYLE SECTION (non-financial)
══════════════════════════════════════════ */
.lifestyle-section {
    padding: 100px 5%;
    background: var(--white);
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.lifestyle-header {
    max-width: 600px;
    margin-bottom: 60px;
}

.lifestyle-header h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.lifestyle-header p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
}

.ls-card {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ls-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.ls-visual {
    position: relative;
    overflow: hidden;
}

.ls-visual-main {
    height: 260px;
}

.ls-visual-sm {
    height: 190px;
}

/* Visual backgrounds using CSS gradients + emoji large art */
.ls-v-family {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 40%, #fbbf24 100%);
}

.ls-v-peace {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 40%, #7dd3fc 100%);
}

.ls-v-exp {
    background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 40%, #86efac 100%);
}

.ls-big-emoji {
    position: absolute;
    font-size: 100px;
    line-height: 1;
    bottom: -10px;
    right: 10px;
    opacity: 0.4;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
    pointer-events: none;
}

.ls-big-emoji-sm {
    font-size: 72px;
    bottom: -6px;
    right: 8px;
}

.ls-inner-text {
    position: relative;
    z-index: 1;
    padding: 28px;
}

.ls-inner-text .ls-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    display: block;
}

.ls-inner-text h3 {
    font-family: 'Outfit';
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.ls-inner-text h3.sm {
    font-size: 1.1rem;
}

.ls-footer {
    padding: 20px 24px;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.ls-footer p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-mid);
}

/* ══════════════════════════════════════════
   SOCIAL PROOF
══════════════════════════════════════════ */
.proof-section {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    padding: 100px 5%;
    align-items: start;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.t-quote {
    padding: 36px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--white);
    position: relative;
    margin-bottom: 20px;
}

.t-quote::before {
    content: '"';
    font-family: Georgia;
    font-size: 5rem;
    color: rgba(37, 99, 235, 0.1);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 20px;
}

.t-stars {
    color: var(--slate-green);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

blockquote {
    font-size: 1rem;
    line-height: 1.75;
    font-style: italic;
    color: var(--text-mid);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.t-name {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.proof-right h2 {
    font-size: clamp(26px, 3.5vw, 44px);
    letter-spacing: -1.5px;
    margin-bottom: 36px;
}

.proof-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 16px;
}

.proof-stat {
    padding: 28px 22px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--white);
    width: 100%;
    height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.ps-n {
    font-family: 'Outfit';
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.ps-n span {
    color: var(--slate-green);
}

.ps-l {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ══════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════ */
.final-section {
    padding: 140px 5%;
    text-align: center;
    background: linear-gradient(to bottom, var(--off-white), #f8fafc 10%);
    /* Smooth transition from previous section */
    position: relative;
    overflow: hidden;
}

.final-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
    animation: bgMovement 15s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bgMovement {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

/* ── Shooting Stars & Floating Dots ── */
.final-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.final-stars span {
    position: absolute;
    background: var(--text-dark);
    /* Dark stars */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(17, 24, 39, 0.3), 0 0 20px rgba(17, 24, 39, 0.1);
    opacity: 0;
}

/* Shooting Stars */
.final-stars span:nth-child(1),
.final-stars span:nth-child(2) {
    width: 2px;
    height: 2px;
    background: linear-gradient(90deg, var(--text-dark), transparent);
    box-shadow: none;
}

.final-stars span:nth-child(1) {
    top: 10%;
    left: 100%;
    width: 100px;
    height: 1px;
    animation: shootingStar 4s linear infinite;
}

.final-stars span:nth-child(2) {
    top: 40%;
    left: 100%;
    width: 150px;
    height: 1px;
    animation: shootingStar 6s linear infinite 2s;
}

@keyframes shootingStar {
    0% {
        transform: translateX(0) translateY(0) rotate(-35deg);
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateX(-1200px) translateY(800px) rotate(-35deg);
        opacity: 0;
    }
}

/* Floating Dots */
.final-stars span:nth-child(3),
.final-stars span:nth-child(4),
.final-stars span:nth-child(5) {
    width: 4px;
    height: 4px;
    animation: floatingStar 8s ease-in-out infinite;
}

.final-stars span:nth-child(3) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.final-stars span:nth-child(4) {
    top: 70%;
    left: 80%;
    animation-delay: 2s;
}

.final-stars span:nth-child(5) {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

@keyframes floatingStar {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 0.8;
    }
}

.final-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.island-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 40px;
    border-radius: 48px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.final-section .island-card {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.island-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
}

.final-inner .section-label {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue-mid);
}

.final-inner h2 {
    font-size: clamp(32px, 5.5vw, 64px);
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.final-inner p {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-mid);
    margin-bottom: 48px;
    max-width: 480px;
    margin-inline: auto;
}

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

.btn-final-green {
    padding: 16px 20px 16px 36px;
    background: var(--slate-green);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 100px;
    font-family: 'Outfit';
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.btn-final-green::before {
    content: '';
    position: absolute;
    top: var(--cy, 50%);
    left: var(--cx, 50%);
    width: 0;
    height: 0;
    background: var(--green-deep);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.btn-final-green:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 35px rgba(34, 197, 94, 0.45);
}

.btn-final-green:hover::before {
    width: 500px;
    height: 500px;
}

.btn-circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #fff;
    color: var(--slate-green);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.btn-final-green:hover .btn-circle-icon {
    transform: translateX(4px);
}

.btn-final-ghost {
    padding: 16px 32px;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid var(--border-dark);
    background: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-final-ghost:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 120px 4% 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 80px;
    margin-bottom: 100px;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-wrap span {
    font-family: 'Outfit';
    font-size: 20px;
    font-weight: 900;
    color: #fff;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.4);
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-badge {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: fit-content;
    letter-spacing: 0.5px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr 1.5fr 0.7fr;
    gap: 40px;
}

.fl-col h3,
.fl-col h5 {
    font-size: 13.75px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.fl-col a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 12px;
    transition: color 0.2s;
}

.fl-col a:hover {
    color: var(--slate-green);
}

.footer-contact-tag {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 15px;
    font-weight: 700;
}

.fl-col a[href^="tel:"] {
    margin-bottom: 6px;
}

.fl-col a[href^="mailto:"] {
    margin-bottom: 12px;
}

/* ── Tablet refinement for 5-col footer ── */
@media (max-width: 1100px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px 30px;
    }

    #halfway-toast {
        display: none !important;
    }
}


/* ── Mobile Nav Dropdown ── */
.mobile-nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.mnd-trigger {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.mnd-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.mobile-nav-dropdown.open .mnd-arrow {
    transform: rotate(180deg);
}

.mnd-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease, padding 0.4s ease;
    width: 135%;
    border: 1px solid transparent;
    border-radius: 12px;
}

.mobile-nav-dropdown.open .mnd-menu {
    max-height: 600px;
    /* generous height for items */
    opacity: 1;
    margin-top: 16px;
    margin-bottom: 12px;
    padding: 24px 0;
    border-color: var(--border);
    background: rgba(242, 245, 248, 0.5);
    /* slight off white */
}

.mnd-item {
    font-size: 18px;
    font-weight: 500 !important;
    color: var(--text-mid) !important;
    font-family: 'Inter' !important;
    transform: none !important;
    /* override the stagger animation logic */
    opacity: 1 !important;
    /* override the initial opacity */
    text-align: center;
}

#mobile-menu-overlay.active .mnd-item {
    transform: none !important;
}

.mnd-item:hover {
    color: var(--blue-mid) !important;
}

/* ══════════════════════════════════════════
   SKIP LINK (Accessibility + SEO)
══════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    background: var(--blue-mid);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 999px;
    z-index: 99999;
    text-decoration: none;
    transition: top 0.2s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.skip-link:focus {
    top: 12px;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0 20px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.6;
    letter-spacing: 1.05px;
}

.footer-bottom {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    flex-wrap: wrap;
    gap: 10px;
}

/* ══════════════════════════════════════════
   SCROLL PROGRESS WIDGET
══════════════════════════════════════════ */
#sw {
    position: fixed;
    right: 22px;
    top: 24px;
    width: 160px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 9998;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    will-change: top;
    transition: box-shadow 0.5s ease, border-color 0.5s ease, width 0.4s ease, opacity 0.4s ease, visibility 0.4s;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
}

#sw.show {
    opacity: 1;
    visibility: visible;
}

#sw.sw-v {
    border-color: rgba(37, 99, 235, .3);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, .25), var(--shadow-md);
}

#sw.sw-r {
    border-color: rgba(244, 63, 94, .3);
    box-shadow: 0 0 0 1px rgba(244, 63, 94, .2), var(--shadow-md);
}

#sw.sw-p {
    border-color: rgba(34, 197, 94, .2);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .15), var(--shadow-md);
}

#sw.sw-done {
    width: 192px;
    border-color: rgba(34, 197, 94, .45);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .4), 0 12px 40px rgba(34, 197, 94, .12), var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

#sw-progress-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-light);
    align-self: flex-start;
}

#sw-svg {
    width: 100%;
    height: 68px;
    display: block;
    overflow: visible;
}

#sw-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

#sw-msg {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.4;
    color: var(--text-light);
    min-height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.18s ease;
    font-family: 'Inter';
}

#sw-msg.fade {
    opacity: 0;
}

#sw-done {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    animation: sw-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes sw-pop {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sd-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-green);
}

.sd-icon i {
    width: 32px;
    height: 32px;
    stroke-width: 2px;
}

.sd-text {
    font-family: 'Outfit';
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-mid);
}

.sd-text span {
    color: var(--green-deep);
    font-weight: 700;
}

.sd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, var(--slate-green), var(--green-deep));
    color: #fff;
    font-family: 'Outfit';
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 9px 12px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.sd-btn .sfv-icon-box {
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sd-btn:hover {
    opacity: 0.88;
    transform: scale(1.04);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1250px) {
    .nav-link-home {
        display: none !important;
    }

    .btn-coming .coming-badge {
        display: none !important;
    }

    #halfway-toast {
        display: none !important;
    }

    .hero-wrap {
        flex-direction: column;
        padding-top: 130px;
        text-align: center;
    }

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

    .hero-eyebrow {
        margin: 0 auto 36px;
    }

    .hero-p {
        margin-inline: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
        margin-top: 32px;
    }

    .hero-right {
        height: 420px;
        margin-top: 40px;
        justify-content: center;
    }

    .hc-main {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto;
        z-index: 5;
    }

    .hc-sm1 {
        left: 5%;
        bottom: 5%;
        z-index: 6;
    }

    .hc-sm2 {
        right: 5%;
        top: auto;
        bottom: 12%;
        z-index: 6;
    }

    .calc-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-viz-section {
        grid-template-columns: 1fr;
    }

    .pain-section {
        grid-template-columns: 1fr;
    }

    .ps-left {
        position: relative;
        z-index: 1;
        top: 0;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .proof-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lifestyle-grid {
        grid-template-columns: 1fr;
    }

    .life-cards {
        grid-template-columns: 1fr 1fr;
    }

    .metrics-row {
        grid-template-columns: 1fr 1fr;
    }

}

/* ── Mobile & Tablet Navbar Mode (up to 1250px) ── */
@media (max-width: 1250px) {
    #navbar {
        top: auto !important;
        bottom: 20px !important;
        left: 5% !important;
        right: 5% !important;
        width: 90% !important;
        height: 64px !important;
        /* Increased for two-line logo */
        padding: 0 16px !important;
        z-index: 2000 !important;
        border-radius: 20px !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .logo-line-1,
    .logo-line-2 {
        font-size: 16px;
        gap: 10px;
    }

    .nav-mobile-pill {
        display: flex;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--blue-deep);
        max-width: 220px;
        margin-left: auto;
        margin-right: 18px;
        overflow: hidden;
    }

    .nav-mobile-pill span {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 2px;
    }

    #navbar.scrolled {
        bottom: 20px !important;
        top: auto !important;
        left: 5% !important;
        width: 90% !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15) !important;
    }

    #nav-links {
        display: none;
    }

    #nav-cta .btn-coming,
    #nav-cta .btn-get-started {
        display: none;
    }

    #sw {
        display: none !important;
    }

    .burger-menu {
        display: flex;
    }

    #floatBookBtn {
        display: none !important;
    }

    body {
        padding-bottom: 100px;
        /* Space for the bottom navbar */
    }
}

@media (max-width: 764px) {
    .mobile-bottom-bar {
        display: none !important;
    }

    h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .h1-line {
        font-size: 2rem;
    }

    .metrics-row {
        grid-template-columns: 1fr 1fr;
        padding: 40px 5%;
    }

    .tab-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 24px;
        text-align: center;
    }

    .tab-visual-grid {
        grid-template-columns: 1fr;
    }

    .tab-nav {
        overflow-x: auto;
        white-space: nowrap;
    }

    .hiw-steps {
        grid-template-columns: 1fr;
    }

    .life-cards {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .calc-tabs {
        overflow-x: auto;
        white-space: nowrap;
    }

    .calc-res-grid {
        grid-template-columns: 1fr;
    }

    .calc-res-total {
        grid-column: span 1;
    }

    .calc-container {
        padding: 20px;
    }

    .final-section {
        padding: 80px 5%;
    }

    .hc-main {
        width: 280px;
        position: relative;
        top: auto;
        left: auto;
        animation: none;
        margin: 0 auto;
    }

    .hc-sm {
        display: none;
    }

    /* ── Mobile Bottom Bar Styling ── */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 5%;
        right: 5%;
        height: 64px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 40px;
        z-index: 9999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 6px;
        gap: 6px;
    }

    .m-bar-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 34px;
        font-family: 'Outfit';
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        transition: transform 0.2s;
        border: none;
        cursor: pointer;
    }

    .m-bar-btn:active {
        transform: scale(0.97);
    }

    .m-calc {
        background: #f1f5f9;
        color: var(--text-dark);
    }

    .m-get-started {
        background: var(--blue-mid);
        color: #fff;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    }

    .m-icon {
        font-size: 16px;
    }
}

.mobile-bottom-bar {
    display: none;
    /* Hidden by default on desktop */
}

/* ══════════════════════════════════════════
   NEW HOMEPAGE UPGRADES
══════════════════════════════════════════ */

/* ── Hero Enhancements ── */
.hero-bg-chart {
    transition: transform 0.1s linear;
    will-change: transform;
}

.hero-cta-sub {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* this */
.hero-trust-badges span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    background: var(--off-white);
    border: 1px solid var(--border);
    padding: 5px 12px 5px 5px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
    line-height: 1;
}

.hero-trust-badges .sfv-icon-box {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-trust-badges .sfv-icon-box i {
    width: 18px !important;
    height: 18px !important;
    margin-left: 10px !important;
}

/* Typing cursor */
#typing-target::after {
    content: '|';
    animation: blink 0.8s step-end infinite;
    color: var(--blue-mid);
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ── Trust Strip ── */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 5%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: max-content;
    margin: 0 auto;
}

.ts-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 32px;
    white-space: nowrap;
}

.ts-check {
    font-size: 18px;
    color: var(--slate-green);
    font-weight: 900;
}

.ts-item strong {
    font-size: 15px;
    font-family: 'Outfit';
    color: var(--text-dark);
}

.ts-item>span:last-child {
    font-size: 13px;
    color: var(--text-light);
}

.ts-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── Tab Sliding Underline ── */
.tab-nav {
    position: relative;
}

.tab-underline {
    position: absolute;
    bottom: 0;
    height: 3px;
    background: var(--blue-mid);
    border-radius: 2px;
    transition: left 0.3s ease, width 0.3s ease;
}

.tab-content {
    transition: opacity 0.25s ease;
}

/* ── HIW Connecting Line ── */
.hiw-connector {
    position: absolute;
    top: 52px;
    left: 16%;
    right: 16%;
    pointer-events: none;
    z-index: 0;
}

.hiw-steps {
    position: relative;
}

.hiw-line-svg {
    width: 100%;
    height: 20px;
}

/* ── Life Card Hover Enhancements ── */
.life-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.life-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.life-card:hover .lc-icon {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* ── Lifestyle Emoji Zoom ── */
.ls-emoji-zoom {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ls-card:hover .ls-emoji-zoom {
    transform: scale(1.15);
}

.ls-visual {
    transition: box-shadow 0.3s ease;
}

.ls-card:hover .ls-visual {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* ── Testimonial Avatars ── */
.t-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

/* ── Final CTA enhancements ── */
.final-sub-text {
    font-size: 13px !important;
    color: #eaeaeaa7;
    margin-top: 16px;
    font-weight: 400;
}

.final-inner {
    animation: gradShift 8s ease infinite;
}

@keyframes gradShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ── Floating Book Call Button ── */
.float-book-btn {
    position: fixed;
    bottom: 32px;
    right: 24px;
    z-index: 9990;
    background: var(--blue-mid);
    color: #fff;
    padding: 14px 22px;
    border-radius: 40px;
    font-family: 'Outfit';
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.float-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.5);
}

.float-book-btn .sfv-icon-box,
.float-book-btn .sfv-icon-box i,
.float-book-btn .sfv-icon-box svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.fbb-pulse {
    display: block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.9;
    animation: fbbPulse 5s ease infinite;
}

@keyframes fbbPulse {

    0%,
    90%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    92%,
    98% {
        transform: scale(1.5);
        opacity: 0.4;
    }
}

/* ── Halfway Toast ── */
#halfway-toast {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--blue-deep);
    color: #fff;
    border-radius: var(--r-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    z-index: 9989;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    box-shadow: 0 16px 40px rgba(30, 58, 138, 0.2);
    font-size: 14px;
    font-weight: 600;
}

#halfway-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

#halfway-toast a {
    color: #93c5fd;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 8px;
}

/* ── Active Nav Link ── */
#nav-links a.active-nav,
.mobile-nav-links a.active-nav,
.nav-dropdown-trigger.active-nav {
    color: var(--blue-mid);
    font-weight: 700;
}

#nav-links a.active-nav::after,
.nav-dropdown-trigger.active-nav::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue-mid);
    border-radius: 1px;
}

/* Button enhancements */
.btn-primary-s {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-s:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.45);
}

/* ══════════════════════════════════════════════════════════════
   MOBILE OVERHAUL — Cozy, Contained, Native Feel
   Overrides earlier mobile rules via CSS cascade (later = wins).
   Desktop is completely unaffected.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 764px) {

    /* ── 1. Global containment & centering ──
       Prevents ALL horizontal overflow / blank-space-on-right issues */
    html {
        overflow-x: hidden;
    }

    #main {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* ── 2. Hero section — cozy mobile feel ── */
    .hero-wrap {
        padding: 100px 5% 50px;
        gap: 20px;
    }

    h1 {
        font-size: 32px;
        letter-spacing: -1.5px;
        margin-bottom: 16px;
    }

    @media (max-width: 450px) {
        .hero-content h1 {
            min-height: 145px;
        }
    }

    @media (max-width: 400px) {
        .hero-content h1 {
            min-height: 95px;
        }
    }

    .h1-line {
        font-size: 2.65rem;
        padding-bottom: 4px;
    }

    .h1-accent {
        white-space: normal;
    }

    .hero-eyebrow {
        font-size: 11px;
        padding: 6px 12px;
        margin-bottom: 20px;
    }

    .hero-p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .hero-buttons .btn-primary-s {
        padding: 12px 28px;
        font-size: 18px;
        border-radius: 12px;
        width: 100%;
        text-align: center;
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    }

    .hero-buttons .btn-ghost-s {
        padding: 8px 0;
        font-size: 15px;
    }

    .hero-cta-sub {
        text-align: center;
    }

    /* Hero trust badges → centered flex wrap pills */
    .hero-trust-badges {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .hero-trust-badges span {
        width: auto;
        text-align: left;
        justify-content: flex-start;
        display: inline-flex;
        font-size: 11px;
        padding: 5px 12px 5px 5px;
        border-radius: 20px;
    }

    /* ── 3. Hero cards → all 3 visible ──
       Main card centered at top, two small cards at bottom corners */
    .hero-right {
        height: auto;
        min-height: 280px;
        margin-top: 12px;
        padding-bottom: 50px;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .hc-main {
        width: 220px;
        padding: 16px;
        animation: none;
        z-index: 2;
    }

    .gc-amount {
        font-size: 1.35rem;
        margin-bottom: 4px;
    }

    .gc-growth {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .gc-header {
        font-size: 8px;
        margin-bottom: 8px;
        gap: 5px;
    }

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

    .mini-chart svg {
        height: 30px;
    }

    .alloc-bar {
        margin-bottom: 6px;
    }

    .alloc-legend {
        gap: 8px;
    }

    .alloc-legend span {
        font-size: 8px;
    }

    /* Show the two small hero cards */
    .hc-sm {
        display: block;
        position: absolute;
        animation: none;
        padding: 10px 12px;
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        z-index: 3;
    }

    .hc-sm1 {
        width: 130px;
        bottom: 0;
        left: 8px;
    }

    .hc-sm2 {
        width: 140px;
        top: auto;
        right: 8px;
        bottom: 0;
    }

    .hc-sm .hcsm-icon {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .hc-sm .hcsm-label {
        font-size: 7px;
        letter-spacing: 1px;
        margin-bottom: 2px;
    }

    .hc-sm .hcsm-val {
        font-size: 0.9rem;
    }

    .hc-sm .hcsm-val span {
        font-size: 0.6rem;
    }

    /* Hide ring decorations on mobile */
    .hero-ring,
    .hero-ring-2 {
        display: none;
    }

    /* ── 4. Trust strip → vertical centered stack ──
       No more horizontal scrolling */
    .trust-strip {
        overflow-x: hidden;
        padding: 8px 5%;
    }

    .trust-strip-inner {
        flex-direction: column;
        min-width: unset;
        gap: 0;
    }

    .ts-divider {
        display: none;
    }

    .ts-item {
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
        justify-content: center;
        white-space: normal;
        text-align: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .ts-item:last-child {
        border-bottom: none;
    }

    .ts-item strong {
        font-size: 13px;
    }

    .ts-item>span:last-child {
        font-size: 11px;
    }

    /* ── 5. Metrics row → stop overflow & vibration ──
       tabular-nums prevents width jitter during count-up */
    .metrics-row {
        overflow: hidden;
        max-width: 100vw;
        gap: 10px;
        padding: 36px 4%;
    }

    .metric-card {
        padding: 18px 10px;
        border-radius: 12px;
    }

    .mc-num {
        font-size: 2rem;
        font-variant-numeric: tabular-nums;
    }

    .count-up {
        font-variant-numeric: tabular-nums;
        display: inline-block;
    }

    .mc-label {
        font-size: 0.8rem;
    }

    .mc-sub {
        font-size: 0.7rem;
    }

    /* ── 6. Products tab-nav → 2×2 grid (no horizontal scroll) ── */
    .tab-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow-x: visible;
        white-space: normal;
    }

    .tab-btn {
        padding: 12px 8px;
        font-size: 12px;
        text-align: center;
    }

    .tab-underline {
        display: none;
    }

    .products-section {
        padding: 60px 4%;
    }

    .prod-header {
        margin-bottom: 32px;
    }

    /* ── 7. "Who We Serve" → center everything ── */
    .life-card {
        text-align: center;
        align-items: center;
    }

    .lc-icon {
        display: flex;
        justify-content: center;
    }

    .lc-stage {
        text-align: center;
    }

    .life-section {
        padding: 60px 4%;
    }

    .life-title {
        margin-bottom: 32px;
    }

    /* ── 8. Pain section polish ── */
    .pain-section {
        padding: 50px 4%;
    }

    .ps-left .section-label {
        display: block;
        width: fit-content;
        margin: 0 auto 20px;
        text-align: center;
    }

    .ps-left h2 {
        text-align: center;
    }

    .ps-left p {
        text-align: center;
    }

    .ps-left .btn-primary-s {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 12px;
    }

    .pi-num {
        font-size: 2.5rem;
        min-width: 60px;
        flex-shrink: 0;
    }

    .pain-item {
        padding: 18px 14px;
        gap: 12px;
        border-radius: 12px;
    }

    /* ── 9. General section spacing — cozy feel ── */
    .hiw-section {
        padding: 60px 4%;
    }

    .hiw-title {
        margin-bottom: 36px;
    }

    .hiw-connector {
        display: none;
    }

    .hiw-step {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .hiw-num {
        font-size: 3rem;
    }

    .portfolio-viz-section {
        padding: 60px 4%;
        gap: 32px;
    }

    .pv-left {
        text-align: center;
    }

    .pv-left h2 {
        text-align: center;
    }

    .pv-left p {
        text-align: center;
    }

    .pv-right {
        padding: 20px;
        border-radius: 12px;
    }

    .lifestyle-section {
        padding: 60px 4%;
    }

    .lifestyle-header {
        margin-bottom: 32px;
    }

    .lifestyle-header h2 {
        text-align: center;
    }

    .lifestyle-header p {
        text-align: center;
    }

    .ls-visual-main {
        height: 200px;
    }

    .ls-visual-sm {
        height: 160px;
    }

    .ls-footer {
        padding: 16px 18px;
    }

    .proof-section {
        padding: 60px 4%;
        gap: 32px;
    }

    .t-quote {
        padding: 24px;
        border-radius: 12px;
    }

    .calculators-section {
        padding: 60px 4%;
    }

    .calc-header {
        margin-bottom: 32px;
    }

    .calc-container {
        padding: 20px;
    }

    .calc-tabs {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        width: 100%;
        margin-bottom: 24px;
    }

    .calc-tab {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 20px;
    }

    .calc-input-group {
        padding: 16px;
        border-radius: 10px;
    }

    /* Partners section mobile polish */
    .partners-section {
        padding: 50px 0 60px;
    }

    .partners-header {
        padding: 0 4% 28px;
    }

    .partners-sub {
        font-size: 0.85rem;
    }

    /* ── 10. Final CTA — cozy ── */
    .final-section {
        padding: 60px 5%;
    }

    .final-inner h2 {
        font-size: clamp(26px, 7vw, 40px);
    }

    .final-inner p {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }

    .btn-final-green {
        padding: 12px 28px;
        font-size: 14px;
        border-radius: 12px;
    }

    .btn-final-ghost {
        padding: 12px 20px;
        font-size: 13px;
    }

    .final-sub-text {
        font-size: 10px;
    }

    /* ── 11. Hide floating book call (mobile bottom bar is present) ── */
    .float-book-btn {
        display: none;
    }

    /* ── 12. Toasts — fit mobile width ── */
    #halfway-toast {
        font-size: 12px;
        padding: 10px 14px;
        gap: 8px;
        white-space: normal;
        max-width: 90vw;
        bottom: 90px;
    }

    #coming-toast {
        min-width: unset;
        max-width: 90vw;
        padding: 14px 20px;
    }

    /* ── 13. Ticker — tighter on mobile ── */
    .ticker-inner {
        gap: 20px;
        font-size: 11px;
    }

    /* ── 14. Footer polish ── */
    .site-footer {
        padding: 60px 5% 40px;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        margin-bottom: 48px;
    }

    .footer-logo-wrap {
        justify-content: center;
        margin-bottom: 20px;
    }

    .footer-brand p {
        margin: 0 auto 24px;
        max-width: 320px;
        text-align: center;
    }

    .footer-badge {
        margin: 0 auto;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .fl-col h3,
    .fl-col h5 {
        margin-bottom: 16px;
    }

    .footer-dropdown {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-top: 32px;
    }
}

/* ── Extra-small phones (≤400px) ── */
@media (max-width: 400px) {
    .h1-line {
        font-size: 1.85rem;
    }

    .hero-trust-badges span {
        font-size: 10px;
        padding: 4px 10px 4px 4px;
    }

    .hc-main {
        width: 200px;
        padding: 14px;
    }

    .hc-sm1 {
        width: 115px;
    }

    .hc-sm2 {
        width: 125px;
    }

    .mc-num {
        font-size: 1.7rem;
    }

    .tab-btn {
        font-size: 11px;
        padding: 10px 6px;
    }

    .ts-item strong {
        font-size: 12px;
    }

    .final-inner h2 {
        font-size: 24px;
    }

    #halfway-toast {
        display: none !important;
    }
}

/* ── Tablet Specific Fixes (765px - 1024px) ── */
@media (min-width: 765px) and (max-width: 1024px) {
    .hero-trust-badges {
        justify-content: center;
    }

    .hero-right {
        height: auto;
        min-height: 480px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 60px;
        padding-bottom: 40px;
    }

    .hc-main {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto;
        z-index: 5;
    }

    .hc-sm1 {
        left: 2%;
        bottom: 5%;
        z-index: 6;
    }

    .hc-sm2 {
        right: 2%;
        top: auto;
        bottom: 12%;
        z-index: 6;
    }

    /* Trust Strip 2x2 Grid */
    .trust-strip-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
        min-width: unset !important;
        max-width: 800px;
        margin: 0 auto;
    }

    .trust-strip-inner .ts-divider {
        display: none;
    }

    .trust-strip-inner .ts-item {
        padding: 0;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .proof-right h2 br {
        display: none;
    }
}

/* ── Financial Calculators Mobile Optimization (≤450px) ── */
@media (max-width: 450px) {
    .calculators-section {
        padding: 32px 12px !important;
    }

    .calc-header {
        margin-bottom: 20px !important;
    }

    .calc-header h2 {
        font-size: 1.65rem !important;
        margin-bottom: 8px !important;
        letter-spacing: -1px !important;
    }

    .calc-header p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }

    .calc-container {
        padding: 14px 10px !important;
        border-radius: 16px !important;
    }

    .calc-tabs {
        padding: 4px !important;
        gap: 2px !important;
        margin-bottom: 20px !important;
        background: #f1f5f9 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
    }

    .calc-tab {
        padding: 6px 8px !important;
        font-size: 10px !important;
        flex-grow: 1 !important;
        text-align: center !important;
        border-radius: 20px !important;
    }

    .calc-body {
        gap: 20px !important;
    }

    .calc-inputs {
        gap: 10px !important;
    }

    .calc-input-group {
        padding: 12px 10px !important;
        border-radius: 10px !important;
        background: var(--off-white) !important;
    }

    /* Vertical approach: Label on top, input pill below it spanning full width */
    .calc-label-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        margin-bottom: 8px !important;
    }

    .calc-label-row label {
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: #475569 !important;
    }

    .calc-val-display {
        width: 100% !important;
        min-width: unset !important;
        padding: 6px 12px !important;
        border-radius: 8px !important;
        font-size: 1.05rem !important;
        display: flex !important;
        justify-content: space-between !important;
    }

    .calc-numeric-input {
        font-size: 1.05rem !important;
        text-align: right !important;
    }

    input[type=range] {
        margin: 8px 0 2px 0 !important;
        height: 4px !important;
    }

    input[type=range]::-webkit-slider-thumb {
        width: 18px !important;
        height: 18px !important;
    }

    .calc-results {
        gap: 16px !important;
    }

    /* Stack output grids vertically to prevent line overlaps */
    .calc-res-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .calc-res-item {
        padding: 12px !important;
        gap: 4px !important;
        border-radius: 10px !important;
    }

    .res-label {
        font-size: 0.72rem !important;
        letter-spacing: 0.5px !important;
    }

    .res-val {
        font-size: 1.25rem !important;
    }

    .calc-res-total {
        grid-column: span 1 !important;
    }

    .calc-res-total .res-val {
        font-size: 1.55rem !important;
    }

    /* Semi-Circular Gauge Optimization */
    .semi-gauge-wrap {
        padding: 12px 10px 10px 10px !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }

    .semi-gauge-svg {
        max-width: 180px !important;
    }

    .semi-gauge-legend {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: flex-start !important;
        padding-left: 8px !important;
    }

    .sgl-item {
        font-size: 0.75rem !important;
        gap: 6px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
}


/* ══════════════════════════════════════════════════════════════
   HOME PAGE VISUAL ENHANCEMENT — PREMIUM REDESIGN
   (fonts unchanged; visual layer only)
══════════════════════════════════════════════════════════════ */

/* ── Hero: richer gradient mesh + dot-grid overlay ── */
.home .hero-wrap {
    background:
        radial-gradient(ellipse 80% 70% at 90% 10%, rgba(99, 102, 241, 0.09) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(34, 197, 94, 0.06) 0%, transparent 60%),
        linear-gradient(160deg, #ffffff 0%, #f5f7ff 55%, #eef2ff 100%);
}

/* dot-grid texture */
.home .hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* right-side glow orb */
.home .hero-wrap::after {
    content: '';
    position: absolute;
    top: 5%;
    right: 8%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(37, 99, 235, 0.04) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: orb-pulse 8s ease-in-out infinite;
}

@keyframes orb-pulse {

    0%,
    100% {
        transform: scale(1) translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.06) translateY(-12px);
        opacity: 1;
    }
}

/* ── Hero eyebrow: vivid gradient pill ── */
.home .hero-eyebrow {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(99, 102, 241, 0.12));
    border-color: rgba(99, 102, 241, 0.25);
    color: var(--blue-deep);
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* ── Hero CTA primary: deeper shadow + shine sweep ── */
.home .btn-primary-s {
    background: linear-gradient(135deg, #2563eb 0%, #4338ca 100%);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4), 0 2px 8px rgba(67, 56, 202, 0.3);
    position: relative;
    overflow: hidden;
}

.home .btn-primary-s::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.home .btn-primary-s:hover::after {
    left: 150%;
}

/* ── Hero right: hero cards with glassmorphism ── */
.home .white-card.hc-main {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    border: none;
    overflow: hidden;
    /* clips ::before gradient bar to rounded corners */
}

/* Offset left and up only on PC/large screens to prevent responsive breaking on tablets/mobiles */
@media (min-width: 1251px) {
    .home .white-card.hc-main {
        position: absolute;
        left: calc(5% - 20px);
        top: calc(-2% - 20px);
    }
}


/* Rounded gradient top bar using pseudo-element (border-image can't round) */
.home .white-card.hc-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #2563eb);
    border-radius: var(--r-md) var(--r-md) 0 0;
    z-index: 1;
}

.home .white-card.hc-sm {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1), 0 2px 10px rgba(0, 0, 0, 0.05);
    /* border: 1px solid rgba(255, 255, 255, 0.95); */
}

/* ── Hero ring: more vivid ── */
.home .hero-ring {
    border-color: rgba(37, 99, 235, 0.15);
}

.home .hero-ring-2 {
    border-color: rgba(34, 197, 94, 0.12);
}

/* ── Ticker: premium dark strip ── */
.home .ticker-wrap {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 40%, #172554 80%, #0f172a 100%);
    border-color: transparent;
    padding: 16px 0;
}

.home .ticker-inner {
    color: rgba(219, 234, 254, 0.9);
    font-weight: 600;
    letter-spacing: 0.8px;
    gap: 32px;
}

.home .t-sep {
    color: #22c55e;
    opacity: 0.7;
    font-size: 10px;
}

/* ── Section label: glowing gradient pill ── */
.home .section-label {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.15));
    color: #3730a3;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 2px 12px rgba(67, 56, 202, 0.1);
}

/* ── Metrics row: vivid gradient cards ── */
.home .metrics-row {
    background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 60%, #1e1b4b 100%);
    padding: 72px 5%;
    gap: 24px;
}

.home .metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home .metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #2563eb, #818cf8);
    border-radius: 3px 3px 0 0;
}

.home .metric-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    pointer-events: none;
}

.home .metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.home .mc-num {
    color: #ffffff;
    font-size: 3.8rem;
}

.home .mc-num .count-up {
    color: #ffffff !important;
}

.home .mc-num span {
    color: #4ade80;
}

.home .mc-label {
    color: rgba(219, 234, 254, 0.95);
    font-size: 1rem;
}

.home .mc-sub {
    color: rgba(148, 163, 184, 0.85);
    font-size: 0.78rem;
}

/* ── Pain section: rich contrast redesign ── */
.home .pain-section {
    background: var(--white);
    border-top: none;
    position: relative;
}

.home .pain-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f8faff 0%, #ffffff 60%);
    z-index: 0;
    pointer-events: none;
}

@media (min-width: 1251px) {
    .home .ps-left {
        position: sticky;
        z-index: 1;
    }
}

.home .ps-left h2 em {
    color: transparent;
    background: linear-gradient(120deg, #2563eb, #4338ca);
    -webkit-background-clip: text;
    background-clip: text;
}

.home .ps-right {
    position: relative;
    z-index: 1;
}

.home .pain-item {
    border-left: none !important;
    background: var(--white);
    border-radius: 6px 12px 12px 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Rounded custom left border using pseudo-element (to respect border-radius) */
.home .pain-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e5e7eb;
    transition: background 0.3s ease;
    z-index: 2;
}

.home .pain-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02), rgba(99, 102, 241, 0.04));
    opacity: 0;
    transition: opacity 0.3s;
}

.home .pain-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.home .pain-item:hover .pi-num {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(99, 102, 241, 0.35));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Activate gradient on hover */
.home .pain-item:hover::after {
    background: linear-gradient(180deg, #2563eb, #818cf8);
}

.home .pain-item:hover::before {
    opacity: 1;
}

.home .pi-num {
    font-size: 3.2rem;
    color: rgba(37, 99, 235, 0.1);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(99, 102, 241, 0.08));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    transition: background 0.3s ease, -webkit-text-fill-color 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

/* ── How It Works: cards with top accent gradient ── */
.home .hiw-step {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.home .hiw-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #818cf8, #22c55e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home .hiw-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
}

.home .hiw-step:hover::before {
    transform: scaleX(1);
}

.home .hiw-num {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(99, 102, 241, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4.5rem;
}

/* ── Hero trust badges: subtle glassy look ── */
.home .hero-trust-badges span {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 40px;
    padding: 8px 14px 8px 8px;
    backdrop-filter: blur(4px);
    transition: all 0.25s;
}

.home .hero-trust-badges span:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

/* ── Hero trust badges: sfv-icon-box look ── */
.home .hero-trust-badges .sfv-icon-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(99, 102, 241, 0.12));
    border-color: rgba(99, 102, 241, 0.15);
}

/* ── Ghost button: cleaner underline style ── */
.home .btn-ghost-s {
    position: relative;
    color: var(--text-mid);
    font-weight: 600;
}

.home .btn-ghost-s::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #818cf8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.home .btn-ghost-s:hover::after {
    transform: scaleX(1);
}


/* ══════════════════════════════════════════════════════════════
   METRICS RESPONSIVE SCALING (UNDER 600px)
   Fluid typography and adaptive layouts for cozy mobile views
══════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    .home .metrics-row {
        gap: clamp(8px, 2.2vw, 16px) !important;
        padding: clamp(24px, 6vw, 40px) 4% !important;
    }

    .home .metric-card {
        padding: clamp(14px, 4.2vw, 24px) clamp(8px, 2.5vw, 16px) !important;
        border-radius: clamp(10px, 3vw, 16px) !important;
    }

    .home .mc-num {
        font-size: clamp(1.4rem, 7.5vw, 2.2rem) !important;
        line-height: 1.1 !important;
        margin-bottom: clamp(4px, 1.5vw, 8px) !important;
    }

    .home .mc-label {
        font-size: clamp(0.72rem, 3.2vw, 0.88rem) !important;
        line-height: 1.25 !important;
        margin-bottom: clamp(2px, 1vw, 6px) !important;
    }

    .home .mc-sub {
        font-size: clamp(0.6rem, 2.4vw, 0.72rem) !important;
        line-height: 1.3 !important;
    }
}

/* ══════════════════════════════════════════
   FOOTER TRUST TAGS (SEBI/AMFI/IRDAI)
══════════════════════════════════════════ */
.footer-trust-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-trust-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    width: fit-content;
}

/* ══════════════════════════════════════════
   SERVICES PAGE FAQ ACCORDION
══════════════════════════════════════════ */
.srv-faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.srv-faq-item:hover {
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.1);
}

.srv-faq-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    transition: color 0.2s;
}

.srv-faq-header:hover {
    color: #2563eb;
}

.srv-faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: #2563eb;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.srv-faq-item.open .srv-faq-icon {
    transform: rotate(45deg);
}

.srv-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.srv-faq-item.open .srv-faq-body {
    max-height: 400px;
}

.srv-faq-body div {
    padding: 0 24px 20px;
    color: #475569;
    line-height: 1.75;
    font-size: 0.95rem;
}

/* Education pages breadcrumb + footer schemas */
.fl-col address a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 2;
    transition: color 0.2s;
}

.fl-col address a:hover {
    color: #fff;
}

/* ══════════════════════════════════════════
   HOMEPAGE FAQ — PREMIUM CARD SYSTEM
   ══════════════════════════════════════════ */
.hp-faq-section {
    background: #f8fafc;
    padding: 100px 24px;
}

.hp-faq-container {
    max-width: 880px;
    margin: 0 auto;
}

.hp-faq-header-block {
    text-align: center;
    margin-bottom: 56px;
}

.hp-faq-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.hp-faq-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}

.hp-faq-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.hp-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hp-faq-item.open {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.07);
}

.hp-faq-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.2s;
}

.hp-faq-btn:hover {
    color: #2563eb;
}

.hp-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f9fafb;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    font-family: 'Inter', sans-serif;
    color: #9ca3af;
}

.hp-faq-item.open .hp-faq-icon {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.25);
    color: #2563eb;
    transform: rotate(45deg);
}

.hp-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-faq-inner {
    padding: 0 28px 22px;
    font-size: 0.97rem;
    color: #4b5563;
    line-height: 1.78;
}

/* ── Mobile Navbar & Bottom Bar font size adjustments (30% smaller under 800px & another 30% smaller under 400px) ── */
@media (max-width: 800px) {

    /* #navbar .logo-line-1,
    #navbar .logo-line-2 {
        font-size: 11px !important;
    } */
    /* #navbar .nav-mobile-pill {
        font-size: 7px !important;
    } */

    .mobile-bottom-bar .m-bar-btn {
        font-size: 10px !important;
    }

    #halfway-toast {
        display: none !important;
    }

    .mobile-nav-links a {
        font-size: 22px !important;
    }

    .mnd-item {
        font-size: 13px !important;
    }
}

@media (max-width: 400px) {

    /* #navbar .logo-line-1,
    #navbar .logo-line-2 {
        font-size: 8px !important;
    } */
    /* #navbar .nav-mobile-pill {
        font-size: 5px !important;
    } */

    .mobile-bottom-bar .m-bar-btn {
        font-size: 7px !important;
    }

    .mobile-nav-links a {
        font-size: 16px !important;
    }

    .mnd-item {
        font-size: 9px !important;
    }


}

/* ══════════════════════════════════════════════════════════════
   LANDSCAPE PHONE ORIENTATION
   Targets phones in landscape (height ≤ 500px + orientation: landscape).
   Tablets in landscape have height > 600px and are unaffected.
   Goal: slim the bottom navbar, make the overlay menu fully scrollable,
   and tighten all spacings/font sizes to fit the short viewport.
   ══════════════════════════════════════════════════════════════ */
@media (max-height: 500px) and (orientation: landscape) {

    /* ── 1. Bottom Navbar — slimmer to conserve vertical space ── */
    #navbar {
        height: 52px !important;
        bottom: 12px !important;
    }

    /* ── 2. Body — reduce bottom padding to match the slimmer navbar ── */
    body {
        padding-bottom: 80px !important;
    }

    /* ── 3. Mobile Menu Overlay — switch to top-aligned + scrollable ──
       In landscape, 100vh ≈ 360–430px which is too short to center-align
       all items. We switch to flex-start and let the user scroll down. ── */
    #mobile-menu-overlay {
        justify-content: flex-start !important;
        padding-top: 24px !important;       /* safe top clearance */
        padding-bottom: 80px !important;    /* clearance above the navbar */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* ── 4. Nav links — smaller font + tighter gap for compact landscape ── */
    .mobile-nav-links {
        gap: 12px !important;
    }

    .mobile-nav-links a {
        font-size: 20px !important;
    }

    /* ── 5. Dropdown sub-items — compact in landscape ── */
    .mnd-item {
        font-size: 14px !important;
    }

    .mnd-menu {
        gap: 8px !important;
    }

    /* ── 6. Footer in overlay — reduce top margin so it doesn't push off-screen ── */
    .mobile-menu-footer {
        margin-top: 24px !important;
    }

    /* ── 7. Mobile bottom bar — hide in landscape (navbar replaces it) ── */
    .mobile-bottom-bar {
        display: none !important;
    }
}