:root {
    --bg-color: #f5f5f7; 
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --accent: #1d1d1f;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-highlight: rgba(120, 20, 255, 0.05);
    
    /* Bento Light Theme */
    --body-bg: #fcfcfe;
    --bento-wrapper-bg: #ffffff;

    --highlight-cyan: #0071e3;    /* Professional tech blue/cyan */
    --highlight-purple: #7814ff; /* Standardized Premium Purple */
    --liquid-rim: rgba(0, 0, 0, 0.08);

    /* Contrast variables for light mode */
    --nav-bg-start: rgba(255,255,255,0.9);
    --nav-bg-end: rgba(255,255,255,0);
    --logo-blend: normal;
    --logo-filter: none; /* Will handle specifically for logo */
    --primary-btn-bg: rgba(0, 0, 0, 0.05);
    --primary-btn-border: rgba(0, 0, 0, 0.12);
    --primary-btn-hover-bg: rgba(0, 0, 0, 0.08);
    --primary-btn-text: var(--text-primary);
    --skeleton-bg: rgba(0,0,0,0.05);
    --card-grad: linear-gradient(145deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    --card-hover-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    --glass-card-bg: #ffffff;
    --glass-card-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    --glass-card-border-top: rgba(0, 0, 0, 0.05);
    
    /* Frosted Glass Variables */
    --glass-blur: 40px;
    
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-title: 'Space Grotesk', sans-serif;

    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;   /* Standard gap */
    --spacing-xl: 4rem;     /* Section titles margin */
    --spacing-2xl: 8rem;    /* Section padding - Balanced */
    --site-gap: 2rem;      /* Tighter gap like the reference */
    --page-margin: 2rem;
    --section-padding-v: 4rem;
    --section-padding-h: 5vw;
    --card-padding: 3.5rem;
    --card-radius: 0;   /* Brutalist sharp edges */

    /* Typographic Scale - Polished for Seamlessness */
    --h1-size: clamp(2.5rem, 8vw, 6.5rem);
    --h2-size: clamp(2rem, 5vw, 4rem);
    --h3-size: clamp(1.5rem, 3.5vw, 2.4rem);
    --body-size: 1.1rem;
    --line-height-title: 1.1;
    --line-height-body: 1.6;
}

/* Indian 'Hello' Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-text {
    color: var(--text-primary);
    font-size: 24px;
    font-family: var(--font-title);
    font-weight: 500;
    letter-spacing: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.preloader-text.active {
    opacity: 1;
    transform: translateY(0);
}

body.loading {
    overflow: hidden;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Standard cursor hidden to allow premium custom cursor - ONLY ON DESKTOP */
@media (hover: hover) and (pointer: fine) {
    html, body, a, button, [role="button"] { cursor: none !important; }
}

html, body { 
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
body { 
    background: var(--bg-color);
    color: var(--text-primary); 
    font-family: var(--font-main); 
    line-height: var(--line-height-body); 
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.5s ease, color 0.5s ease;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.service-icon svg { color: rgba(0,0,0,0.05); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); }

/* Noise texture disabled */
.noise-overlay {
    display: none;
}

/* Custom Cursor Tracker - Restored and Enhanced - ONLY ON DESKTOP */
@media (hover: hover) and (pointer: fine) {
    .cursor-dot {
        width: 12px;
        height: 12px;
        background: #ffffff;
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 1000000;
        transition: width 0.3s ease, height 0.3s ease;
        transform: translate(-50%, -50%);
        mix-blend-mode: difference;
    }
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot.active {
        width: 65px;
        height: 65px;
        background: rgba(120, 20, 255, 0.1);
        border: 1px solid rgba(120, 20, 255, 0.3);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
        mix-blend-mode: normal;
    }
}

@media (hover: hover) and (pointer: fine) {
    .cursor-glow {
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(120, 20, 255, 0.15) 0%, rgba(120, 20, 255, 0) 70%);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 999999;
        transform: translate(-50%, -50%);
        filter: blur(30px);
        transition: width 0.5s ease, height 0.5s ease;
    }
}

@media (hover: hover) and (pointer: fine) {
    .cursor-tooltip {
        position: fixed;
        pointer-events: none;
        z-index: 1000001;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid var(--highlight-purple);
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--highlight-purple);
        transform: translate(20px, 20px);
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        white-space: nowrap;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}


@media (hover: hover) and (pointer: fine) {
    .cursor-tooltip.active {
        opacity: 1;
        transform: translate(25px, 25px);
    }
}

/* Ensure they are hidden on mobile/touch regardless of JS state */
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-glow, .cursor-tooltip {
        display: none !important;
    }
}


/* --- UTILITY CLASSES --- */
.hidden-element { display: none !important; }
.pricing-details-title { margin-bottom: 1.5rem; font-size: 1.25rem; }
.close-lightbox-btn { position: absolute !important; top: -60px !important; right: 0 !important; padding: 0.5rem 1rem !important; }


/* Outer Page Wrapper - Neutralized for Seamlessness */

.bento-page-wrapper {
    margin: 0;
    border-radius: 0;
    overflow-x: hidden; /* Prevent internal horizontal scroll leaks */
    position: relative;
    background: var(--bento-wrapper-bg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05); /* Subtle lift instead of dark-mode void */
    transition: background 0.4s ease;
}

/* High-Impact Grainy Noise Overlay - Clearly Visible */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.12;
    mix-blend-mode: overlay;
    animation: noiseAnim 0.3s steps(5) infinite;
}

@keyframes noiseAnim {
    0% { transform: translate(0,0); }
    10% { transform: translate(-1%,-1%); }
    20% { transform: translate(1%,1%); }
    30% { transform: translate(-2%,1%); }
    40% { transform: translate(1%,-2%); }
    50% { transform: translate(-1%,1%); }
    60% { transform: translate(2%,1%); }
    70% { transform: translate(1%,1%); }
    80% { transform: translate(-1%,-1%); }
    90% { transform: translate(1%,-1%); }
    100% { transform: translate(0,0); }
}


@media (max-width: 900px) {
    .bento-page-wrapper { margin: 0; }
    .bento-section-box { border: none; }
}

main { 
    position: relative; 
    z-index: 1; 
    max-width: 1600px; 
    margin: 0 auto; 
    padding: 100px var(--section-padding-h) 0; 
    display: flex; 
    flex-direction: column; 
    gap: 4rem; /* Tightened global vertical rhythm */
    width: 100%;
}

.creative-view, .code-view {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* Tightened global vertical rhythm */
    width: 100%;
}

/* Floating Section Layout - Boxes Removed */
.section-wrapper, .content-group {
    background: transparent !important;
    border: none !important; 
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    position: relative;
    overflow: visible; 
    width: 100%;
    padding: 0; /* Let main flex gap control spacing */
}

.bento-section-box {
    padding: 0; /* Let main flex gap control spacing */
}

.bento-hero-card {
    padding: var(--card-padding) 0; /* Keep vertical padding for hero only */
}

.section-wrapper::before, .content-group::before {
    display: none !important; /* Purged faded box glow */
}

body.dark-mode .code-view .bento-section-box:hover,
body.dark-mode .code-view .bento-hero-card:hover {
    border-color: transparent;
    box-shadow: none;
}

/* Reveal Animations - Premium Blur Reveal */
.reveal-element {
    opacity: 0;
    filter: blur(15px); /* Slightly reduced for a cleaner 'fog' */
    transform: translateY(60px) scale(0.99); /* Increased lift distance */
    transition: opacity 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform, filter;
}

/* Hero elements should be clear or reveal faster */
.hero-section .reveal-element {
    transition-duration: 0.8s;
}

.reveal-element.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Navbar - Centered 'Sober' Architecture */
.navbar {
    position: fixed; /* Switched to fixed for precision animation */
    top: 0; 
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75); /* Refined Frosted White */
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    backdrop-filter: blur(32px) saturate(200%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); /* Sophisticated hairline edge */
    padding: 1.25rem var(--section-padding-h);
    display: flex; justify-content: center; align-items: center; z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, opacity 0.4s ease;
    will-change: transform;
}

.navbar.nav-hidden {
    transform: translateY(-110%);
}

/* Subtle downward motion before hiding can be handled by the script or a combined transition */
.navbar.nav-preparing {
    transform: translateY(8px);
}

/* Hide mobile elements by default (Desktop) */
.mobile-menu-toggle, .mobile-menu {
    display: none;
}


/* Central Cluster */
.nav-container-central {
    display: flex;
    align-items: center;
    gap: 3.5rem; /* Space between groups and logo */
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600; /* Bolder for visibility */
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    opacity: 0.85; /* Increased for contrast */
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--highlight-purple);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--highlight-purple);
}

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

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background: rgba(120, 20, 255, 0.05);
    border-color: rgba(120, 20, 255, 0.1);
    transform: translateX(5px);
}

.item-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.item-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.dropdown-item:hover .item-title {
    color: var(--highlight-purple);
}

