body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: #0B1923;
    /* Matching the theme */
}

.vsf-cs-home {
    width: 100%;
    min-height: 100vh;
    /* --- THEME TOKENS --- */
    --primary: #F88118;
    --secondary: #00C8FA;
    --dark: #0B1923;
    --darker: #091521;
    --medium: #1A3E5D;
    --light: #E0F3FF;
    --text-white: #FFFFFF;
    --text-dim: #94A3B8;
    --font-main: 'DM Sans', sans-serif;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* --- SEMANTIC VARIABLES (DARK BY DEFAULT) --- */
    --bg-main: var(--dark);
    --bg-alt: var(--darker);
    --bg-card: var(--medium);
    --text-heading: #FFFFFF;
    --text-body: var(--text-dim);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --marquee-stroke: rgba(255, 255, 255, 0.4);
    --card-shadow: rgba(0, 0, 0, 0.5);

    background: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    transition: background 0.5s, color 0.5s;
}

/* --- LIGHT THEME OVERRIDES --- */
.vsf-cs-home.light-theme {
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-card: #F1F5F9;
    --text-heading: #0F172A;
    --text-body: #475569;
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --text-white: #0F172A;
    --text-dim: #64748B;

    --dark: #FFFFFF;
    --darker: #F8FAFC;
    --medium: #F1F5F9;
    --secondary: #007799;
    --marquee-stroke: rgba(0, 0, 0, 0.1);
    --card-shadow: rgba(0, 0, 0, 0.05);
    --primary: #F88928;
}

/* Global Theme Stability */
.vsf-cs-home.light-theme .hero-wrapper {
    background: linear-gradient(165deg, #0B1923 0%, #1A2E3B 35%, #F8FAFC 75%, #FFFFFF 100%) !important;
}

.vsf-cs-home.light-theme,
.vsf-cs-home.light-theme section,
.vsf-cs-home.light-theme .hero-wrapper,
.vsf-cs-home.light-theme .markets-section,
.vsf-cs-home.light-theme .growth-section,
.vsf-cs-home.light-theme .why-vsf-section,
.vsf-cs-home.light-theme .process-section,
.vsf-cs-home.light-theme .faq-section,
.vsf-cs-home.light-theme .final-cta-section,
.vsf-cs-home.light-theme .success-panorama-section,
.vsf-cs-home.light-theme .helix-discovery-section,
.vsf-cs-home.light-theme .resources-section,
.vsf-cs-home.light-theme .testimonials-section,
.vsf-cs-home.light-theme .revenue-pillars-section,
.vsf-cs-home.light-theme .helix-section,
.vsf-cs-home.light-theme .partner-ecosystem,
.vsf-cs-home.light-theme .impact-footer,
.vsf-cs-home.light-theme .portfolio-section {
    background-color: var(--bg-main) !important;
    color: var(--text-body) !important;
}

/* ORANGE HEADINGS & ACCENTS IN LIGHT THEME */
.vsf-cs-home.light-theme .stat-number,
.vsf-cs-home.light-theme .mastery-num,
.vsf-cs-home.light-theme .pillar-tag,
.vsf-cs-home.light-theme .helix-tag,
.vsf-cs-home.light-theme .why-tag,
.vsf-cs-home.light-theme .process-tag,
.vsf-cs-home.light-theme .faq-tag,
.vsf-cs-home.light-theme .s3-light,
.vsf-cs-home.light-theme .s4-light,
.vsf-cs-home.light-theme .s5-light,
.vsf-cs-home.light-theme .s6-light {
    color: var(--primary) !important;
}

.vsf-cs-home.light-theme h1,
.vsf-cs-home.light-theme h3,
.vsf-cs-home.light-theme h4,
.vsf-cs-home.light-theme .node-title,
.vsf-cs-home.light-theme .owner-name,
.vsf-cs-home.light-theme .mastery-title,
.vsf-cs-home.light-theme .testimonial-author-name,
.vsf-cs-home.light-theme .pillar-h3,
.vsf-cs-home.light-theme .helix-h2,
.vsf-cs-home.light-theme .s3-bold,
.vsf-cs-home.light-theme .s4-bold,
.vsf-cs-home.light-theme .s5-bold,
.vsf-cs-home.light-theme .s6-bold {
    color: #0F172A !important;
}


.vsf-cs-home.light-theme .why-subtitle,
.vsf-cs-home.light-theme .process-step p,
.vsf-cs-home.light-theme .faq-answer p,
.vsf-cs-home.light-theme .hero-trust-signals span {
    color: #334155 !important;
    /* Much darker for legibility */
    font-weight: 500;
}

.vsf-cs-home.light-theme .hero-p2 {
    color: #ffffff !important;
    /* Much darker for legibility */
    font-weight: 500;
}

.vsf-cs-home.light-theme .hero-badge {
    background: rgba(15, 23, 42, 0.05) !important;
    color: #0F172A !important;
}

/* NEW SECTIONS LIGHT THEME STABILITY */
.vsf-cs-home.light-theme .why-tag,
.vsf-cs-home.light-theme .process-tag,
.vsf-cs-home.light-theme .faq-tag {
    color: var(--primary) !important;
    background: rgba(248, 129, 24, 0.1) !important;
}

.vsf-cs-home.light-theme .pain-card,
.vsf-cs-home.light-theme .vsf-way-card,
.vsf-cs-home.light-theme .process-step .step-number,
.vsf-cs-home.light-theme .faq-item {
    background: #FFFFFF !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04) !important;
}

.vsf-cs-home.light-theme .faq-question {
    color: #0F172A !important;
}

.vsf-cs-home.light-theme .final-cta-section {
    background: #F1F5F9 !important;
}

.vsf-cs-home.light-theme .final-cta-section h2 {
    color: #0F172A !important;
}

.vsf-cs-home.light-theme .final-cta-section p {
    color: #475569 !important;
}

.vsf-cs-home.light-theme .process-grid::before {
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Smooth transitions */
.vsf-cs-home,
.vsf-cs-home section,
.vsf-cs-home div,
.vsf-cs-home h2,
.vsf-cs-home h3,
.vsf-cs-home p,
.vsf-cs-home span {
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease !important;
}

.vsf-cs-home.light-theme .n-change.up {
    color: #059669 !important;
}

.vsf-cs-home.light-theme .n-change.down {
    color: #DC2626 !important;
}

.vsf-cs-home.light-theme .hero-trust-signals span {
    color: #0F172A !important;
    font-weight: 700;
}

.vsf-cs-home.light-theme .trust-sig-item svg {
    stroke: #0F172A !important;
    /* High contrast for light mode */
}

.vsf-cs-home.light-theme .btn-secondary {
    border: none !important;
    color: var(--primary) !important;
    font-weight: 800 !important;
    background: rgba(248, 129, 24, 0.05) !important;
    padding: 12px 25px !important;
    border-radius: 12px !important;
}

.vsf-cs-home.light-theme .btn-secondary:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

.vsf-cs-home.light-theme .hero-badge {
    color: var(--primary) !important;
    font-weight: 800 !important;
}

.vsf-cs-home.light-theme .hero-badge::before {
    background: var(--primary) !important;
}

/* SUN ICON POLISH */
.vsf-cs-home.light-theme .theme-toggle {
    background: var(--primary) !important;
    box-shadow: 0 10px 30px rgba(248, 129, 24, 0.4) !important;
}

.vsf-cs-home.light-theme .theme-toggle svg {
    color: #FFFFFF !important;
    fill: none !important;
}

/* PILLAR & HELIX LIGHT MODE REFINEMENTS */
.vsf-cs-home.light-theme .pillar-item {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
}

.vsf-cs-home.light-theme .pillar-item::before {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.15) 60%, transparent 100%) !important;
}

.vsf-cs-home.light-theme .pillar-item:hover {
    background: #FFFFFF !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08) !important;
}

.vsf-cs-home.light-theme .pillar-bg {
    opacity: 0.25 !important;
}

.vsf-cs-home.light-theme .helix-core {
    background: #FFFFFF !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.08) !important;
}

.vsf-cs-home.light-theme .helix-row.in-view .helix-core {
    border-color: var(--secondary) !important;
}

.vsf-cs-home.light-theme .helix-number {
    color: var(--primary) !important;
    opacity: 0.05 !important;
}

/* Portfolio section adapts to theme */
.vsf-cs-home.light-theme .portfolio-section {
    background: var(--bg-main) !important;
}

.vsf-cs-home.light-theme .portfolio-slider-wrapper {
    background: var(--bg-main) !important;
}

.vsf-cs-home.light-theme .portfolio-card {
    background: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.vsf-cs-home.light-theme .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%) !important;
}

.vsf-cs-home.light-theme .portfolio-overlay h4,
.vsf-cs-home.light-theme .portfolio-overlay h3 {
    color: #ffffff !important;
}

.vsf-cs-home.light-theme .portfolio-overlay p {
    color: var(--secondary) !important;
}

/* BUTTONS & LINKS IN LIGHT THEME */
.vsf-cs-home.light-theme .btn-secondary,
.vsf-cs-home.light-theme .resource-link,
.vsf-cs-home.light-theme .read-more-reviews,
.vsf-cs-home.light-theme .view-all-work,
.vsf-cs-home.light-theme .portfolio-arrow {
    color: var(--primary) !important;
    font-weight: 800 !important;
}


.vsf-cs-home.light-theme .vsf-bg-marquee {
    display: none !important;
}

