html, body {
    background-color: #0a0a0c !important;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.loffc-cs-wrapper {
    background-color: #0a0a0c !important;
    color: #e0e0e0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 50px;
    flex: 1;
    min-height: 80vh !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 100; 
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.loffc-cs-wrapper .loffc-cs-hero {
    padding: 120px 20px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.loffc-cs-wrapper .loffc-cs-meta {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #d4af37;
    display: block;
    margin-bottom: 15px;
}

.loffc-cs-wrapper .loffc-cs-hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 25px 0;
    color: #ffffff;
    letter-spacing: -1px;
}

.loffc-cs-wrapper .loffc-cs-hero-title span {
    color: #d4af37;
}

.loffc-cs-wrapper .loffc-cs-hero-desc {
    font-size: 1.25rem;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
}

.loffc-cs-wrapper .loffc-cs-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.loffc-cs-wrapper .mockup-left {
    flex-direction: row-reverse;
}

.loffc-cs-wrapper .text-container {
    flex: 1;
}

.loffc-cs-wrapper .analytical-headline {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.loffc-cs-wrapper .blueprint-narrative {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 30px;
}

.loffc-cs-wrapper .flex-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.loffc-cs-wrapper .flex-point {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 20px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.loffc-cs-wrapper .flex-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d4af37;
    margin-bottom: 8px;
}

.loffc-cs-wrapper .flex-desc {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.4;
}

.loffc-cs-wrapper .mockup-container {
    flex: 1;
    width: 100%;
}

.loffc-cs-wrapper .laptop-frame {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 12px 12px 4px 4px;
    padding: 12px 12px 0 12px;
    position: relative;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 25px 50px -12px rgba(0, 0, 0, 1), 
        0 0 30px rgba(252, 163, 17, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.loffc-cs-wrapper:hover .laptop-frame {
    transform: translateY(-5px);
    border-color: rgba(252, 163, 17, 0.3);
}

.loffc-cs-wrapper .laptop-base {
    width: 114%;
    height: 22px;
    background: linear-gradient(to bottom, #3a3a3a 0%, #111 100%);
    margin-left: -7%;
    border-radius: 0 0 16px 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 30px 60px rgba(0, 0, 0, 0.9), 
        0 10px 40px rgba(252, 163, 17, 0.15); 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.loffc-cs-wrapper:hover .laptop-base {
    transform: translateY(-5px);
    box-shadow: 
        0 40px 70px rgba(0, 0, 0, 0.9), 
        0 0 50px rgba(252, 163, 17, 0.15),
        0 0 15px rgba(252, 163, 17, 0.1);
}

.loffc-cs-wrapper .laptop-base::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #0a0a0a;
    border-radius: 0 0 6px 6px;
}

.loffc-cs-wrapper .mac-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding-left: 5px;
}

.loffc-cs-wrapper .mac-dots span {
    width: 10px; 
    height: 10px;
    border-radius: 50%;
    display: block;
}

.loffc-cs-wrapper .mac-dots span:nth-child(1) { background: #ff5f56; } 
.loffc-cs-wrapper .mac-dots span:nth-child(2) { background: #ffbd2e; } 
.loffc-cs-wrapper .mac-dots span:nth-child(3) { background: #27c93f; } 

.loffc-cs-wrapper .mockup-content {
    background: #000;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.loffc-cs-wrapper .mockup-content img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.loffc-cs-wrapper .mockup-content img:hover {
    opacity: 1;
}

.loffc-cs-wrapper .mac-scrollable {
    position: relative;
    padding-bottom: 62.5%; 
    height: 0;
    overflow: hidden;
    background: #111;
}

.loffc-cs-wrapper .mac-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 400%;
    transform: scale(0.25);
    transform-origin: top left;
    border: none;
    background-color: #ffffff;
}

.loffc-cs-wrapper .iphone-mockup {
    width: 375px;
    height: 700px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    position: relative;
    background: linear-gradient(135deg, #444 0%, #0a0a0c 100%);
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.4),
        inset 0 -1px 3px rgba(0, 0, 0, 0.8),
        0 25px 50px rgba(0, 0, 0, 0.9), 
        0 0 40px rgba(252, 163, 17, 0.12);
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.loffc-cs-wrapper .iphone-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        0 40px 70px rgba(0, 0, 0, 1), 
        0 0 60px rgba(252, 163, 17, 0.25);
}

.loffc-cs-wrapper .iphone-screen {
    position: absolute;
    top: 14px;
    left: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    border: none;
    border-radius: 26px;
    display: block;
    background: #000;
}

.loffc-cs-wrapper .iphone-notch {
    position: absolute;
    top: 14px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 120px; 
    height: 25px;
    background: #111;
    border-bottom-left-radius: 16px; 
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.loffc-cs-wrapper .terminal-window {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.1);
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.loffc-cs-wrapper .terminal-window:hover {
    transform: translateY(-5px);
}

.loffc-cs-wrapper .terminal-header {
    background: #151515;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.loffc-cs-wrapper .terminal-title {
    color: #666;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    margin-left: 20px;
}

.loffc-cs-wrapper .terminal-body {
    padding: 24px;
    background: #0a0a0a;
    position: relative;
}

.loffc-cs-wrapper .terminal-body pre {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    user-select: none; 
    -webkit-user-select: none;
}

.loffc-cs-wrapper .terminal-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,1) 100%);
    pointer-events: none;
}

.loffc-cs-wrapper .comment { color: #6a9955; } 
.loffc-cs-wrapper .selector { color: #569cd6; font-weight: bold; } 
.loffc-cs-wrapper .property { color: #9cdcfe; } 
.loffc-cs-wrapper .value { color: #ce9178; }
.loffc-cs-wrapper .technical-flex {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 60px 0;
    position: relative;
    z-index: 2;
}

.loffc-cs-wrapper .performance-metric {
    font-size: 7rem;
    font-weight: 900;
    color: #d4af37;
    line-height: 1;
    margin: 0 0 15px 0;
    letter-spacing: -2px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.loffc-cs-wrapper .case-study-cta {
    text-align: center;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 2;
}

.loffc-cs-wrapper .btn-case-study {
    display: inline-block;
    padding: 18px 40px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.loffc-cs-wrapper .btn-case-study:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .loffc-cs-wrapper .loffc-cs-section {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 40px 15px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    .v2m-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px; 
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0a0a0a;
        flex-direction: column;
        padding: 20px 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 99;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

    .loffc-cs-wrapper .loffc-cs-hero-title {
        font-size: 2.5rem !important;
    }
    
    .loffc-cs-wrapper .performance-metric {
        font-size: 4.5rem !important;
    }
    
    .loffc-cs-wrapper .flex-points-grid {
        grid-template-columns: 1fr !important;
    }

    .loffc-cs-wrapper .loffc-cs-section .text-container,
    .loffc-cs-wrapper .loffc-cs-section .mockup-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .loffc-cs-wrapper .iphone-mockup {
       width: 320px !important;
        max-width: 100% !important;
        height: 600px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 2rem auto !important;
        display: block;
        background: linear-gradient(135deg, #444 0%, #0a0a0c 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 36px;
        box-shadow: 
            inset 0 1px 3px rgba(255, 255, 255, 0.4), 
            inset 0 -1px 3px rgba(0, 0, 0, 0.8),
            0 20px 40px rgba(0, 0, 0, 0.9), 
            0 0 30px rgba(252, 163, 17, 0.12);
    }

    .loffc-cs-wrapper .iphone-mockup:hover {
        transform: none !important;
        box-shadow: 
            inset 0 1px 3px rgba(255, 255, 255, 0.4), 
            inset 0 -1px 3px rgba(0, 0, 0, 0.8),
            0 25px 50px rgba(0, 0, 0, 0.9), 
            0 0 40px rgba(252, 163, 17, 0.12);
    }
	
	 .loffc-cs-wrapper .mockup-container {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        display: block !important;
        margin: 0 auto !important;
        padding: 0 !important;
	}

    .loffc-cs-wrapper .iphone-screen {
       position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        width: calc(100% - 20px) !important;
        height: calc(100% - 20px) !important;
        border: none !important;
        border-radius: 26px !important;
        background: #000;
    }

    .loffc-cs-wrapper .iphone-notch {
        display: block !important;
        visibility: visible !important;
        position: absolute !important;
        top: 10px !important; 
        left: 50% !important; 
        transform: translateX(-50%) !important;
        width: 110px !important;
        height: 18px !important; 
        background-color: #1a1a1e !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
        z-index: 999999 !important;
        pointer-events: none !important;
    }

    .loffc-cs-wrapper [class*="laptop"] img,
    .loffc-cs-wrapper [class*="macbook"] img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode p,
body.light-mode li,
body.light-mode .cs-text,
body.light-mode .project-description {
    color: #0a0a0c !important;
    -webkit-text-fill-color: #0a0a0c !important;
    background: none !important;
    text-shadow: none !important;
}

body.light-mode .stat-number,
body.light-mode .metric,
body.light-mode .cs-label {
    color: #f39c12 !important;
}

body.light-mode .cs-card,
body.light-mode .stat-box,
body.light-mode .cs-content-block,
body.light-mode .challenge-solution-box,
body.light-mode .client-initiative-analysis,
body.light-mode .dark-band {
    background-color: #f4f4f5 !important;
    border: 1px solid #e0e0e2 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

html.light-mode,
body.light-mode,
body.light-mode section,
body.light-mode .v2m-footer,
body.light-mode footer,
body.light-mode .cs-hero,
body.light-mode div[class*="section"],
body.light-mode div[class*="wrapper"],
body.light-mode .loffc-cs-wrapper {
    background-color: #ffffff !important;
    background-image: none !important;
}

.technical-dashboard {
        padding: 60px 20px;
        max-width: 1100px;
        margin: 0 auto;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
    }

    .dashboard-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
    }

.loffc-cs-wrapper {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 50px;
}

.loffc-cs-wrapper .loffc-cs-hero {
    padding: 120px 20px 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.loffc-cs-wrapper .loffc-cs-meta {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #d4af37;
    display: block;
    margin-bottom: 15px;
}

.loffc-cs-wrapper .loffc-cs-hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 25px 0;
    color: #ffffff;
    letter-spacing: -1px;
}

.loffc-cs-wrapper .loffc-cs-hero-title span {
    color: #d4af37;
}

.loffc-cs-wrapper .loffc-cs-hero-desc {
    font-size: 1.25rem;
    color: #a0a0a0;
    max-width: 700px;
    margin: 0 auto;
}

.loffc-cs-wrapper .loffc-cs-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.loffc-cs-wrapper .mockup-left {
    flex-direction: row-reverse;
}

.loffc-cs-wrapper .text-container {
    flex: 1;
}

.loffc-cs-wrapper .analytical-headline {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.loffc-cs-wrapper .blueprint-narrative {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 30px;
}

.loffc-cs-wrapper .flex-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.loffc-cs-wrapper .flex-point {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 20px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
}

.loffc-cs-wrapper .flex-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d4af37;
    margin-bottom: 8px;
}

.loffc-cs-wrapper .flex-desc {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.4;
}

.loffc-cs-wrapper .mockup-container {
    flex: 1;
    width: 100%;
}

.loffc-cs-wrapper .laptop-frame {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 12px 12px 4px 4px;
    padding: 12px 12px 0 12px;
    position: relative;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 25px 50px -12px rgba(0, 0, 0, 1), 
        0 0 30px rgba(252, 163, 17, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.loffc-cs-wrapper:hover .laptop-frame {
    transform: translateY(-5px);
    border-color: rgba(252, 163, 17, 0.3);
}

.loffc-cs-wrapper .laptop-base {
    width: 114%;
    height: 22px;
    background: linear-gradient(to bottom, #3a3a3a 0%, #111 100%);
    margin-left: -7%;
    border-radius: 0 0 16px 16px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 30px 60px rgba(0, 0, 0, 0.9), 
        0 10px 40px rgba(252, 163, 17, 0.15); 
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.loffc-cs-wrapper:hover .laptop-base {
    transform: translateY(-5px);
    box-shadow: 
        0 40px 70px rgba(0, 0, 0, 0.9), 
        0 0 50px rgba(252, 163, 17, 0.15),
        0 0 15px rgba(252, 163, 17, 0.1);
}

.loffc-cs-wrapper .laptop-base::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #0a0a0a;
    border-radius: 0 0 6px 6px;
}

.loffc-cs-wrapper .mac-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    padding-left: 5px;
}

.loffc-cs-wrapper .mac-dots span {
    width: 10px; 
    height: 10px;
    border-radius: 50%;
    display: block;
}

.loffc-cs-wrapper .mac-dots span:nth-child(1) { background: #ff5f56; } 
.loffc-cs-wrapper .mac-dots span:nth-child(2) { background: #ffbd2e; } 
.loffc-cs-wrapper .mac-dots span:nth-child(3) { background: #27c93f; } 

.loffc-cs-wrapper .mockup-content {
    background: #000;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.loffc-cs-wrapper .mockup-content img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.loffc-cs-wrapper .mockup-content img:hover {
    opacity: 1;
}

.loffc-cs-wrapper .mac-scrollable {
    position: relative;
    padding-bottom: 62.5%; 
    height: 0;
    overflow: hidden;
    background: #111;
}

.loffc-cs-wrapper .mac-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 400%;
    transform: scale(0.25);
    transform-origin: top left;
    border: none;
    background-color: #ffffff;
}

.loffc-cs-wrapper .iphone-mockup {
    width: 375px;
    height: 700px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    position: relative;
    background: linear-gradient(135deg, #444 0%, #0a0a0c 100%);
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.4),
        inset 0 -1px 3px rgba(0, 0, 0, 0.8),
        0 25px 50px rgba(0, 0, 0, 0.9), 
        0 0 40px rgba(252, 163, 17, 0.12);
    margin: 0 auto;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.loffc-cs-wrapper .iphone-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.3),
        0 40px 70px rgba(0, 0, 0, 1), 
        0 0 60px rgba(252, 163, 17, 0.25);
}

.loffc-cs-wrapper .iphone-screen {
    position: absolute;
    top: 14px;
    left: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    border: none;
    border-radius: 26px;
    display: block;
    background: #000;
}

.loffc-cs-wrapper .iphone-notch {
    position: absolute;
    top: 14px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 120px; 
    height: 25px;
    background: #111;
    border-bottom-left-radius: 16px; 
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.loffc-cs-wrapper .terminal-window {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.1);
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.loffc-cs-wrapper .terminal-window:hover {
    transform: translateY(-5px);
}

.loffc-cs-wrapper .terminal-header {
    background: #151515;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.loffc-cs-wrapper .terminal-title {
    color: #666;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    margin-left: 20px;
}

.loffc-cs-wrapper .terminal-body {
    padding: 24px;
    background: #0a0a0a;
    position: relative;
}

.loffc-cs-wrapper .terminal-body pre {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    user-select: none; 
    -webkit-user-select: none;
}

.loffc-cs-wrapper .terminal-body::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(10,10,10,0) 0%, rgba(10,10,10,1) 100%);
    pointer-events: none;
}

.loffc-cs-wrapper .comment { color: #6a9955; } 
.loffc-cs-wrapper .selector { color: #569cd6; font-weight: bold; } 
.loffc-cs-wrapper .property { color: #9cdcfe; } 
.loffc-cs-wrapper .value { color: #ce9178; }
.syntax-caption {
    font-weight: 700;
    color: #FFF;
    margin: 0;
    font-size: 0.9rem;
}

.loffc-cs-wrapper .technical-flex {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 60px 0;
    position: relative;
    z-index: 2;
}

.technical-dashboard {
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.dashboard-text {
    text-align: left;
}

.dashboard-text .blueprint-narrative {
    margin: 0;
    max-width: 100%;
}

.dashboard-metric-container {
    text-align: center;
    border-left: 1px solid #333;
    padding-left: 40px;
}

.loffc-cs-wrapper .performance-metric,
.performance-metric {
    font-size: 7rem;
    font-weight: 900;
    color: #d4af37;
    line-height: 1;
    margin: 0 0 15px 0;
    letter-spacing: -2px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.dashboard-metric-container .performance-metric {
    font-size: 4.5rem !important;
    font-weight: 800 !important;
    color: #FFA000 !important;
    text-shadow: 0 0 20px rgba(255, 160, 0, 0.6) !important;
    margin-bottom: 10px !important;
    white-space: nowrap !important;
}

.loffc-cs-wrapper .case-study-cta {
    text-align: center;
    padding: 40px 20px 80px;
    position: relative;
    z-index: 2;
}

.loffc-cs-wrapper .btn-case-study {
    display: inline-block;
    padding: 18px 40px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.loffc-cs-wrapper .btn-case-study:hover {
    background: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode p,
body.light-mode li,
body.light-mode .cs-text,
body.light-mode .project-description {
    color: var(--text-main) !important;
    -webkit-text-fill-color: var(--text-main) !important;
    background: none !important;
    text-shadow: none !important;
}

body.light-mode .stat-number,
body.light-mode .metric,
body.light-mode .cs-label {
    color: var(--accent-glow) !important;
}

body.light-mode .cs-card,
body.light-mode .stat-box,
body.light-mode .cs-content-block,
body.light-mode .challenge-solution-box {
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode section,
body.light-mode .v2m-footer,
body.light-mode footer,
body.light-mode .cs-hero,
body.light-mode div[class*="section"],
body.light-mode div[class*="wrapper"] {
    background-color: var(--bg-deep) !important;
    background-image: none !important;
}

body.light-mode .client-initiative-analysis,
body.light-mode .dark-band {
    background-color: var(--bg-surface) !important;
}

.v2m-footer {
    width: 100%;
    background-color: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0;
    margin-top: 200px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .loffc-cs-wrapper .loffc-cs-section {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 40px 15px !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    .section-header, 
    .section-title {
        text-align: center !important;
        width: 100% !important;
        margin: 0 0 30px 0 !important;
        padding: 0 !important;
        display: block !important;
    }
 
    .loffc-cs-wrapper .loffc-cs-hero-title { font-size: 2.5rem !important; }
    .loffc-cs-wrapper .flex-points-grid { grid-template-columns: 1fr !important; }
    .loffc-cs-wrapper .loffc-cs-section .text-container,
    .loffc-cs-wrapper .loffc-cs-section .mockup-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        display: block !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .loffc-cs-wrapper .iphone-mockup {
        width: 320px !important;
        max-width: 100% !important;
        height: 600px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        margin: 2rem auto !important;
        display: block;
        background: linear-gradient(135deg, #444 0%, #0a0a0c 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 36px;
        box-shadow: 
            inset 0 1px 3px rgba(255, 255, 255, 0.4), 
            inset 0 -1px 3px rgba(0, 0, 0, 0.8),
            0 20px 40px rgba(0, 0, 0, 0.9), 
            0 0 30px rgba(252, 163, 17, 0.12);
    }

    .loffc-cs-wrapper .iphone-mockup:hover {
        transform: none !important;
        box-shadow: 
            inset 0 1px 3px rgba(255, 255, 255, 0.4), 
            inset 0 -1px 3px rgba(0, 0, 0, 0.8),
            0 25px 50px rgba(0, 0, 0, 0.9), 
            0 0 40px rgba(252, 163, 17, 0.12);
    }
    
    .loffc-cs-wrapper .iphone-screen {
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        width: calc(100% - 20px) !important;
        height: calc(100% - 20px) !important;
        border: none !important;
        border-radius: 26px !important;
        background: #000;
    }

    .loffc-cs-wrapper .iphone-notch {
        display: block !important;
        visibility: visible !important;
        position: absolute !important;
        top: 10px !important; 
        left: 50% !important; 
        transform: translateX(-50%) !important;
        width: 110px !important;
        height: 18px !important; 
        background-color: #1a1a1e !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
        z-index: 999999 !important;
        pointer-events: none !important;
    }

    .loffc-cs-wrapper [class*="laptop"] img,
    .loffc-cs-wrapper [class*="macbook"] img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .dashboard-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .dashboard-text {
        text-align: center !important;
    }

    .dashboard-metric-container {
        border-left: none !important;
        border-top: 1px solid #333 !important;
        padding-left: 0 !important;
        padding-top: 30px !important;
        width: 100% !important;
    }

    .loffc-cs-wrapper .performance-metric,
    .dashboard-metric-container .performance-metric,
    .performance-metric {
        font-size: 3.5rem !important;
    }
}