/* Utility Cluster - Absolute Positioned */
.nav-utilities {
    position: absolute;
    right: var(--section-padding-h);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle-icon {
    background: transparent;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
    opacity: 0.5;
    border: 1px solid transparent;
}

.nav-toggle-icon:hover {
    opacity: 1;
    color: var(--highlight-purple);
    border-color: rgba(120, 20, 255, 0.3);
    border-radius: 4px;
}

body.developer-mode-active .nav-toggle-icon:hover {
    color: var(--highlight-cyan);
    border-color: rgba(0, 242, 255, 0.3);
}

.nav-call-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: var(--text-primary);
    box-sizing: border-box;
    cursor: pointer;
}

.nav-call-circle:hover {
    border-color: var(--highlight-purple);
    background: rgba(120, 20, 255, 0.05);
    transform: scale(1.05);
}

.nav-call-circle svg {
    width: 16px;
    height: 16px;
    display: block;
    stroke: var(--text-primary);
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-img:hover {
    transform: scale(1.1);
}

/* Clients Section Logos */
.client-logo-spot {
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.client-logo-spot:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-logo-placeholder {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.15);
    filter: grayscale(100%);
}

@media (max-width: 900px) {
    .navbar { padding: 1rem 1.5rem; justify-content: space-between; }
    .nav-container-central { width: 100%; justify-content: space-between; gap: 0; }
    .nav-group { display: none; } /* Hide desktop nav groups */
    .mobile-menu-toggle { display: flex; }
    .logo-img { height: 28px; }
}

/* Mobile Toggle Button */
/* Consolidating Mobile Nav to bottom media queries for cleaner maintenance */

.nav-pill-item {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.7rem;
    border-radius: 30px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    min-width: 44px; justify-content: center;
}

.nav-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
    transition: all 0.4s ease;
}

.nav-label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-left: 0;
}

.nav-pill-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* Active Highlight Pill */
.nav-pill-item.active {
    background: #ffffff; /* Silver/White Highlight */
    color: #000000;      /* Dark text/icon inside highlight */
    padding: 0.7rem 1.4rem;
    gap: 0.6rem;
}

.nav-pill-item.active .nav-label {
    max-width: 100px;
    opacity: 1;
    margin-left: 0.2rem;
}

.nav-pill-item.active .nav-icon {
    stroke: #000000;
}

body.dark-mode .nav-pill-group {
    background: rgba(20, 20, 20, 0.9);
}

body.dark-mode .nav-pill-item.active {
    background: #ffffff;
    color: #000000;
}

/* Navbar Buttons (Pill-Style) */
.nav-pill-btn {
    border-radius: 30px; /* Soft rounded */
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-top-color: rgba(255, 255, 255, 0.3); /* Rim light */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    backdrop-filter: blur(24px) saturate(200%);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    box-shadow: 0 4px 15px rgba(0,0,0,0.1), inset 0 2px 4px rgba(255,255,255,0.4), inset 0 -2px 4px rgba(0,0,0,0.2);
}

.nav-pill-btn.solid-dark { 
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.6), rgba(0, 0, 0, 0.4)); 
    color: #ffffff; 
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}
.nav-pill-btn.solid-dark .dot { width: 8px; height: 8px; background: #00f2ff; border-radius: 50%; }

.nav-pill-btn.solid-purple { 
    background: linear-gradient(145deg, rgba(120, 20, 255, 0.5), rgba(100, 10, 220, 0.3)); 
    color: #ffffff; 
    border-color: rgba(160, 80, 255, 0.4); 
    border-top-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(120, 20, 255, 0.3), inset 0 2px 5px rgba(255, 255, 255, 0.6), inset 0 -2px 5px rgba(60, 0, 150, 0.4);
}

.nav-pill-btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-pill-btn.solid-purple:hover {
    background: linear-gradient(145deg, rgba(160, 60, 255, 0.6), rgba(120, 20, 240, 0.4));
    box-shadow: 0 15px 35px rgba(120, 20, 255, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.8), inset 0 -2px 6px rgba(60, 0, 150, 0.6);
}

.nav-pill-btn.solid-dark:hover {
    background: linear-gradient(145deg, rgba(60, 60, 60, 0.7), rgba(20, 20, 20, 0.5));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), inset 0 2px 5px rgba(255, 255, 255, 0.3), inset 0 -2px 5px rgba(0, 0, 0, 0.7);
}

.nav-pill-btn.outline-purple {
    background: transparent;
    border: 1px solid #7814ff;
    color: #7814ff;
    gap: 0.6rem;
}

.nav-pill-btn.outline-purple:hover {
    background: rgba(120, 20, 255, 0.08);
}

.nav-pill-btn.outline-cyan {
    background: transparent;
    border: 1px solid #00f2ff;
    color: #00f2ff;
    gap: 0.6rem;
}

.nav-pill-btn.outline-cyan:hover {
    background: rgba(0, 242, 255, 0.08);
}

.nav-pill-btn .icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-pill-btn .text {
    font-weight: 600;
}

.nav-pill-btn:hover .icon {
    transform: scale(1.2) rotate(-5deg);
}
.glass-button {
    position: relative; 
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.4);
    color: var(--text-primary); padding: 0.8rem 1.8rem; border-radius: 30px;
    font-family: var(--font-main); font-size: 0.95rem; font-weight: 500; cursor: pointer;
    overflow: hidden; 
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); text-decoration: none;
    display: inline-flex; justify-content: center; align-items: center;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.glass-button.mini {
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.glass-button.solid-purple {
    background: #8c28ff;
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 20px rgba(120, 20, 255, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.glass-button.solid-purple:hover {
    background: #7700ff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 15px 30px rgba(120, 20, 255, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.highlight-purple {
    color: #8c28ff;
    font-weight: 700;
}

.glass-button.outline-dark {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.glass-button.outline-dark:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), inset 0 2px 6px rgba(255, 255, 255, 0.6), inset 0 -2px 6px rgba(0, 0, 0, 0.3);
}

.glass-button::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 250%; height: 250%;
    background: conic-gradient(from 0deg, #ff0055, #7814ff, #4f00ff, #aa00ff, #ff0055);
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -2;
    transform: translate(-50%, -50%) rotate(0deg);
    pointer-events: none;
}
.glass-button:hover { 
    background: var(--highlight-purple);
    border-color: rgba(120, 20, 255, 0.2);
    transform: translateY(-2px); 
    box-shadow: 0 10px 25px rgba(120, 20, 255, 0.2); 
    color: #fff;
}
.glass-button:hover::before {
    opacity: 0.7;
    animation: rotateBtnGlow 4s linear infinite;
}

.glass-button.primary { 
    background: var(--primary-btn-bg); 
    border: 1px solid var(--primary-btn-border);
    color: var(--primary-btn-text);
}
.glass-button.primary:hover { 
    background: var(--primary-btn-hover-bg); 
}

/* Typography */
.badge {
    display: inline-block; padding: 0.4rem 1.25rem; font-family: var(--font-mono); font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px; border: 1px solid var(--glass-border);
    border-radius: 30px; margin-bottom: 2rem; color: var(--text-secondary);
}
.text-gradient {
    background: linear-gradient(135deg, #111111 0%, #666666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: var(--h1-size);
    font-weight: 600;
    line-height: var(--line-height-title);
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.05em;
    color: var(--text-primary);
}

.content-title {
    font-size: var(--h2-size);
    font-weight: 600;
    line-height: var(--line-height-title);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.04em;
}

.hero-section {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    gap: 4rem;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 6rem;
        gap: 2rem;
    }
}

.hero-content {
    position: relative;
    z-index: 5; /* Above grid */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    text-align: center;
}

.hero-brand-block {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-title {
    font-size: clamp(2.5rem, 10vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-transform: none;
    text-align: center;
}

.hero-strap {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}

.hero-actions-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-visuals-container {
    display: none;
}

.glass-grid-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Absolute containment for grid */
    z-index: 1;
    pointer-events: none;
    opacity: 0.8; /* Reduced slightly for text readability */
}

@media (max-width: 768px) {
    .glass-grid-section { opacity: 0.5; overflow: hidden; }
    .glass-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        grid-template-rows: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }
}

/* Glass Grid Removed */

.stat-item {
    text-align: center;
}

.stat-item .stat-val {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.6rem 1.4rem;
    background: rgba(120, 20, 255, 0.08);
    color: #7814ff;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border: 1px solid rgba(120, 20, 255, 0.1);
}

.wf-step-tag {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--highlight-purple);
    margin-bottom: 1rem;
}

body.dark-mode .pill-badge {
    background: rgba(120, 20, 255, 0.15);
    color: #aa66ff;
}

.hero-mission-statement {
    text-align: center;
    padding: 0 !important; /* Zero internal padding for precise gap control */
    max-width: 1200px;
    margin: 0 auto;
}

.hero-mission-statement h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Section Headers */
.section-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
    gap: 1.25rem;
}