.vsf-cs-home.light-theme .hero-wrapper::after {
    background-image:
        linear-gradient(rgba(0, 119, 153, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 153, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 1;
}

.vsf-cs-home.light-theme .circle-glow {
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%) !important;
    opacity: 0.2 !important;
}

/* Exceptions for buttons/labels that should stay white-on-dark */
.vsf-cs-home.light-theme .cta-btn,
.vsf-cs-home.light-theme .node-link,
.vsf-cs-home.light-theme .huge-btn,
.vsf-cs-home.light-theme .btn-arrow {
    color: #FFFFFF !important;
}

.vsf-cs-home.light-theme .node-top-tag {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


.vsf-cs-home * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- IMMERSIVE FULL-VIEW HERO --- */
.vsf-cs-home .hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-main);
    padding-top: 40px;
}

/* Unique Geometric Design Elements */
.vsf-cs-home .geometric-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.vsf-cs-home .circle-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 250, 0.1) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    filter: blur(80px);
}


/* REFINED: VSF DIAGONAL MARQUEE BG */
.vsf-cs-home .vsf-bg-marquee {
    position: absolute;
    inset: -50%;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    transform: rotate(-15deg);
    pointer-events: none;
    overflow: hidden;
    opacity: 0.15;
    /* Increased visibility */
}

.vsf-cs-home .marquee-row {
    display: flex;
    white-space: nowrap;
    gap: 50px;
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 950;
    text-transform: uppercase;
    line-height: 1;
}

.vsf-cs-home .marquee-row span {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--marquee-stroke);
}

.vsf-cs-home .marquee-row.orange span {
    -webkit-text-stroke: 1.5px var(--primary);
}

.vsf-cs-home .marquee-row.blue span {
    -webkit-text-stroke: 1.5px var(--secondary);
}

/* Opposite Scrolling Animations - Optimized */
.vsf-cs-home .marquee-row:nth-child(odd) {
    animation: marqueeLeft 80s linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

.vsf-cs-home .marquee-row:nth-child(even) {
    animation: marqueeRight 100s linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

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

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Subtle Digital Grid Mesh Overlay */
.vsf-cs-home .hero-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(var(--secondary) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 1;
}

.vsf-cs-home .hero-container {
    width: 100%;
    max-width: 1400px;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* LEFT CONTENT: Unique Typographic Layout */
.vsf-cs-home .hero-content {
    flex: 1;
    max-width: 750px;
    text-align: left;
}

.vsf-cs-home .hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.8s ease forwards;
}

.vsf-cs-home .hero-badge::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--secondary);
}

.vsf-cs-home h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--text-heading);
    opacity: 0;
    animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.vsf-cs-home h1 .light-head {
    display: block;
    font-weight: 300;
    font-size: 0.55em;
    color: var(--text-dim);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.vsf-cs-home h1 .bold-head {
    display: block;
    background: var(--primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vsf-cs-home h1 .highlight {
    color: var(--secondary);
    -webkit-text-fill-color: initial !important;
}



.vsf-cs-home .hero-p2 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0;
    animation: slideIn 0.8s ease 0.4s forwards;
    letter-spacing: 0.01em;
}

.vsf-cs-home .hero-trust-signals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
    opacity: 0;
    animation: slideIn 0.8s ease 0.5s forwards;
}

.vsf-cs-home .trust-sig-item {
    display: flex;
    align-items: flex-start;
    /* Aligns icon with top line of text */
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-heading);
    font-weight: 600;
    text-align: left;
}

.vsf-cs-home .trust-sig-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    /* Slightly lower to align with first line */
}

.vsf-cs-home .cta-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    animation: slideIn 0.8s ease 0.6s forwards;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .vsf-cs-home .phone-cta-hero {
        margin-left: 0 !important;
        width: 100%;
        justify-content: center;
    }
}

.vsf-cs-home .cta-btn {
    background: linear-gradient(135deg, var(--primary), #FF4D00);
    color: white;
    padding: 20px 45px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(255, 122, 0, 0.2);
    border: 1px solid var(--border-color);
    cursor: pointer;
    /* Force Hand Cursor */
}

.vsf-cs-home .cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(255, 122, 0, 0.4);
}

.vsf-cs-home .btn-secondary {
    color: white;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.vsf-cs-home .btn-secondary:hover {
    color: var(--secondary);
}

.vsf-cs-home .hero-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

/* Back to Top Button (Minimalist Icon Version) */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    background: none;
    color: var(--primary);
    /* Orange in dark theme */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    box-shadow: none;
    pointer-events: auto;
}

.vsf-cs-home.light-theme .back-to-top {
    color: #111;
    /* Dark icon in light mode for visibility */
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:not(.show) {
    transform: translateY(20px);
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--secondary);
    /* Cyan shift on hover */
}

.vsf-cs-home.light-theme .back-to-top:hover {
    color: var(--primary);
    /* Orange shift on hover in light mode */
}

.back-to-top svg {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        display: none !important;
    }
}

.vsf-cs-home .hero-link:hover {
    opacity: 0.8;
    color: var(--primary);
}

/* RIGHT: Unique Modern Visual Card */
.vsf-cs-home .hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    position: relative;
    perspective: 1500px;
}

.vsf-cs-home .trust-card {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 32px;
    width: 480px;
    transform: rotateY(-15deg) rotateX(10deg);
    box-shadow: 0 40px 100px var(--card-shadow);
    transition: var(--transition);
}

.vsf-cs-home .trust-card h3 {
    color: #FFFFFF;
}

.vsf-cs-home.light-theme .trust-card h3 {
    color: var(--primary) !important;
}

.vsf-cs-home .trust-card:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: var(--secondary);
}

.vsf-cs-home .logo-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.vsf-cs-home .logo-item {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.vsf-cs-home .logo-item img {
    max-height: 32px;
    width: auto;
    max-width: 100%;
}

.vsf-cs-home .logo-item span {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- KEYFRAMES --- */
@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(30px) skewY(2deg);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (min-width: 1201px) {
    .vsf-cs-home .hero-content .cta-wrapper {
        justify-content: left !important;
    }
}

@media (max-width: 1200px) {
    .vsf-cs-home .hero-wrapper {
        height: auto !important;
        min-height: 100vh;
        padding: 80px 15px 60px 15px;
    }

    .vsf-cs-home .hero-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        /* Ensures blocks like trust-signals are centered as units */
        gap: 60px;
    }

    .vsf-cs-home .hero-content {
        text-align: center;
        align-items: center;
    }

    .vsf-cs-home .hero-badge {
        justify-content: center;
    }

    .vsf-cs-home .hero-badge::before {
        display: none;
    }

    .vsf-cs-home .hero-p2 {
        margin-inline: auto;
    }

    .vsf-cs-home .hero-trust-signals {
        align-items: flex-start;
        width: fit-content;
        margin-inline: auto;
        text-align: left;
    }

    .vsf-cs-home .cta-wrapper {
        justify-content: center;
    }

    .vsf-cs-home .hero-visual {
        justify-content: center;
        width: 100%;
    }

    .vsf-cs-home .trust-card {
        width: 100%;
        max-width: 500px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .hero-wrapper {
        height: auto;
        min-height: 100vh;
        padding: 120px 15px 60px 15px;
        /* Symmetrical side padding */
    }

    .vsf-cs-home h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1;
        margin-bottom: 25px;
    }

    .vsf-cs-home h1 .light-head {
        font-size: 0.5em;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .vsf-cs-home .hero-p2 {
        font-size: 0.95rem;
        line-height: 1.8;
        color: var(--text-dim);
        max-width: 100%;
        margin-bottom: 40px;
        padding: 0 10px;
        letter-spacing: 0.02em;
    }

    .vsf-cs-home .cta-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .vsf-cs-home .cta-btn {
        width: 100%;
        text-align: center;
        padding: 18px;
        font-size: 1rem;
    }

    .vsf-cs-home .trust-card {
        padding: 25px 20px;
        border-radius: 24px;
        background: var(--bg-card);
    }

    .vsf-cs-home .logo-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }

    .vsf-cs-home .logo-item {
        padding: 15px 10px;
        border-radius: 16px;
    }

    .vsf-cs-home .logo-item img {
        max-height: 24px;
        margin-bottom: 8px;
    }

    .vsf-cs-home .logo-item span {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .vsf-cs-home .trust-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
}

/* --- CREDIBILITY BAR --- */
.vsf-cs-home .credibility-bar {
    background: var(--bg-alt);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.vsf-cs-home .credibility-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.vsf-cs-home .cred-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    flex: 1;
}

.vsf-cs-home .cred-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.vsf-cs-home .cred-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.vsf-cs-home .cred-stat {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.vsf-cs-home .cred-stat strong {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 900;
}

.vsf-cs-home .cred-stat span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
}

@media (max-width: 1024px) {
    .vsf-cs-home .credibility-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .vsf-cs-home .cred-divider {
        display: none;
    }

    .vsf-cs-home .cred-stats {
        width: 100%;
        justify-content: center;
        gap: 30px;
    }

    .vsf-cs-home .cred-stat strong {
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .vsf-cs-home .credibility-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .vsf-cs-home .cred-divider {
        display: none;
    }

    .vsf-cs-home .cred-stats {
        width: 100%;
        justify-content: center;
        gap: 30px;
    }

    .vsf-cs-home .cred-stat strong {
        font-size: 1.2rem;
    }
}

/* --- WHY VSF SECTION --- */
.vsf-cs-home .why-vsf-section {
    padding: 120px 0;
    background: var(--bg-main);
    position: relative;
}

.vsf-cs-home .why-vsf-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.vsf-cs-home .why-vsf-header {
    text-align: center;
    margin-bottom: 60px;
}

.vsf-cs-home .why-tag {
    display: inline-block;
    background: rgba(248, 129, 24, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.vsf-cs-home .why-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.1;
    margin-bottom: 20px;
}

.vsf-cs-home .why-title span {
    color: var(--primary);
}

.vsf-cs-home .pain-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.vsf-cs-home .pain-card,
.vsf-cs-home .vsf-way-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
}

.vsf-cs-home .pain-card:hover {
    border-color: #ef4444;
    transform: translateY(-5px);
}

.vsf-cs-home .vsf-way-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(248, 129, 24, 0.1);
}

.vsf-cs-home .pain-card h3,
.vsf-cs-home .vsf-way-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 20px 0;
}

.vsf-cs-home .pain-card ul,
.vsf-cs-home .vsf-way-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vsf-cs-home .pain-card li,
.vsf-cs-home .vsf-way-card li {
    font-size: 1rem;
    color: var(--text-dim);
    padding-left: 28px;
    position: relative;
}

.vsf-cs-home .pain-card li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
}

