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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f0f2f5;
}

nav {
    background: #1a1a2e;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-links a {
    color: #a0a0b8;
    text-decoration: none;
    margin-left: 1.5rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a.active {
    border-bottom: 2px solid #e94560;
}

.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: #a0a0b8;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.75rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e94560;
}

h3 {
    font-size: 1.2rem;
    color: #0f3460;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #444;
}

ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

ul li {
    margin-bottom: 0.4rem;
    color: #444;
}

a {
    color: #e94560;
}

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

.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.library {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}

.library h3 {
    margin-bottom: 0.25rem;
}

.library .meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
}

.library p {
    margin-bottom: 0;
}

pre {
    background: #1a1a2e;
    color: #e8e8e8;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

code {
    background: #e8e8f0;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

pre code {
    background: none;
    padding: 0;
}

.cli-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.cli-item {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.cli-item code {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cli-item span {
    font-size: 0.85rem;
    color: #888;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .nav-container { flex-direction: column; gap: 0.5rem; }
    .nav-links a { margin: 0 0.75rem; }
    .cli-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
}