.header-center { 
    align-items: center !important; 
    text-align: center !important; 
    width: 100% !important; 
    justify-content: center !important;
}
.header-left { align-items: flex-start; text-align: left; }

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}

.header-center .section-subtitle { margin: 0 auto; }

.highlight-purple, .highlight-cyan {
    color: #7814ff;
    font-style: normal;
    font-weight: 600;
}

body.dark-mode .highlight-cyan {
    color: #00f2ff;
}

/* --- RESTORED DEVELOP MODE FEATURES --- */

.code-card {
    background: transparent;
    padding: 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    min-height: 450px;
    height: 100%;
}

.terminal-header {
    background: transparent;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.terminal-dots { display: flex; gap: 8px; margin-right: 1.5rem; }
.terminal-dots .dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-dots .red { background: #ff5f56; }
.terminal-dots .yellow { background: #ffbd2e; }
.terminal-dots .green { background: #27c93f; }

.code-content {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
    color: #c9d1d9;
}

.keyword { color: #ff7b72; }
.variable { color: #d2a8ff; }
.property { color: #79c0ff; }
.string { color: #a5d6ff; }
.comment { color: #8b949e; }

/* Industry Orbit */
.industries-section { overflow: hidden; }
.orbit-header { text-align: center; margin-bottom: 4rem; }

.orbit-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-center { position: relative; z-index: 5; }
.center-glow {
    width: 80px; height: 80px;
    background: radial-gradient(circle, var(--highlight-cyan) 0%, transparent 70%);
    border-radius: 50%; filter: blur(10px);
    animation: corePulse 4s ease-in-out infinite;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    pointer-events: none;
}
.ring-1 { width: 180px; height: 180px; }
.ring-2 { width: 360px; height: 360px; border-style: dashed; animation: rotateRing 60s linear infinite; }
.ring-3 { width: 540px; height: 540px; border-style: dotted; animation: rotateRing 100s linear reverse infinite; }

.node-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Industry Orbit Graphic */
.orbit-container {
    position: relative;
    width: 480px;
    height: 480px;
    margin: 4rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-center {
    position: relative;
    z-index: 10;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: corePulse 3s infinite ease-in-out;
}

.center-star {
    font-size: 2.2rem;
    color: var(--highlight-cyan);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.8);
    animation: starFlicker 2.5s infinite linear;
}

.orbit-ring {
    position: absolute;
    border: 1px solid rgba(0, 242, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.ring-1 { width: 160px; height: 160px; animation: ringFloat 8s infinite linear; }
.ring-2 { width: 240px; height: 240px; animation: ringFloat 15s infinite linear reverse; border-style: dashed; }
.ring-3 { width: 320px; height: 320px; animation: ringFloat 25s infinite linear; }
.ring-4 { width: 400px; height: 400px; animation: ringFloat 35s infinite linear reverse; border-style: dotted; }
.ring-5 { width: 480px; height: 480px; animation: ringFloat 45s infinite linear; }

.node-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    width: 160px; 
    height: 160px;
    margin-top: -80px; margin-left: -80px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Pins the node to the outer ring edge */
    pointer-events: none; 
}

.orbit-1 { animation: rotateOrbit 40s linear infinite; }
.orbit-2 { animation: rotateOrbit 60s linear infinite reverse; width: 240px; height: 240px; margin-top: -120px; margin-left: -120px; }
.orbit-3 { animation: rotateOrbit 80s linear infinite; width: 320px; height: 320px; margin-top: -160px; margin-left: -160px; }
.orbit-4 { animation: rotateOrbit 50s linear infinite; width: 400px; height: 400px; margin-top: -200px; margin-left: -200px; }
.orbit-5 { animation: rotateOrbit 75s linear infinite reverse; width: 480px; height: 480px; margin-top: -240px; margin-left: -240px; }

.industry-node {
    width: 46px; height: 46px;
    background: rgba(15, 15, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: counterRotate 40s linear infinite;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-top: -23px; /* Centers the icon perfectly on the ring's stroke */
}

.orbit-1 .industry-node { animation-duration: 40s; }
.orbit-2 .industry-node { animation-duration: 60s; animation-direction: reverse; }
.orbit-3 .industry-node { animation-duration: 80s; }
.orbit-4 .industry-node { animation-duration: 50s; }
.orbit-5 .industry-node { animation-duration: 75s; animation-direction: reverse; }

.orbit-tooltip {
    position: absolute;
    top: -55px; /* Floats above the avatar */
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    background: rgba(15, 15, 20, 0.9);
    border: 1px solid rgba(0, 242, 255, 0.3);
    padding: 0.6rem 1.4rem;
    border-radius: 20px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 20;
}

.industry-node:hover {
    transform: scale(1.15);
    border-color: var(--highlight-cyan);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.industry-node:hover .orbit-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    border-color: var(--highlight-cyan);
}

.node-icon { 
    width: 100%; height: 100%; 
    border-radius: 50%; 
    overflow: hidden; 
}
.node-icon img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}
.node-icon svg {
    width: 60%;
    height: 60%;
    margin: 20%;
    stroke: var(--highlight-cyan);
    display: block;
}
@keyframes corePulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.2); opacity: 0.9; } }
@keyframes starFlicker { 0% { opacity: 0.8; } 50% { opacity: 1; } 100% { opacity: 0.8; } }
@keyframes ringFloat { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes counterRotate { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* Tube Workflow */
.tube-workflow {
    position: relative; width: 100%; min-height: 900px;
}

.tube-svg { position: absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; }
.tube-base { stroke: rgba(0,0,0,0.05); stroke-width: 32; stroke-linecap: round; }
.tube-pulse {
    stroke: var(--highlight-purple); stroke-width: 6; stroke-linecap: round;
    stroke-dasharray: 100 1600; animation: tubeFlow 12s linear infinite;
    filter: drop-shadow(0 0 8px var(--highlight-purple));
}

@keyframes tubeFlow { 0% { stroke-dashoffset: 1700; } 100% { stroke-dashoffset: 0; } }

.wf-step-card {
    position: absolute;
    background: transparent;
    border: none;
    backdrop-filter: none;
    border-radius: 0;
    padding: 1.8rem;
    width: 300px;
    transition: all 0.4s ease;
}

.wf-step-card:hover { border-color: var(--highlight-purple); transform: translateY(-5px); }

/* Develop Page: Hero & Terminal Layout */
.code-view .hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;
    width: 100%;
}


.code-hero {
    padding-bottom: 0 !important;
}

.hero-mission-section {
    padding-top: 0 !important;
    margin-top: -4rem !important;
}

.hero-brand-block {
    flex: 1.2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-brand-block h1 {
    font-size: clamp(3rem, 6vw, 6rem) !important;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.02em;
}

.hero-brand-block p {
    margin-bottom: 3.5rem;
    max-width: 550px;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 3.5rem auto;
    text-align: center;
}

.hero-actions-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.hero-visuals-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-code-wrap {
    width: 100%;
    max-width: 650px;
    background: var(--bento-wrapper-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
    margin: 2rem 0;
    font-family: var(--font-mono);
}

.terminal-header {
    background: rgba(0, 0, 0, 0.03);
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.terminal-dots { display: flex; gap: 0.5rem; }
.terminal-dots .dot { width: 10px; height: 10px; border-radius: 50%; opacity: 0.8; }
.terminal-dots .dot.red { background: #ff5f56; }
.terminal-dots .dot.yellow { background: #ffbd2e; }
.terminal-dots .dot.green { background: #27c93f; }

.terminal-title { color: #888; font-size: 0.8rem; letter-spacing: 0.05em; }

.code-content {
    padding: 2rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
    height: 380px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.code-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Syntax Highlighting */
.keyword { color: #c678dd; font-weight: 500; }
.variable { color: #e06c75; }
.property { color: #61afef; }
.string { color: #98c379; }
.typing-cursor { color: var(--highlight-cyan); font-weight: bold; animation: blink 1s infinite; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Mission & Technical Typography */
.hero-mission-statement {
    max-width: 1200px;
    text-align: left;
}

.hero-mission-statement h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.highlight-cyan {
    color: var(--highlight-cyan);
    font-weight: 600;
}

.stats-card.frosted-stats {
    background: transparent;
    color: var(--text-primary);
    border: none;
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: none;
}

.frosted-stats .stat-box h2 {
    color: var(--text-primary);
}

.frosted-stats .stat-box p {
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(0,0,0,0.1);
}

.bento-playground-card {
    text-align: center;
    padding: var(--section-padding-v) var(--card-padding);
}

.bento-playground-card h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.3;
    font-weight: 500;
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: -1px;
}

.glass-card {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    position: relative; overflow: hidden; transition: transform 0.4s ease, border-color 0.4s ease;
}
.glass-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
    background: var(--glass-card-border-top);
}
.main-hero-card { width: 100%; max-width: 400px; transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); animation: hover3d 6s infinite alternate ease-in-out; }

.card-header { display: flex; gap: 8px; margin-bottom: 2rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--glass-border); }
.card-body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-body p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 2rem; }
.card-skeleton .skeleton-line { height: 8px; background: var(--skeleton-bg); border-radius: 0; margin-bottom: 12px; width: 100%; }
.card-skeleton .skeleton-line.short { width: 60%; }



/* Services Modern Grid Restoration */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 0;
}

.service-card-v2 {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-icon-v2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.service-card-v2 h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.service-card-v2 p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.service-link-v2 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--highlight-purple);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
}

.service-card-v2:hover {
    transform: translateY(-8px);
    background: rgba(88, 28, 255, 0.03);
    border-color: rgba(88, 28, 255, 0.3);
    box-shadow: 0 20px 40px rgba(88, 28, 255, 0.1);
}

.demos-section {
    background: #fbfbfb;
    padding: 10rem var(--section-padding-h);
    position: relative;
}

.demos-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(120, 20, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.demo-card-v2 {
    background: #ffffff !important; /* Force pure white for professional pop */
    padding: 3.5rem;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(0, 0, 0, 0.02);
}

.demo-card-v2:hover {
    transform: translateY(-12px) scale(1.01);
    border-color: rgba(120, 20, 255, 0.15);
    box-shadow: 
        0 60px 120px rgba(120, 20, 255, 0.08),
        0 20px 40px rgba(120, 20, 255, 0.04);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8e8e93; /* Apple secondary gray */
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #34c759; /* Apple Success Green */
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(52, 199, 89, 0.5);
    animation: pulse 2s infinite;
}

.demo-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(120, 20, 255, 0.05);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    border: 1px solid rgba(120, 20, 255, 0.1);
    position: relative;
}

.demo-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.8), transparent);
    z-index: -1;
    opacity: 0.5;
}

.demo-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f; /* Absolute charcoal */
}

.demo-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #424245; /* High-legibility body gray */
    margin-bottom: 3.5rem;
    max-width: 90%;
}

.demo-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.demo-card-v2:hover .demo-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(120, 20, 255, 0.1);
    box-shadow: 0 10px 20px rgba(120, 20, 255, 0.1);
}

@media (max-width: 768px) {
    .demos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .demo-card-v2 {
        padding: 2rem;
    }
}

body.dark-mode .service-card-v2 {
    background: rgba(255, 255, 255, 0.02);
}

body.dark-mode .service-card-v2:hover {
    background: rgba(120, 20, 255, 0.05);
    border-color: rgba(120, 20, 255, 0.5);
}

.service-card-v2:hover .service-icon-v2 {
    transform: scale(1.2) rotate(5deg);
}

.service-card-v2:hover .service-link-v2 {
    letter-spacing: 0.15em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .services-modern-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    .service-card-v2 {
        padding: 2rem;
        border-radius: 20px;
    }
    .service-icon-v2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    .service-card-v2 h3 {
        font-size: 1.5rem;
    }
}
/* Service Card Hover Interaction Logic */
/* Completed Services Grid Restoration */
/* Interactive Service Cards Finalized */

.services-controls {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 4rem;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    backdrop-filter: none;
}

.nav-arrow:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    transform: scale(1.1);
    border-color: var(--text-primary);
}

.nav-arrow svg {
    width: 24px;
    height: 24px;
}

/* Pricing Sections (Interactive Tab Layout) */

.pricing-header { margin-bottom: 2rem; display: flex; flex-direction: column; align-items: center; }
.pricing-toggle-wrapper { display: flex; justify-content: center; margin-bottom: 3rem; }
.pricing-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 0.4rem;
    display: inline-flex;
    gap: 0.5rem;
}
.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.7rem 2.2rem;
    border-radius: 35px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toggle-btn.active {
    background: var(--highlight-purple);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(120, 20, 255, 0.3);
}

.pricing-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--site-gap);
    max-width: 1000px; margin: 0 auto;
}
@media (max-width: 800px) { .pricing-layout { grid-template-columns: 1fr; } }

.pricing-plans-col { display: flex; flex-direction: column; position: relative; }

.plan-card {
    padding: 2.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer; transition: all 0.3s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.plan-card:hover { transform: translateY(-5px); border-color: rgba(0,0,0,0.1); }
.plan-card.active {
    background: transparent;
    color: var(--text-primary);
    transform: translateX(10px);
}

.plan-card.active .plan-price { 
    color: var(--highlight-purple);
    text-shadow: none;
}

.plan-card.active .radio-circle {
    background: #7814ff; border-color: #7814ff;
}

body.dark-mode .plan-card.active .plan-price {
    color: var(--highlight-cyan);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.pricing-details-col {
    background: transparent; border: none;
    border-radius: 0; padding: 2.5rem; display: flex; flex-direction: column;
}
.pricing-features-list { list-style: none; }
.pricing-features-list li { margin-bottom: 1rem; color: var(--text-primary); font-size: 0.95rem; display: flex; align-items: center; gap: 0.8rem; }
.pricing-features-list .check { color: #7814ff; font-weight: bold; width: 18px; }

.pricing-footer {
    display: flex; flex-direction: column; align-items: center; margin-top: 3rem; gap: 1.5rem;
}
.pricing-disclaimer {
    display: flex; align-items: center; gap: 0.8rem; color: var(--text-secondary); font-size: 0.9rem;
}
.toggle-track {
    width: 36px; height: 20px; background: #7814ff; border-radius: 0; position: relative; display: inline-block;
}
.toggle-thumb {
    width: 14px; height: 14px; background: #ffffff; border-radius: 0;
    position: absolute; top: 3px; right: 3px;
}

/* Clients / Brands */
/* Clients Grid & Spotlight Effect */
.clients-section { 
    text-align: center; 
    padding: 6rem 0;
}

.clients-grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.05); /* 1px line color */
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.client-card-spotlight {
    position: relative;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff; 
    overflow: hidden;
    cursor: none;
    transition: background 0.4s ease;
    --x: 50%;
    --y: 50%;
}

body.dark-mode .client-card-spotlight {
    background: rgba(255, 255, 255, 0.03);
}

.client-card-spotlight:hover {
    background: radial-gradient(circle at var(--x) var(--y), rgba(120, 20, 255, 0.04) 0%, #ffffff 80%);
}

body.dark-mode .client-card-spotlight:hover {
    background: radial-gradient(circle at var(--x) var(--y), rgba(120, 20, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 80%);
}

.client-logo-spot {
    max-width: 60%;
    max-height: 45%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.client-card-spotlight:hover .client-logo-spot {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.client-card-spotlight.spotlight-cta {
    background: rgba(120, 20, 255, 0.03);
    border: 1px dashed rgba(120, 20, 255, 0.25) !important;
}

.client-logo-placeholder {
    font-size: 3rem;
    font-weight: 800;
    color: var(--highlight-purple);
    opacity: 0.4;
    filter: blur(0);
    font-family: var(--font-mono);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-card-spotlight:hover .client-logo-placeholder {
    opacity: 1;
    color: #7814ff;
    text-shadow: 0 0 25px rgba(120, 20, 255, 0.8);
    transform: scale(1.2) rotate(8deg);
}

@media (max-width: 1200px) {
    .clients-grid-container { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .clients-grid-container { grid-template-columns: repeat(3, 1fr); }
    .client-card-spotlight { height: 160px; }
}

@media (max-width: 600px) {
    .clients-grid-container { grid-template-columns: repeat(2, 1fr); }
}



/* Cursor Tooltip Styling */
.cursor-tooltip {
    position: fixed;
    pointer-events: none;
    background: rgba(10, 10, 10, 0.85);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.7rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translate(20px, 20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    z-index: 9999999;
}

.cursor-tooltip.active {
    opacity: 1;
    transform: translate(20px, 20px) scale(1);
}



/* Testimonials Split Layout */
/* About Us Section (Refactored) */
.about-section { 
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: var(--spacing-2xl) 0;
    background: var(--highlight-purple);
    color: #ffffff;
    overflow: hidden;
}



.about-layout {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--section-padding-h);
}

.about-left {
    flex: 1;
}

.about-title {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.05em;
    color: #ffffff;
    text-transform: uppercase;
}

.about-title .outline-text {
    -webkit-text-stroke: 1.5px #ffffff;
    color: transparent;
    text-shadow: none;
    opacity: 0.9;
}

.about-right {
    flex: 1.2;
    padding-left: var(--spacing-xl);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.about-content p.lead-text {
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.about-content .highlight-purple {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 4px;
}

.about-footer {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-footer .emphasis {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
}

.about-footer .emphasis span {
    color: var(--highlight-purple);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .about-layout {
        flex-direction: column;
    }
    .about-right {
        border-left: none;
        padding-left: 0;
        padding-top: var(--spacing-lg);
    border-top: none;
}
    .about-title {
        font-size: 3rem;
        margin-bottom: 2rem;
    }
    .about-content p {
        font-size: 1.2rem;
    }
    .about-content p.lead-text {
        font-size: 1.5rem;
    }
}

/* Sitemap and Footer (Refactored) */

/* Theme Toggle Button */
.theme-toggle-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 60px;
    height: 60px;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

/* Pricing Section - Seamless Floating Design */
.pricing-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 5rem;
}

.pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.pricing-toggle {
    display: inline-flex;
    background: var(--glass-bg);
    padding: 0.4rem;
    border-radius: 30px;
    gap: 0.2rem;
    border: 1px solid var(--glass-border);
}

.pricing-toggle .toggle-btn {
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-toggle .toggle-btn.active {
    background: var(--highlight-purple);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(120, 20, 255, 0.3);
}

.pricing-plans-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.plan-card {
    background: var(--glass-bg);
    padding: 1.5rem 2rem;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid var(--glass-border);
}

.plan-card:hover {
    border-color: var(--highlight-purple);
    background: rgba(120, 20, 255, 0.05);
}

.plan-card.active {
    background: var(--highlight-purple);
    border-color: var(--highlight-purple);
    box-shadow: 0 15px 40px rgba(120, 20, 255, 0.3);
}

.plan-card.active .plan-name-wrap h4,
.plan-card.active .plan-price {
    color: #ffffff;
}

.plan-card.active .plan-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.plan-card.active .plan-price span {
    color: rgba(255, 255, 255, 0.7);
}

.plan-card.active .radio-circle {
    background: #ffffff;
    border-color: #ffffff;
}

.plan-card.active .radio-circle svg {
    stroke: var(--highlight-purple) !important;
    opacity: 1 !important;
    transform: scale(1);
    display: block;
}

body.dark-mode .plan-card {
    background: rgba(255, 255, 255, 0.02);
}

body.dark-mode .plan-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.plan-card:hover, .plan-card.active {
    transform: none !important;
}

.plan-card-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.radio-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-circle svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plan-name-wrap h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.plan-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(120, 20, 255, 0.08);
    color: var(--highlight-purple);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.plan-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.plan-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 2px;
}

.pricing-details-col {
    background: var(--highlight-purple);
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid var(--highlight-purple);
    height: 100%;
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(120, 20, 255, 0.25);
}

.pricing-details-title {
    color: #ffffff !important;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff !important;
}

.pricing-features-list .check {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-features-list .check svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
}

body.dark-mode .pricing-details-col {
    background: rgba(255, 255, 255, 0.02);
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}



@media (max-width: 900px) {
    .pricing-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .plan-card {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .plan-card-left {
        width: 100%;
        justify-content: space-between;
    }
    .plan-price {
        font-size: 1.8rem;
    }
    .pricing-details-col {
        padding: 2rem 1.5rem;
    }
}

@keyframes scrollGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* CTA Section Refined - Liquid Mesh */
.cta {
    display: flex !important;
    justify-content: center !important;
    background: #0a0514 !important; /* Deep midnight base */
    margin: 8rem 0 !important;
    padding: 8rem 2rem !important;
    border-radius: 40px !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4) !important;
}

.cta-mesh-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: blur(80px); /* Core 'Liquid' blurring */
    opacity: 0.8;
    pointer-events: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7814ff 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: liquidMove1 15s linear infinite;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #ff8c00 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    animation: liquidMove2 20s linear infinite;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4f00ff 0%, transparent 70%);
    top: 50%;
    left: 40%;
    animation: liquidMove3 25s linear infinite;
}

@keyframes liquidMove1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(150px, 120px) scale(1.2); }
    66% { transform: translate(-80px, 150px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes liquidMove2 {
    0% { transform: translate(0, 0) scale(1.1); }
    33% { transform: translate(-180px, -100px) scale(0.9); }
    66% { transform: translate(100px, -120px) scale(1.2); }
    100% { transform: translate(0, 0) scale(1.1); }
}

@keyframes liquidMove3 {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-120px, 150px); }
    66% { transform: translate(150px, -80px); }
    100% { transform: translate(0, 0); }
}

.cta-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 5; /* Ensure content sits safely above the liquid layers */
    position: relative;
}

.cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: #ffffff !important;
}

.cta-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 600px;
}

/* Force white on spans inside purple CTA */
.cta-content .highlight-purple {
    color: #ffffff !important;
    background: transparent !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.cta-content .glass-button {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05)) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-top-color: rgba(255, 255, 255, 0.6) !important; /* Premium rim light */
    font-weight: 600 !important;
    padding: 1.4rem 3.5rem !important;
    font-size: 1.1rem !important;
    border-radius: 30px !important;
    backdrop-filter: blur(30px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(200%) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), inset 0 2px 4px rgba(255, 255, 255, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
}

.cta-content .glass-button:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15)) !important;
    transform: translateY(-5px) scale(1.05) !important;
    border-top-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3), inset 0 2px 6px rgba(255, 255, 255, 0.8), inset 0 -2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Footer Refactored */
.footer {
    padding: 0 var(--section-padding-h) 6rem; /* More space at bottom */
    margin: 8rem auto var(--page-margin);
    max-width: calc(1600px - (var(--section-padding-h) * 2));
    width: calc(100% - (var(--section-padding-h) * 2));
    border: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
}
.footer-container {
    background: transparent; 
    border: none; 
    box-shadow: none; 
    display: flex; 
    flex-direction: column; 
    gap: var(--site-gap);
}

.footer-brand {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: var(--spacing-xl);
}

.brand-large {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 18vw, 18rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.8;
    text-align: center;
    color: var(--text-primary);
    opacity: 0.1;
    transition: opacity 0.5s ease;
}

.footer:hover .brand-large {
    opacity: 0.2;
}
/* Footer Rhythm Optimization */
.footer {
    padding: 6rem var(--section-padding-h) 4rem;
    margin-top: 0;
    border-top: 1px solid var(--glass-border);
}

.footer-brand {
    margin-bottom: 4rem;
}

/* Neutralize padding for the very last elements in each view to snap to footer */
.creative-view > section:last-of-type,
.code-view > section:last-of-type {
    padding-bottom: 2rem !important;
}

.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.sitemap-col h4 {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.sitemap-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Increased for better touch targets */
}

.sitemap-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sitemap-links a:hover {
    color: #7814ff;
    transform: translateX(5px);
}

body.dark-mode .sitemap-links a:hover {
    color: var(--highlight-cyan);
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-email {
    color: var(--highlight-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: var(--text-primary);
    text-shadow: 0 0 15px rgba(120, 20, 255, 0.3);
}

.footer-divider {
    color: rgba(0,0,0,0.1);
    font-weight: 300;
    margin: 0 5px;
}

@media (max-width: 992px) {
    .footer-sitemap {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    .footer-middle {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-sitemap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .brand-large {
        font-size: 3.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    .footer {
        padding: 3rem 1.5rem;
    }
}

/* reveal-element handled at top of file */
.reveal-nav { opacity: 0; transform: translateY(-20px); transition: all 1s ease; }
.reveal-nav.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

@keyframes float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, -30px); } }
@keyframes hover3d { 0% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0); } 100% { transform: perspective(1000px) rotateY(5deg) rotateX(-5deg) translateY(-20px); } }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% - 4rem)); } }

/* Works Page */
.works-page { padding-top: var(--site-gap); padding-bottom: var(--section-padding-v); }
.page-header { text-align: center; margin-bottom: 5rem; }
.page-header h1 { font-size: 4rem; font-weight: 600; margin-bottom: 1rem; }
.page-header p { font-size: 1.25rem; color: var(--text-secondary); }

.works-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: var(--site-gap); 
}
.project-card { display: flex; flex-direction: column; gap: 1.5rem; }
.project-image-wrap { 
    position: relative; padding: 0; border: none; border-radius: 0; overflow: hidden; 
    cursor: zoom-in; height: 60vh; min-height: 400px;
}
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.project-image-wrap:hover .project-img { transform: scale(1.05); }

.image-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.4s ease; backdrop-filter: blur(4px);
}
.project-image-wrap:hover .image-overlay { opacity: 1; }
.view-icon { 
    font-family: var(--font-mono); background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem; border-radius: 0; backdrop-filter: blur(10px);
}

