   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #4f46e5;
            --primary-light: #6366f1;
            --primary-dark: #4338ca;
            --secondary: #06b6d4;
            --accent: #10b981;
            --warning: #f59e0b;
            --dark: #1e293b;
            --dark-light: #334155;
            --gray: #64748b;
            --gray-light: #94a3b8;
            --light: #f1f5f9;
            --white: #ffffff;
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
            --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.7;
            color: var(--dark);
            background: var(--light);
            overflow-x: hidden;
        }

        /* Header */
        header {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 5rem 2rem 4rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
            animation: gridMove 30s linear infinite;
        }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(100px, 100px); }
        }

        header h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
            font-weight: 700;
            letter-spacing: -0.02em;
        }

        header .subtitle {
            font-size: 1.4rem;
            opacity: 0.95;
            position: relative;
            z-index: 1;
            font-weight: 400;
            margin-bottom: 0.5rem;
        }

        header .badge {
            display: inline-block;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 0.95rem;
            margin-top: 1rem;
            position: relative;
            z-index: 1;
            backdrop-filter: blur(10px);
        }

        /* Navigation */
        nav {
            background: var(--white);
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow-md);
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0;
            padding: 0;
            max-width: 1400px;
            margin: 0 auto;
        }

        nav li {
            flex: 1;
            min-width: 120px;
        }

        nav a {
            display: block;
            color: var(--dark);
            text-decoration: none;
            font-weight: 600;
            padding: 1.2rem 1rem;
            transition: all 0.3s ease;
            position: relative;
            text-align: center;
            font-size: 0.95rem;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        nav a:hover {
            background: var(--light);
            color: var(--primary);
        }

        nav a:hover::after,
        nav a.active::after {
            width: 100%;
        }

        nav a.active {
            color: var(--primary);
            background: var(--light);
        }

        /* Main Content */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section {
            background: var(--white);
            margin: 2rem 0;
            padding: 3rem 2rem;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
            scroll-margin-top: 100px;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .section:nth-child(even) {
            background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .section h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: var(--dark);
            position: relative;
            padding-bottom: 1rem;
        }

        .section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .section h3 {
            font-size: 1.8rem;
            margin: 2rem 0 1rem;
            color: var(--primary-dark);
        }

        .section h4 {
            font-size: 1.3rem;
            margin: 1.5rem 0 0.8rem;
            color: var(--dark-light);
        }

        .section p {
            margin-bottom: 1.5rem;
            color: var(--gray);
            font-size: 1.1rem;
        }

        .section ul, .section ol {
            margin: 1.5rem 0;
            padding-left: 2rem;
        }

        .section li {
            margin-bottom: 0.8rem;
            color: var(--gray);
            font-size: 1.05rem;
        }

        /* Code Blocks */
        .code-container {
            background: var(--dark);
            border-radius: 12px;
            margin: 2rem 0;
            overflow: hidden;
            position: relative;
        }

        .code-header {
            background: var(--dark-light);
            padding: 1rem 1.5rem;
            color: var(--white);
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .code-header::before {
            content: '📁';
            font-size: 1.1rem;
        }

        .code-block {
            background: var(--dark);
            padding: 2rem;
            overflow-x: auto;
            font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
            font-size: 0.95rem;
            line-height: 1.6;
            color: #e2e8f0;
        }

        .code-block pre {
            margin: 0;
            white-space: pre-wrap;
        }

        .code-block code {
            color: #e2e8f0;
        }

        .code-block .comment {
            color: #94a3b8;
            font-style: italic;
        }

        .code-block .string {
            color: #86efac;
        }

        .code-block .keyword {
            color: #f472b6;
        }

        .code-block .function {
            color: #60a5fa;
        }

        .code-block .number {
            color: #fbbf24;
        }

        /* Tabs */
        .tabs {
            margin: 2rem 0;
        }

        .tab-buttons {
            display: flex;
            background: var(--light);
            border-radius: 12px;
            padding: 0.3rem;
            margin-bottom: 1rem;
        }

        .tab-button {
            flex: 1;
            padding: 1rem 1.5rem;
            background: transparent;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            color: var(--gray);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .tab-button.active {
            background: var(--white);
            color: var(--primary);
            box-shadow: var(--shadow-sm);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Cards */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .card {
            background: var(--white);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid #e2e8f0;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient-primary);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .card h4 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        .card p {
            margin-bottom: 0;
            color: var(--gray);
        }

        /* Alert Boxes */
        .alert {
            padding: 1.5rem;
            border-radius: 12px;
            margin: 2rem 0;
            border-left: 4px solid;
            position: relative;
        }

        .alert::before {
            content: '';
            position: absolute;
            top: 1.5rem;
            left: 1.5rem;
            width: 24px;
            height: 24px;
            border-radius: 50%;
        }

        .alert-info {
            background: #eff6ff;
            border-color: var(--secondary);
            color: #1e40af;
        }

        .alert-info::before {
            background: var(--secondary);
            mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 20 20"><path d="M10 18a8 8 0 100-16 8 8 0 000 16zm1-12v4h-2v-4h2zm0-2V6h-2v6h2z"/></svg>') no-repeat center;
        }

        .alert-warning {
            background: #fffbeb;
            border-color: var(--warning);
            color: #92400e;
        }

        .alert-warning::before {
            background: var(--warning);
            mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 20 20"><path d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z"/></svg>') no-repeat center;
        }

        .alert-success {
            background: #ecfdf5;
            border-color: var(--accent);
            color: #065f46;
        }

        .alert-success::before {
            background: var(--accent);
            mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 20 20"><path d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/></svg>') no-repeat center;
        }

        .alert.alert-info { padding-left: 4rem; }
        .alert.alert-warning { padding-left: 4rem; }
        .alert.alert-success { padding-left: 4rem; }

        /* Interactive Elements */
        .interactive-example {
            background: var(--light);
            border-radius: 12px;
            padding: 2rem;
            margin: 2rem 0;
            border: 2px solid #e2e8f0;
        }

        .example-button {
            background: var(--gradient-primary);
            color: var(--white);
            border: none;
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin: 0.5rem;
        }

        .example-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .example-output {
            background: var(--white);
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 1rem;
            font-family: monospace;
            min-height: 100px;
            display: none;
        }

        .example-output.show {
            display: block;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Progress Bar */
        .progress-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: rgba(255, 255, 255, 0.3);
            z-index: 9999;
        }

        .progress-bar {
            height: 100%;
            background: var(--gradient-accent);
            width: 0%;
            transition: width 0.3s ease;
        }

        /* Comparison Table */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 2rem 0;
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .comparison-table th,
        .comparison-table td {
            padding: 1.5rem;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }

        .comparison-table th {
            background: var(--gradient-primary);
            color: var(--white);
            font-weight: 600;
        }

        .comparison-table tr:hover {
            background: var(--light);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            header h1 {
                font-size: 2.5rem;
            }
            
            header .subtitle {
                font-size: 1.2rem;
            }
            
            nav ul {
                flex-direction: column;
            }
            
            nav li {
                flex: none;
            }
            
            nav a {
                padding: 1rem;
                font-size: 0.9rem;
            }
            
            .section {
                padding: 2rem 1.5rem;
                margin: 1rem 0;
            }
            
            .section h2 {
                font-size: 2rem;
            }
            
            .cards-grid {
                grid-template-columns: 1fr;
            }
            
            .tab-buttons {
                flex-direction: column;
            }
            
            .code-block {
                padding: 1.5rem;
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }
            
            header {
                padding: 3rem 1rem 2rem;
            }
            
            header h1 {
                font-size: 2rem;
            }
            
            .section {
                padding: 1.5rem 1rem;
            }
        }

        /* Print Styles */
        @media print {
            nav, .progress-container {
                display: none;
            }
            
            .section {
                break-inside: avoid;
                page-break-inside: avoid;
            }
        }