:root {
            --ink: #10162d;
            --navy: #151b3f;
            --blue: #1746a2;
            --blue-soft: #eaf1ff;
            --red: #ef233c;
            --red-soft: #fff0f2;
            --cyan: #2bb8ff;
            --gold: #ffbf3f;
            --mint: #35c997;
            --paper: #ffffff;
            --cloud: #f5f8ff;
            --muted: #64708a;
            --line: #dfe6f5;
            --shadow: 0 24px 70px rgba(21, 27, 63, .13);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
            color: var(--ink);
            background: var(--paper);
        }

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

        .page {
            overflow: hidden;
        }

        .wrap {
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
        }

        .header {
            position: sticky;
            top: 0;
            z-index: 50;
            background: rgba(255, 255, 255, .86);
            border-bottom: 1px solid rgba(223, 230, 245, .8);
            backdrop-filter: blur(18px);
        }

        .nav {
            min-height: 86px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 22px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 13px;
            min-width: 240px;
        }

        .brand img {
            width: 58px;
            height: 58px;
            object-fit: contain;
            border-radius: 50%;
            box-shadow: 0 10px 26px rgba(23, 70, 162, .18);
        }

        .brand strong {
            display: block;
            font-size: 1.18rem;
            color: var(--navy);
            line-height: 1.1;
        }

        .brand span {
            display: block;
            margin-top: 4px;
            color: var(--muted);
            font-size: .78rem;
            font-weight: 700;
        }

        .menu {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 28px;
            color: #394461;
            font-size: .94rem;
            font-weight: 800;
        }

        .menu a {
            position: relative;
            padding: 10px 0;
        }

        .menu a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 4px;
            height: 2px;
            transform: scaleX(0);
            transform-origin: left;
            background: var(--red);
            transition: transform .22s ease;
        }

        .menu a:hover {
            color: var(--blue);
        }

        .menu a:hover::after {
            transform: scaleX(1);
        }

        .btn {
            min-height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            padding: 0 22px;
            border-radius: 8px;
            border: 1px solid transparent;
            font-weight: 900;
            transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
            white-space: nowrap;
        }

        .btn:hover {
            transform: translateY(-2px);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--red), #c9152d);
            color: #fff;
            box-shadow: 0 16px 34px rgba(239, 35, 60, .24);
        }

        .btn-blue {
            background: linear-gradient(135deg, var(--blue), #0d2d76);
            color: #fff;
            box-shadow: 0 16px 34px rgba(23, 70, 162, .22);
        }

        .btn-light {
            background: #fff;
            color: var(--blue);
            border-color: var(--line);
            box-shadow: 0 10px 24px rgba(21, 27, 63, .08);
        }

        .hero {
            position: relative;
            padding: 86px 0 96px;
            background:
                radial-gradient(circle at 8% 18%, rgba(239, 35, 60, .12), transparent 28rem),
                radial-gradient(circle at 88% 16%, rgba(43, 184, 255, .18), transparent 28rem),
                linear-gradient(135deg, #f9fbff 0%, #edf4ff 52%, #fff 100%);
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(23, 70, 162, .06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(23, 70, 162, .06) 1px, transparent 1px);
            background-size: 54px 54px;
            mask-image: linear-gradient(to bottom, black, transparent 72%);
            pointer-events: none;
        }

        .hero-grid {
            position: relative;
            display: grid;
            grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
            gap: 58px;
            align-items: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--red);
            font-size: .78rem;
            font-weight: 900;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        .eyebrow::before {
            content: "";
            width: 32px;
            height: 3px;
            border-radius: 99px;
            background: var(--red);
        }

        h1,
        h2,
        h3,
        p {
            margin-top: 0;
        }

        h1 {
            margin-bottom: 22px;
            color: var(--navy);
            font-size: clamp(2.7rem, 6vw, 5.3rem);
            line-height: .98;
            letter-spacing: 0;
        }

        .accent {
            color: var(--red);
        }

        .hero-copy {
            max-width: 650px;
            color: #53607d;
            font-size: 1.1rem;
            line-height: 1.82;
            margin-bottom: 30px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }

        .hero-visual {
            position: relative;
            min-height: 560px;
        }

        .device {
            position: absolute;
            inset: 24px 0 auto 34px;
            min-height: 405px;
            border-radius: 26px;
            padding: 18px;
            background: linear-gradient(145deg, #11193a, #25346f);
            box-shadow: var(--shadow);
            transform: rotate(-2deg);
        }

        .device-screen {
            min-height: 368px;
            border-radius: 18px;
            overflow: hidden;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, .08), transparent),
                #f8fbff;
            border: 1px solid rgba(255, 255, 255, .18);
            color: var(--ink);
        }

        .screen-top {
            height: 54px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 18px;
            background: #fff;
            border-bottom: 1px solid var(--line);
        }

        .dots {
            display: flex;
            gap: 7px;
        }

        .dots span {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--red);
        }

        .dots span:nth-child(2) {
            background: var(--gold);
        }

        .dots span:nth-child(3) {
            background: var(--mint);
        }

        .screen-body {
            display: grid;
            grid-template-columns: 1fr .85fr;
            gap: 18px;
            padding: 20px;
        }

        .chart-card,
        .mini-card,
        .phone-card,
        .academy-card {
            border-radius: 16px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: 0 14px 30px rgba(21, 27, 63, .08);
        }

        .chart-card {
            padding: 18px;
            min-height: 204px;
        }

        .chart-title {
            height: 18px;
            width: 68%;
            border-radius: 99px;
            background: var(--blue-soft);
            margin-bottom: 22px;
        }

        .bars {
            height: 142px;
            display: flex;
            align-items: end;
            gap: 12px;
        }

        .bars span {
            flex: 1;
            min-width: 18px;
            border-radius: 12px 12px 4px 4px;
            background: linear-gradient(180deg, var(--cyan), var(--blue));
            height: var(--h);
        }

        .mini-stack {
            display: grid;
            gap: 14px;
        }

        .mini-card {
            padding: 15px;
        }

        .mini-card strong {
            display: block;
            margin-bottom: 9px;
            color: var(--navy);
        }

        .line {
            height: 8px;
            border-radius: 99px;
            background: var(--blue-soft);
            margin-top: 8px;
        }

        .line.red {
            width: 72%;
            background: var(--red-soft);
        }

        .phone-card {
            position: absolute;
            right: 4px;
            bottom: 76px;
            width: 178px;
            padding: 14px;
            border-radius: 28px;
            transform: rotate(6deg);
        }

        .phone-screen {
            border-radius: 20px;
            padding: 18px 13px;
            background: linear-gradient(180deg, #f7faff, #fff);
            border: 1px solid var(--line);
        }

        .app-icon {
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--red), var(--blue));
            color: #fff;
            font-weight: 900;
            margin-bottom: 18px;
        }

        .academy-card {
            position: absolute;
            left: 0;
            bottom: 16px;
            width: min(330px, 76%);
            padding: 20px;
        }

        .academy-card strong {
            display: block;
            color: var(--navy);
            font-size: 1.05rem;
            margin-bottom: 10px;
        }

        .academy-card p {
            color: var(--muted);
            line-height: 1.55;
            margin-bottom: 0;
        }

        .logo-float {
            position: absolute;
            top: 0;
            right: 58px;
            width: 112px;
            height: 112px;
            display: grid;
            place-items: center;
            border-radius: 28px;
            background: #fff;
            box-shadow: var(--shadow);
        }

        .logo-float img {
            width: 82px;
            height: 82px;
            object-fit: contain;
        }

        .section {
            padding: 88px 0;
        }

        .section-soft {
            background: var(--cloud);
        }

        .section-head {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 30px;
            margin-bottom: 38px;
        }

        .section-title {
            max-width: 720px;
            margin: 10px 0 0;
            color: var(--navy);
            font-size: clamp(2rem, 4vw, 3.35rem);
            line-height: 1.05;
        }

        .section-copy {
            max-width: 480px;
            color: var(--muted);
            line-height: 1.75;
            margin-bottom: 0;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }

        .service-card {
            position: relative;
            min-height: 280px;
            padding: 30px;
            border-radius: 24px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: 0 18px 42px rgba(21, 27, 63, .07);
            overflow: hidden;
            transition: transform .2s ease, box-shadow .2s ease;
        }

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

        .service-card::after {
            content: "";
            position: absolute;
            right: -42px;
            bottom: -42px;
            width: 120px;
            height: 120px;
            border-radius: 30px;
            background: rgba(23, 70, 162, .06);
            transform: rotate(18deg);
        }

        .service-icon {
            width: 62px;
            height: 62px;
            display: grid;
            place-items: center;
            border-radius: 18px;
            background: var(--blue-soft);
            color: var(--blue);
            font-size: 1.35rem;
            font-weight: 900;
            margin-bottom: 24px;
        }

        .service-card:nth-child(even) .service-icon {
            background: var(--red-soft);
            color: var(--red);
        }

        .service-card h3,
        .project-card h3,
        .process-card h3 {
            color: var(--navy);
            font-size: 1.18rem;
            margin-bottom: 12px;
        }

        .service-card p,
        .project-card p,
        .process-card p,
        .choose-card p,
        .academy-content p {
            color: var(--muted);
            line-height: 1.72;
            margin-bottom: 0;
        }

        .choose-grid {
            display: grid;
            grid-template-columns: .9fr 1.1fr;
            gap: 42px;
            align-items: center;
        }

        .choose-panel {
            position: relative;
            min-height: 430px;
            border-radius: 34px;
            padding: 32px;
            background: linear-gradient(135deg, var(--navy), #23408c);
            color: #fff;
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .choose-panel::before {
            content: "";
            position: absolute;
            inset: 28px;
            border: 1px dashed rgba(255, 255, 255, .24);
            border-radius: 26px;
        }

        .choose-panel img {
            position: relative;
            width: 118px;
            height: 118px;
            object-fit: contain;
            border-radius: 50%;
            background: #fff;
            padding: 4px;
        }

        .choose-panel h3 {
            position: relative;
            max-width: 380px;
            margin: 44px 0 14px;
            font-size: 2.25rem;
            line-height: 1.05;
        }

        .choose-panel p {
            position: relative;
            max-width: 420px;
            color: rgba(255, 255, 255, .78);
            line-height: 1.75;
            margin-bottom: 0;
        }

        .choose-list {
            display: grid;
            gap: 16px;
        }

        .choose-card {
            display: grid;
            grid-template-columns: 46px 1fr;
            gap: 16px;
            padding: 20px;
            border: 1px solid var(--line);
            border-radius: 20px;
            background: #fff;
            box-shadow: 0 14px 32px rgba(21, 27, 63, .06);
        }

        .tick {
            width: 46px;
            height: 46px;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: var(--red);
            color: #fff;
            font-weight: 900;
        }

        .academy {
            position: relative;
            background:
                linear-gradient(135deg, rgba(23, 70, 162, .95), rgba(16, 22, 45, .97)),
                radial-gradient(circle at 80% 20%, rgba(43, 184, 255, .5), transparent 22rem);
            color: #fff;
        }

        .academy-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
            gap: 48px;
            align-items: center;
        }

        .academy .eyebrow,
        .academy .section-title {
            color: #fff;
        }

        .academy .eyebrow::before {
            background: var(--gold);
        }

        .academy-content p {
            color: rgba(255, 255, 255, .76);
            font-size: 1.05rem;
            margin-bottom: 26px;
        }

        .course-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 30px;
        }

        .course {
            display: inline-flex;
            align-items: center;
            min-height: 40px;
            padding: 0 14px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .11);
            border: 1px solid rgba(255, 255, 255, .18);
            color: #fff;
            font-weight: 800;
        }

        .academy-visual {
            position: relative;
            min-height: 420px;
        }

        .lesson-board {
            position: absolute;
            inset: 20px 0 auto 30px;
            border-radius: 28px;
            padding: 28px;
            background: #fff;
            color: var(--ink);
            box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
        }

        .lesson-board h3 {
            color: var(--navy);
            margin-bottom: 20px;
        }

        .code-lines {
            display: grid;
            gap: 12px;
        }

        .code-lines span {
            height: 12px;
            border-radius: 99px;
            background: var(--blue-soft);
        }

        .code-lines span:nth-child(2) {
            width: 78%;
            background: var(--red-soft);
        }

        .code-lines span:nth-child(3) {
            width: 62%;
            background: #eafff7;
        }

        .student-card {
            position: absolute;
            left: 0;
            bottom: 26px;
            width: 240px;
            padding: 20px;
            border-radius: 22px;
            background: var(--gold);
            color: var(--navy);
            box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
            font-weight: 900;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }

        .project-card {
            border-radius: 24px;
            background: #fff;
            border: 1px solid var(--line);
            overflow: hidden;
            box-shadow: 0 18px 42px rgba(21, 27, 63, .07);
        }

        .project-preview {
            height: 184px;
            padding: 18px;
            background: linear-gradient(135deg, var(--blue-soft), #fff);
            border-bottom: 1px solid var(--line);
        }

        .project-window {
            height: 100%;
            border-radius: 16px;
            background: #fff;
            border: 1px solid var(--line);
            padding: 14px;
        }

        .project-top {
            height: 32px;
            border-radius: 10px;
            background: var(--navy);
            margin-bottom: 12px;
        }

        .project-row {
            height: 16px;
            border-radius: 99px;
            background: var(--blue-soft);
            margin-top: 10px;
        }

        .project-row.red {
            width: 72%;
            background: var(--red-soft);
        }

        .project-row.gold {
            width: 54%;
            background: #fff5dc;
        }

        .project-body {
            padding: 24px;
        }

        .project-link {
            display: inline-flex;
            margin-top: 18px;
            color: var(--blue);
            font-weight: 900;
        }

        .project-clients {
            display: grid;
            gap: 8px;
            padding: 0;
            margin: 18px 0 0;
            list-style: none;
            color: #44506c;
            font-size: .92rem;
            font-weight: 800;
        }

        .project-clients li {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .project-clients li::before {
            content: "";
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--red);
            flex: 0 0 auto;
        }

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 18px;
            counter-reset: process;
        }

        .process-card {
            position: relative;
            min-height: 250px;
            padding: 28px;
            border-radius: 24px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: 0 14px 34px rgba(21, 27, 63, .06);
        }

        .process-number {
            width: 54px;
            height: 54px;
            display: grid;
            place-items: center;
            border-radius: 16px;
            background: var(--navy);
            color: #fff;
            font-weight: 900;
            margin-bottom: 24px;
        }

        .cta {
            padding: 86px 0;
            background:
                linear-gradient(135deg, rgba(239, 35, 60, .94), rgba(23, 70, 162, .95)),
                var(--navy);
            color: #fff;
        }

        .cta-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 34px;
        }

        .cta h2 {
            max-width: 760px;
            font-size: clamp(2rem, 4vw, 3.35rem);
            line-height: 1.05;
            margin-bottom: 12px;
        }

        .cta p {
            max-width: 650px;
            color: rgba(255, 255, 255, .8);
            font-size: 1.05rem;
            line-height: 1.75;
            margin-bottom: 0;
        }

        .cta-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            justify-content: flex-end;
        }

        .footer {
            padding: 56px 0 26px;
            background: #0d132d;
            color: rgba(255, 255, 255, .72);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.1fr .7fr .9fr;
            gap: 42px;
            padding-bottom: 38px;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 16px;
        }

        .footer-brand img {
            width: 64px;
            height: 64px;
            object-fit: contain;
            border-radius: 50%;
            background: #fff;
        }

        .footer-brand strong {
            color: #fff;
            font-size: 1.2rem;
        }

        .footer h3 {
            color: #fff;
            margin-bottom: 18px;
        }

        .footer-links,
        .contact-list {
            display: grid;
            gap: 12px;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .footer-links a:hover {
            color: #fff;
        }

        .contact-list a {
            color: rgba(255, 255, 255, .86);
            font-weight: 800;
        }

        .contact-list a:hover {
            color: #fff;
        }

        .copyright {
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, .12);
            display: flex;
            justify-content: space-between;
            gap: 18px;
            font-size: .92rem;
        }

        @media (max-width: 1050px) {
            .menu {
                display: none;
            }

            .hero-grid,
            .choose-grid,
            .academy-grid {
                grid-template-columns: 1fr;
            }

            .hero-visual {
                min-height: 520px;
            }

            .services-grid,
            .projects-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .process-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .section-head,
            .cta-inner {
                align-items: flex-start;
                flex-direction: column;
            }

            .cta-actions {
                justify-content: flex-start;
            }
        }

        @media (max-width: 720px) {
            .wrap {
                width: min(100% - 24px, 1180px);
            }

            .nav {
                min-height: 76px;
            }

            .brand {
                min-width: 0;
            }

            .brand img {
                width: 48px;
                height: 48px;
            }

            .brand strong {
                font-size: 1rem;
            }

            .brand span {
                display: none;
            }

            .header .btn {
                display: none;
            }

            .hero {
                padding: 58px 0 70px;
            }

            .hero-visual {
                min-height: 500px;
            }

            .device {
                inset: 38px 0 auto 0;
                transform: none;
            }

            .screen-body {
                grid-template-columns: 1fr;
            }

            .phone-card {
                right: 0;
                bottom: 70px;
                width: 150px;
            }

            .academy-card {
                width: 82%;
            }

            .logo-float {
                right: 10px;
                width: 88px;
                height: 88px;
                border-radius: 22px;
            }

            .logo-float img {
                width: 64px;
                height: 64px;
            }

            .section {
                padding: 64px 0;
            }

            .services-grid,
            .projects-grid,
            .process-grid,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .choose-panel {
                min-height: 360px;
                border-radius: 26px;
            }

            .choose-panel h3 {
                font-size: 1.9rem;
            }

            .lesson-board {
                inset: 0 0 auto 0;
            }

            .student-card {
                width: 210px;
                bottom: 10px;
            }

            .copyright {
                flex-direction: column;
            }
        }

        /* Dark premium theme and animation layer */
        :root {
            --ink: #f7f9ff;
            --navy: #f7f9ff;
            --blue: #4da3ff;
            --blue-soft: rgba(77, 163, 255, .13);
            --red: #ff304f;
            --red-soft: rgba(255, 48, 79, .13);
            --paper: #070914;
            --cloud: #0c1020;
            --muted: #aab5cf;
            --line: rgba(255, 255, 255, .12);
            --shadow: 0 26px 80px rgba(0, 0, 0, .42);
        }

        @keyframes floatSoft {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-14px); }
        }

        @keyframes glowPulse {
            0%, 100% { opacity: .45; transform: scale(1); }
            50% { opacity: .85; transform: scale(1.08); }
        }

        @keyframes slideTextIn {
            from { opacity: 0; transform: translateY(26px); }
            to { opacity: 1; transform: translateY(0); }
        }