.project-meta { display: flex; justify-content: space-between; align-items: flex-end; }
.project-info h2 { font-size: 2rem; margin-bottom: 0.5rem; }

/* Lightbox */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 99999; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-backdrop {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 3, 3, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.lightbox-content {
    position: relative; z-index: 1; max-width: 90vw; max-height: 90vh;
    display: flex; flex-direction: column; align-items: center;
}
.lightbox-content img {
    max-width: 100%; max-height: 85vh; border-radius: 0;
    box-shadow: none; border: 1px solid var(--glass-border);
}
.close-lightbox { position: absolute; top: -60px; right: 0; }

/* Project Detail Page */
.project-detail-page { padding-top: calc(var(--site-gap) * 3); padding-bottom: var(--section-padding-v); }
.project-detail-page {
    display: flex;
    flex-direction: column;
    gap: var(--section-padding-v);
    width: 100%;
}

.project-hero { 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto;
    padding-top: 3rem;
}
.project-hero h1 { font-size: 4rem; font-weight: 600; margin: 1rem 0; line-height: 1.1; }
.project-hero p { font-size: 1.25rem; color: var(--text-secondary); }

.project-main-image { margin-bottom: var(--section-padding-v); }
.full-width-card { padding: 1rem; }
.full-width-card img { width: 100%; height: auto; border-radius: 0; display: block; }

.project-article { max-width: 1000px; margin: 0 auto; }
.article-grid { display: grid; grid-template-columns: 250px 1fr; gap: var(--site-gap); }
.meta-block { margin-bottom: 2rem; }
.meta-block h4 { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; margin-bottom: 0.5rem; }
.article-content h2 { font-size: 2rem; margin: 3rem 0 1rem; }
.article-content h2:first-child { margin-top: 0; }
.article-content p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.8; }

