/* styles.css - Dark Mode */
:root {
    /* Dark theme colors */
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    
    /* Backgrounds */
    --bg: #0d1117;
    --bg-alt: #161b22;
    --bg-elevated: #1c2128;
    
    /* Text */
    --text: #e6edf3;
    --text-light: #8b949e;
    --text-muted: #6e7681;
    
    /* Borders */
    --border: #30363d;
    --border-hover: #484f58;
    
    /* Code blocks */
    --code-bg: #0d1117;
    --code-border: #30363d;
    
    /* Accents */
    --accent-blue: #58a6ff;
    --accent-purple: #bc8cff;
    --accent-yellow: #fbbf24;
}

* {
    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);
    background: var(--bg);
}

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

/* Header */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

nav a {
    margin-left: 2rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text);
}

.hero .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--accent-yellow);
    margin-bottom: 2rem;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
}

/* Code Section */
.code-section {
    padding: 4rem 0;
    background: var(--bg-alt);
}

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

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

.code-block {
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-title {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

pre {
    margin: 0;
    color: var(--text);
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-comment {
    color: #6e7681;
}

.code-keyword {
    color: #ff7b72;
}

.code-string {
    color: #a5d6ff;
}

.code-function {
    color: #d2a8ff;
}

/* Features */
.features {
    padding: 5rem 0;
}

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

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

.feature-card {
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    transition: all 0.2s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    transform: translateY(-4px);
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

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

.feature-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.status-ready {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-soon {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-yellow);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Status Section */
.status-section {
    padding: 4rem 0;
    background: var(--bg-alt);
}

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

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.status-card {
    padding: 2rem;
    background: var(--bg-elevated);
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary);
}

.status-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.status-card ul {
    list-style: none;
    padding: 0;
}

.status-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.status-card li:before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.status-soon li:before {
    content: "○ ";
    color: var(--accent-yellow);
}

/* Install */
.install-section {
    padding: 5rem 0;
    text-align: center;
}

.install-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.install-code {
    background: var(--code-bg);
    border: 1px solid var(--code-border);
    color: var(--text);
    padding: 1.5rem;
    border-radius: 0.75rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: left;
}

.install-note {
    color: var(--text-light);
    font-size: 0.875rem;
}

.install-note a {
    color: var(--primary);
    text-decoration: none;
}

.install-note a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg-alt);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
}

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

.visualizer-section {
    padding: 5rem 0;
    background: var(--bg);
}

.visualizer-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .code-grid {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}