        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #1e1e2e 0%, #2d2d44 100%);
            color: #eaeaea;
            padding: 40px 20px;
            min-height: 100vh;
        }

        header {
            text-align: center;
            margin-bottom: 50px;
        }

        h1 {
            font-size: 2.5rem;
            background: linear-gradient(90deg, #00d4ff, #7b2cbf);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px;
        }

        .subtitle {
            color: #a0a0b0;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .grid-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .transform-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            padding: 30px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .transform-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: rgba(0, 212, 255, 0.3);
        }

        .card-header {
            margin-bottom: 20px;
            border-bottom: 2px solid rgba(0, 212, 255, 0.3);
            padding-bottom: 15px;
        }

        h2 {
            color: #00d4ff;
            font-size: 1.5rem;
            margin-bottom: 5px;
        }

        .description {
            color: #b0b0c0;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .demo-area {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 12px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 20px 0;
            position: relative;
            overflow: hidden;
            border: 1px dashed rgba(255, 255, 255, 0.1);
        }

        .demo-box {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
            transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            cursor: pointer;
        }

        /* Translate Demo */
        .translate-demo:hover .demo-box {
            transform: translate(40px, -30px);
        }

        /* Rotate Demo */
        .rotate-demo:hover .demo-box {
            transform: rotate(45deg);
        }

        .rotate-demo .demo-box {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
        }

        /* Scale Demo */
        .scale-demo:hover .demo-box {
            transform: scale(1.5);
        }

        .scale-demo .demo-box {
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
        }

        /* Skew Demo */
        .skew-demo:hover .demo-box {
            transform: skew(20deg, 10deg);
        }

        .skew-demo .demo-box {
            background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
            box-shadow: 0 4px 15px rgba(67, 233, 123, 0.4);
        }

        /* Matrix Demo */
        .matrix-demo:hover .demo-box {
            transform: matrix(1.2, 0.2, -0.2, 1.2, 30, -20);
        }

        .matrix-demo .demo-box {
            background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
            box-shadow: 0 4px 15px rgba(250, 112, 154, 0.4);
        }

        /* Combined Demo */
        .combined-demo:hover .demo-box {
            transform: translateX(30px) rotate(15deg) scale(1.2);
        }

        .combined-demo .demo-box {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
            color: #333;
            box-shadow: 0 4px 15px rgba(168, 237, 234, 0.4);
        }

        .code-snippet {
            background: #1a1a2e;
            border-radius: 8px;
            padding: 15px;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            color: #00d4ff;
            border-left: 3px solid #00d4ff;
            overflow-x: auto;
        }

        .label {
            position: absolute;
            top: 10px;
            left: 10px;
            font-size: 0.75rem;
            color: #666;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .axis-indicator {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .axis-indicator::before,
        .axis-indicator::after {
            content: '';
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
        }

        .axis-indicator::before {
            width: 1px;
            height: 100%;
            left: 50%;
            top: 0;
        }

        .axis-indicator::after {
            width: 100%;
            height: 1px;
            top: 50%;
            left: 0;
        }

        footer {
            text-align: center;
            margin-top: 60px;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #666;
            font-size: 0.9rem;
        }

        @media (max-width: 768px) {
            h1 { font-size: 1.8rem; }
            .grid-container { grid-template-columns: 1fr; }
        }