@keyframes imageZoom {
            from { transform: scale(1.08); }
            to { transform: scale(1); }
        }

        @keyframes digitalReveal {
            0% {
                opacity: 0;
                filter: blur(12px);
                clip-path: inset(0 100% 0 0);
                transform: translateY(24px) skewX(-7deg);
                text-shadow: 0 0 0 rgba(245, 158, 11, 0);
            }
            55% {
                opacity: 1;
                filter: blur(2px);
                clip-path: inset(0 0 0 0);
                transform: translateY(0) skewX(2deg);
                text-shadow: 0 0 34px rgba(245, 158, 11, .46);
            }
            100% {
                opacity: 1;
                filter: blur(0);
                clip-path: inset(0 0 0 0);
                transform: translateY(0) skewX(0);
                text-shadow: 0 24px 60px rgba(0, 0, 0, .34);
            }
        }

        @keyframes binaryBlink {
            0%, 100% {
                opacity: .2;
                transform: translateY(0);
            }
            50% {
                opacity: 1;
                transform: translateY(-4px);
            }
        }

        @keyframes matrixRain {
            0% {
                transform: translateY(-55%);
            }
            100% {
                transform: translateY(55%);
            }
        }

        @keyframes flyInRight {
            0% {
                opacity: 0;
                transform: translateX(32px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes flyInTop {
            0% {
                opacity: 0;
                transform: translateY(-28px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes flyInBottom {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        body {
            color: var(--ink);
            background:
                radial-gradient(circle at 8% 2%, rgba(255, 48, 79, .18), transparent 28rem),
                radial-gradient(circle at 92% 6%, rgba(77, 163, 255, .22), transparent 30rem),
                linear-gradient(180deg, #070914 0%, #0b1022 48%, #070914 100%);
        }

        .header {
            background: rgba(7, 9, 20, .82);
            border-bottom-color: rgba(255, 255, 255, .1);
        }

        .brand img,
        .footer-brand img {
            background: #fff;
            padding: 2px;
            box-shadow: 0 14px 36px rgba(255, 48, 79, .26);
        }

        .brand strong,
        .section-title,
        .service-card h3,
        .project-card h3,
        .process-card h3,
        .lesson-board h3 {
            color: #fff;
        }

        .brand span,
        .menu {
            color: #c7d1e7;
        }

        .menu a:hover {
            color: #fff;
        }

        .btn-light {
            background: rgba(255, 255, 255, .08);
            color: #fff;
            border-color: rgba(255, 255, 255, .2);
            box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
        }

        .hero {
            min-height: calc(100vh - 86px);
            padding: 0;
            display: grid;
            align-items: stretch;
            background: #070914;
        }

        .hero::before {
            z-index: 2;
            background-image:
                linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
            mask-image: linear-gradient(to bottom, black, transparent 82%);
        }

        .hero-slider {
            position: relative;
            min-height: calc(100vh - 86px);
            isolation: isolate;
        }

        .hero-slider::before,
        .hero-slider::after {
            content: "01001111 01010011 01001000 01000101 01001110 01000001 01010000 01010000 01010111 01000101 01000010 01010000 01001111 01010011 01000001 01001001 01010100 01001001 01000011 01010100 01010010 01001111 01001100 01001111 01000111 01001111 01010011 01001000 01000101 01001110 01000001 01010000 01010000 01010111 01000101 01000010 01010000 01001111 01010011 01000001 01001001 01010100 01001001 01000011 01010100 01010010 01001111 01001100 01001111 01000111 01001111";
            position: absolute;
            inset: -40% 0;
            z-index: 1;
            color: rgba(245, 158, 11, .13);
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: 1rem;
            font-weight: 800;
            line-height: 2.4;
            letter-spacing: .42em;
            word-break: break-all;
            writing-mode: vertical-rl;
            text-orientation: upright;
            pointer-events: none;
            opacity: .42;
            animation: matrixRain 18s linear infinite;
        }

        .hero-slider::before {
            left: -10%;
            right: auto;
            width: 54%;
        }

        .hero-slider::after {
            left: auto;
            right: -8%;
            width: 46%;
            color: rgba(34, 211, 238, .1);
            animation-duration: 23s;
            animation-delay: -8s;
        }

        .hero-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity .8s ease, visibility .8s ease;
        }

        .hero-slide.active {
            opacity: 1;
            visibility: visible;
        }

        .hero-slide::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -2;
            background: var(--slide-bg) center / cover no-repeat;
            filter: saturate(1.08) contrast(1.08);
            transform: scale(1.08);
            will-change: transform;
        }

        .hero-slide.active::before {
            animation: imageZoom 7.8s ease forwards;
        }

        .hero-slide::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            background:
                radial-gradient(circle at 75% 28%, rgba(77, 163, 255, .32), transparent 24rem),
                linear-gradient(90deg, rgba(7, 9, 20, .96) 0%, rgba(7, 9, 20, .82) 46%, rgba(7, 9, 20, .38) 100%);
        }

        .hero-slide-inner {
            min-height: calc(100vh - 86px);
            display: grid;
            grid-template-columns: minmax(0, .95fr) minmax(360px, .85fr);
            align-items: center;
            gap: 54px;
            padding: 84px 0 108px;
        }

        .hero-slide.active .hero-content > * {
            animation-duration: .68s;
            animation-timing-function: cubic-bezier(.22, .72, .2, 1);
            animation-fill-mode: both;
        }

        .hero-slide.active .hero-content > *:nth-child(1) {
            animation-name: flyInTop;
        }

        .hero-slide.active .hero-content > *:nth-child(2) {
            animation-name: flyInRight;
            animation-delay: .06s;
        }

        .hero-slide.active .hero-content > *:nth-child(3) {
            animation-name: flyInBottom;
            animation-delay: .14s;
        }

        .hero-slide.active .hero-content > *:nth-child(4) {
            animation-name: flyInRight;
            animation-delay: .22s;
        }

        .hero-content h1 {
            position: relative;
        }

        .hero-content h1::after {
            content: "01001111";
            position: absolute;
            left: 4px;
            bottom: -24px;
            color: var(--gold);
            font-size: .82rem;
            font-weight: 900;
            letter-spacing: .3em;
            opacity: 0;
            pointer-events: none;
        }

        .hero-slide.active .hero-content h1::after {
            animation: binaryBlink 1.4s ease .78s 2 both;
        }

        h1 {
            color: #fff;
            text-shadow: 0 24px 60px rgba(0, 0, 0, .34);
        }

        .hero-copy {
            color: #c7d1e7;
        }

        .hero-media {
            position: relative;
            min-height: 500px;
        }

        .hero-image-card {
            position: absolute;
            inset: 28px 0 0 56px;
            border-radius: 30px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, .16);
            box-shadow: var(--shadow);
            animation: floatSoft 6s ease-in-out infinite;
            will-change: transform;
        }

        .hero-image-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-image-card::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(7, 9, 20, .1), rgba(255, 48, 79, .22));
        }

        .hero-logo-card,
        .hero-stat-card,
        .hero-course-card {
            position: absolute;
            z-index: 4;
            border-radius: 22px;
            background: rgba(12, 16, 32, .82);
            border: 1px solid rgba(255, 255, 255, .16);
            box-shadow: var(--shadow);
            backdrop-filter: blur(18px);
            will-change: transform;
        }

        .hero-slide.active::before {
            transform: translate3d(0, var(--parallax-bg, 0px), 0) scale(1.08);
        }

        .hero-slide.active .hero-image-card {
            transform: translate3d(0, var(--parallax-image, 0px), 0);
        }

        .hero-slide.active .hero-logo-card {
            transform: translate3d(0, var(--parallax-float, 0px), 0);
        }

        .hero-slide.active .hero-stat-card,
        .hero-slide.active .hero-course-card {
            transform: translate3d(0, var(--parallax-card, 0px), 0);
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-slide.active::before,
            .hero-slide.active .hero-image-card,
            .hero-slide.active .hero-logo-card,
            .hero-slide.active .hero-stat-card,
            .hero-slide.active .hero-course-card {
                transform: none;
            }
        }

        .hero-logo-card {
            top: 0;
            left: 0;
            width: 132px;
            height: 132px;
            display: grid;
            place-items: center;
        }

        .hero-logo-card img {
            width: 92px;
            height: 92px;
            object-fit: contain;
            border-radius: 50%;
            background: #fff;
        }

        .hero-stat-card {
            right: 6px;
            bottom: 44px;
            width: 230px;
            padding: 20px;
        }

        .hero-stat-card strong,
        .hero-course-card strong {
            display: block;
            color: #fff;
            font-size: 1.05rem;
            margin-bottom: 8px;
        }

        .hero-stat-card span,
        .hero-course-card span {
            color: #aab5cf;
            line-height: 1.55;
        }

        .hero-course-card {
            left: 26px;
            bottom: 0;
            width: min(320px, 78%);
            padding: 20px;
        }

        .hero-nav {
            position: absolute;
            left: 50%;
            bottom: 34px;
            z-index: 8;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .hero-dot {
            width: 38px;
            height: 6px;
            border: 0;
            border-radius: 999px;
            background: rgba(255, 255, 255, .28);
            cursor: pointer;
        }

        .hero-dot.active {
            background: var(--red);
            box-shadow: 0 0 24px rgba(255, 48, 79, .8);
        }

        .hero-arrow {
            position: absolute;
            top: 50%;
            z-index: 8;
            width: 48px;
            height: 48px;
            border: 1px solid rgba(255, 255, 255, .18);
            border-radius: 50%;
            color: #fff;
            background: rgba(255, 255, 255, .08);
            transform: translateY(-50%);
            cursor: pointer;
            font-size: 1.4rem;
            backdrop-filter: blur(14px);
        }

        .hero-arrow.prev {
            left: 24px;
        }

        .hero-arrow.next {
            right: 24px;
        }

        .hero-glow {
            position: absolute;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: rgba(255, 48, 79, .2);
            filter: blur(30px);
            animation: glowPulse 5s ease-in-out infinite;
            pointer-events: none;
        }

        .hero-glow.one {
            left: -80px;
            top: 18%;
        }

        .hero-glow.two {
            right: 4%;
            bottom: 8%;
            background: rgba(77, 163, 255, .2);
            animation-delay: -1.8s;
        }

        .section {
            background: #070914;
        }

        .section-soft {
            background: #0c1020;
        }

        .service-card,
        .choose-card,
        .project-card,
        .process-card,
        .chart-card,
        .mini-card,
        .lesson-board {
            background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
            border-color: rgba(255, 255, 255, .12);
            box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
            backdrop-filter: blur(12px);
        }

        .service-card:hover,
        .project-card:hover,
        .process-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 30px 70px rgba(0, 0, 0, .38);
        }

        .service-card p,
        .project-card p,
        .process-card p,
        .choose-card p,
        .academy-content p,
        .section-copy {
            color: #aab5cf;
        }

        .choose-panel {
            background:
                radial-gradient(circle at 22% 18%, rgba(255, 48, 79, .3), transparent 18rem),
                linear-gradient(135deg, #111936, #0a0d1d);
        }

        .academy {
            background:
                radial-gradient(circle at 18% 20%, rgba(255, 48, 79, .22), transparent 24rem),
                radial-gradient(circle at 82% 20%, rgba(77, 163, 255, .22), transparent 26rem),
                #090d1c;
        }

        .project-preview {
            background: linear-gradient(135deg, rgba(77, 163, 255, .18), rgba(255, 48, 79, .12));
            border-bottom-color: rgba(255, 255, 255, .12);
        }

        .project-window,
        .phone-screen,
        .device-screen {
            background: #0c1020;
            color: #fff;
            border-color: rgba(255, 255, 255, .12);
        }

        .project-link,
        .contact-list a {
            color: #7cc2ff;
        }

        .cta {
            background:
                radial-gradient(circle at 80% 20%, rgba(77, 163, 255, .24), transparent 24rem),
                linear-gradient(135deg, #121a39, #450815);
        }

        .footer {
            background: #050711;
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity .75s ease, transform .75s ease;
        }

        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 1050px) {
            .hero-slide-inner {
                grid-template-columns: 1fr;
                padding-top: 64px;
            }

            .hero-media {
                min-height: 460px;
            }
        }

        @media (max-width: 720px) {
            .hero,
            .hero-slider,
            .hero-slide-inner {
                min-height: auto;
            }

            .hero-slide {
                position: relative;
            display: none;
            }

            .hero-slide.active {
                display: block;
            }

            .hero-slide-inner {
                padding: 56px 0 92px;
            }

            .hero-media {
                min-height: 390px;
            }

            .hero-image-card {
                inset: 30px 0 0 20px;
                border-radius: 22px;
            }

            .hero-logo-card {
                width: 96px;
                height: 96px;
            }

            .hero-logo-card img {
                width: 70px;
                height: 70px;
            }

            .hero-stat-card {
                right: 0;
                bottom: 34px;
                width: 190px;
            }

            .hero-course-card {
                left: 0;
                width: 82%;
            }

            .hero-arrow {
                display: none;
            }

            .hero-slider::before,
            .hero-slider::after {
                font-size: .76rem;
                letter-spacing: .32em;
                opacity: .24;
            }
        }

/* Final responsive polish */
@media (max-width: 1100px) {
    .nav {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }

    .brand {
        min-width: 0;
    }

    .menu {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 18px;
        padding: 4px 0 2px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .menu::-webkit-scrollbar {
        display: none;
    }

    .hero-slide-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-media {
        width: min(100%, 640px);
        margin: 0 auto;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .wrap {
        width: min(100% - 24px, 1180px);
    }

    h1 {
        font-size: clamp(2.25rem, 11vw, 3.35rem);
        line-height: 1.02;
    }

    .section-title,
    .cta h2 {
        font-size: clamp(1.85rem, 8vw, 2.55rem);
    }

    .hero-slide-inner {
        padding: 48px 0 92px;
    }

    .hero-copy,
    .section-copy,
    .cta p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .hero-media {
        min-height: 360px;
    }

    .hero-image-card {
        inset: 46px 0 0 18px;
        height: 290px;
    }

    .hero-logo-card {
        width: 82px;
        height: 82px;
        border-radius: 18px;
    }

    .hero-logo-card img {
        width: 62px;
        height: 62px;
    }

    .hero-stat-card,
    .hero-course-card {
        width: min(235px, 78vw);
        padding: 16px;
    }

    .hero-stat-card {
        right: 0;
        bottom: 18px;
    }

    .hero-course-card {
        left: 0;
        bottom: 18px;
    }

    .hero-nav {
        bottom: 24px;
    }

    .section {
        padding: 58px 0;
    }

    .section-head,
    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .services-grid,
    .projects-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .project-card,
    .process-card,
    .choose-card {
        border-radius: 18px;
        padding: 22px;
    }

    .choose-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .choose-panel {
        min-height: 320px;
        border-radius: 22px;
        padding: 24px;
    }

    .choose-panel h3 {
        font-size: 1.8rem;
    }

    .choose-card {
        grid-template-columns: 40px 1fr;
        gap: 14px;
    }

    .tick {
        width: 40px;
        height: 40px;
    }

    .project-preview {
        height: 160px;
    }

    .footer {
        padding: 42px 0 24px;
    }

    .copyright {
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand strong {
        font-size: .98rem;
    }

    .nav > .btn {
        width: 100%;
        order: 4;
        display: inline-flex;
    }

    .menu {
        gap: 14px;
        font-size: .86rem;
    }

    .hero-media {
        min-height: 330px;
    }

    .hero-image-card {
        left: 10px;
        height: 258px;
    }

    .hero-stat-card,
    .hero-course-card {
        position: absolute;
        width: calc(100% - 40px);
        left: 20px;
        right: auto;
        bottom: 0;
    }
}

/* Footer refinement */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 8%, rgba(245, 158, 11, .12), transparent 24rem),
        radial-gradient(circle at 86% 18%, rgba(34, 211, 238, .08), transparent 22rem);
    pointer-events: none;
}

.footer > .wrap {
    position: relative;
}

.footer-grid {
    align-items: start;
    padding: 34px;
    border: 1px solid rgba(249, 250, 251, .1);
    border-radius: 24px;
    background: rgba(255, 255, 255, .035);
    backdrop-filter: blur(12px);
}

.footer-about p {
    max-width: 520px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.footer-brand {
    margin-bottom: 18px;
}

.footer-brand span {
    display: block;
}

.footer-brand small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 800;
}

.footer-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-service-tags span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(249, 250, 251, .12);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, .04);
    font-size: .86rem;
    font-weight: 800;
}

.footer h3 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: var(--gold);
}

.footer-links,
.contact-list {
    gap: 10px;
}

.footer-links a,
.contact-list li {
    min-height: 38px;
    display: flex;
    align-items: center;
    border-radius: 12px;
}

.footer-links a {
    padding: 0 12px;
    margin-left: -12px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, .06);
    transform: translateX(4px);
}

