:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #151515;
    --bg-terminal: #1a1a1a;
    --text-primary: #e4e4e4;
    --text-secondary: #999;
    --text-dim: #666;
    --accent-primary: #f97316;
    --accent-secondary: #22c55e;
    --accent-tertiary: #3b82f6;
    --border-color: #333;
    --code-bg: #0d0d0d;
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.terminal-bar {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.terminal-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #28ca42;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.ascii-logo {
    display: inline-block;
    margin-bottom: 40px;
}

.ascii {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.2;
    color: var(--accent-primary);
    text-align: left;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px rgba(249, 115, 22, 0.5); }
    to { text-shadow: 0 0 20px rgba(249, 115, 22, 0.8); }
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.install-command {
    display: inline-flex;
    align-items: center;
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 24px;
    margin-bottom: 30px;
    position: relative;
}

.install-command code {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--accent-secondary);
    margin-right: 20px;
}

.copy-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 80px 0;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-primary);
    padding: 80px 0;
}

/* Multi-Project Section */
.multi-project {
    background: var(--bg-secondary);
    padding: 80px 0;
}

/* Quick Start specific */
#quickstart {
    background: var(--bg-primary);
    padding: 100px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    font-family: var(--font-mono);
    color: var(--accent-secondary);
}

/* Terminal Window */
.terminal-window {
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Typewriter cursor effect */
.typing::after {
    content: '|';
    color: var(--accent-primary);
    animation: blink 1s infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-window.centered-content {
    max-width: 700px;
    margin: 30px auto 50px;
}

.terminal-content {
    font-family: var(--font-mono);
    font-size: 14px;
}

.terminal-line {
    margin-bottom: 10px;
}

.prompt {
    color: var(--accent-secondary);
    margin-right: 10px;
}

.terminal-output {
    color: var(--text-secondary);
    white-space: pre;
    margin-top: 10px;
}

/* Centered Content Helper */
.centered-content {
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--accent-primary);
    display: inline-block;
}

.feature-icon svg {
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon svg {
    transform: scale(1.1);
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* Code Examples */
.code-example {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.code-block {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.code-header {
    background: var(--bg-terminal);
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.code-block pre {
    padding: 20px;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
}

.comment {
    color: var(--text-dim);
}

.string {
    color: #a5d6ff;
}

.success {
    color: var(--accent-secondary);
    font-weight: bold;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.1);
}

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

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--text-primary);
}

.step-content pre {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px;
}

.step-content code {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
}

/* Project Demo */
.project-demo {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.project-demo.centered-content {
    max-width: 650px;
    margin: 30px auto;
}

.project-demo pre {
    overflow-x: auto;
}

.project-demo code {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
}

/* Stats */
.stats {
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-family: var(--font-mono);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
}

/* CTA Section */
.cta {
    background: var(--bg-primary);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

footer p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

footer a {
    color: var(--accent-primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.disclaimer {
    font-size: 12px;
    color: var(--text-dim);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .terminal-window.centered-content {
        margin: 20px auto 40px;
        padding: 15px;
    }

    .project-demo.centered-content {
        margin: 20px auto;
        padding: 15px;
    }

    .project-demo code {
        font-size: 11px;
    }
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

    .ascii {
        font-size: 8px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .step-number {
        margin: 0 auto 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
}