:root {
    --primary-color: #0066cc;
    --primary-dark: #004999;
    --secondary-color: #6c757d;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --code-bg: #f5f5f5;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
    --warning-bg: #fff3cd;
    --warning-border: #ffc107;
    --warning-text: #856404;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* WIP Banner */
.wip-banner {
    background-color: var(--warning-bg);
    border-bottom: 3px solid var(--warning-border);
    padding: 1rem 0;
    text-align: center;
}

.wip-banner p {
    margin: 0;
    color: var(--warning-text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.wip-banner strong {
    font-weight: 700;
}

.wip-banner a {
    color: var(--warning-text);
    text-decoration: underline;
    font-weight: 600;
}

.wip-banner a:hover {
    color: #664d03;
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0.75rem;
    display: block;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.section-alt .feature-card {
    background: var(--bg-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

/* Code Blocks */
pre {
    background-color: var(--code-bg);
    padding: 1.5rem;
    border-radius: 5px;
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
    max-width: 100%;
    white-space: pre;
    word-wrap: normal;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

p code, li code {
    background-color: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.85rem;
}

/* Install & Usage Sections */
.install-section,
.usage-section {
    margin-bottom: 2rem;
}

.docs-link {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-alt);
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

/* Community Links */
.community-links {
    list-style: none;
    padding-left: 0;
}

.community-links li {
    padding: 0.5rem 0;
}

.community-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.community-links a:hover {
    text-decoration: underline;
}

/* Links */
a {
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        box-shadow: var(--shadow);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        padding: 1rem 20px;
    }

    nav {
        flex-wrap: wrap;
        position: relative;
    }

    .wip-banner p {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }

    .wip-banner br {
        display: none;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section h2 {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .section h3 {
        font-size: 1.35rem;
        padding: 0 1rem;
    }

    .section h4 {
        font-size: 1.15rem;
        padding: 0 1rem;
    }

    .container {
        padding: 0 15px;
    }

    pre {
        padding: 1rem;
        font-size: 0.85rem;
        margin: 1rem -15px;
        border-radius: 0;
    }

    code {
        font-size: 0.85rem;
    }

    .install-section pre,
    .usage-section pre {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.75rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .wip-banner p {
        font-size: 0.8rem;
    }

    pre {
        font-size: 0.75rem;
    }
}
