:root {
    --primary: #10b981;
    --primary-hover: #059669;
    --bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.dark-theme {
    background: radial-gradient(circle at top left, #1e293b, #0f172a);
    min-height: 100vh;
}

.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 80px 0 40px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

h3 {
    margin-bottom: 10px;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    color: var(--text-dim);
}

.input-group {
    position: relative;
    margin-top: 20px;
}

input[type="text"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: var(--primary);
}

.endpoint {
    margin-top: 20px;
}

.code-block {
    background: #000;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
}

.code-block code {
    color: #34d399;
    white-space: nowrap;
}

.copy-btn {
    background: var(--primary);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 15px;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: var(--primary-hover);
}

.integration ol {
    padding-left: 20px;
    color: var(--text-dim);
}

.integration li {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 60px 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
}