.vsf-cs-home .vsf-way-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1;
}

.vsf-cs-home .vsf-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.vsf-cs-home .vsf-link:hover {
    letter-spacing: 2px;
}

/* --- PROCESS SECTION --- */
.vsf-cs-home .process-section {
    padding: 120px 0;
    background: var(--bg-main);
    position: relative;
}

.vsf-cs-home .process-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.vsf-cs-home .process-header {
    text-align: center;
    margin-bottom: 80px;
}

.vsf-cs-home .process-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.vsf-cs-home .process-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 950;
    color: var(--text-heading);
    margin-top: 10px;
}

.vsf-cs-home .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.vsf-cs-home .process-grid::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.vsf-cs-home .process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.vsf-cs-home .step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(248, 129, 24, 0.15);
    transition: 0.3s;
}

.vsf-cs-home .process-step:hover .step-number {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.vsf-cs-home .step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(248, 129, 24, 0.1);
    transition: var(--transition);
}

.vsf-cs-home .process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(248, 129, 24, 0.3);
    background: var(--primary);
    color: #fff;
}

.vsf-cs-home .step-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.vsf-cs-home .step-content p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
    .vsf-cs-home .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 30px;
    }

    .vsf-cs-home .process-grid::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .vsf-cs-home .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .pain-solution-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .pain-solution-grid {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ SECTION --- */
.vsf-cs-home .faq-section {
    padding: 120px 0;
    background: var(--bg-alt);
}

.vsf-cs-home .faq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.vsf-cs-home .faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.vsf-cs-home .faq-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 15px;
}

.vsf-cs-home .faq-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-heading);
}

.vsf-cs-home .faq-title span {
    color: var(--primary);
}

.vsf-cs-home .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vsf-cs-home .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.vsf-cs-home .faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

.vsf-cs-home .faq-question:hover {
    color: var(--primary);
}

.vsf-cs-home .faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.vsf-cs-home .faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.vsf-cs-home .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 30px;
}

.vsf-cs-home .faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 30px;
}

.vsf-cs-home .faq-answer p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 1rem;
}

/* --- FINAL CTA SECTION --- */
.vsf-cs-home .final-cta-section {
    padding: 140px 5%;
    background: var(--bg-main);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vsf-cs-home .final-cta-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .final-cta-h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 950;
    color: #fff !important;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 25px;
}

.vsf-cs-home.light-theme .final-cta-h2 {
    color: #0F172A !important;
}

.vsf-cs-home .final-cta-h2 span {
    color: var(--primary);
}

.vsf-cs-home .final-cta-p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 1100px;
    margin: 0 auto 40px;
    line-height: 1.6;
    width: 100%;
}

.vsf-cs-home.light-theme .final-cta-p {
    color: #475569 !important;
}

.vsf-cs-home .final-cta-section::after {
    content: "";
    position: absolute;
    bottom: -250px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 600px;
    background: radial-gradient(ellipse at bottom center, rgba(248, 129, 24, 0.55) 0%, rgba(248, 129, 24, 0.2) 50%, transparent 80%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(100px);
    pointer-events: none;
}

.vsf-cs-home.light-theme .final-cta-section::after {
    background: radial-gradient(ellipse at bottom center, rgba(248, 129, 24, 0.35) 0%, rgba(248, 129, 24, 0.1) 50%, transparent 80%);
}

.vsf-cs-home.light-theme .final-cta-section .btn-secondary:hover {
    background: transparent !important;
    color: #00C8FA !important;
    /* Secondary blue from dark theme */
    opacity: 1;
    border-color: transparent !important;
}

.vsf-cs-home .final-cta-section .cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 3;
}

@media (max-width: 600px) {
    .vsf-cs-home .final-cta-section .cta-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .vsf-cs-home .final-cta-section .cta-wrapper .cta-btn,
    .vsf-cs-home .final-cta-section .cta-wrapper .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .cta-premium-card {
        border-radius: 40px;
        padding: 60px 20px;
    }

    .vsf-cs-home .cta-h2 {
        font-size: 2.2rem;
    }

    .vsf-cs-home .cta-p {
        font-size: 1rem;
    }

    .vsf-cs-home .final-cta-section .cta-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .vsf-cs-home .final-cta-section .cta-wrapper .cta-btn,
    .vsf-cs-home .final-cta-section .cta-wrapper .btn-secondary {
        width: 100%;
    }
}

/* WHY VSF CARD REFINEMENT */
.vsf-cs-home .pain-card,
.vsf-cs-home .vsf-way-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.vsf-cs-home .vsf-icon svg,
.vsf-cs-home .pain-icon svg {
    filter: drop-shadow(0 0 10px rgba(248, 129, 24, 0.2));
}

.vsf-cs-home .vsf-link:hover {
    gap: 15px;
    color: var(--primary);
}

/* --- SECTION 2: DUAL KINETIC --- */
.vsf-cs-home .markets-section {
    padding: 80px 0 0 0;
    background: var(--darker);
    position: relative;
    overflow: hidden;
}

.vsf-cs-home .markets-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(0, 163, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.vsf-cs-home .markets-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 5%;
}

.vsf-cs-home .markets-header h2 {
    font-size: clamp(2rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--text-heading);
    letter-spacing: -3px;
    line-height: 1.1;
}

.vsf-cs-home .markets-header .light-title,
.vsf-cs-home .markets-header .s3-light,
.vsf-cs-home .markets-header .s4-light,
.vsf-cs-home .markets-header .s6-light {
    display: block;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 10px;
    color: var(--secondary) !important;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .vsf-cs-home .markets-header h2 {
        letter-spacing: -1px;
    }

    .vsf-cs-home .markets-header .light-title,
    .vsf-cs-home .markets-header .s3-light,
    .vsf-cs-home .markets-header .s4-light,
    .vsf-cs-home .markets-header .s6-light {
        letter-spacing: 4px;
        font-size: 0.6rem;
    }
}

.vsf-cs-home .markets-rows-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    overflow: hidden;
}

.vsf-cs-home .slider-track-wrapper {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    display: flex;
    user-select: none;
    position: relative;
}

.vsf-cs-home .slider-track-wrapper::-webkit-scrollbar {
    display: none;
}

.vsf-cs-home .slider-track-wrapper:active {
    cursor: grabbing;
}

.vsf-cs-home .slider-track {
    display: flex;
    width: max-content;
    gap: 25px;
    align-items: center;
    will-change: transform;
}

/* ROW 1: IMAGES (L to R) */
.vsf-cs-home .row-images {
    animation: slideLR 25s linear infinite;
    padding: 20px 0;
    /* Space for hover transform */
    overflow: visible !important;
}

/* ROW 2: TEXT (R to L) */
.vsf-cs-home .row-text-kinetic {
    animation: slideRL 40s linear infinite;
    padding: 40px 0;
}

/* Interaction Pausing */
.vsf-cs-home .slider-track-wrapper.user-interacting .slider-track {
    animation-play-state: paused;
}

@keyframes slideLR {
    0% {
        transform: translateX(calc(-50% - 12.5px));
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideRL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12.5px));
    }
}

.vsf-cs-home .market-card {
    width: 380px;
    height: 420px;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-card);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    -webkit-user-drag: none;
    user-select: none;
}

/* The 'Chakar' (Spinning Border) Effect */
.vsf-cs-home .market-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            var(--secondary),
            transparent 30%);
    animation: rotateChakar 4s linear infinite;
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

@keyframes rotateChakar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Inner layer to preserve radius and show image on top of border trace background */
.vsf-cs-home .market-card::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: var(--bg-card);
    border-radius: 28px;
    z-index: -1;
}

.vsf-cs-home .market-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2) brightness(0.6);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 28px;
    pointer-events: none;
    /* Crucial for drag */
}

.vsf-cs-home .market-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0, 163, 255, 0.3);
    z-index: 100 !important;
}

.vsf-cs-home .market-card:hover::before {
    opacity: 1;
}

.vsf-cs-home .market-card:hover img {
    filter: grayscale(0) contrast(1) brightness(0.9);
    transform: scale(1.05);
}

.vsf-cs-home .market-card[data-href] {
    cursor: pointer;
}

.vsf-cs-home .market-card-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, var(--bg-alt) 0%, transparent 60%);
    z-index: 2;
}

.vsf-cs-home .market-card-content h4,
.vsf-cs-home .market-card-content .market-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
}