.contact-list li {
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(249, 250, 251, .08);
}

.contact-list li span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-list a {
    text-align: right;
}

.copyright {
    margin-top: 20px;
    padding: 20px 4px 0;
}

@media (max-width: 760px) {
    .footer-grid {
        padding: 24px;
        border-radius: 20px;
    }

    .contact-list li {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .contact-list a {
        text-align: left;
    }
}

/* Custom premium portfolio preview styling */
.project-preview {
    overflow: hidden;
    padding: 0 !important;
    position: relative;
    border-radius: 20px 20px 0 0;
}
.project-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-preview-img {
    transform: scale(1.06);
}

/* Mobile responsive alignment overrides to prevent card overlaps */
@media (max-width: 1050px) {
    .hero-media {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        min-height: auto !important;
        position: relative;
        margin-top: 30px;
    }
    .hero-image-card {
        position: relative !important;
        inset: 0 !important;
        width: 100% !important;
        max-width: 500px;
        height: 280px !important;
        margin: 0 auto;
    }
    .hero-logo-card {
        display: none !important;
    }
    .hero-stat-card,
    .hero-course-card {
        position: relative !important;
        inset: 0 !important;
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto;
        transform: none !important;
    }
}
@media (max-width: 760px) {
    .hero-media {
        min-height: auto !important;
        margin-top: 20px;
    }
    .hero-image-card {
        height: 220px !important;
    }
}