.next-project { text-align: center; margin-top: var(--section-padding-v); padding-top: var(--section-padding-v); border-top: 1px solid var(--glass-border); }

/* Blast Button and Animations Disabled State */
.blast-btn {
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.blast-btn .icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
}
.blast-btn .text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-weight: 600;
    transition: max-width 0.4s, opacity 0.4s;
    color: var(--text-primary);
}
.blast-btn:hover {
    width: 110px;
}
.blast-btn:hover .text {
    max-width: 80px;
    opacity: 1;
}

/* Capsule Works Section */
.works-capsule-section {
    position: relative;
    padding: 0; /* Removed hardcoded padding */
    overflow: hidden;
}

.works-folder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
}

@media (max-width: 1024px) {
    .works-folder-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 3rem 1.5rem;
    }
}
@media (max-width: 600px) {
    .works-folder-grid { 
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
}

.folder-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.folder-card {
    position: relative;
    width: clamp(180px, 80vw, 220px);
    height: clamp(140px, 60vw, 170px);
    cursor: pointer;
    perspective: 1000px;
}

.folder-back {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85%;
    background: linear-gradient(145deg, #2a2a2a, #111);
    border-radius: 10px;
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.1), 0 8px 15px rgba(0,0,0,0.4);
    z-index: 1;
}

.folder-papers {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 90%;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.paper {
    position: absolute;
    bottom: 0;
    background: #e2e8f0;
    border-radius: 5px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 8px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.paper-line {
    height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
    width: 100%;
}
.paper-line.short { width: 60%; }

.paper-1 {
    width: 85%;
    height: 85%;
    left: 0;
    transform: rotate(-6deg) translateY(6px);
    z-index: 1;
}
.paper-2 {
    width: 90%;
    height: 95%;
    left: 5%;
    transform: rotate(2deg);
    z-index: 2;
    background: #f8fafc;
}
.paper-3 {
    width: 85%;
    height: 80%;
    right: 0;
    transform: rotate(8deg) translateY(10px);
    z-index: 3;
}

.folder-card:hover .folder-papers {
    transform: translateX(-50%) translateY(-15px);
}
.folder-card:hover .paper-1 { transform: rotate(-12deg) translateY(0px) translateX(-10px); }
.folder-card:hover .paper-2 { transform: rotate(0deg) translateY(-5px); }
.folder-card:hover .paper-3 { transform: rotate(15deg) translateY(5px) translateX(10px); }

.folder-front {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 70%;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.4);
    border-top-color: rgba(255,255,255,0.8);
    border-radius: 10px;
    z-index: 4;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2), inset 0 2px 8px rgba(255,255,255,0.4);
    clip-path: polygon(0% 0%, 40% 0%, 50% 15%, 100% 15%, 100% 100%, 0% 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    transition: all 0.4s ease;
}

.folder-card:hover .folder-front {
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.1) 100%);
}