/* --- SECTION 3: GROWTH ECOSYSTEM --- */
.vsf-cs-home .growth-section {
    padding: 100px 0;
    background: var(--darker);
    position: relative;
    overflow: hidden;
    /* content-visibility: auto removed to fix initial render issues */
}

.vsf-cs-home .growth-description {
    max-width: 900px;
    margin: -40px auto 80px;
    text-align: center;
    padding: 0 5%;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

.vsf-cs-home .growth-description strong {
    color: var(--text-heading);
    font-weight: 700;
}

@media (max-width: 768px) {
    .vsf-cs-home .growth-description {
        font-size: 1rem;
        margin-top: -20px;
        margin-bottom: 50px;
        line-height: 1.6;
        padding: 0 20px;
    }
}

.vsf-cs-home .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 5%;
}

@media (max-width: 1200px) {
    .vsf-cs-home .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.vsf-cs-home .stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}

.vsf-cs-home .stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0;
    transition: 0.5s;
}

.vsf-cs-home .stat-card:hover {
    background: var(--bg-card);
    transform: translateY(-15px);
    border-color: var(--secondary);
}

.vsf-cs-home .stat-card:hover::after {
    opacity: 1;
}

.vsf-cs-home .stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-heading);
    display: block;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.vsf-cs-home .stat-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.vsf-cs-home .stat-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* RE-DEVELOPED: KINETIC MASTERY LIST (NO CARDS) */
.vsf-cs-home .services-mastery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
    position: relative;
}

.vsf-cs-home .mastery-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    position: relative;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.vsf-cs-home .mastery-item::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.vsf-cs-home .mastery-item.orange-theme::before {
    background: var(--primary);
}

.vsf-cs-home .mastery-item:hover::before {
    width: 100%;
}

/* Hover Background Fill Effect */
.vsf-cs-home .mastery-bg-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 142, 207, 0.1) 0%, transparent 100%);
    transform: translateX(-101%);
    transition: 0.5s;
    z-index: 0;
}

.vsf-cs-home .mastery-item.orange-theme .mastery-bg-fill {
    background: linear-gradient(90deg, rgba(248, 129, 24, 0.1) 0%, transparent 100%);
}

.vsf-cs-home .mastery-item:hover .mastery-bg-fill {
    transform: translateX(0);
}

.vsf-cs-home .mastery-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .mastery-num {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: monospace;
    opacity: 0.6;
    transition: 0.3s;
}

.vsf-cs-home .mastery-item.orange-theme .mastery-num {
    color: var(--primary);
}

.vsf-cs-home .mastery-item:hover .mastery-num {
    opacity: 1;
    transform: translateX(5px);
}

.vsf-cs-home .mastery-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: -1px;
    transition: 0.4s;
}

.vsf-cs-home .mastery-item:hover .mastery-title {
    color: var(--text-heading);
    transform: translateX(10px);
    letter-spacing: 1px;
}

.vsf-cs-home .mastery-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-heading);
    font-size: 1.2rem;
    transition: 0.5s;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .mastery-item:hover .mastery-arrow {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: rotate(-45deg);
}

.vsf-cs-home .mastery-item.orange-theme:hover .mastery-arrow {
    background: var(--primary);
    border-color: var(--primary);
}

/* Mobile Mastery */
@media (max-width: 768px) {
    .vsf-cs-home .services-mastery-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .vsf-cs-home .mastery-title {
        font-size: 1.4rem;
    }
}

/* CTA Section below Mastery */
.vsf-cs-home .mastery-cta {
    text-align: center;
    margin-top: 100px;
    padding: 0 5%;
    /* Side padding to prevent edge touching */
}

/* --- SECTION 3: PERFORMANCE METRICS --- */
.vsf-cs-home .growth-section .s3-light {
    font-size: 1.1rem;
    letter-spacing: 0.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.vsf-cs-home .growth-section .s3-bold {
    font-size: 4rem;
    font-weight: 950;
    letter-spacing: 0.1rem;
    line-height: 1.1;
    color: #fff;
    display: block;
}

@media (max-width: 768px) {
    .vsf-cs-home .growth-section .s3-light {
        font-size: 0.9rem;
        letter-spacing: 0.3rem;
    }

    .vsf-cs-home .growth-section .s3-bold {
        font-size: 2.0rem;
    }
}

/* --- SECTION 4: THE REVENUE PILLAR SHIFT (ULTRA PREMIUM) --- */
.vsf-cs-home .revenue-pillars-section {
    padding: 100px 0 150px;
    /* Reduced top padding to 80px */
    background: #000;
    position: relative;
    overflow: hidden;
}

.vsf-cs-home .revenue-pillars-section .markets-header {
    margin-bottom: 120px;
    text-align: center;
}

.vsf-cs-home .revenue-pillars-section .s4-light {
    letter-spacing: 0.8rem;
    /* Increased spacing */
    margin-bottom: 25px;
    display: block;
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.vsf-cs-home .revenue-pillars-section .s4-bold {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 950;
    color: #fff;
    text-transform: uppercase;
    display: block;
    letter-spacing: 0.15rem;
    /* Breathable spacing */
}

.vsf-cs-home .pillars-container {
    display: flex;
    height: 700px;
    width: 100%;
    gap: 10px;
    padding: 0 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.vsf-cs-home .pillar-item {
    position: relative;
    flex: 1;
    height: 100%;
    min-height: 100%;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 30px;
    /* Reduced vertical & horizontal padding */
    min-width: 0;
    /* Important for flex shrink */
}

.vsf-cs-home .pillar-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 2;
}

/* Desktop Hover Expansion */
@media (min-width: 1025px) {
    .vsf-cs-home .pillar-item:hover {
        flex: 2.8;
        background: #0f172a;
    }

    .vsf-cs-home .pillar-item.orange-pillar:hover {
        background: #1a0f05;
    }
}

/* Background Visual */
.vsf-cs-home .pillar-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
    transition: 1s ease;
}

.vsf-cs-home .pillar-item:hover .pillar-bg {
    opacity: 0.4;
    transform: scale(1.1);
}

.vsf-cs-home .pillar-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

/* Pillar Content */
.vsf-cs-home .pillar-content {
    position: relative;
    z-index: 3;
    transition: 0.5s;
    width: 100%;
}

.vsf-cs-home .pillar-tag {
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
}

.vsf-cs-home .pillar-item.orange-pillar .pillar-tag {
    color: var(--primary);
}

.vsf-cs-home .pillar-h3 {
    font-size: 2.2rem;
    /* Reduced base size to prevent clipping */
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: -1px;
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    word-wrap: break-word;
    word-break: break-word;
    /* Allow break if absolutely needed */
}

.vsf-cs-home .pillar-sub-h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.2;
    display: none;
    animation: fadeIn 0.5s forwards;
}

.vsf-cs-home .pillar-item.orange-pillar .pillar-sub-h3 {
    color: var(--primary);
}

.vsf-cs-home .pillar-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.5s;
}

