:root {
    --bg: #090d16;
    --card: #131d2e;
    --border: #1e293b;
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #38bdf8;
    --green: #10b981;
    --code-bg: #030712;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.container { max-width: 860px; width: 100%; }

.header { text-align: center; margin-bottom: 35px; }
.badge {
    display: inline-block;
    background: rgba(56,189,248,0.1);
    color: var(--accent);
    border: 1px solid rgba(56,189,248,0.3);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}
h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.gradient-text {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle { color: var(--muted); font-size: 15px; margin-bottom: 18px; }

.features-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.feat { background: #1e293b; color: #cbd5e1; font-size: 12px; padding: 5px 12px; border-radius: 6px; }

.api-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 35px; }
.api-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    transition: border-color 0.2s;
}
.api-card:hover { border-color: rgba(56,189,248,0.4); }

.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.method {
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.method.get { background: #0284c7; color: #fff; }
.method.client { background: #059669; color: #fff; }
.endpoint-path { font-family: monospace; font-size: 16px; font-weight: 700; color: #38bdf8; }
.api-desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }

.code-box {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: monospace;
    font-size: 13px;
    color: #e2e8f0;
    margin-bottom: 12px;
}
.btn-copy {
    background: #334155;
    color: #f8fafc;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-copy:hover { background: #475569; }

.btn-try {
    background: #1e293b;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.btn-try:hover { background: var(--accent); color: #090d16; }

.json-res {
    display: none;
    margin-top: 14px;
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px;
    font-family: monospace;
    font-size: 12px;
    color: #34d399;
    white-space: pre-wrap;
    max-height: 240px;
    overflow-y: auto;
}

.support-section {
    background: linear-gradient(145deg, #131d2e, #0c121e);
    border: 1px dashed rgba(251,191,36,0.4);
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    margin-bottom: 30px;
}
.support-section h3 { color: #facc15; font-size: 16px; margin-bottom: 8px; }
.support-section p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.email-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #334155;
}
.email-box code { color: #fde047; font-family: monospace; font-size: 13px; }

.tool-matrix {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    text-align: center;
    margin-bottom: 30px;
}
.tool-matrix h3 { font-size: 15px; color: #cbd5e1; margin-bottom: 14px; }
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.matrix-grid a {
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: 0.2s;
}
.matrix-grid a:hover { border-color: var(--accent); color: var(--accent); }

.footer { text-align: center; color: #64748b; font-size: 12px; }
