:root {
            --bg:        #0a0612;
            --bg2:       #100a1c;
            --bg3:       #1a1028;
            --primary:   #b57bff;
            --secondary: #7c3aed;
            --accent:    #ff0055;
            --text-muted:#9b8ab4;
            --border:    rgba(181, 123, 255, 0.18);
            --ease:      cubic-bezier(0.23, 1, 0.32, 1);
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            background: var(--bg); color: #fff;
            font-family: 'Manrope','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; line-height: 1.6;
            overflow-x: hidden; -webkit-font-smoothing: antialiased;
        }
        a { text-decoration: none; color: inherit; }
        button { font-family: inherit; border: none; background: none; outline: none; }
        ul { list-style: none; }

        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg); }
        ::-webkit-scrollbar-thumb { background: rgba(181, 123, 255, 0.3); border-radius: 4px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--primary); }

        * { cursor: none; }
        .cursor-dot {
            position: fixed; top: 0; left: 0; width: 6px; height: 6px;
            background: var(--primary); border-radius: 50%; pointer-events: none;
            z-index: 10000; box-shadow: 0 0 10px var(--primary);
            transition: width .2s, height .2s; will-change: transform;
        }
        .cursor-outline {
            position: fixed; top: 0; left: 0; width: 40px; height: 40px;
            border: 1px solid rgba(181, 123, 255, 0.5); border-radius: 50%;
            pointer-events: none; z-index: 9999;
            transition: width .2s, height .2s, background-color .2s; will-change: transform;
        }
        @media(pointer: coarse) {
            .cursor-dot, .cursor-outline { display: none; }
            * { cursor: auto; }
            a, button, input, textarea, summary, label { cursor: pointer; }
        }

        .noise {
            position: fixed; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 9998; opacity: .03;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }

        #loader {
            position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99998; background: var(--bg);
            display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px;
            transition: opacity .7s var(--ease), visibility .7s;
        }
        #loader.gone { opacity: 0; visibility: hidden; pointer-events: none; }
        .ld-logo {
            font-family: 'Manrope','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-weight: 800; font-size: 2rem;
            letter-spacing: .2em; text-transform: uppercase; color: var(--primary);
            animation: ldpop .9s var(--ease) both;
        }
        @keyframes ldpop { from { opacity: 0; transform: scale(.92) } to { opacity: 1; transform: scale(1) } }
        .ld-bar { width: 120px; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
        .ld-fill { height: 100%; width: 0; background: var(--primary); box-shadow: 0 0 12px var(--primary); animation: ldfill 1s .1s var(--ease) forwards; }
        @keyframes ldfill { to { width: 100% } }

        .toast {
            position: fixed; bottom: 36px; left: 50%;
            transform: translateX(-50%) translateY(80px);
            background: var(--bg3); border: 1px solid rgba(181, 123, 255, .4);
            border-radius: 12px; padding: 14px 28px;
            display: flex; align-items: center; gap: 12px;
            color: #fff; font-weight: 600; font-size: .95rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
            z-index: 99990; opacity: 0; pointer-events: none; white-space: nowrap;
            backdrop-filter: blur(20px);
            transition: transform .5s var(--ease), opacity .5s;
        }
        .toast.on { transform: translateX(-50%) translateY(0); opacity: 1; }
        .toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); flex-shrink: 0; }

        .side-nav {
            position: fixed; right: 40px; top: 50%; transform: translateY(-50%);
            display: flex; flex-direction: column; gap: 20px; z-index: 9900;
        }
        .side-nav-item {
            display: flex; align-items: center; justify-content: flex-end;
            position: relative; width: 30px; height: 20px; text-decoration: none; outline: none;
        }
        .side-nav-item span {
            display: block; width: 8px; height: 8px; background: var(--text-muted);
            border-radius: 50%; transition: all .4s var(--ease);
        }
        .side-nav-item::before {
            content: attr(data-tooltip); position: absolute; right: 25px; opacity: 0;
            color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
            transition: all .4s var(--ease); pointer-events: none;
            transform: translateX(10px); white-space: nowrap; text-shadow: 0 0 10px rgba(0,0,0,0.8);
        }
        .side-nav-item:hover::before, .side-nav-item.active::before { opacity: 1; transform: translateX(0); }
        .side-nav-item.active span { background: var(--primary); transform: scale(1.6); box-shadow: 0 0 15px var(--primary); }
        .side-nav-item:hover span { background: var(--primary); transform: scale(1.4); box-shadow: 0 0 10px rgba(181,123,255,.5); }
        @media(max-width: 1024px) { .side-nav { display: none; } }

        .container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }
        @media(max-width: 768px) { .container { padding: 0 20px; } }
        .section { padding: 120px 0; position: relative; }
        @media(max-width: 768px) { .section { padding: 80px 0; } }

        .reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
        .reveal.active { opacity: 1; transform: translateY(0); }

        .text-gradient {
            background: linear-gradient(135deg, #e0d4ff 10%, var(--primary) 60%, var(--secondary) 100%);
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
        }

        .glitch-hover:hover { animation: gskew .3s cubic-bezier(.25,.46,.45,.94) both infinite; color: var(--primary); }
        @keyframes gskew {
            0% { transform: skew(0deg) } 20% { transform: skew(-10deg) } 40% { transform: skew(10deg) }
            60% { transform: skew(-5deg) } 80% { transform: skew(5deg) } 100% { transform: skew(0deg) }
        }

        header {
            position: fixed; top: 0; right: 0; left: 0; z-index: 9900; height: 80px;
            background: rgba(3, 3, 4, 0.85); backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
        }
        .nav-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
        .logo { font-weight: 800; font-size: 1.5rem; letter-spacing: 2px; text-transform: uppercase; transition: .3s; }
        .logo span { color: var(--primary); }
        .nav-links { display: flex; gap: 40px; }
        .nav-links a {
            font-size: .85rem; font-weight: 700; text-transform: uppercase;
            color: #a78bfa; letter-spacing: 1px; transition: .3s;
        }
        .nav-links a:hover, .nav-links a.active { color: var(--primary); text-shadow: 0 0 10px rgba(181, 123, 255, 0.5); }

        .burger { display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; width: 40px; height: 40px; }
        .burger span { display: block; height: 1.5px; background: #fff; border-radius: 1px; transition: transform .35s var(--ease), opacity .25s, width .3s; }
        .burger span:nth-child(3) { width: 65%; }
        .burger:hover span:nth-child(3) { width: 100%; }
        body.mopen .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
        body.mopen .burger span:nth-child(2) { opacity: 0; }
        body.mopen .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }
        @media(max-width: 768px) { .nav-links { display: none; } .burger { display: flex; } .nav-cta { display: none; } }

        .btn-glow {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 14px 35px; background: transparent; color: #fff;
            font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
            border-radius: 8px; border: 1px solid var(--primary); transition: .4s var(--ease);
            box-shadow: 0 0 20px rgba(181, 123, 255, 0.1); position: relative; overflow: hidden;
        }
        .btn-glow::before {
            content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, .2), transparent);
            transform: skewX(-20deg); transition: .5s;
        }
        .btn-glow:hover::before { left: 150%; }
        .btn-glow:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(181, 123, 255, .5); background: var(--primary); color: #000; }

        .hero {
            min-height: 70vh; display: flex; align-items: center; position: relative;
            overflow: hidden; padding-top: 80px;
        }
        #particleCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: .5; }
        .hero-content { position: relative; z-index: 2; padding: 80px 0 60px; max-width: 1000px; }
        .hero h1 { font-size: clamp(3.2rem, 6.5vw, 7rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin-bottom: 25px; }
        .hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 620px; margin-bottom: 50px; line-height: 1.7; }

        @keyframes fadein { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
        @keyframes scrollanim {
            0% { transform: scaleY(0); transform-origin: top; }
            49% { transform: scaleY(1); transform-origin: top; }
            50% { transform: scaleY(1); transform-origin: bottom; }
            100% { transform: scaleY(0); transform-origin: bottom; }
        }

        .marquee-section {
            position: relative; padding: 25px 0;
            background: var(--bg2); width: 100vw; margin-left: calc(-50vw + 50%);
            border-top: 1px solid rgba(181, 123, 255, .1); border-bottom: 1px solid rgba(124, 58, 237, .1);
            overflow: hidden; display: flex; align-items: center;
        }
        .marquee-section::before, .marquee-section::after {
            content: ''; position: absolute; left: 0; width: 100%; height: 2px; z-index: 10;
            background-size: 200% 100%; background-repeat: repeat-x;
        }
        .marquee-section::before {
            top: -1px; background: linear-gradient(90deg, transparent 0%, rgba(181, 123, 255, .1) 20%, var(--primary) 48%, #fff 50%, var(--primary) 52%, rgba(181, 123, 255, .1) 80%, transparent 100%);
            animation: beam-r 5s linear infinite; filter: drop-shadow(0 0 8px var(--primary));
        }
        .marquee-section::after {
            bottom: -1px; background: linear-gradient(-90deg, transparent 0%, rgba(124, 58, 237, .1) 20%, var(--secondary) 48%, #fff 50%, var(--secondary) 52%, rgba(124, 58, 237, .1) 80%, transparent 100%);
            animation: beam-l 6s linear infinite; filter: drop-shadow(0 0 8px var(--secondary));
        }
        @keyframes beam-r { 0% { background-position: 0% 0 } 100% { background-position: -200% 0 } }
        @keyframes beam-l { 0% { background-position: 0% 0 } 100% { background-position: 200% 0 } }
        .marquee-wrapper { display: flex; width: max-content; animation: scroll-seamless 28s linear infinite; }
        .marquee-wrapper:hover { animation-play-state: paused; }
        .marquee-track { display: flex; gap: 80px; padding-right: 80px; }
        @keyframes scroll-seamless { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .partner-logo { font-size: 1.4rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; letter-spacing: 3px; color: transparent; -webkit-text-stroke: 1px rgba(181, 123, 255, .6); transition: all .4s cubic-bezier(.175,.885,.32,1.275); position: relative; cursor: default; }
        .partner-logo:nth-child(even) { -webkit-text-stroke: 1px rgba(124, 58, 237, .6); }
        .marquee-section:hover .partner-logo { opacity: .3; filter: blur(2px); }
        .partner-logo:hover { opacity: 1!important; filter: blur(0)!important; color: #fff; -webkit-text-stroke: 1px transparent; text-shadow: 0 0 15px var(--primary), 0 0 30px var(--primary); transform: scale(1.1) translateY(-3px); letter-spacing: 6px; }
        .partner-logo:nth-child(even):hover { text-shadow: 0 0 15px var(--secondary), 0 0 30px var(--secondary); }

        .section-header { margin-bottom: 60px; text-align: center; }
        .section-title { font-size: clamp(2.5rem, 5vw, 3.8rem); line-height: 1.1; font-weight: 800; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
        .section-title::before { content: '//'; color: var(--primary); font-family: 'Fira Code','JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: .8em; margin-right: 20px; text-shadow: 0 0 20px rgba(181, 123, 255, .6); opacity: .9; }
        .title-line { display: block; width: 70px; height: 4px; background: var(--primary); margin: 25px auto 0; border-radius: 2px; box-shadow: 0 0 15px rgba(181, 123, 255, .5); transition: width .5s var(--ease), background .5s, box-shadow .5s; }
        .section-header:hover .title-line { width: 180px; background: var(--secondary); box-shadow: 0 0 15px rgba(124, 58, 237, .6); }

        .filter-wrap { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; justify-content: center; }
        .filter-btn {
            padding: 12px 28px; background: var(--bg3); border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50px; font-size: .9rem; font-weight: 600; color: var(--text-muted);
            transition: .3s var(--ease); position: relative; overflow: hidden;
        }
        .filter-btn:hover { border-color: var(--primary); color: #fff; background: rgba(181, 123, 255, 0.05); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(181, 123, 255, .1); }
        .filter-btn.active { background: rgba(181, 123, 255, 0.1); border-color: var(--primary); color: #fff; text-shadow: 0 0 10px rgba(181,123,255,0.5); box-shadow: 0 5px 15px rgba(181, 123, 255, .15); }

        .cases-grid {
            display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
        }

        .case-block {
            background: var(--bg3); border: 1px solid var(--border); border-radius: 24px; padding: 30px;
            display: flex; flex-direction: column; text-decoration: none; color: inherit;
            transition: box-shadow .5s var(--ease), border-color .5s, transform .4s var(--ease);
            position: relative; overflow: hidden; z-index: 0;
        }

        .case-block::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: 2;
        }
        .case-block::after {
            content: ''; position: absolute; inset: 0; border-radius: 24px;
            background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(10, 15, 30, 0.4) 0%, rgba(3, 3, 4, 0.85) 100%);
            opacity: 0; transition: opacity .5s; pointer-events: none; z-index: 1;
        }
        .case-block > * { position: relative; z-index: 2; }

        .case-block:hover {
            border-color: rgba(181, 123, 255, .45);
            box-shadow: 0 20px 50px rgba(0, 0, 0, .7), 0 0 0 1px rgba(181, 123, 255, .15);
            transform: translateY(-6px);
        }
        .case-block:hover::before { transform: scaleX(1); }
        .case-block:hover::after { opacity: 1; }

        .cb-image-wrap {
            width: 100%; height: 350px; border-radius: 16px;
            background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(181, 123, 255,.05));
            display: flex; align-items: center; justify-content: center;
            position: relative; overflow: hidden; margin-bottom: 30px;
            border: 1px solid rgba(255,255,255,0.05); transition: .4s;
        }
        .cb-mockup {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform .7s var(--ease), filter .7s var(--ease);
        }
        .case-block:hover .cb-image-wrap { border-color: rgba(181, 123, 255, .3); background: rgba(181, 123, 255, .06); }
        .case-block:hover .cb-mockup { transform: scale(1.05); filter: brightness(1.1); }

        .cb-badge {
            position: absolute; top: 20px; left: 20px;
            background: rgba(3, 3, 4, .8); backdrop-filter: blur(15px);
            border: 1px solid rgba(181, 123, 255, .2); border-radius: 50px;
            padding: 8px 18px; font-size: .75rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 1px; color: var(--primary); z-index: 3;
            transition: .4s;
        }
        .case-block:hover .cb-badge { border-color: var(--primary); box-shadow: 0 0 15px rgba(181,123,255,.2); }

        .case-image-overlay {
            position: absolute; inset: 0; background: rgba(10, 6, 18, 0.7); backdrop-filter: blur(4px);
            display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s var(--ease);
            z-index: 4;
        }
        .case-block:hover .case-image-overlay { opacity: 1; }

        .view-project-btn {
            background: var(--primary); color: #000; padding: 12px 30px; border-radius: 30px; font-weight: 800;
            text-transform: uppercase; font-size: 0.9rem; transform: translateY(20px); transition: all 0.4s var(--ease);
            display: flex; align-items: center; gap: 8px;
        }
        .case-block:hover .view-project-btn { transform: translateY(0); box-shadow: 0 10px 30px rgba(181, 123, 255, 0.4); }

        .pdf-badge {
            position: absolute; top: 20px; right: 20px; background: rgba(10, 6, 18, 0.85); border: 1px solid var(--primary);
            padding: 8px 14px; border-radius: 10px; display: flex; align-items: center; gap: 8px;
            font-family: 'Fira Code','JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size: 0.8rem; font-weight: 700; color: var(--primary);
            backdrop-filter: blur(10px); z-index: 3; transition: .3s;
        }
        .pdf-badge svg { width: 16px; height: 16px; fill: currentColor; }
        .case-block:hover .pdf-badge { opacity: 0; transform: translateY(-10px); }

        .cb-info .year {
            font-size: .85rem; color: var(--primary); font-family: 'Fira Code','JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
            margin-bottom: 15px; display: flex; align-items: center; gap: 10px; letter-spacing: 1px;
            transition: .3s;
        }
        .cb-info .year::before { content: ''; display: block; width: 30px; height: 1px; background: var(--primary); transition: .3s; }
        .case-block:hover .cb-info .year { color: var(--secondary); text-shadow: 0 0 10px rgba(124,58,237,.4); }
        .case-block:hover .cb-info .year::before { background: var(--secondary); width: 40px; }

        .cb-info .title { font-size: 2rem; font-weight: 800; color: #fff; transition: .3s; margin-bottom: 25px; line-height: 1.2; }
        .case-block:hover .cb-info .title { color: #fff; text-shadow: 0 2px 4px rgba(0, 0, 0, .4); }

        .cb-metrics {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,.05); margin-bottom: 25px; transition: .3s;
        }
        .cb-metric { display: flex; flex-direction: column; gap: 4px; }
        .cb-metric-val { font-size: .82rem; font-weight: 700; color: #cfc4e8; line-height: 1.35; transition: .3s; }
        .cb-metric-label { font-size: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; transition: .3s; }

        .case-block:hover .cb-metrics { border-color: rgba(255,255,255,.1); }
        .case-block:hover .cb-metric-val { color: var(--primary); text-shadow: 0 0 15px rgba(181, 123, 255, .4); }
        .case-block:hover .cb-metric-label { color: #fff; }

        .cb-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
        .cb-tag {
            padding: 8px 16px; background: rgba(255,255,255,.02); border: 1px solid var(--border);
            border-radius: 50px; font-size: .8rem; color: var(--text-muted); transition: .3s; font-weight: 500;
        }
        .case-block:hover .cb-tag { border-color: rgba(181, 123, 255, .35); color: #fff; background: rgba(181, 123, 255, .07); }

        .case-block.hidden { display: none; }

        .pdf-close-btn {
            width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
            display: flex; align-items: center; justify-content: center; color: #fff; transition: .3s; cursor: pointer;
        }
        .pdf-close-btn:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); color: #fff;}
        .pdf-close-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

        .pdf-loader-text {
            position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
            color: var(--text-muted); font-weight: 600; z-index: 1;
        }

        @media(max-width: 768px) {
        }

        .stats-compact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 80px; }
        .stat-cell {
            background: var(--bg3); border: 1px solid var(--border); border-radius: 20px; padding: 40px 20px; text-align: center;
            transition: all 0.4s ease; position: relative; overflow: hidden;
        }
        .stat-cell:hover {
            border-color: var(--primary);
            box-shadow: 0 10px 40px rgba(181, 123, 255, 0.1), inset 0 0 20px rgba(181, 123, 255, 0.05);
            transform: translateY(-5px);
        }
        .stat-num { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 8px; color: #fff; font-weight: 800; transition: all 0.3s ease; line-height: 1;}
        .stat-cell:hover .stat-num { color: var(--primary); text-shadow: 0 0 20px rgba(181, 123, 255, 0.5); }
        .stat-desc { color: var(--text-muted); font-size: .85rem; font-family: 'Fira Code','JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}

        .mini-form {
            background: var(--bg3); border: 1px solid var(--border); border-radius: 30px; padding: 70px 50px; text-align: center;
            max-width: 900px; margin: 0 auto; box-shadow: 0 15px 35px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
            position: relative; overflow: hidden; z-index: 1; transition: .4s;
        }
        .mini-form::before {
            content: ''; position: absolute; inset: -1px; border-radius: 31px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            z-index: -1; opacity: 0; transition: .5s;
        }
        .mini-form:hover::before { opacity: 0.25; }
        .mini-form:hover { border-color: transparent; box-shadow: 0 20px 50px rgba(181, 123, 255, .15); transform: translateY(-5px); }
        .mini-form h3 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; color: #fff;}
        .mini-form p { color: var(--text-muted); margin-bottom: 45px; font-size: 1.15rem; }

        .form-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
        .form-row input {
            background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 18px 24px; font-size: 1rem;
            color: #fff; min-width: 280px; flex: 1 1 280px; outline: none; transition: .3s; font-family: inherit;
        }
        .form-row input:focus { border-color: var(--primary); box-shadow: 0 0 10px rgba(181, 123, 255, .2); }
        .form-row button {
            background: transparent; color: #fff; border: 1px solid var(--primary);
            border-radius: 12px; padding: 18px 45px; font-weight: 800; text-transform: uppercase;
            cursor: pointer; transition: .3s; flex: 0 0 auto; letter-spacing: 1px;
        }
        .form-row button:hover { background: var(--primary); color: #000; box-shadow: 0 8px 20px rgba(181, 123, 255, 0.4); transform: translateY(-2px); }

        footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: var(--bg); }
        .social-links { display: flex; gap: 15px; margin-top: 20px; }
        .social-btn {
            width: 45px; height: 45px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--border);
            display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: .3s;
        }
        .social-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(181, 123, 255, .2); }
        .social-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

        @media(max-width: 1024px) {
            .cases-grid { grid-template-columns: 1fr; }
            .cb-image-wrap { height: 400px; }
            .stats-compact { grid-template-columns: repeat(2, 1fr); }
        }
        @media(max-width: 600px) {
            .cb-image-wrap { height: 260px; }
            .cb-metrics { grid-template-columns: 1fr; gap: 10px; }
            .cb-metric { flex-direction: row; align-items: baseline; justify-content: space-between; }
            .cb-metric-label { font-size: 0.7rem; }
            .form-row input, .form-row button { width: 100%; flex: 1 1 100%; }
        }

        .case-block.highlighted {
            outline: 2px solid var(--primary);
            box-shadow: 0 0 40px rgba(181,123,255,0.35);
            animation: hlpulse 3s ease-out forwards;
        }
        @keyframes hlpulse {
            0%   { box-shadow: 0 0 0 0 rgba(181,123,255,0.5); outline-color: var(--primary); }
            50%  { box-shadow: 0 0 40px 8px rgba(181,123,255,0.3); }
            100% { box-shadow: 0 0 0 0 rgba(181,123,255,0); outline-color: transparent; }
        }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 3px;
    margin-left: 16px;
    flex-shrink: 0;
}
.lang-switcher a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 28px;
    border-radius: 16px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all .2s ease;
    color: var(--text-muted, #888);
}
.lang-switcher a.active {
    background: var(--primary, var(--cyan, var(--blue, #00f0ff)));
    color: #04121a;
    box-shadow: 0 2px 10px rgba(0, 240, 255, .28);
}
.lang-switcher a:not(.active):hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

@media (pointer: coarse) {
    #cursorDot, #cursorOutline { display: none !important; }
    * { cursor: auto !important; }
}

html { -webkit-text-size-adjust: 100%; }
img, video, iframe, canvas { max-width: 100%; }
input, textarea, select, button { font-size: 16px !important; }

.lang-switcher { margin-left: 10px; flex-shrink: 0; }

@media (max-width: 1024px) {
    .side-nav { display: none !important; }
    .trust-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-compact { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .service-card { grid-template-columns: 1fr; gap: 20px; padding: 30px; }
    .service-btn { align-self: flex-start; margin-left: 0; margin-top: 10px; }
    .cases-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .guarantees-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .cb-image-wrap { height: 340px; }
    .roadmap-grid { grid-template-columns: 1fr 1fr; }
    footer .container > div { gap: 30px; }
}

@media (max-width: 768px) {
    .nav-links { display: none !important; }
    .nav-cta  { display: none !important; }
    .burger   { display: flex !important; }

    .lang-switcher { margin-left: 8px; }
    .lang-switcher a { width: 30px; height: 24px; font-size: 0.68rem; }

    .container { padding: 0 16px; }
    .section   { padding: 60px 0; }

    .hero { height: auto; min-height: 100svh; padding: 100px 0 60px; align-items: flex-start; }
    .hero h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); min-height: auto !important; margin-bottom: 20px; }
    .hero p  { font-size: 1rem; margin-bottom: 30px; }
    .hero-stats { gap: 24px !important; }
    .hero-stats span[data-target] { font-size: 2rem !important; }

    .section-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .section-title::before { display: none; }

    .trust-grid,
    .cases-grid,
    .testimonials-grid,
    .guarantees-grid,
    .awards-grid,
    .roadmap-grid { grid-template-columns: 1fr !important; gap: 20px; }

    .stats-compact { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; padding-top: 30px; }
    .stat-item h3, .stat-num { font-size: 2.2rem !important; }

    .service-card { padding: 24px 20px; grid-template-columns: 1fr !important; gap: 16px; }
    .card-title h3 { font-size: 1.4rem; }
    .service-btn { width: 48px !important; }

    .case-card { padding: 24px; }
    .case-title { font-size: 1.2rem; }
    .case-metrics { flex-wrap: wrap; gap: 6px; font-size: 0.8rem; }

    .cb-image-wrap { height: 220px; }
    .cb-info .title { font-size: 1rem; }
    .cb-metrics { grid-template-columns: repeat(3,1fr); gap: 8px; }
    .cb-metric-val { font-size: 1rem; }
    .cb-metric-label { font-size: 0.65rem; }

    .filter-wrap { gap: 8px; }
    .filter-btn { padding: 8px 14px; font-size: 0.75rem; }

    .mini-form { padding: 40px 20px; border-radius: 20px; }
    .mini-form h3 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .mini-form p  { font-size: 0.95rem; margin-bottom: 24px; }
    .form-row { flex-direction: column; gap: 12px; }
    .form-row input  { min-width: unset; width: 100%; flex: 1 1 100%; }
    .form-row button { width: 100%; flex: 1 1 100%; padding: 16px; }

    .testimonial-text { font-size: 1rem; margin-bottom: 20px; }

    footer .container > div { flex-direction: column; gap: 32px; }
    footer .container > div > div { max-width: 100% !important; }
    footer h4 { margin-bottom: 16px !important; font-size: 1rem !important; }
    footer ul { line-height: 2 !important; }
    footer .social-links { gap: 10px; }

    .hero-scroll { display: none; }

    .award-item { padding: 24px 20px; }
    .awards-grid { grid-template-columns: 1fr 1fr; }

    .trust-visual img { max-height: 280px; object-fit: cover; }

    .marquee-track { animation-duration: 25s !important; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
    .stats-compact { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat-item h3, .stat-num { font-size: 1.8rem !important; }
    .cb-image-wrap { height: 180px; }
    .cb-metrics { grid-template-columns: 1fr 1fr 1fr; }
    .cases-grid { gap: 14px; }
    .guarantees-grid { grid-template-columns: 1fr !important; }
    .awards-grid { grid-template-columns: 1fr; }
    .roadmap-grid { grid-template-columns: 1fr !important; }
    .filter-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .filter-btn.active { grid-column: 1 / -1; }
    .section-title { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
    footer .container > div > div:nth-child(2):not(.sl-legal-req),
    footer .container > div > div:nth-child(3) { display: flex; gap: 40px; flex-wrap: wrap; }
    .lang-switcher a { width: 28px; height: 22px; font-size: 0.65rem; }
}

@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero h1 { font-size: 1.8rem; }
    .btn-glow { padding: 12px 24px !important; font-size: 0.8rem !important; }
    .nav-inner { padding: 0 12px; }
    .logo { font-size: 1.2rem !important; }
}

#mmenu {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9950;
    background: rgba(3, 3, 4, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .35s cubic-bezier(.4,0,.2,1), visibility .35s;
    overflow: hidden;
}
#mmenu::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb, 181,123,255),.08) 0%, transparent 70%);
    pointer-events: none;
    animation: mmenuGlow 6s ease-in-out infinite alternate;
}
@keyframes mmenuGlow {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(-40px, 40px) scale(1.2); }
}
#mmenu.open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}
.mmenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.mmenu-header .logo { font-size: 1.4rem; }
.mmenu-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mmenu-close {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
    flex-shrink: 0;
}
.mmenu-close:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary, var(--cyan, var(--blue, #00f0ff)));
    transform: rotate(90deg);
}
.mmenu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px;
    gap: 4px;
}
.mmenu-nav a {
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 800;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1.25;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: color .25s, transform .3s cubic-bezier(.4,0,.2,1), letter-spacing .3s;
    transform: translateX(-30px);
    opacity: 0;
    position: relative;
    overflow: hidden;
}
.mmenu-nav a::before {
    content: '//';
    font-family: 'Fira Code','JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    font-size: 0.45em;
    color: var(--primary, var(--cyan, var(--blue, #00f0ff)));
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .25s, transform .25s;
    flex-shrink: 0;
    margin-top: 3px;
}
.mmenu-nav a:hover::before,
.mmenu-nav a.active::before { opacity: 1; transform: translateX(0); }
.mmenu-nav a:hover,
.mmenu-nav a.active { color: #fff !important; transform: translateX(8px) !important; letter-spacing: 0; }
.mmenu-nav a:last-child { border-bottom: none; }
#mmenu.open .mmenu-nav a {
    opacity: 1;
    transform: translateX(0);
}
#mmenu.open .mmenu-nav a:nth-child(1) { transition-delay: .05s; }
#mmenu.open .mmenu-nav a:nth-child(2) { transition-delay: .10s; }
#mmenu.open .mmenu-nav a:nth-child(3) { transition-delay: .15s; }
#mmenu.open .mmenu-nav a:nth-child(4) { transition-delay: .20s; }
#mmenu.open .mmenu-nav a:nth-child(5) { transition-delay: .25s; }
.mmenu-cta {
    margin: 0 40px 24px;
    text-align: center;
    display: block;
    padding: 16px 32px !important;
    font-size: 0.85rem !important;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .3s .3s, transform .3s .3s, background .25s, box-shadow .25s !important;
    text-decoration: none;
}
#mmenu.open .mmenu-cta {
    opacity: 1;
    transform: translateY(0);
}
.mmenu-footer {
    text-align: center;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.15);
    padding: 0 24px 20px;
    font-family: 'Fira Code','JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    opacity: 0;
    transition: opacity .3s .35s;
}
#mmenu.open .mmenu-footer { opacity: 1; }
@media (min-width: 769px) { #mmenu { display: none !important; } }
