
:root {
    --primary-color: #3b82f6;
    --secondary-color: #1d4ed8;
    --text-color: #1f2937;
    --background-color: #f9fafb;
    --card-background: #ffffff;
    --header-text-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --text-color: #f9fafb;
    --background-color: #111827;
    --card-background: #1f2937;
    --header-text-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color 0.3s, color 0.3s;
}

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

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

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

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

.nav-links a {
    color: var(--header-text-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.theme-switcher {
    background: none;
    border: none;
    color: var(--header-text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.theme-switcher:hover {
    transform: scale(1.1);
}

.hero {
    text-align: center;
    max-width: 800px;
    margin: 5rem auto 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 10px var(--shadow-color);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

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

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

.section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 2rem 1rem;
    text-align: center;
}

#getting-started {
    margin-bottom: 8rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 600;
}

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

.feature-card {
    background: var(--card-background);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px var(--shadow-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.documentation {
    background-color: var(--card-background);
    padding: 4rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px var(--shadow-color);
}

.code-example {
    background-color: #1a1a1a;
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
    overflow-x: auto;
    border: 1px solid #333;
}

.code-example pre {
    color: #e5e5e5;
    font-family: 'Fira Code', monospace;
}

.doc-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 2rem;
    transition: transform 0.2s;
}

.doc-link:hover {
    transform: scale(1.05);
}

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

.step {
    position: relative;
    padding: 2rem;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.footer {
    background-color: var(--card-background);
    padding: 4rem 1rem 2rem;
    border-top: 1px solid var(--shadow-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--shadow-color);
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .feature-grid, .steps {
        grid-template-columns: 1fr;
    }
}