.vsf-cs-home .pillar-item:hover .pillar-sub-h3,
.vsf-cs-home .pillar-item:hover .pillar-desc {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.vsf-cs-home .pillar-item:hover .pillar-h3 {
    color: var(--secondary);
    font-size: 3.5rem;
    /* Large only on hover */
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.vsf-cs-home .pillar-item.orange-pillar:hover .pillar-h3 {
    color: var(--primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* HUGE BUTTONS */
.vsf-cs-home .huge-btn {
    background: linear-gradient(135deg, var(--secondary), #00A3FF);
    color: white;
    padding: 22px 45px;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: 0.4s;
    box-shadow: 0 20px 40px rgba(0, 142, 207, 0.3);
    opacity: 0;
    transform: translateY(20px);
    width: fit-content;
    cursor: pointer;
    text-transform: uppercase;
}

.vsf-cs-home .pillar-item.orange-pillar .huge-btn {
    background: linear-gradient(135deg, var(--primary), #FF4D00);
    box-shadow: 0 20px 40px rgba(248, 129, 24, 0.3);
}

.vsf-cs-home .pillar-item:hover .huge-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Adjustments - Focused on Visibility */
@media (max-width: 1024px) {
    .vsf-cs-home .revenue-pillars-section {
        padding: 60px 0 80px;
        /* Reduced top padding as requested */
    }

    .vsf-cs-home .pillars-container {
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 0 20px;
    }

    .vsf-cs-home .pillar-item {
        flex: none;
        height: 480px;
        /* Consistent height on mobile */
        padding: 40px 25px;
        background: #000;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .vsf-cs-home .pillar-h3 {
        font-size: 2.0rem;
        margin-bottom: 12px;
    }

    .vsf-cs-home .pillar-desc {
        display: block;
        opacity: 1;
        height: auto;
        font-size: 1rem;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.85);
        /* Visible Font */
        max-width: 100%;
    }

    .vsf-cs-home .huge-btn {
        opacity: 1;
        transform: none;
        padding: 18px 25px;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }

    .vsf-cs-home .revenue-pillars-section .markets-header {
        margin-bottom: 60px;
        padding: 0 20px;
    }

    .vsf-cs-home .revenue-pillars-section .s4-light {
        letter-spacing: 0.4rem;
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .vsf-cs-home .revenue-pillars-section .s4-bold {
        font-size: 2.0rem;
        /* More robust mobile size */
        line-height: 1.15;
        letter-spacing: 0.05rem;
    }

    .vsf-cs-home .pillar-bg {
        opacity: 0.75 !important;
        filter: brightness(1.1) !important;
        /* Enhanced visibility for dark mode */
    }

    .vsf-cs-home .pillar-item::before {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
        /* Softened overlay for image visibility */
    }
}

/* --- SECTION 5: THE TRUST MATRIX (KINETIC GRID) --- */
.vsf-cs-home .partner-ecosystem .s5-light {
    font-size: 1rem;
    letter-spacing: 0.6rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.vsf-cs-home .partner-ecosystem .s5-bold {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.1rem;
    color: #fff;
    display: block;
}

@media (max-width: 768px) {
    .vsf-cs-home .partner-ecosystem .s5-light {
        font-size: 0.85rem;
        letter-spacing: 0.4rem;
    }

    .vsf-cs-home .partner-ecosystem .s5-bold {
        font-size: 2rem;
    }
}

.vsf-cs-home .partner-ecosystem {
    padding: 20px 0 100px;
    /* Reduced top padding significantly */
    background: #000;
    position: relative;
}

.vsf-cs-home .trust-matrix {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0 40px;
}

.vsf-cs-home .trust-cell {
    position: relative;
    height: 160px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    perspective: 1000px;
    cursor: pointer;
    overflow: hidden;
}

/* Subtle Glow Overlay */
.vsf-cs-home .trust-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: 0.3s;
}

.vsf-cs-home .trust-cell:hover::after {
    opacity: 1;
}

.vsf-cs-home .trust-cell:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Individual Brand Glows */
.vsf-cs-home .trust-cell:nth-child(1):hover {
    border-color: #4285F4;
    box-shadow: 0 0 40px rgba(66, 133, 244, 0.1);
}

/* Google */
.vsf-cs-home .trust-cell:nth-child(2):hover {
    border-color: #1877F2;
    box-shadow: 0 0 40px rgba(24, 119, 242, 0.1);
}

/* Meta */
.vsf-cs-home .trust-cell:nth-child(3):hover {
    border-color: #FF6200;
    box-shadow: 0 0 40px rgba(255, 98, 0, 0.1);
}

/* SEMRush */
.vsf-cs-home .trust-cell:nth-child(4):hover {
    border-color: #0076B6;
    box-shadow: 0 0 40px rgba(0, 118, 182, 0.1);
}

/* BBB */
.vsf-cs-home .trust-cell:nth-child(5):hover {
    border-color: #00809D;
    box-shadow: 0 0 40px rgba(0, 128, 157, 0.1);
}

/* Bing */

.vsf-cs-home .trust-cell img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.5);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

.vsf-cs-home .trust-cell:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .vsf-cs-home .trust-matrix {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .partner-ecosystem {
        padding: 40px 0 80px;
    }

    .vsf-cs-home .trust-matrix {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
        gap: 15px;
    }

    .vsf-cs-home .trust-cell {
        height: 130px;
        border-radius: 20px;
    }

    .vsf-cs-home .trust-cell img {
        max-height: 50px;
    }
}

@media (max-width: 600px) {
    .vsf-cs-home .trust-matrix {
        grid-template-columns: 1fr;
        /* Single column below 600px */
        gap: 20px;
    }

    .vsf-cs-home .trust-cell {
        height: 120px;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.03);
    }

    .vsf-cs-home .trust-cell img {
        filter: none !important;
        /* Normal images, no grayscale */
        opacity: 1 !important;
        transform: none !important;
    }

    .vsf-cs-home .trust-cell::after {
        display: none;
    }

    /* Remove lighting effect */
}

/* --- SECTION 6: PORTFOLIO SHOWCASE (KINETIC SLIDER) --- */
.vsf-cs-home .portfolio-section {
    padding: 50px 0 80px;
    background: var(--bg-main);
    position: relative;
    text-align: center;
}

.vsf-cs-home .portfolio-section .s6-light {
    font-size: 1.1rem;
    letter-spacing: 0.6rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.vsf-cs-home .portfolio-section .s6-bold {
    font-size: 4rem;
    font-weight: 950;
    letter-spacing: 0.1rem;
    line-height: 1.1;
    color: var(--text-heading);
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.vsf-cs-home .portfolio-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
    background: var(--bg-main);
    cursor: grab;
    user-select: none;
}

.vsf-cs-home .portfolio-slider-wrapper:active {
    cursor: grabbing;
}

.vsf-cs-home .portfolio-track {
    display: flex;
    width: max-content;
    gap: 40px;
    padding: 0 40px;
    will-change: transform;
    /* JS controls transform — no CSS animation */
}

.vsf-cs-home .portfolio-card {
    flex: 0 0 500px;
    height: 360px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.5s;
    text-decoration: none;
    display: block;
    -webkit-user-drag: none;
    flex-shrink: 0;
}

.vsf-cs-home .portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--secondary);
    box-shadow: 0 25px 60px rgba(0, 200, 250, 0.2);
}

.vsf-cs-home .portfolio-desc {
    max-width: 900px;
    margin: 35px auto 60px;
    color: var(--text-body);
    line-height: 1.8;
    font-size: 1.15rem;
    padding: 0 20px;
}

.vsf-cs-home .portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    pointer-events: none;
    display: block;
}

.vsf-cs-home .portfolio-card:hover img {
    transform: scale(1.08);
}

/* Overlay always visible at bottom, revealing fully on hover */
.vsf-cs-home .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 32px;
    opacity: 0.85;
    transition: opacity 0.45s ease, background 0.45s ease;
}

.vsf-cs-home .portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
}

.vsf-cs-home .portfolio-overlay h4,
.vsf-cs-home .portfolio-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    transform: translateY(5px);
    transition: transform 0.4s ease;
}

.vsf-cs-home .portfolio-card:hover .portfolio-overlay h4,
.vsf-cs-home .portfolio-card:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.vsf-cs-home .portfolio-overlay p {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    opacity: 0.8;
    transform: translateY(5px);
    transition: transform 0.4s ease 0.05s, opacity 0.4s ease;
}

.vsf-cs-home .portfolio-card:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.vsf-cs-home .portfolio-footer {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 5%;
    text-align: left;
}

.vsf-cs-home .view-all-work {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: 0.4s ease;
}

.vsf-cs-home .view-all-work:hover {
    color: var(--secondary);
    transform: translateX(15px);
}

@media (max-width: 1024px) {
    .vsf-cs-home .portfolio-section .s6-bold {
        font-size: 2.8rem;
    }

    .vsf-cs-home .portfolio-card {
        flex: 0 0 400px;
        height: 280px;
    }
}

@media (max-width: 600px) {
    .vsf-cs-home .portfolio-section {
        padding: 15px 0;
    }

    .vsf-cs-home .portfolio-section .s6-bold {
        font-size: 2.2rem;
    }

    .vsf-cs-home .portfolio-card {
        flex: 0 0 300px;
        height: 210px;
        border-radius: 20px;
    }

    .vsf-cs-home .portfolio-overlay h4,
    .vsf-cs-home .portfolio-overlay h3 {
        font-size: 1.3rem;
    }
}

/* Mobile/Tablet: Always show overlay, disable scale transforms */
@media (max-width: 1024px) {
    .vsf-cs-home .portfolio-card:hover {
        transform: none !important;
        border-color: rgba(255, 255, 255, 0.05) !important;
        box-shadow: none !important;
    }

    .vsf-cs-home .portfolio-card:hover img {
        transform: none !important;
    }

    /* Always show overlay text on mobile (no hover needed) */
    .vsf-cs-home .portfolio-overlay {
        opacity: 1 !important;
    }

    .vsf-cs-home .portfolio-overlay h4,
    .vsf-cs-home .portfolio-overlay h3,
    .vsf-cs-home .portfolio-overlay p {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    /* Pause slider animation on mobile for better UX */
    .vsf-cs-home .portfolio-track {
        animation-duration: 120s;
    }
}

.vsf-cs-home .kinetic-text-item {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    padding-right: 60px;
    display: flex;
    user-select: none;
    letter-spacing: 0.05em;
}

.vsf-cs-home .char {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    position: relative;
    margin: 0 2px;
}

/* Drum of Color State */
.vsf-cs-home .char.revealed {
    color: #FFFFFF;
    -webkit-text-stroke: 1.5px #FFFFFF;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(0, 163, 255, 0.2);
    transform: scale(1.1) translateY(-5px);
    z-index: 10;
}

.vsf-cs-home.light-theme .char {
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(15, 23, 42, 0.15) !important;
}

.vsf-cs-home.light-theme .char.revealed {
    color: var(--primary) !important;
    -webkit-text-stroke: 1px var(--primary) !important;
    text-shadow: 0 0 20px rgba(248, 129, 24, 0.15);
}

@media (max-width: 1024px) {
    .vsf-cs-home {
        cursor: auto;
    }

    .vsf-cs-home .custom-cursor,
    .vsf-cs-home .custom-cursor-dot {
        display: none;
    }

    .vsf-cs-home .market-card {
        width: 340px;
        height: 380px;
    }
}

/* --- SECTION 7: CORE HELIX DISCOVERY (RADICAL UX) --- */
.vsf-cs-home .helix-section {
    padding: 10px 0;
    background: #0b1923;
    position: relative;
}

.vsf-cs-home .helix-row {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 0 8%;
    position: relative;
}

.vsf-cs-home .helix-row:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.vsf-cs-home .helix-row:nth-child(even) .helix-content {
    direction: ltr;
}

.vsf-cs-home .helix-visual-stage {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The Magnetic Core (Premium Upgrade) */
.vsf-cs-home .helix-core {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.85) rotate(-3deg);
    opacity: 0.1;
    overflow: visible;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

/* Ambient Glow behind the core */
.vsf-cs-home .helix-core::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: var(--secondary);
    filter: blur(60px);
    opacity: 0;
    transition: 1.5s;
    z-index: -1;
}

/* Pulsing Orbit Ring */
.vsf-cs-home .helix-core::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1.5px dashed var(--secondary);
    animation: rotateCore 30s linear infinite;
    opacity: 0;
    transition: 1s;
}

