:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --text: #1f2937;
    --light: #f3f4f6;
    --border: #e5e7eb;
}

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

html, body { width: 100%; height: 100%; }

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.6;
}

header {
    background: var(--primary);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

header nav { display: flex; gap: 2rem; }

header nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

header nav a:hover { opacity: 0.8; }

main { max-width: 1200px; margin: 0 auto; }

section { padding: 4rem 2rem; border-bottom: 1px solid var(--border); }

h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 2rem;
    color: var(--primary);
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.hero h2, .hero p { color: white; margin-bottom: 1.5rem; }

.cta-button {
    background: white;
    color: var(--primary);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.cta-button:hover { transform: scale(1.05); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-card p { color: #666; margin-top: 0.5rem; }

.doc-sections, .api-endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.doc-item, .endpoint {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.endpoint code {
    background: #f0f0f0;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

footer {
    background: var(--text);
    color: white;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; }
    header nav { gap: 1rem; }
    section { padding: 2rem 1rem; }
}
