        :root {
            --bg: #ffffff;
            --text: #111827;
            --text-sec: #6b7280;
            --card-bg: #ffffff;
            --border: #e5e7eb;
            --accent: #2563eb;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --bg: #0b1120;
                --text: #f8fafc;
                --text-sec: #94a3b8;
                --card-bg: #1e293b;
                --border: #334155;
                --accent: #3b82f6;
                --shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            }
        }

        body {
            background: var(--bg);
            color: var(--text);
            font-family: system-ui, -apple-system, sans-serif;
            margin: 0;
            padding: 2rem;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Header */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        h1 {
            margin: 0;
            font-size: 1.8rem;
        }

        .subtitle {
            color: var(--text-sec);
            margin: 0.25rem 0 0;
            font-size: 0.95rem;
        }

        .nav-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 500;
        }

        .nav-link:hover {
            text-decoration: underline;
        }

        /* Grid */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        /* Card */
        .card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 1rem;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            cursor: pointer;
            /* Indicates clickable */
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }

        /* Image Area */
        .card-img {
            position: relative;
            height: 220px;
            background: var(--bg);
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .card:hover .card-img img {
            transform: scale(1.05);
        }

        /* Overlay Badge */
        .badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(4px);
            padding: 0.35rem 0.75rem;
            border-radius: 99px;
            font-size: 0.7rem;
            font-weight: 700;
            color: #111;
            border: 1px solid rgba(0, 0, 0, 0.1);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            z-index: 2;
        }

        @media (prefers-color-scheme: dark) {
            .badge {
                background: rgba(0, 0, 0, 0.8);
                color: #eee;
                border-color: rgba(255, 255, 255, 0.2);
            }
        }

        /* Content */
        .card-content {
            padding: 1.25rem;
        }

        .card-title {
            font-weight: 600;
            margin: 0 0 0.5rem 0;
            font-size: 1.05rem;
        }

        .card-desc {
            font-size: 0.85rem;
            color: var(--text-sec);
            line-height: 1.5;
            margin-bottom: 1rem;
        }

        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag {
            font-size: 0.7rem;
            padding: 0.25rem 0.5rem;
            border-radius: 0.35rem;
            background: var(--bg);
            border: 1px solid var(--border);
            color: var(--text-sec);
            font-family: monospace;
        }

        /* --- LIGHTBOX MODAL STYLES --- */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .lightbox.active {
            opacity: 1;
            pointer-events: all;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            display: flex;
            flex-direction: column;
            align-items: center;
            transform: scale(0.95);
            transition: transform 0.3s ease;
        }

        .lightbox.active .lightbox-content {
            transform: scale(1);
        }

        .lightbox-img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 4px;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
            object-fit: contain;
        }

        .lightbox-info {
            margin-top: 1rem;
            text-align: center;
            color: #fff;
            max-width: 600px;
        }

        .lightbox-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .lightbox-desc {
            font-size: 0.9rem;
            color: #ccc;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 1.5rem;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
            z-index: 1001;
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* Mobile adjustments for lightbox */
        @media (max-width: 768px) {
            .lightbox-img {
                max-height: 70vh;
            }

            .lightbox-info {
                padding: 0 1rem;
            }
        }

        /* --- FEATURED INTERACTIVE BANNER --- */
        .featured-interactive-banner {
            position: relative;
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.4) 100%);
            border: 1px solid rgba(59, 130, 246, 0.2);
            border-radius: 1.25rem;
            padding: 2.5rem;
            margin-bottom: 2.5rem;
            overflow: hidden;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .featured-interactive-banner:hover {
            border-color: rgba(59, 130, 246, 0.4);
            transform: translateY(-2px);
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
        }

        .banner-glow-effect {
            position: absolute;
            top: -50%;
            left: -30%;
            width: 80%;
            height: 180%;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
            pointer-events: none;
        }

        .banner-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .banner-badge {
            background-color: rgba(59, 130, 246, 0.1);
            border: 1px solid rgba(59, 130, 246, 0.25);
            color: var(--accent);
            font-family: monospace;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 0.35rem 0.75rem;
            border-radius: 99px;
            letter-spacing: 0.05em;
        }

        .featured-interactive-banner h2 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text);
            margin: 0;
            letter-spacing: -0.02em;
        }

        .featured-interactive-banner p {
            font-size: 0.95rem;
            color: var(--text-sec);
            max-width: 800px;
            line-height: 1.6;
            margin: 0 0 0.5rem 0;
        }

        .btn-launch-demo {
            background-color: rgba(30, 41, 59, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text);
            padding: 0.7rem 1.6rem;
            border-radius: 99px;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-decoration: none;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
        }

        .btn-launch-demo:hover {
            background-color: #ffffff;
            color: #0b1120;
            border-color: #ffffff;
            transform: translateY(-1px);
            box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
        }

        @media (max-width: 640px) {
            .featured-interactive-banner {
                padding: 1.5rem;
            }
            .featured-interactive-banner h2 {
                font-size: 1.25rem;
            }
            .featured-interactive-banner p {
                font-size: 0.85rem;
            }
            .btn-launch-demo {
                width: 100%;
                justify-content: center;
            }
        }