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

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #10b981;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
}

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

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

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

.hero-emoji {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

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

/* Terminal Demo */
.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.terminal {
    background: #1e1e1e;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.terminal-header {
    background: #323232;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    color: #999;
    font-size: 0.875rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 0.95rem;
}

.terminal-line {
    margin-bottom: 1rem;
}

.prompt {
    color: #27c93f;
    margin-right: 0.5rem;
}

.terminal-output {
    margin-top: 1rem;
}

.output-line {
    margin: 0.5rem 0;
    color: #d4d4d4;
}

.output-line.success {
    color: #27c93f;
    font-weight: 600;
}

/* Problem Section */
.problem {
    padding: 6rem 0;
    background: var(--bg-light);
}

.problem h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ef4444;
}

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

.problem-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 2px solid var(--border);
}

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

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

/* Solution Section */
.solution {
    padding: 6rem 0;
}

.solution h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
}

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

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

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

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

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

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

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-light);
}

.how-it-works h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    background: var(--bg);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    border: 2px solid var(--border);
}

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

.step h3 {
    margin-bottom: 0.5rem;
}

.step code {
    background: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
}

/* Installation */
.installation {
    padding: 6rem 0;
}

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

.install-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.install-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border);
}

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

.code-block {
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
}

.code-block code {
    color: #27c93f;
    flex: 1;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.copy-btn:hover {
    opacity: 1;
}

.install-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.options-section {
    max-width: 800px;
    margin: 0 auto;
}

.options-section h3 {
    margin-bottom: 1rem;
    text-align: center;
}

.options-table {
    width: 100%;
    background: var(--bg-light);
    border-radius: 0.75rem;
    overflow: hidden;
    border-collapse: collapse;
}

.options-table th,
.options-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.options-table th {
    background: var(--bg);
    font-weight: 600;
}

.options-table code {
    background: var(--bg);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #1e1b4b 0%, var(--bg) 100%);
}

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

.cta-subtext {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--bg-light);
    text-align: center;
}

footer p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.25rem;
    }
    
    .problem h2,
    .solution h2,
    .how-it-works h2,
    .installation h2,
    .cta h2 {
        font-size: 2rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .install-options {
        grid-template-columns: 1fr;
    }
}