@keyframes rotateCore {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.vsf-cs-home .helix-row.in-view .helix-core {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    border-color: var(--secondary);
    box-shadow: 0 40px 120px var(--card-shadow), inset 0 0 80px rgba(0, 200, 250, 0.05);
}

.vsf-cs-home .helix-row.in-view .helix-core::before {
    opacity: 0.25;
}

.vsf-cs-home .helix-row.in-view .helix-core::after {
    opacity: 0.4;
}

.vsf-cs-home .helix-core img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: 1s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

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

    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.vsf-cs-home .helix-content {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.vsf-cs-home .helix-row.in-view .helix-content {
    opacity: 1;
    transform: translateY(0);
}

.vsf-cs-home .helix-tag {
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
}

.vsf-cs-home .helix-h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1;
    margin-bottom: 30px;
}

.vsf-cs-home .helix-p {
    font-size: 1.2rem;
    color: var(--text-body);
    line-height: 1.8;
    max-width: 500px;
    margin-bottom: 40px;
}

/* Decoration */
.vsf-cs-home .helix-number {
    position: absolute;
    font-size: 15rem;
    font-weight: 950;
    color: var(--text-heading);
    opacity: 0.03;
    top: -50px;
    left: -20px;
    z-index: -1;
    line-height: 1;
}

@media (max-width: 1024px) {

    .vsf-cs-home .helix-row,
    .vsf-cs-home .helix-row:nth-child(even) {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 100px 5%;
        direction: ltr;
    }

    .vsf-cs-home .helix-core {
        width: 320px;
        height: 320px;
    }

    .vsf-cs-home .helix-visual-stage {
        height: 350px;
    }

    .vsf-cs-home .helix-p {
        margin-inline: auto;
    }
}

/* --- SECTION 8: THE IMPACT BLUEPRINT MATRIX (MACHINE AESTHETIC) --- */
.vsf-cs-home .success-panorama-section {
    height: 1400vh;
    /* Increased height for slower scroll */
    background: var(--bg-main);
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

.vsf-cs-home .matrix-terminal {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.vsf-cs-home .matrix-grid {
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2500px;
    /* Enhanced for 3D depth */
}

.vsf-cs-home .matrix-node {
    position: absolute !important;
    width: 100%;
    opacity: 0;
    transform: translate3d(20%, 60%, -1000px) rotateX(15deg);
    /* Coming from deep bottom corner */
    pointer-events: none;
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Slower transition */
    z-index: 2;
    background: transparent;
    visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform, opacity;
}

.vsf-cs-home .matrix-node.active {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
    pointer-events: all;
    z-index: 10;
    visibility: visible;
}

/* Desktop Peek Effect + Descent Illusion */
@media (min-width: 1025px) {
    .vsf-cs-home .matrix-node.upcoming {
        opacity: 0.25;
        transform: translate3d(75%, 25%, -600px) rotateX(10deg);
        /* Peeking from below/corner */
        z-index: 5;
        visibility: visible;
        pointer-events: none;
    }
}

.vsf-cs-home .matrix-node.passed {
    opacity: 0;
    transform: translate3d(-20%, -60%, 800px) rotateX(-15deg);
    /* Moving "up and out" as we descend */
    z-index: 1;
    visibility: hidden;
}

/* Connecting vertical line - Hidden in terminal mode for cleaner look */
.vsf-cs-home .matrix-grid::before {
    display: none;
}

.vsf-cs-home .node-bundle {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    perspective: 2000px;
}

.vsf-cs-home .node-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.vsf-cs-home .node-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    background: var(--bg-card);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vsf-cs-home .node-card:hover::before,
.vsf-cs-home .node-card:hover::after {
    width: 40px;
    height: 40px;
    border-color: var(--text-heading);
}

/* Image Sector */
.vsf-cs-home .node-visual {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 200, 250, 0.2);
}

.vsf-cs-home .node-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.vsf-cs-home .node-card:hover .node-img {
    transform: scale(1.05);
}


@keyframes sweep {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Content Sector */
.vsf-cs-home .node-body {
    padding: 30px;
    position: relative;
}

.vsf-cs-home .node-top-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    /* Tags usually white */
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.vsf-cs-home .node-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.vsf-cs-home .node-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.vsf-cs-home .n-stat {
    display: flex;
    flex-direction: column;
}

.vsf-cs-home .n-val {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 2px;
}

.vsf-cs-home .n-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--text-body);
    opacity: 0.4;
    letter-spacing: 1px;
}

.vsf-cs-home .n-change {
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}

.vsf-cs-home .n-change.up {
    color: #00ff88;
}

.vsf-cs-home .n-change.down {
    color: #ff3c00;
}

.vsf-cs-home .node-quote {
    font-style: italic;
    color: var(--text-body);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 15px 0;
    border-left: 2px solid var(--primary);
    padding-left: 15px;
}

.vsf-cs-home .node-owner {
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.vsf-cs-home .owner-name {
    font-weight: 800;
    color: var(--text-heading);
    display: block;
}

.vsf-cs-home .owner-title {
    font-size: 0.7rem;
    color: var(--text-body);
    opacity: 0.5;
}

.vsf-cs-home .node-footer {
    display: flex;
    width: 100%;
    padding-top: 25px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.vsf-cs-home .node-link {
    width: 100%;
    background: var(--secondary);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
    display: block;
}

.vsf-cs-home .node-link:hover {
    background: var(--primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(248, 129, 24, 0.3);
}

/* Floating Meta Tags */
.vsf-cs-home .floating-tag {
    position: absolute;
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--text-heading);
    opacity: 0.3;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-main);
    pointer-events: none;
}

.vsf-cs-home .tag-tl {
    top: -10px;
    left: -20px;
}

.vsf-cs-home .tag-br {
    bottom: -10px;
    right: -20px;
}

@media (max-width: 1024px) {
    .vsf-cs-home .node-bundle {
        width: 90%;
    }

    .vsf-cs-home .matrix-grid::before {
        left: 5%;
    }
}

/* Success Panorama Mobile Fixes */
.vsf-cs-home .success-panorama-section .markets-header {
    text-align: center;
    position: absolute;
    top: 40px;
    width: 100%;
    z-index: 10;
}

.vsf-cs-home .success-panorama-section .markets-header span {
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vsf-cs-home .success-panorama-section .markets-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-heading) !important;
    margin-top: 10px;
    letter-spacing: 0.02em;
    /* Added space for better readability */
    line-height: 1.1;
}

.vsf-cs-home .success-panorama-section .markets-header h2 span,
.vsf-cs-home .success-panorama-section .markets-header h2 .highlight {
    color: var(--primary);
    text-transform: none;
    letter-spacing: normal;
}

@media (max-width: 768px) {
    .vsf-cs-home .success-panorama-section {
        height: 600vh;
    }

    .vsf-cs-home .matrix-terminal {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 15px;
    }

    .vsf-cs-home .success-panorama-section .markets-header {
        position: relative;
        top: 0;
        padding: 0;
    }

    .vsf-cs-home .success-panorama-section .markets-header h2 {
        font-size: 1.6rem;
        font-weight: 800;
        /* Slightly lighter weight for mobile clarity */
        line-height: 1.2;
        margin-top: 5px;
        letter-spacing: 0.01em;
    }

    .vsf-cs-home .matrix-grid {
        height: auto;
        min-height: 65vh;
        margin-top: 0;
        display: flex;
        align-items: center;
    }

    .vsf-cs-home .node-bundle {
        max-width: 100%;
        width: 100%;
    }

    .vsf-cs-home .node-body {
        padding: 15px;
    }

    .vsf-cs-home .node-visual {
        height: 150px;
    }

    .vsf-cs-home .node-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .vsf-cs-home .node-stats {
        gap: 8px;
        margin-bottom: 12px;
    }

    .vsf-cs-home .n-val {
        font-size: 1rem;
    }

    .vsf-cs-home .n-label {
        font-size: 0.5rem;
    }

    .vsf-cs-home .node-quote {
        font-size: 0.75rem;
        margin: 10px 0;
        padding-left: 10px;
        line-height: 1.4;
    }

    .vsf-cs-home .owner-name {
        font-size: 0.85rem;
    }

    .vsf-cs-home .owner-title {
        font-size: 0.65rem;
    }

    .vsf-cs-home .node-footer {
        padding-top: 15px;
    }

    .vsf-cs-home .node-link {
        padding: 12px;
        font-size: 0.85rem;
    }
}

/* Impact Section Footer */
.vsf-cs-home .impact-footer {
    margin: 120px auto;
    padding: 100px 5%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 60px;
    text-align: center;
    backdrop-filter: blur(40px);
    max-width: 1100px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.vsf-cs-home .impact-footer h3 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    /* Balanced desktop tracking */
    line-height: 1;
}

.vsf-cs-home .impact-footer p {
    color: var(--text-body);
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 600px;
}

.vsf-cs-home .cta-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.vsf-cs-home .cta-btn.main {
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    background: var(--secondary);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.vsf-cs-home .cta-btn.main:hover {
    transform: translateY(-3px);
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(248, 129, 24, 0.4);
    color: #FFFFFF !important;
}

.vsf-cs-home .view-all-work {
    margin: 0;
    padding: 18px 35px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: 0.3s;
}

@media (max-width: 1200px) {
    .vsf-cs-home .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .case-grid {
        grid-template-columns: 1fr;
    }

    .vsf-cs-home .impact-footer h3 {
        font-size: 1.8rem;
        /* Scaled down for mobile */
        font-weight: 800;
        margin-bottom: 20px;
        color: var(--text-heading);
        line-height: 1.2;
        letter-spacing: 0;
    }

    .vsf-cs-home .impact-footer p {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 30px !important;
        padding: 0 10px;
    }

    .vsf-cs-home .impact-footer {
        padding: 60px 20px;
        border-radius: 40px;
        margin: 80px auto;
    }

    .vsf-cs-home .cta-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .vsf-cs-home .cta-btn.main,
    .vsf-cs-home .view-all-work {
        width: 100%;
        max-width: 320px;
        padding: 18px 25px !important;
        font-size: 0.95rem !important;
        text-align: center;
        display: block;
        margin: 0 auto !important;
    }
}

/* Free Resources Section */
.vsf-cs-home .free-resources-section {
    padding: 120px 5%;
    background: var(--darker);
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 700px;
}

.vsf-cs-home .free-resources-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(0, 163, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.vsf-cs-home .resources-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .resources-header h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.vsf-cs-home .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .resource-card {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.vsf-cs-home .resource-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vsf-cs-home .resource-card:hover::before {
    transform: scaleX(1);
}

.vsf-cs-home .resource-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(0, 163, 255, 0.2);
}

.vsf-cs-home .resource-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 15px;
    line-height: 1.2;
}

.vsf-cs-home .resource-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex: 1;
}

.vsf-cs-home .resource-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.vsf-cs-home .resource-link::after {
    content: "→";
    transition: transform 0.3s;
}

.vsf-cs-home .resource-link:hover {
    color: var(--primary);
    gap: 15px;
}

.vsf-cs-home .resource-link:hover::after {
    transform: translateX(5px);
}

.vsf-cs-home .resource-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white;
    /* Icon always white */
}