.folder-title-external {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

body.animations-disabled {
    background: #050505 !important;
    filter: grayscale(100%) !important;
}
body.animations-disabled * {
    animation-play-state: paused !important;
    transition: none !important;
}
body.animations-disabled .marquee-group,
body.animations-disabled .clients-marquee {
    animation-play-state: running !important;
}
body.animations-disabled .cursor-dot,
body.animations-disabled .cursor-glow {
    opacity: 0 !important;
    visibility: hidden !important;
}
body.animations-disabled .blast-btn {
    border-color: rgba(255,255,255,0.05) !important;
    background: transparent !important;
}
body.animations-disabled .blast-btn .icon {
    filter: grayscale(1) opacity(0.6);
}
body.animations-disabled .blast-btn .text {
    color: var(--text-secondary);
}



.display-title {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    margin: 0;
    text-transform: uppercase;
}

/* --- DIGITAL SHOWROOM (DEMO SECTION) --- */
.demos-section {
    padding: 6rem 0;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
    margin-top: 4rem;
    align-items: stretch; /* Pixel-perfect height alignment */
}

.demo-card-v2 {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-top: 1px solid var(--liquid-rim); /* Premium rim lighting */
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}

.demo-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.1);
}

.demo-card-v2:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 242, 255, 0.1);
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #00f2ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f2ff;
    animation: blinkGlow 2s infinite ease-in-out;
}

.live-dot.inactive {
    background: #555;
    box-shadow: none;
    animation: none;
}

.status-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.demo-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.demo-title {
    font-size: 1.5rem;
    margin: 0;
}

.demo-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.demo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Push content to bottom for alignment */
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Subtle high-fidelity divider */
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

.glass-button.mini {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

@keyframes blinkGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
}

/* --- ROADMAP v2 (NODE-BRIDGE) --- */
.roadmap-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align icons at top */
    width: 100%;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 4rem;
    position: relative;
}

.node-v2-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 2;
    flex: 0 0 240px; /* Fixed footprint for perfectly even icon spacing */
}

.icon-v2-box {
    width: 120px;
    height: 120px;
    background: rgba(15, 15, 20, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
}

.icon-v2-box.rounded-square {
    border-radius: 35px;
}

.icon-v2-box.apps-hexagon {
    border-radius: 40px;
}

.icon-v2-box {
    width: 120px;
    height: 120px;
    background: rgba(15, 15, 20, 0.82);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.4s ease;
    animation: neonBreathe 3s infinite alternate ease-in-out;
}

@keyframes neonBreathe {
    0% { 
        border-color: rgba(0, 242, 255, 0.2);
        box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
        transform: scale(0.98);
    }
    100% { 
        border-color: rgba(0, 242, 255, 0.6);
        box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
        transform: scale(1.02);
    }
}

.v2-svg-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.node-v2-label {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.6rem 1.8rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.node-v2-label:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.4);
    color: #00f2ff;
}

