  * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Inter', sans-serif;
            background: #0a0e17;
            color: #e2e8f0;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition:  0.25s ease, color 0.25s ease;
        }

        body.light {
            background: #f8fafc;
            color: #0f172a;
        }
        body.light .header {
            border-bottom-color: rgba(0,0,0,0.08);
        }
        body.light .logo span { color: #475569; }
        body.light .badge {
            background: rgba(37, 99, 235, 0.1);
            color: #2563eb;
            border-color: rgba(37,99,235,0.2);
        }
        body.light .btn-outline {
            border-color: rgba(0,0,0,0.12);
            color: #1e293b;
        }
        body.light .content p { color: #475569; }
        body.light .endpoint {
            background: rgba(0,0,0,0.03);
            border-color: rgba(0,0,0,0.06);
            color: #1e293b;
        }
        body.light .code-preview {
            background: rgba(0,0,0,0.02);
            border-color: rgba(0,0,0,0.08);
        }
        body.light .code-preview::before {
            background: #f8fafc;
            color: #64748b;
        }
        body.light .code-preview .line .num { color: #94a3b8; }
        body.light .code-preview .line .comment { color: #64748b; }
        body.light .status-bar {
            border-top-color: rgba(0,0,0,0.06);
            color: #64748b;
        }
        body.light .footer {
            border-top-color: rgba(0,0,0,0.06);
            color: #64748b;
        }
        body.light .footer a { color: #475569; }
        body.light .footer a:hover { color: #0f172a; }
        body.light .pill {
            background: rgba(167, 139, 250, 0.15);
            color: #7c3aed;
            border-color: rgba(167,139,250,0.2);
        }
        body.light .code-preview .line .key { color: #2563eb; }
        body.light .code-preview .line .string { color: #16a34a; }
        body.light .modal-content {
            background: #ffffff;
            color: #0f172a;
        }
        body.light .modal-header { border-bottom-color: rgba(0,0,0,0.08); }
        body.light .beta-note {
            background: #f1f5f9;
            color: #1e293b;
        }
        body.light .modal-icon-animation i { color: #2563eb; }

        .header {
            padding: 20px 40px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            transition: border-color 0.2s;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
            font-size: 1.3rem;
            color: #fff;
        }
        body.light .logo { color: #0f172a; }
        .logo i { color: #60a5fa; font-size: 1.8rem; }
        .logo span { color: #94a3b8; font-weight: 400; }
        .badge {
            background: rgba(96, 165, 250, 0.15);
            color: #60a5fa;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            border: 1px solid rgba(96,165,250,0.2);
        }
        .header-actions {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .btn {
            padding: 8px 20px;
            border-radius: 8px;
            border: none;
            font-weight: 500;
            font-size: 0.85rem;
            cursor: pointer;
            background: transparent;
            color: #94a3b8;
            transition: 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .btn-primary {
            background: #2563eb;
            color: #fff;
        }
        .btn-primary:hover { background: #1d4ed8; }
        .btn-outline {
            border: 1px solid rgba(255,255,255,0.1);
            color: #cbd5e1;
        }
        body.light .btn-outline {
            border-color: rgba(0,0,0,0.12);
            color: #1e293b;
        }
        .btn-theme {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.08);
            color: #cbd5e1;
            padding: 8px 14px;
            border-radius: 30px;
            font-size: 1rem;
        }
        body.light .btn-theme {
            background: rgba(0,0,0,0.04);
            border-color: rgba(0,0,0,0.08);
            color: #1e293b;
        }
        .btn-theme:hover { opacity: 0.7; }

        .hero {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }
        .container {
            max-width: 1100px;
            width: 100%;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        @media (max-width: 860px) {
            .container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
        }

        .content h1 {
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 16px;
        }
        .content h1 .highlight {
            background: linear-gradient(135deg, #60a5fa, #a78bfa);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .content p {
            font-size: 1.1rem;
            color: #94a3b8;
            line-height: 1.7;
            margin-bottom: 24px;
        }
        .content .pill {
            display: inline-block;
            background: rgba(167, 139, 250, 0.12);
            color: #a78bfa;
            padding: 4px 16px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            margin-bottom: 16px;
            border: 1px solid rgba(167,139,250,0.15);
        }
        .endpoints {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 10px;
        }
        .endpoint {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 8px;
            padding: 8px 16px;
            font-family: 'Inter', monospace;
            font-size: 0.8rem;
            color: #94a3b8;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .endpoint .method {
            font-weight: 700;
            font-size: 0.65rem;
            padding: 2px 8px;
            border-radius: 4px;
        }
        .method.get { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
        .method.post { background: rgba(96, 165, 250, 0.2); color: #60a5fa; }
        .method.put { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
        .method.del { background: rgba(248, 113, 113, 0.2); color: #f87171; }

        .code-preview {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 16px;
            padding: 30px;
            position: relative;
            transition:  0.2s, border-color 0.2s;
        }
        .code-preview::before {
            content: 'API v1 · REST';
            position: absolute;
            top: -10px;
            right: 20px;
            background: #0a0e17;
            padding: 0 12px;
            font-size: 0.7rem;
            color: #64748b;
            letter-spacing: 0.5px;
            transition:  0.2s;
        }
        body.light .code-preview::before { background: #f8fafc; }
        .code-preview .line {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255,255,255,0.03);
            font-family: 'Inter', monospace;
            font-size: 0.85rem;
        }
        .code-preview .line:last-child { border-bottom: none; }
        .code-preview .line .num {
            color: #334155;
            font-size: 0.7rem;
            width: 20px;
            text-align: right;
        }
        .code-preview .line .key { color: #60a5fa; }
        .code-preview .line .string { color: #4ade80; }
        .code-preview .line .comment { color: #475569; font-style: italic; }
        .status-dot {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #4ade80;
            margin-right: 6px;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .status-bar {
            margin-top: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            padding-top: 16px;
            border-top: 1px solid rgba(255,255,255,0.06);
            font-size: 0.8rem;
            color: #64748b;
        }
        .status-bar .green { color: #4ade80; }

        .footer {
            padding: 20px 40px;
            border-top: 1px solid rgba(255,255,255,0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            font-size: 0.8rem;
            color: #475569;
        }
        .footer a {
            color: #64748b;
            text-decoration: none;
            margin-left: 20px;
            transition: 0.2s;
        }
        .footer a:hover { color: #94a3b8; }

        .modal {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 20px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .modal.active {
            opacity: 1;
            pointer-events: auto;
        }
        .modal-content {
            background: #141b26;
            border-radius: 24px;
            max-width: 480px;
            width: 100%;
            padding: 0;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
            border: 1px solid rgba(255,255,255,0.06);
            overflow: hidden;
            transition: 0.2s, color 0.2s;
        }
        .modal-header {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 20px 24px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        .modal-header i { color: #a78bfa; font-size: 1.4rem; }
        .modal-header h3 {
            font-weight: 600;
            font-size: 1.2rem;
            flex: 1;
        }
        .close-modal {
            background: none;
            border: none;
            color: #94a3b8;
            font-size: 1.8rem;
            line-height: 1;
            cursor: pointer;
            padding: 0 6px;
        }
        .close-modal:hover { color: #e2e8f0; }
        .modal-body {
            padding: 24px;
            text-align: center;
        }
        .modal-icon-animation i {
            font-size: 3.2rem;
            color: #60a5fa;
            margin-bottom: 16px;
            display: inline-block;
            animation: float 3s ease-in-out infinite;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-8px); }
        }
        .modal-body p {
            font-size: 0.95rem;
            line-height: 1.6;
            color: #94a3b8;
            margin-bottom: 8px;
        }
        body.light .modal-body p { color: #475569; }
        .beta-note {
            background: rgba(255,255,255,0.04);
            border-radius: 12px;
            padding: 16px;
            margin: 20px 0;
            display: flex;
            gap: 10px;
            align-items: flex-start;
            text-align: left;
            font-size: 0.85rem;
            color: #cbd5e1;
            border-left: 3px solid #60a5fa;
        }
        body.light .beta-note {
            background: #f1f5f9;
            color: #1e293b;
        }
        .beta-note i { color: #60a5fa; margin-top: 2px; }
        .modal-ok {
            background: #2563eb;
            color: #fff;
            border: none;
            padding: 10px 32px;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 8px;
        }
        .modal-ok:hover { background: #1d4ed8; }

        @media (max-width: 600px) {
            .header { padding: 15px 20px; }
            .content h1 { font-size: 2rem; }
            .code-preview { padding: 20px; }
            .footer { flex-direction: column; text-align: center; }
            .footer a { margin: 0 10px; }
            .modal-content { max-width: 100%; margin: 10px; }
        }