@media (max-width: 768px) {
    .vsf-cs-home .free-resources-section {
        padding: 80px 5%;
    }

    .vsf-cs-home .resources-header {
        margin-bottom: 50px;
    }

    .vsf-cs-home .resources-header h2 {
        font-size: 1.8rem;
    }

    .vsf-cs-home .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vsf-cs-home .resource-card {
        padding: 30px 25px;
        min-height: 280px;
    }

    .vsf-cs-home .resource-card h3 {
        font-size: 1.3rem;
    }
}

/* Testimonials Section */
.vsf-cs-home .testimonials-section {
    padding: 120px 5%;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.vsf-cs-home .testimonials-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(0, 200, 250, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.vsf-cs-home .testimonials-header {
    max-width: 1400px;
    margin: 0 auto 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .testimonials-header-left h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 15px;
}

.vsf-cs-home .testimonials-header-left p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
}

.vsf-cs-home .review-badges {
    display: flex;
    gap: 30px;
    align-items: center;
}

.vsf-cs-home .review-badge {
    text-align: center;
    padding: 20px 25px;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s;
}

.vsf-cs-home .review-badge:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.vsf-cs-home .review-badge-platform {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vsf-cs-home .review-badge-score {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 5px;
}

.vsf-cs-home .review-badge-stars {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.vsf-cs-home .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .testimonial-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.vsf-cs-home .testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vsf-cs-home .testimonial-card:hover::before {
    transform: scaleY(1);
}

.vsf-cs-home .testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 200, 250, 0.3);
    box-shadow: 0 20px 50px rgba(0, 200, 250, 0.15);
}

.vsf-cs-home .testimonial-quote {
    color: var(--text-heading);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
    position: relative;
}

.vsf-cs-home .testimonial-quote::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: -5px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.vsf-cs-home .testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.vsf-cs-home .testimonial-author-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-heading);
}

.vsf-cs-home .testimonial-author-company {
    font-size: 0.9rem;
    color: var(--text-body);
    opacity: 0.5;
}

.vsf-cs-home .testimonials-footer {
    text-align: center;
    position: relative;
    z-index: 2;
}

.vsf-cs-home .read-more-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 15px 30px;
    border: 2px solid var(--secondary);
    border-radius: 50px;
    background: var(--glass-bg);
}

.vsf-cs-home .read-more-reviews::after {
    content: "→";
    transition: transform 0.3s;
}

.vsf-cs-home .read-more-reviews:hover {
    background: var(--secondary);
    color: #FFFFFF;
    border-color: var(--secondary);
    gap: 15px;
}

.vsf-cs-home .read-more-reviews:hover::after {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .vsf-cs-home .testimonials-header {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .vsf-cs-home .review-badges {
        flex-wrap: wrap;
        gap: 15px;
    }

    .vsf-cs-home .review-badge {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .testimonials-section {
        padding: 80px 5%;
    }

    .vsf-cs-home .testimonials-header-left h2 {
        font-size: 1.8rem;
    }

    .vsf-cs-home .testimonials-header-left p {
        font-size: 0.95rem;
    }

    .vsf-cs-home .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .vsf-cs-home .testimonial-card {
        padding: 30px 25px;
    }

    .vsf-cs-home .review-badge {
        flex: 1;
        min-width: 100px;
    }

    .vsf-cs-home .review-badge-score {
        font-size: 1.5rem;
    }
}

.vsf-cs-home .dna-pane {
    display: none;
    width: 100%;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    animation: paneEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes paneEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

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

.vsf-cs-home .dna-pane.active {
    display: grid;
}

.vsf-cs-home .pane-text h3 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.1;
}

.vsf-cs-home .pane-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Checklists */
.vsf-cs-home .dna-check-list {
    list-style: none;
    margin-bottom: 40px;
}

.vsf-cs-home .dna-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.vsf-cs-home .dna-check-list li .check-icon {
    color: var(--secondary);
    font-size: 1.4rem;
}

/* Visual Elements */
.vsf-cs-home .dna-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Team Orbit Visual */
.vsf-cs-home .team-orbit {
    position: relative;
    width: 100%;
    height: 100%;
}

.vsf-cs-home .team-face {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    background: #111;
    transition: 0.6s ease;
}

.vsf-cs-home .team-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Funnel Visual */
.vsf-cs-home .funnel-stage {
    width: 80%;
    height: 50px;
    background: linear-gradient(90deg, var(--dark-blue), var(--secondary));
    margin-bottom: 10px;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 15% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Responsive DNA */
@media (max-width: 1200px) {
    .vsf-cs-home .dna-view-box {
        padding: 60px;
        flex-direction: column;
        min-height: auto;
    }

    .vsf-cs-home .dna-pane {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vsf-cs-home .pane-text h3 {
        font-size: 2.5rem;
    }

    .vsf-cs-home .dna-check-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .vsf-cs-home .dna-switcher {
        flex-direction: column;
        gap: 5px;
    }

    .vsf-cs-home .dna-glider {
        display: none;
    }

    .vsf-cs-home .dna-tab.active {
        background: var(--secondary);
        border-radius: 10px;
    }

    .vsf-cs-home .dna-view-box {
        padding: 40px 20px;
    }

}

/* --- THEME TOGGLE BUTTON --- */
.vsf-cs-home .theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 200, 250, 0.3);
    cursor: pointer;
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vsf-cs-home .theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
}

.vsf-cs-home .theme-toggle svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
    transition: 0.5s;
    color: white;
}

.vsf-cs-home.light-theme .theme-toggle svg {
    color: white;
}

.light-icon {
    display: none;
}

.vsf-cs-home.light-theme .dark-icon {
    display: none;
}

.vsf-cs-home.light-theme .light-icon {
    display: block;
}

@media screen and (max-width: 768px) {
    .vsf-cs-home .theme-toggle {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        display: none;
    }
}

/* ==========================================================================
           SECTION 7: VSF V2 CASE STUDY SLIDER (CINEMATIC KINETIC)
           All classes prefixed with vsf-v2-cs-
           ========================================================================== */
.vsf-v2-cs-section {
    background: var(--bg-main);
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

.vsf-v2-cs-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.vsf-v2-cs-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 5%;
}

.vsf-v2-cs-header h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.vsf-v2-cs-header .vsf-v2-cs-highlight {
    color: var(--primary);
}

.vsf-v2-cs-slider-wrap {
    position: relative;
    cursor: grab;
    user-select: none;
    padding: 40px 0;
}

.vsf-v2-cs-slider-wrap:active {
    cursor: grabbing;
}

.vsf-v2-cs-track {
    display: flex;
    gap: 30px;
    padding: 0 5%;
    will-change: transform;
}

.vsf-v2-cs-card {
    flex: 0 0 450px;
    background: var(--bg-card);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    height: 620px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    cursor: default;
}

.vsf-v2-cs-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-decoration: none;
    cursor: pointer;
}

.vsf-v2-cs-card:hover {
    transform: translateY(-15px) scale(1.02) rotateX(2deg);
    border-color: var(--secondary);
    box-shadow: 0 30px 80px rgba(0, 200, 250, 0.2);
}

.vsf-v2-cs-visual {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.vsf-v2-cs-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.vsf-v2-cs-card:hover .vsf-v2-cs-visual img {
    transform: scale(1.1);
}

.vsf-v2-cs-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
}

