
        :root {
            --bg-primary: #f8fafc;
            --bg-secondary: #ffffff;
            --bg-tertiary: #f1f5f9;
            --bg-hover: #f0fdf4;
            --text-primary: #0f172a;
            --text-secondary: #334155;
            --text-tertiary: #475569;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --border-primary: #e2e8f0;
            --border-secondary: #cbd5e1;
            --accent: #047857;
            --accent-hover: #047857;
            --accent-active: #065f46;
            --accent-light: #dcfce7;
            --accent-lighter: #f0fdf4;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
        
--header-bg: rgba(255, 255, 255, 0.85);
            --teal-bg: #ccfbf1;
            --teal-text: #0d9488;
            --cyan-bg: #cffafe;
            --cyan-text: #0891b2;
            --loading-bg: rgba(255, 255, 255, 0.9);
            --error-bg: #fef2f2;
            --error-border: #fecaca;
            --error-text: #dc2626;
        }
        [data-theme="dark"] {
            --header-bg: rgba(30, 41, 59, 0.85);

            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --bg-tertiary: #334155;
            --bg-hover: #064e3b;
            --text-primary: #f1f5f9;
            --text-secondary: #e2e8f0;
            --text-tertiary: #cbd5e1;
            --text-muted: #94a3b8;
            --text-light: #64748b;
            --border-primary: #334155;
            --border-secondary: #475569;
            --accent: #10b981;
            --accent-hover: #34d399;
            --accent-active: #6ee7b7;
            --accent-light: #064e3b;
            --accent-lighter: #022c22;
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
        
            --teal-bg: #134e4a;
            --teal-text: #5eead4;
            --cyan-bg: #164e63;
            --cyan-text: #67e8f9;
            --loading-bg: rgba(15, 23, 42, 0.9);
            --error-bg: #450a0a;
            --error-border: #991b1b;
            --error-text: #fca5a5;
        }
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html, body { min-width: 320px; }
        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        select:focus-visible,
        textarea:focus-visible {
            outline: 3px solid var(--accent);
            outline-offset: 4px;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            background: var(--bg-primary);
            color: var(--text-secondary);
            line-height: 1.6;
            min-height: 100vh;
        }
        body.ready, body.ready * {
            transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }

        /* ICON SYSTEM */
        .icon {
            display: inline-block; width: 20px; height: 20px;
            background-color: currentColor;
            -webkit-mask-size: contain; mask-size: contain;
            -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
            -webkit-mask-position: center; mask-position: center;
            vertical-align: middle; flex-shrink: 0;
        }
        .icon-logo { -webkit-mask-image: url('/assets/icons/logo.svg'); mask-image: url('/assets/icons/logo.svg'); }
        .icon-moon  { -webkit-mask-image: url('/assets/icons/icon-moon.svg'); mask-image: url('/assets/icons/icon-moon.svg'); }
        .icon-sun   { -webkit-mask-image: url('/assets/icons/icon-sun.svg'); mask-image: url('/assets/icons/icon-sun.svg'); }
        .icon-coffee{ -webkit-mask-image: url('/assets/icons/icon-coffee.svg'); mask-image: url('/assets/icons/icon-coffee.svg'); }
        .icon-email { -webkit-mask-image: url('/assets/icons/icon-email.svg'); mask-image: url('/assets/icons/icon-email.svg'); }
        .icon-github { -webkit-mask-image: url('/assets/icons/icon-github.svg'); mask-image: url('/assets/icons/icon-github.svg'); }
        .icon-youtube{ -webkit-mask-image: url('/assets/icons/icon-youtube.svg'); mask-image: url('/assets/icons/icon-youtube.svg'); }
        .icon-codepen{ -webkit-mask-image: url('/assets/icons/icon-codepen.svg'); mask-image: url('/assets/icons/icon-codepen.svg'); }
        .icon-blog   { -webkit-mask-image: url('/assets/icons/icon-blog.svg'); mask-image: url('/assets/icons/icon-blog.svg'); }

        /* HEADER */

        .skip-link {
            position: absolute;
            top: -100%;
            left: 0;
            background: var(--accent);
            color: white;
            padding: 0.5rem 1rem;
            font-weight: 600;
            font-size: 0.875rem;
            z-index: 99999;
            border-radius: 0 0 8px 0;
            text-decoration: none;
            transition: top 0.15s ease;
        }
        .skip-link:focus { top: 0; }
        .header {
            background: var(--header-bg);
            -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-primary);
            padding: 1rem 1.5rem;
            position: sticky; top: 0; z-index: 100;
            transition: background 0.3s ease, border-color 0.3s ease;
        }
        .header-content {
            max-width: 1200px; margin: 0 auto;
            display: flex; align-items: center; justify-content: space-between; gap: 1rem;
        }
        .header-left { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
        .logo {
            width: 40px; height: 40px;
            background: linear-gradient(135deg, #047857, #0d9488);
            border-radius: 10px; display: flex; align-items: center;
            justify-content: center; flex-shrink: 0; text-decoration: none;
        }
        .logo .icon { color: white; width: 24px; height: 24px; }
        .brand a { text-decoration: none; }
        .brand h1,
        .brand-name {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            white-space: nowrap;
            display: block;
            line-height: 1.2;
        }
        .brand a { text-decoration: none; }
        .brand p  { font-size: 0.75rem; color: var(--text-muted); }
        .header-right { display: flex; align-items: center; gap: 0.5rem; }
        .nav-link {
            color: var(--text-muted); text-decoration: none;
            font-size: 0.875rem; padding: 0.5rem 0.75rem; border-radius: 6px;
        }
        .nav-link:hover { color: var(--accent); background: var(--accent-lighter); }
        .nav-link[aria-current="page"] { color: var(--accent); background: var(--accent-lighter); font-weight: 600; }
        .theme-btn {
            width: 40px; height: 40px; border-radius: 10px;
            background: var(--bg-tertiary); border: 1px solid var(--border-primary);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; color: var(--text-muted); flex-shrink: 0;
        }
        .theme-btn:hover { background: var(--accent-light); color: var(--accent); border-color: var(--accent); }
        .theme-btn .icon { width: 20px; height: 20px; }
        .theme-btn .icon-sun  { display: none; }
        .theme-btn .icon-moon { display: block; }
        [data-theme="dark"] .theme-btn .icon-sun  { display: block; }
        [data-theme="dark"] .theme-btn .icon-moon { display: none; }
        [data-theme="dark"] .header { background: rgba(30, 41, 59, 0.85); }
        .coffee-btn {
            display: flex; align-items: center; gap: 0.5rem;
            background: #FFDD00; color: #000; padding: 0.5rem 1rem;
            border-radius: 8px; font-weight: 600; font-size: 0.875rem;
            text-decoration: none; flex-shrink: 0;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }
        .coffee-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,221,0,0.4); }
        .coffee-btn .icon { width: 20px; height: 20px; }
        .coffee-btn .text { display: inline; }
        @media (max-width: 640px) {
            .brand p { display: none; }
            .nav-link { display: none; }
            .coffee-btn .text { display: none; }
            .coffee-btn { padding: 0.5rem; }
        }
        @media (min-width: 641px) {
            .brand p { display: block; }
            .nav-link { display: block; }
        }

        /* FOOTER */
        .footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-primary);
            margin-top: 4rem; padding: 2.5rem 1.5rem;
        }
        .footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
        .footer-brand {
            display: flex; align-items: center; justify-content: center;
            gap: 0.75rem; margin-bottom: 1.5rem;
        }
        .footer-brand .logo { width: 32px; height: 32px; }
        .footer-brand .logo .icon { width: 20px; height: 20px; }
        .footer-brand h3 { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
        .socials {
            display: flex; justify-content: center;
            gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap;
        }
        .social {
            width: 38px; height: 38px; background: var(--bg-tertiary);
            border-radius: 8px; display: flex; align-items: center; justify-content: center;
            color: var(--text-muted); text-decoration: none;
            transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
        }
        .social:hover { background: var(--accent); color: white; transform: translateY(-2px); }
        .social .icon { width: 18px; height: 18px; }
        .footer-text { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
        .footer-text a { color: var(--accent); text-decoration: none; }
        .footer-text a:hover { text-decoration: underline; }
        /* Improve contrast and distinguishability for inline links and primary controls */
        .page-card p a,
        .info-card p a,
        .blog-main p a,
        .featured-desc a {
            color: #035e44; /* darker green for improved contrast */
            text-decoration: underline;
        }

        /* Stronger primary download button for contrast */
        #downloadBtn {
            background-color: var(--accent-active);
            color: #ffffff;
        }
        #downloadBtn:hover {
            background-color: #054f3f;
        }
        .coffee-footer {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background: #FFDD00; color: #000; padding: 0.6rem 1.25rem;
            border-radius: 8px; font-weight: 600; font-size: 0.8rem;
            text-decoration: none; margin-top: 1rem;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }
        .coffee-footer:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,221,0,0.4); }
        .coffee-footer .icon { width: 18px; height: 18px; }
        .legal-links {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.25rem 0.1rem;
            margin-top: 1.25rem;
            padding-top: 1.25rem;
            border-top: 1px solid var(--border-primary);
        }
        .legal-links a {
            font-size: 0.78rem;
            color: var(--text-muted);
            text-decoration: none;
            padding: 0.25rem 0.6rem;
            border-radius: 4px;
            transition: color 0.15s ease, background 0.15s ease;
            white-space: nowrap;
        }
        .legal-links a:hover {
            color: var(--accent);
            background: var(--accent-lighter);
        }
        .legal-links a:not(:last-child)::after {
            content: "·";
            margin-left: 0.6rem;
            color: var(--border-secondary);
            pointer-events: none;
        }
        .footer-copyright {
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 0.75rem;
        }
        .footer-copyright a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .footer-copyright a:hover {
            color: var(--accent);
        }

        /* CONTENT PAGE LAYOUT */
        .page-wrap {
            max-width: 800px; margin: 3rem auto; padding: 0 1.5rem 2rem;
        }
        .page-card {
            background: var(--bg-secondary);
            border: 1px solid var(--border-primary);
            border-radius: 1rem; padding: 2.5rem;
            box-shadow: var(--shadow-sm);
        }
        .page-card h1 {
            font-size: 2rem; font-weight: 800;
            color: var(--text-primary); margin-bottom: 0.5rem; line-height: 1.2;
        }
        .page-meta {
            font-size: 0.82rem; color: var(--text-muted);
            margin-bottom: 2rem; padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-primary);
        }
        .page-card h2 {
            font-size: 1.25rem; font-weight: 700;
            color: var(--text-primary); margin: 2rem 0 0.75rem;
        }
        .page-card p { margin-bottom: 1rem; font-size: 1.025rem; line-height: 1.75; }
        .page-card ul, .page-card ol {
            margin-bottom: 1rem; padding-left: 1.75rem; font-size: 1.025rem; line-height: 1.75;
        }
        .page-card li { margin-bottom: 0.5rem; }
        .page-card strong { color: var(--text-primary); font-weight: 600; }
        .page-card a { color: var(--accent); text-decoration: none; }
        .page-card a:hover { text-decoration: underline; }
        .page-breadcrumb {
            font-size: 0.8rem; color: var(--text-muted);
            margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.4rem;
        }
        .page-breadcrumb a { color: var(--text-muted); text-decoration: none; }
        .page-breadcrumb a:hover { color: var(--accent); }

        /* CONTACT PAGE */
        .contact-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1rem; margin: 1.5rem 0;
        }
        .contact-card {
            background: var(--bg-tertiary); border: 1px solid var(--border-primary);
            border-radius: 10px; padding: 1.25rem; text-align: center;
        }
        .contact-card .contact-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 3rem;
            height: 3rem;
            margin: 0 auto 0.75rem;
            border-radius: 999px;
            background: var(--bg-secondary);
            color: var(--accent);
        }
        .contact-card .contact-icon .icon {
            width: 1.5rem;
            height: 1.5rem;
        }
        .contact-card h3, .contact-card h2 { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
        .contact-card p, .contact-card a { font-size: 0.875rem; color: var(--text-muted); }
        .contact-card p.note { margin-top: 0.4rem; font-size: 0.8rem; color: var(--text-light); }
        .contact-card a { color: var(--accent); }


    
        
