/* Reset and base styles */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #64748b;
    --text-color: #1e293b;
    --light-text: #f8fafc;
    --light-bg: #f1f5f9;
    --dark-bg: #0f172a;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', Consolas, 'Courier New', monospace;
    --page-width: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

ul, ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

code {
    font-family: var(--font-mono);
    background-color: var(--light-bg);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

pre {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.9em;
    line-height: 1.5;
}

pre code {
    background-color: transparent;
    padding: 0;
    color: inherit;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 0 0 20px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hero section */
.hero {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn.primary:hover {
    background-color: var(--primary-dark);
}

.btn.secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Features section */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Code example section */
.code-example {
    padding: 80px 0;
}

.code-example h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Get started section */
.get-started {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.get-started h2 {
    text-align: center;
    margin-bottom: 50px;
}

.get-started ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.get-started li {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.get-started li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.get-started h3 {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Documentation page styles */
.docs-container {
    display: flex;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
    margin-right: 40px;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-content {
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.sidebar h3 {
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    padding: 5px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: var(--primary-color);
}

.docs-content {
    flex: 1;
}

.docs-content section {
    margin-bottom: 60px;
}

/* Examples page styles */
.page-header {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 20px;
}

.examples-container {
    padding: 60px 0;
}

.example-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    padding: 30px;
}

.example-card h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.example-card p {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.example-details {
    margin-top: 20px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.try-yourself {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.try-yourself h2 {
    margin-bottom: 20px;
}

.try-yourself p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.try-yourself pre {
    display: inline-block;
    margin: 0 auto 30px auto;
    text-align: left;
}

/* Download page styles */
.download-options {
    padding: 60px 0;
}

.download-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.download-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.download-card h2 {
    margin-bottom: 10px;
}

.download-card p {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.download-details {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.installation-guide {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.installation-guide h2 {
    text-align: center;
    margin-bottom: 50px;
}

.installation-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 40px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.system-requirements {
    padding: 60px 0;
}

.system-requirements h2 {
    text-align: center;
    margin-bottom: 40px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.requirements-list li {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.get-help {
    background-color: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.get-help h2 {
    margin-bottom: 20px;
}

.get-help p {
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 900px) {
    .docs-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
        position: relative;
        top: 0;
        height: auto;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 600px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
} 