.node-v2-info {
    text-align: center;
    max-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.node-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.node-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.node-v2-wrapper:hover .node-num {
    color: var(--highlight-cyan);
}

.node-v2-wrapper:hover .icon-v2-box {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

/* Ambient Glows */
.glow-aura {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.glow-aura.blue { background: radial-gradient(#00f2ff, transparent 70%); }

/* Bridge Styles */
.bridge-v2-container {
    flex: 1; /* This pushes the nodes apart evenly */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 40px; /* Center bar horizontally relative to the 120px icons */
    z-index: 1;
}

.bridge-v2-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bridge-v2-line {
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 10px;
}

.bridge-v2-line::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: currentColor;
    border-radius: 2px;
    filter: blur(3px);
    opacity: 0.6;
}

.bridge-v2-line.blue { color: #00f2ff; background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.15), transparent); }

.bridge-v2-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .roadmap-v2 {
        flex-direction: column;
        gap: 3rem;
    }
    .bridge-v2-container {
        width: 4px;
        height: 80px;
        margin: -1rem 0;
    }
    .bridge-v2-line {
        width: 4px;
        height: 100%;
        background: currentColor;
    }
    .bridge-v2-line::before { display: none; }
    .bridge-v2-text {
        position: absolute;
        left: 20px;
        white-space: nowrap;
    }
    .bridge-v2-tag { display: none; }
}

@media (max-width: 900px) {
    .roadmap-card { width: 170px; padding: 0.8rem; }
    .roadmap-card.pos-bottom { top: 50px; }
    .roadmap-node { transform: translate(-50%, -50%) scale(0.7); }
    .roadmap-title { bottom: 20px; right: 20px; }
    .roadmap-title h2 { font-size: 2rem; }
    .roadmap-container { padding: 3rem 0; }
    .roadmap-curve { min-height: 300px; }
}

.footer {
    padding: 4rem var(--card-padding) 4rem;
    margin: 0 auto;
    max-width: 1600px;
    border-top: 1px solid var(--liquid-rim); /* Premium high-fidelity transition */
}

.footer::before {
    background: radial-gradient(circle at 80% 80%, rgba(120, 20, 255, 0.05) 0%, transparent 50%);
}

body.dark-mode .code-view ~ .footer::before {
    background: radial-gradient(circle at 80% 80%, rgba(0, 242, 255, 0.05) 0%, transparent 50%);
}

@media (max-width: 992px) {
    main, .creative-view, .code-view { gap: 3rem; }
    .section-wrapper { padding: 0; }
    .hero-section { padding-top: 3rem; }
    .hero-content { gap: 3rem; }
    .brand-display-title { font-size: 3.5rem; }
    .hero-strap { font-size: 1.1rem; }
    .hero-actions-row { flex-direction: column; width: 100%; align-items: center; }
    .glass-button { width: 100%; max-width: 300px; text-align: center; }
    
    /* Mobile Navigation Refinements */
    .nav-links, .nav-group { display: none !important; }
    .navbar { padding: 0.8rem 1.5rem; }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 32px;
        height: 20px;
        background: transparent;
        border: none;
        padding: 0;
        z-index: 10002;
        cursor: pointer;
    }
    
    .mobile-menu-toggle .bar {
        width: 100%;
        height: 2.5px;
        background-color: var(--text-primary);
        border-radius: 4px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Animation for Hamburger to X (Pure CSS) */
    .navbar.mobile-active .mobile-menu-toggle .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    .navbar.mobile-active .mobile-menu-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .navbar.mobile-active .mobile-menu-toggle .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff; /* Solid White for High Contrast per Screenshot */
        z-index: 10001;
        display: none; /* Changed from flex to prevent layout leak */
        flex-direction: column;
        padding: 2.5rem 6vw;
        transform: translateX(100%); /* Slide in from Right */
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .mobile-menu.active {
        display: flex;
        transform: translateX(0);
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5rem;
        height: 60px;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .mobile-nav-link {
        font-size: 3rem;
        font-weight: 800;
        color: var(--text-primary);
        text-decoration: none;
        letter-spacing: -0.05em;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .mobile-nav-link:hover {
        color: var(--highlight-purple);
        transform: translateX(12px);
    }

    .mobile-menu-close {
        display: none; /* Icon handles toggle */
    }

    .marquee-group { font-size: 2.2rem; } 
    .cta-content { padding: 3rem 1.5rem; } 
    .cta-content h2 { font-size: 2rem; }

    /* Mobile Responsive Hero Split */
    .hero-content { flex-direction: column; text-align: center; gap: 3rem; }
    .hero-brand-block { align-items: center; text-align: center; }
    .hero-visuals-container { justify-content: center; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.5rem; }
    .hero-stats-row { gap: 2rem; }
    .stat-item .stat-val { font-size: 2.5rem; }
    
    .nav-pill-btn .text { display: none; }
    .nav-pill-btn { padding: 0.8rem; aspect-ratio: 1/1; justify-content: center; }
}
/* Side-by-Side Industry Section */
.industries-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.industries-info-block {
    flex: 0.8;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.orbit-header {
    margin-top: 3rem;
    max-width: 500px;
    padding-left: 2rem;
    border-left: 2px solid var(--highlight-cyan);
    position: relative;
}

.orbit-header h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.orbit-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.industries-visuals-block {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 1100px) {
    .industries-content { flex-direction: column; text-align: center; gap: 0; }
    .industries-info-block { align-items: center; text-align: center; flex: none; width: 100%; }
    .orbit-header { border-left: none; padding-left: 0; max-width: 100%; }
    .industries-visuals-block { justify-content: center; transform: scale(0.5); transform-origin: center center; flex: none; width: 100%; margin-top: -5rem; }
}
/* --- DEVELOPER THEME COLOR OVERRIDES (PURPLE -> NEON BLUE) --- */
body.developer-mode-active {
    --highlight-purple: var(--highlight-cyan);
}

body.developer-mode-active .highlight-purple {
    color: var(--highlight-cyan);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

body.developer-mode-active .solid-purple {
    background: linear-gradient(135deg, #00f2ff 0%, #00a6ff 100%);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
    color: #000;
    border-color: rgba(0, 242, 255, 0.4);
}

body.developer-mode-active .solid-purple:hover {
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.5);
    background: #00f2ff;
}

body.developer-mode-active .outline-purple {
    border-color: var(--highlight-cyan) !important;
    color: var(--highlight-cyan) !important;
}



body.developer-mode-active .nav-pill-btn.solid-purple {
    background: #00f2ff;
    color: #000;
}

body.developer-mode-active .nav-pill-btn.solid-purple:hover {
    background: #ffffff;
}

body.developer-mode-active .cta .solid-purple {
    background: #00f2ff;
    color: #000;
}

body.developer-mode-active .pricing-section .solid-purple {
    background: #00f2ff;
    color: #000;
}

body.developer-mode-active .logo-img {
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.4));
}

body.developer-mode-active .folder-wrapper:hover .folder-front {
    border-color: var(--highlight-cyan);
}

/* --- Contact Page Specific --- */
.contact-page-content {
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.contact-page-content {
    display: flex;
    flex-direction: column;
    gap: var(--section-padding-v);
    width: 100%;
}

.contact-hero {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-top: 3rem;
}

.contact-bento-grid {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-form-box {
    grid-row: span 2;
    background: var(--bento-wrapper-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form-box h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bento-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--highlight-purple);
    background: rgba(120, 20, 255, 0.05);
}

.contact-side-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-box {
    background: var(--bento-wrapper-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
}

.info-link {
    color: var(--highlight-purple);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.4);
}

.info-text {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.5;
}

.contact-socials-box {
    background: rgba(120, 20, 255, 0.05);
    border: 1px solid rgba(120, 20, 255, 0.1);
    padding: 2rem;
}

.social-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-pill {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-pill:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .contact-bento-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-box {
        grid-row: auto;
        padding: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* High-Fidelity Lightbox Modal */
.project-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(120, 20, 255, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--text-primary);
    font-size: 3rem;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--highlight-purple);
}

/* Floating Contact FAB */
.floating-contact-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(120, 20, 255, 0.95), rgba(80, 0, 180, 0.8));
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 15px 35px rgba(120, 20, 255, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.5);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    animation: fab-entrance 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-contact-fab:hover {
    transform: scale(1.15) translateY(-5px) rotate(8deg);
    background: linear-gradient(145deg, rgba(120, 20, 255, 1), rgba(100, 20, 220, 0.9));
    box-shadow: 0 20px 45px rgba(120, 20, 255, 0.6), inset 0 2px 8px rgba(255, 255, 255, 0.7);
}

/* Hide FAB on Contact Page */
.contact-page .floating-contact-fab {
    display: none;
}

.floating-contact-fab svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
}

@keyframes fab-entrance {
    from { 
        transform: scale(0) translateY(50px) rotate(-45deg);
        opacity: 0;
    }
    to { 
        transform: scale(1) translateY(0) rotate(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .floating-contact-fab {
        bottom: 25px;
        right: 25px;
        width: 60px;
        height: 60px;
    }

}

/* --- LIQUID CURSOR BRANDING (FOOTER) --- */
.liquid-inkymnky-text {
    display: inline-block;
    color: #8c28ff; /* Brand Neon Purple */
    font-weight: 700;
    filter: url(#liquid-distortion);
    transition: color 0.4s ease, transform 0.4s ease;
    cursor: pointer;
    position: relative;
}

.liquid-inkymnky-text:hover {
    color: #7700ff;
}

/* --- Final Responsiveness Polish --- */

@media (max-width: 1024px) {
    .orbit-container {
        transform: scale(0.8);
        margin: 2rem auto;
    }
}

@media (max-width: 900px) {
    .tube-workflow {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        min-height: auto !important;
        padding: 2rem 0;
    }
    .wf-step-card {
        position: static !important;
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        background: var(--glass-bg);
        border-radius: 20px !important;
        backdrop-filter: blur(10px);
    }
    .tube-svg {
        display: none;
    }
    .code-view .hero-content {
        flex-direction: column;
        gap: 3rem;
    }
    .hero-visuals-container {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .orbit-container {
        transform: scale(0.65);
        height: 380px;
    }
    .hero-mission-statement h2 {
        font-size: 1.6rem !important;
        line-height: 1.5;
    }
    .hero-actions-row {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-actions-row .btn {
        width: 100%;
        justify-content: center;
        padding: 1.1rem 2rem;
    }
    .section-header {
        margin-bottom: 3rem;
    }

    /* Demo Cards Refinement for Tablet/Mobile */
    .demos-grid {
        grid-template-columns: minmax(0, 1fr) !important; /* Prevent overflow */
        gap: 2rem;
    }
    .demo-card-v2 {
        padding: 3rem 2rem !important;
        text-align: center;
        align-items: center !important;
    }
    .demo-icon-wrapper {
        width: 80px;
        height: 80px;
        border-radius: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(88, 28, 255, 0.05) !important;
        margin-bottom: 2rem !important;
    }
    .demo-title {
        font-size: 1.6rem !important;
    }
    .demo-footer .glass-button {
        width: 100% !important;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .orbit-container {
        transform: scale(0.45);
        height: 280px;
        margin: 1rem auto;
    }
    .hero-main-title {
        font-size: 2.5rem !important;
    }
    .hero-strap {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    .plan-card {
        padding: 1.5rem !important;
    }
    .client-card-spotlight {
        height: 120px;
    }

    /* Refined Demo Cards for Mobile */
    .demos-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    .demo-card-v2 {
        padding: 2.5rem 1.8rem !important;
        border-radius: 30px !important;
        align-items: center !important;
        text-align: center;
        background: #ffffff !important;
    }
    .demo-status {
        margin-bottom: 1.5rem !important;
        justify-content: center;
    }
    .demo-icon-wrapper {
        margin-bottom: 1.5rem !important;
        background: rgba(0,0,0,0.02) !important;
        padding: 1.5rem;
        border-radius: 20px;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
    }
    .demo-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.8rem;
    }
    .demo-desc {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 2rem !important;
        color: var(--text-secondary);
    }
    .demo-footer {
        width: 100%;
    }
    .demo-footer .glass-button {
        width: 100% !important;
        justify-content: center;
    }
}

/* High-Impact Workflow Timeline Redesign */
.workflow-section {
    background-color: var(--highlight-purple); /* Neon Purple Theme */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.workflow-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 2;
}

.workflow-title {
    font-size: clamp(3rem, 10vw, 8rem);
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 8rem;
    letter-spacing: -2px;
    text-align: center; /* Centered Title */
}

.outline-text {
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.workflow-timeline {
    position: relative;
    height: 300px;
    width: 100%;
    margin-top: 10rem;
    display: flex;
    align-items: flex-end;
}

.main-horizontal-line {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.workflow-node {
    position: absolute;
    bottom: 50px;
    left: var(--pos);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    z-index: 3;
}

.node-line {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    position: absolute;
    bottom: 12px;
}

.node-content {
    position: absolute;
    bottom: 130px;
    width: 300px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: all; /* Enabled for interaction */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.node-content:hover {
    transform: translateX(-50%) translateY(-10px);
}

.node-label {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.node-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-mono);
    max-width: 200px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Tech Stack Restyling to stay compatible */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.tech-item {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.4s ease;
}

.tech-item:hover {
    background: var(--highlight-purple);
    color: #ffffff;
    border-color: var(--highlight-purple);
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .workflow-section { padding: 6rem 0; }
    .workflow-timeline {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 2rem;
    }
    .main-horizontal-line { display: none; }
    .workflow-node {
        position: relative;
        left: 0 !important;
        bottom: 0;
        flex-direction: row;
        margin-bottom: 3rem;
        gap: 2rem;
        align-items: flex-start;
    }
    .node-line { display: none; }
    .node-content {
        position: relative;
        bottom: 0;
        transform: none;
        text-align: left;
        width: auto;
    }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Cinematic Works Slider Styling */
.works-section {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    right: 50%;
    margin-right: -50vw;
    padding: 4rem 0;
    overflow: hidden;
    background: transparent;
}

.works-slider-viewport {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    padding: 2.5rem 0;
    overflow: visible;
}

.works-radial-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(120, 20, 255, 0.45) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.works-slider {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: visible !important;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    height: 460px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: #000;
}

.swiper-slide-active:hover {
    transform: scale(1.08) !important;
    z-index: 100;
    border-color: var(--highlight-purple);
}

.swiper-slide-active:hover .work-slide-inner img {
    opacity: 1;
    transform: scale(1.05);
}

/* Ensure slide images fill correctly */
.work-slide-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.work-slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.swiper-slide-active {
    box-shadow: 0 40px 100px rgba(120, 20, 255, 0.3);
    border-color: rgba(120, 20, 255, 0.5);
}

.swiper-slide-active .work-slide-inner img {
    opacity: 1;
}

.work-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.swiper-slide-active .work-slide-info {
    transform: translateY(0);
    opacity: 1;
}

.work-slide-info h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.work-slide-info span {
    color: var(--highlight-purple);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--highlight-purple) !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    border: 1px solid rgba(120, 20, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem !important;
    font-weight: 800;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--highlight-purple);
    color: #ffffff !important;
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(120, 20, 255, 0.4);
}

.swiper-button-next {
    right: 5vw !important;
}

.swiper-button-prev {
    left: 5vw !important;
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important; /* Hide on mobile to keep it clean */
    }
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 280px;
        height: 400px;
    }
    .works-radial-glow {
        width: 100%;
        height: 400px;
    }
}

/* --- NEW: BLOG SECTION (News & Articles) --- */
.blog-section {
    padding: 8rem 0;
    position: relative;
}



.blog-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-top: 5rem;
}

/* Featured Card - Refined Side-by-Side Layout */
.blog-featured-card {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 500px;
}

.blog-featured-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: var(--highlight-purple);
    box-shadow: 0 40px 100px rgba(120, 20, 255, 0.1);
}

.blog-card-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-featured-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-overlay {
    display: none; /* Removed as text is no longer overlaying */
}

.blog-card-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    z-index: 2;
    background: #ffffff;
}

.blog-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.blog-title {
    font-size: 2.8rem;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.blog-excerpt {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--highlight-purple);
}

.blog-read-more .arrow {
    transition: transform 0.3s ease;
}

.blog-read-more:hover .arrow {
    transform: translateX(5px);
}

/* Side Blog List */
.blog-side-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-mini-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border-radius: 24px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.blog-mini-card:hover {
    background: rgba(120, 20, 255, 0.05);
    border-color: rgba(120, 20, 255, 0.2);
    transform: translateX(10px);
}

.mini-card-img-wrap {
    width: 120px;
    height: 120px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

.mini-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mini-date {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.mini-card-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-mini-card:hover h4 {
    color: var(--highlight-purple);
}

.mini-link {
    font-size: 0.8rem;
    color: var(--highlight-purple);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

/* Explore Articles Button */
.explore-articles-btn {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    border: 1px solid var(--highlight-purple);
    border-radius: 100px;
    color: var(--highlight-purple);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.explore-articles-btn:hover {
    background: var(--highlight-purple);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(120, 20, 255, 0.3);
}

.glow-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
}

}

/* --- PREMIUM EMPTY STATE (Intentional & Curated) --- */
.intentional-empty-state {
    min-height: 70vh;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.empty-state-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(120, 20, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.empty-state-visual {
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: floating-visual 8s ease-in-out infinite;
}

.empty-state-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.empty-state-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empty-state-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.empty-state-subtext {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 500;
    opacity: 0.7;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem 3.2rem;
    background: #000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,1);
}

.empty-state-cta:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--highlight-purple);
    border-color: var(--highlight-purple);
    box-shadow: 0 25px 50px rgba(120, 20, 255, 0.25);
}

@keyframes floating-visual {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@media (max-width: 768px) {
    .intentional-empty-state { min-height: 50vh; padding: 4rem 1.5rem; }
    .empty-state-visual { width: 160px; height: 160px; }
}

/* --- FOOTER BREADCRUMB --- */
.footer-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.breadcrumb-pill {
    background: rgba(120, 20, 255, 0.05);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--highlight-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(120, 20, 255, 0.1);
}

.breadcrumb-pill:hover {
    background: rgba(120, 20, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(120, 20, 255, 0.1);
}

.breadcrumb-pill.active {
    background: rgba(120, 20, 255, 0.1);
    font-weight: 700;
}

.breadcrumb-sep {
    color: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    font-weight: 300;
}

.breadcrumb-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1000px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    .blog-featured-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    .blog-card-img-wrap {
        height: 350px;
    }
    .blog-card-content {
        padding: 2rem;
    }
    .blog-title {
        font-size: 2rem;
    }
}

/* --- PREMIUM ACCORDION SYSTEM --- */
.accordion-container {
    width: 100%;
    max-width: 900px;
    margin: 4rem auto;
}

.accordion-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item:hover {
    background: #ffffff;
    border-color: var(--highlight-purple);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.accordion-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    user-select: none;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.4s ease;
}

.accordion-icon::before, .accordion-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: var(--highlight-purple);
    transform: translate(-50%, -50%);
    transition: transform 0.4s ease;
}

.accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg); /* Plus to X */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s ease;
    padding: 0 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.accordion-item.active .accordion-content {
    max-height: 3000px; /* Increased for longer terms */
    padding-bottom: 2rem;
}

.accordion-inner-text {
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.accordion-inner-text ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.accordion-inner-text li {
    margin-bottom: 0.5rem;
}

/* Mobile Dropdown Styling */
.mobile-nav-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(120, 20, 255, 0.2);
}

.mobile-nav-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--highlight-purple);
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.mobile-nav-link.sub-link {
    font-size: 1.4rem !important;
    margin: 0.4rem 0 !important;
    opacity: 0.7;
}

.mobile-nav-link.sub-link:hover {
    opacity: 1;
    color: var(--highlight-purple);
}