.vsf-v2-cs-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vsf-v2-cs-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.vsf-v2-cs-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
}

.vsf-v2-cs-stat-item {
    text-align: center;
}

.vsf-v2-cs-stat-val {
    display: block;
    font-size: 1.2rem;
    font-weight: 950;
    color: var(--secondary);
}

.vsf-v2-cs-stat-lbl {
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vsf-v2-cs-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 25px;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}


.vsf-v2-cs-owner-name {
    font-weight: 800;
    color: var(--text-heading);
    font-size: 0.9rem;
}

.vsf-v2-cs-btn {
    background: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.vsf-v2-cs-card:hover .vsf-v2-cs-btn {
    background: var(--primary);
    transform: rotate(-45deg);
}

.vsf-v2-cs-progress-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px auto;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: height 0.3s;
}

.vsf-v2-cs-progress-bar:hover {
    height: 8px;
}

.vsf-v2-cs-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
}

/* MOBILE OPTIMIZATION FOR CASE STUDIES */
@media (max-width: 768px) {
    .vsf-v2-cs-section {
        padding: 60px 0;
    }

    .vsf-v2-cs-header {
        margin-bottom: 30px;
    }

    .vsf-v2-cs-card {
        flex: 0 0 320px;
        height: 540px;
        border-radius: 24px;
    }

    .vsf-v2-cs-visual {
        height: 180px;
    }

    .vsf-v2-cs-body {
        padding: 20px;
    }

    .vsf-v2-cs-title {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }

    .vsf-v2-cs-stats {
        padding: 12px;
        margin-bottom: 15px;
        gap: 8px;
    }

    .vsf-v2-cs-stat-val {
        font-size: 1.05rem;
    }

    .vsf-v2-cs-stat-lbl {
        font-size: 0.55rem;
    }

    .vsf-v2-cs-quote {
        font-size: 0.85rem;
        margin-bottom: 15px;
        padding-left: 15px;
    }

    .vsf-v2-cs-footer {
        padding-top: 15px;
    }

    .vsf-v2-cs-owner-name {
        font-size: 0.8rem;
    }

    .vsf-v2-cs-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .vsf-v2-cs-progress-bar {
        width: 150px;
        margin: 20px auto;
    }
}

/* LIGHT MODE OVERRIDES */
.vsf-cs-home.light-theme .vsf-v2-cs-card {
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.vsf-cs-home.light-theme .vsf-v2-cs-stats {
    background: #F8FAFC;
}

.vsf-cs-home.light-theme .vsf-v2-cs-owner-name {
    color: #0F172A;
}

.vsf-cs-home .hero-wrapper {
    min-height: 100vh;
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .vsf-v2-cs-card {
        flex: 0 0 320px;
        height: auto;
    }

    .vsf-v2-cs-header h2 {
        font-size: 2rem;
    }
}

/* Disable Hover on Mobile/Tablet */
@media (max-width: 1024px) {
    .vsf-v2-cs-card:hover {
        transform: none !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
        border-color: var(--border-color) !important;
    }

    .vsf-v2-cs-card:hover .vsf-v2-cs-visual img {
        transform: none !important;
    }

    .vsf-v2-cs-card:hover .vsf-v2-cs-btn {
        background: var(--secondary) !important;
        transform: none !important;
    }
}

/* VBOUT RAW FORM STYLES - PREMIUM SCOPE */
.vsf-form-container {
    background: var(--bg-card) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid var(--border-color) !important;
    padding: 30px !important;
    border-radius: 32px !important;
    width: 500px !important;
    max-width: 100% !important;
    box-shadow: 0 40px 100px var(--card-shadow) !important;
    transition: var(--transition) !important;
    position: relative !important;
    z-index: 10 !important;
    display: grid !important;
    place-items: start !important;
    text-align: left !important;
    /* Prevent label centering flash */
}

/* STACKING - FORM AND SKELETON IN SAME GRID CELL */
.vsf-skeleton,
form.vbtEmbedFormStyle-cs {
    grid-area: 1 / 1 !important;
    width: 100% !important;
    transition: opacity 0.4s ease-in-out !important;
}

form.vbtEmbedFormStyle-cs {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    /* Completely hide until loaded */
    border: none !important;
    /* Kill the 'white frame' */
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.form-loaded form.vbtEmbedFormStyle-cs {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.form-loaded .vsf-skeleton {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.vbf-row-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 15px !important;
    row-gap: 0 !important;
}

.vboutEmbedFormRow {
    margin-bottom: 15px !important;
    display: flex !important;
    flex-direction: column !important;
}

.vboutEmbedFormRow[style*="display: none"],
.vboutEmbedFormRow[style*="display:none"] {
    display: none !important;
}

.vfb-title {
    display: block !important;
    color: var(--text-dim) !important;
    font-size: 0.75rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    height: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.vfb-text,
.vfb-textarea,
.vfb-select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #FFFFFF !important;
    color: #0F172A !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.vfb-textarea {
    height: 100px !important;
    padding: 12px 15px !important;
    resize: none !important;
}

/* CHECKBOX ROW ALIGNMENT - ONE LINE */
.checkbox-row,
.vfb-field {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 5px !important;
}

.checkbox-row .vboutEmbedFormField {
    display: flex !important;
    align-items: center !important;
}

.vfb-checkbox {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.vfb-choice {
    color: var(--text-dim) !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.vbf-submit {
    width: 100% !important;
    height: 60px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--secondary), #00A3FF) !important;
    color: #FFFFFF !important;
    font-weight: 950 !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 8px 20px rgba(0, 200, 250, 0.2) !important;
    margin-top: 10px !important;
}

.vbf-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(0, 200, 250, 0.3) !important;
}

/* LIGHT THEME OVERRIDE FOR BUTTON (ORANGE) */
.vsf-cs-home.light-theme .vbf-submit {
    background: linear-gradient(135deg, var(--primary), #FF8000) !important;
    box-shadow: 0 10px 25px rgba(248, 129, 24, 0.2) !important;
}

.vsf-cs-home.light-theme .vbf-submit:hover {
    box-shadow: 0 15px 35px rgba(248, 129, 24, 0.3) !important;
}

/* --- EXTREME ACCURACY SKELETON --- */
.vsf-skeleton {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.skeleton-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 15px !important;
    row-gap: 15px !important;
}

.skeleton-item {
    background: rgba(255, 255, 255, 0.9) !important;
    /* Match final input color better */
    border-radius: 10px !important;
    position: relative !important;
    overflow: hidden !important;
    height: 48px !important;
}

.skeleton-label {
    width: 80px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 8px !important;
    border-radius: 4px !important;
}

.skeleton-item.textarea {
    height: 100px !important;
}

.skeleton-item.full {
    width: 100% !important;
}

.skeleton-btn {
    width: 100% !important;
    height: 60px !important;
    border-radius: 12px !important;
    background: var(--secondary) !important;
    opacity: 0.7 !important;
    /* Higher opacity to match button vibrancy */
    margin-top: 10px !important;
}

.skeleton-checkbox {
    height: 18px !important;
    width: 60% !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    margin-top: 8px !important;
}

@keyframes skeleton-wave {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skeleton-item::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent) !important;
    animation: skeleton-wave 1.5s infinite !important;
}

.vfb-select-wrapper {
    position: relative !important;
    height: 48px !important;
}

.vfb-select-wrapper::after {
    content: '▼' !important;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--secondary) !important;
    pointer-events: none !important;
    font-size: 0.7rem !important;
}

.vfb-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    padding-right: 40px !important;
}

@media (max-width: 768px) {
    .vsf-form-container {
        padding: 20px 15px !important;
        /* Reduced padding */
        border-radius: 20px !important;
    }

    .vboutEmbedFormRow {
        margin-bottom: 10px !important;
        /* Reduced gap */
    }

    .vfb-title {
        margin-bottom: 5px !important;
    }

    .vfb-text,
    .vfb-select {
        height: 42px !important;
        /* Reduced height */
        font-size: 0.9rem !important;
    }

    .vfb-textarea {
        height: 80px !important;
        /* Reduced height */
    }

    .vbf-submit {
        min-height: 50px !important;
        height: auto !important;
        padding: 10px 15px !important;
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
    }

    .skeleton-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .vbf-row-grid {
        display: block !important;
    }

    .vbf-row-grid .vbf-row {
        width: auto !important;
    }
}

/* Google Calendar Modal */
.vsf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vsf-modal.active {
    display: flex;
}

.vsf-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: vsfFadeIn 0.3s ease;
}

.vsf-modal-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: vsfModalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
}

.vsf-modal-header {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.vsf-modal-header h3 {
    margin: 0 !important;
    font-size: 1.2rem;
    color: var(--text-heading);
    font-weight: 800;
}

.vsf-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-body);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vsf-modal-body {
    flex: 1;
    position: relative;
    background: #fff;
}

.vsf-modal-body iframe {
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vsf-modal-body iframe.loaded {
    opacity: 1;
}

.vsf-modal-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: vsfSpin 1s linear infinite;
}

.vsf-modal.loaded .vsf-modal-loader {
    display: none;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .vsf-modal {
        padding: 10px;
    }

    .vsf-modal-container {
        height: 95vh;
        border-radius: 16px;
    }

    .vsf-modal-header {
        padding: 10px 15px;
    }

    .vsf-modal-header h3 {
        font-size: 1rem;
    }
}

@keyframes vsfFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes vsfModalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

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