        :root {
            --bg: #ffffff;
            --bg-secondary: #f8f9fa;
            --bg-card: #ffffff;
            --text: #1a1a2e;
            --text-secondary: #4a5568;
            --text-muted: #718096;
            --border: #e2e8f0;
            --accent: #7c3aed;
            --accent-hover: #6d28d9;
            --accent-light: #ede9fe;
            --gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #6366f1 100%);
            --hero-gradient: linear-gradient(135deg, #faf5ff 0%, #ede9fe 50%, #e0e7ff 100%);
            --card-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
            --card-shadow-hover: 0 10px 40px rgba(124,58,237,0.12);
            --nav-bg: rgba(255,255,255,0.85);
            --code-bg: #1e293b;
            --code-text: #e2e8f0;
            --tag-bg: #ede9fe;
            --tag-text: #7c3aed;
            --divider: #e2e8f0;
            --header-height: 72px;
        }

        [data-theme="dark"] {
            --bg: #0f1117;
            --bg-secondary: #16181d;
            --bg-card: #1a1d24;
            --text: #e4e4e7;
            --text-secondary: #a1a1aa;
            --text-muted: #71717a;
            --border: #27272a;
            --accent-light: #1e1b4b;
            --hero-gradient: linear-gradient(135deg, #0f1117 0%, #1a1030 50%, #0f172a 100%);
            --card-shadow: 0 1px 3px rgba(0,0,0,0.3);
            --card-shadow-hover: 0 10px 40px rgba(124,58,237,0.18);
            --nav-bg: rgba(15,17,23,0.9);
            --tag-bg: #1e1b4b;
            --divider: #27272a;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html { scroll-behavior: smooth; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            transition: background 0.3s, color 0.3s;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

        /* Navigation */
        nav {
            position: fixed; top: 0; left: 0; right: 0; z-index: 100;
            background: var(--nav-bg); backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border);
            height: var(--header-height);
        }
        nav .container {
            display: flex; align-items: center; justify-content: space-between;
            height: 100%;
        }
        .logo {
            display: flex; align-items: center; gap: 10px;
            font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none;
        }
        .logo svg { width: 32px; height: 32px; }
        .nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
        .nav-links a {
            color: var(--text-secondary); text-decoration: none; font-size: 0.9rem;
            transition: color 0.2s; font-weight: 500;
        }
        .nav-links a:hover { color: var(--accent); }
        .theme-toggle {
            background: var(--bg-secondary); border: 1px solid var(--border);
            border-radius: 8px; padding: 8px 12px; cursor: pointer;
            color: var(--text); font-size: 0.9rem; transition: all 0.2s;
            display: flex; align-items: center; gap: 6px;
        }
        .theme-toggle:hover { border-color: var(--accent); }
        .mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

        /* Hero */
        .hero {
            padding: calc(var(--header-height) + 80px) 0 80px;
            background: var(--hero-gradient); text-align: center;
        }
        .hero-badge {
            display: inline-flex; align-items: center; gap: 8px;
            background: var(--tag-bg); color: var(--accent);
            padding: 6px 16px; border-radius: 20px; font-size: 0.85rem;
            font-weight: 600; margin-bottom: 24px;
        }
        .hero h1 {
            font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
            line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em;
        }
        .hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero p {
            font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary);
            max-width: 700px; margin: 0 auto 36px;
        }
        .hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
        .btn {
            display: inline-flex; align-items: center; gap: 8px;
            padding: 12px 28px; border-radius: 10px; font-weight: 600;
            font-size: 0.95rem; text-decoration: none; transition: all 0.2s;
            cursor: pointer; border: none;
        }
        .btn-primary { background: var(--accent); color: #fff; }
        .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(124,58,237,0.4); }
        .btn-outline { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
        .btn-outline:hover { border-color: var(--accent); color: var(--accent); }

        .stats {
            display: flex; justify-content: center; gap: 48px; margin-top: 56px;
            flex-wrap: wrap;
        }
        .stat { text-align: center; }
        .stat-num { font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

        /* Sections */
        section { padding: 80px 0; }
        section:nth-child(even) { background: var(--bg-secondary); }
        .section-header {
            text-align: center; margin-bottom: 56px;
        }
        .section-tag {
            display: inline-block; background: var(--tag-bg); color: var(--accent);
            padding: 4px 14px; border-radius: 12px; font-size: 0.8rem;
            font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
        }
        .section-header h2 {
            font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
            margin-bottom: 16px; letter-spacing: -0.02em;
        }
        .section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

        /* Cards Grid */
        .cards-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
        }
        .card {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 14px; padding: 28px; transition: all 0.3s;
            box-shadow: var(--card-shadow);
        }
        .card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
        .card-icon {
            width: 48px; height: 48px; border-radius: 12px;
            background: var(--accent-light); display: flex; align-items: center;
            justify-content: center; font-size: 1.4rem; margin-bottom: 16px;
        }
        .card h3 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; }
        .card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

        /* Pillars */
        .pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
        .pillar {
            text-align: center; padding: 40px 24px;
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 16px; transition: all 0.3s;
        }
        .pillar:hover { border-color: var(--accent); }
        .pillar-icon { font-size: 2.5rem; margin-bottom: 20px; }
        .pillar h3 { font-size: 1.25rem; margin-bottom: 12px; }
        .pillar p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

        /* Code Block */
        .code-block {
            background: var(--code-bg); color: var(--code-text);
            border-radius: 12px; padding: 24px; font-family: 'SF Mono', 'Fira Code', monospace;
            font-size: 0.88rem; line-height: 1.7; overflow-x: auto;
            max-width: 700px; margin: 0 auto;
        }
        .code-block .prompt { color: #a78bfa; }
        .code-block .cmd { color: #38bdf8; }
        .code-block .comment { color: #6b7280; }

        /* Check List */
        .check-list { list-style: none; }
        .check-list li {
            padding: 12px 0; border-bottom: 1px solid var(--divider);
            display: flex; align-items: center; gap: 12px;
            font-size: 0.95rem;
        }
        .check-list li:last-child { border-bottom: none; }
        .check-icon { color: #22c55e; font-weight: bold; font-size: 1.1rem; flex-shrink: 0; }

        /* Compare Table */
        .table-wrapper { overflow-x: auto; margin: 0 -24px; padding: 0 24px; }
        table {
            width: 100%; border-collapse: collapse; font-size: 0.88rem;
            min-width: 700px;
        }
        th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--divider); }
        th { background: var(--bg-secondary); font-weight: 700; color: var(--text-secondary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
        td:first-child { font-weight: 600; }
        .check { color: #22c55e; font-weight: bold; }
        .cross { color: var(--text-muted); }

        /* Footer */
        footer {
            background: var(--bg-secondary); padding: 48px 0 32px;
            border-top: 1px solid var(--border); text-align: center;
        }
        footer p { color: var(--text-muted); font-size: 0.85rem; }
        footer a { color: var(--accent); text-decoration: none; }

        /* Mobile */
        @media (max-width: 768px) {
            .nav-links { display: none; }
            .mobile-menu-btn { display: block; }
            .nav-links.open {
                display: flex; flex-direction: column; position: absolute;
                top: var(--header-height); left: 0; right: 0;
                background: var(--bg); border-bottom: 1px solid var(--border);
                padding: 20px; gap: 16px;
            }
            .hero { padding-top: calc(var(--header-height) + 40px); }
            .stats { gap: 24px; }
            section { padding: 56px 0; }
            .cards-grid { grid-template-columns: 1fr; }
            .pillars { grid-template-columns: 1fr; }
        }

        /* ===== Page styles (instalace, dovednosti) ===== */
        .page { padding: calc(var(--header-height) + 40px) 0 80px; }
        .page .container { max-width: 800px; }
        .page h1 {
            text-align: center; font-size: clamp(2rem, 4vw, 2.8rem);
            font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em;
        }
        .page h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .page h1 + p { text-align: center; color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 32px; }
        .page h2 {
            text-align: center; font-size: 1.5rem; font-weight: 700;
            margin: 56px 0 20px; padding-bottom: 12px;
            border-bottom: 2px solid var(--border); color: var(--accent);
        }
        .page h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 12px; text-align: center; }
        .page p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; font-size: 0.95rem; }
        .page ul { padding-left: 24px; margin-bottom: 16px; }
        .page ul li { padding: 6px 0; color: var(--text-secondary); font-size: 0.95rem; }
        .page .code-block {
            max-width: 640px; margin: 20px auto;
        }
        .page code {
            background: var(--bg-secondary); padding: 2px 6px; border-radius: 4px;
            font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.85em;
        }
        .page .note {
            background: var(--accent-light); border-left: 4px solid var(--accent);
            padding: 16px 20px; border-radius: 8px; margin: 24px 0;
        }
        .page .note p { margin: 0; color: var(--text); }
        .page .steps { list-style: none; padding: 0; }
        .page .steps li {
            counter-increment: step; padding: 24px 24px 24px 72px; position: relative;
            border: 1px solid var(--border); border-radius: 14px; margin-bottom: 16px;
            background: var(--bg-card); text-align: left;
        }
        .page .steps li::before {
            content: counter(step); position: absolute; left: 20px; top: 24px;
            width: 36px; height: 36px; background: var(--accent); color: #fff;
            border-radius: 10px; display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 0.9rem;
        }
        .page .steps li h3 { text-align: left; margin-top: 0; }
        .page table { width: 100%; border-collapse: collapse; margin: 20px 0; }
        .page th, .page td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
        .page th { background: var(--bg-secondary); font-weight: 700; color: var(--text-secondary); font-size: 0.8rem; text-transform: uppercase; }
        .page .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
        .page .card {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 14px; padding: 24px; transition: all 0.3s; text-align: center;
        }
        .page .card:hover { border-color: var(--accent); }
        .page .card-icon { font-size: 1.8rem; margin-bottom: 12px; }
        .page .card h3 { margin-top: 0; }
        .page .tag {
            display: inline-block; background: var(--tag-bg); color: var(--tag-text);
            padding: 2px 10px; border-radius: 8px; font-size: 0.75rem;
            font-weight: 600; margin: 3px;
        }
        .page .back-link { display: block; text-align: center; margin-top: 48px; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 1rem; }
        .page .back-link:hover { text-decoration: underline; }
