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

:root {
    --primary: #5B8FF9;
    --secondary: #7F3FBF;
    --dark: #0F1419;
    --dark-light: #1A1F2E;
    --text: #E6EDF3;
    --text-muted: #8B949E;
    --border: #30363D;
    --success: #238636;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background: var(--dark-light);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo {
    width: 40px;
    height: 40px;
}

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

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Hero Section */
.hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.platform-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #4A7FE8;
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--border);
    color: var(--text);
}

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

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--dark-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Download Section */
.download {
    padding: 80px 0;
}

.download h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
}

.download-box {
    background: var(--dark-light);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.download-box h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.download-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.download-alt {
    font-size: 0.9rem;
    margin-top: 1rem;
}

.download-alt a {
    color: var(--primary);
    text-decoration: none;
}

/* Docs Section */
.docs {
    padding: 80px 0;
    background: var(--dark-light);
}

.docs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.doc-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
}

.doc-card h3 {
    margin-bottom: 1rem;
}

.doc-card pre {
    background: #161B22;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.doc-card code {
    color: var(--text);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.doc-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cli-commands {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cli-commands h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.command {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #161B22;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.command code {
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-weight: 600;
}

.command span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cli-commands .btn {
    display: block;
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--dark-light);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

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

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

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

.footer-section li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--primary);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.credits {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .download-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .features-grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }
}
