
        :root {
            --bg-primary: #0f172a;
            --bg-secondary: #020617;
            --bg-card: rgba(15, 23, 42, 0.8);
            --accent-cyan: #06b6d4;
            --accent-blue: #3b82f6;
            --accent-purple: #8b5cf6;
            --accent-indigo: #6366f1;
            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --text-muted: #475569;
            --border-glass: rgba(148, 163, 184, 0.1);
            --radius-lg: 16px;
            --radius-xl: 24px;
            --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background-color: var(--bg-primary);
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Scroll Progress */
        #scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
            z-index: 9999;
            width: 0%;
            transition: width 0.1s linear;
        }

        /* Page Loader */
        #page-loader {
            position: fixed;
            inset: 0;
            background: var(--bg-secondary);
            z-index: 9998;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 20px;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        #page-loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-logo {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .loader-bar {
            width: 200px;
            height: 2px;
            background: var(--border-glass);
            border-radius: 2px;
            overflow: hidden;
        }

        .loader-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
            border-radius: 2px;
            animation: loadFill 1.2s ease forwards;
        }

        @keyframes loadFill {
            from {
                width: 0%;
            }

            to {
                width: 100%;
            }
        }

        /* Navbar */
        #navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 16px 0;
            transition: all var(--transition);
        }

        #navbar.scrolled {
            background: rgba(2, 6, 23, 0.9);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-glass);
            padding: 12px 0;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        }

        .nav-link {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: color var(--transition);
            position: relative;
            letter-spacing: 0.02em;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
            transition: width var(--transition);
        }

        .nav-link:hover {
            color: var(--text-primary);
        }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

        .nav-link.active {
            color: var(--text-primary);
        }

        /* Buttons */
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 28px;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
            color: white;
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 0.03em;
            border-radius: 10px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: all var(--transition);
            box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            opacity: 0;
            transition: opacity var(--transition);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
        }

        .btn-primary:hover::before {
            opacity: 1;
        }

        .btn-primary span,
        .btn-primary svg {
            position: relative;
            z-index: 1;
        }

        .btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 13px 27px;
            background: transparent;
            color: var(--text-primary);
            font-family: var(--font-display);
            font-weight: 600;
            font-size: 0.9rem;
            border-radius: 10px;
            text-decoration: none;
            border: 1px solid var(--border-glass);
            cursor: pointer;
            transition: all var(--transition);
        }

        .btn-secondary:hover {
            background: rgba(148, 163, 184, 0.1);
            border-color: rgba(6, 182, 212, 0.4);
            transform: translateY(-2px);
        }

        /* Gradient text */
        .gradient-text {
            background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Section tag */
        .section-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: rgba(6, 182, 212, 0.1);
            border: 1px solid rgba(6, 182, 212, 0.2);
            border-radius: 100px;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--accent-cyan);
            letter-spacing: 0.05em;
            text-transform: uppercase;
            margin-bottom: 16px;
        }

        .section-tag-dot {
            width: 6px;
            height: 6px;
            background: var(--accent-cyan);
            border-radius: 50%;
            animation: pulse-dot 2s infinite;
        }

        @keyframes pulse-dot {

            0%,
            100% {
                opacity: 1;
                transform: scale(1)
            }

            50% {
                opacity: 0.5;
                transform: scale(1.5)
            }
        }

        /* Grid bg */
        .grid-bg {
            background-image:
                linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
            background-size: 60px 60px;
        }

        /* Noise overlay */
        .noise-overlay {
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
            pointer-events: none;
        }

        /* Mobile menu */
        #mobile-menu {
            position: fixed;
            inset: 0;
            background: rgba(2, 6, 23, 0.98);
            backdrop-filter: blur(20px);
            z-index: 999;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 32px;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        #mobile-menu.open {
            transform: translateX(0);
        }

        .mobile-nav-link {
            font-family: var(--font-display);
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all var(--transition);
        }

        .mobile-nav-link:hover {
            color: var(--accent-cyan);
        }

        /* Back to top */
        #back-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transform: translateY(20px);
            transition: all var(--transition);
            z-index: 999;
            border: none;
            box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
        }

        #back-to-top.visible {
            opacity: 1;
            transform: translateY(0);
        }

        #back-to-top:hover {
            transform: translateY(-4px);
        }

        /* Footer */
        .footer-link {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color var(--transition);
        }

        .footer-link:hover {
            color: var(--accent-cyan);
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(148, 163, 184, 0.08);
            border: 1px solid var(--border-glass);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: all var(--transition);
            text-decoration: none;
        }

        .social-icon:hover {
            background: rgba(6, 182, 212, 0.15);
            border-color: rgba(6, 182, 212, 0.3);
            color: var(--accent-cyan);
            transform: translateY(-3px);
        }

        /* Reveal */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        .delay-1 {
            transition-delay: 0.1s;
        }

        .delay-2 {
            transition-delay: 0.2s;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-secondary);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
            border-radius: 3px;
        }

        /* ─── TERMS SPECIFIC ─── */

        /* Sticky TOC sidebar */
        .toc-sidebar {
            position: sticky;
            top: 100px;
        }

        .toc-link {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 8px;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            transition: all var(--transition);
            border-left: 2px solid transparent;
        }

        .toc-link:hover {
            color: var(--text-secondary);
            background: rgba(148, 163, 184, 0.05);
        }

        .toc-link.active {
            color: var(--accent-cyan);
            border-left-color: var(--accent-cyan);
            background: rgba(6, 182, 212, 0.06);
        }

        .toc-num {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.7rem;
            color: var(--text-muted);
            min-width: 18px;
        }

        .toc-link.active .toc-num {
            color: var(--accent-cyan);
        }

        /* Section cards */
        .terms-section {
            padding: 40px;
            border-radius: 20px;
            background: rgba(15, 23, 42, 0.4);
            border: 1px solid var(--border-glass);
            transition: border-color var(--transition);
            scroll-margin-top: 100px;
        }

        .terms-section:hover {
            border-color: rgba(6, 182, 212, 0.15);
        }

        .section-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            flex-shrink: 0;
            background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.15));
            font-family: var(--font-display);
            font-weight: 800;
            font-size: 0.85rem;
            color: var(--accent-cyan);
        }

        .terms-section h2 {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--text-primary);
        }

        .terms-section p,
        .terms-section li {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.8;
        }

        .terms-section ul,
        .terms-section ol {
            padding-left: 0;
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 12px;
        }

        .terms-section ul li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .terms-section ul li::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--accent-cyan);
            flex-shrink: 0;
            margin-top: 8px;
        }

        .terms-section ol {
            counter-reset: list-counter;
        }

        .terms-section ol li {
            counter-increment: list-counter;
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .terms-section ol li::before {
            content: counter(list-counter) '.';
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 0.8rem;
            color: var(--accent-cyan);
            flex-shrink: 0;
            min-width: 20px;
            margin-top: 2px;
        }

        .terms-section a {
            color: var(--accent-cyan);
            text-decoration: none;
        }

        .terms-section a:hover {
            text-decoration: underline;
        }

        /* Highlight box */
        .highlight-box {
            padding: 16px 20px;
            border-radius: 10px;
            background: rgba(6, 182, 212, 0.06);
            border: 1px solid rgba(6, 182, 212, 0.15);
            margin-top: 16px;
        }

        .highlight-box.warning {
            background: rgba(245, 158, 11, 0.06);
            border-color: rgba(245, 158, 11, 0.2);
        }

        .highlight-box.danger {
            background: rgba(239, 68, 68, 0.06);
            border-color: rgba(239, 68, 68, 0.15);
        }

        .highlight-box p {
            margin: 0;
        }

        /* Last updated badge */
        .updated-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            border-radius: 100px;
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.2);
            font-size: 0.8rem;
            color: #a78bfa;
            font-weight: 500;
        }

        /* Print button */
        @media print {

            #navbar,
            #page-loader,
            #scroll-progress,
            #back-to-top,
            #mobile-menu,
            .toc-sidebar,
            .print-btn {
                display: none !important;
            }

            .terms-section {
                border: 1px solid #ccc !important;
                background: white !important;
            }

            body {
                background: white !important;
                color: black !important;
            }
        }
