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

:root {
    --text-primary: #fcfcfc;
    --text-secondary: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-white: #141414;
    --border-color: #2a2a2a;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-size: 0.9rem;
}

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

a:not(.btn) {
    color: var(--text-primary);
    text-decoration: underline;
}

a:not(.btn):hover {
    color: var(--text-secondary);
}

/* Hero Section */
.hero {
    background: #141414;
    color: #fcfcfc;
    padding: 80px 20px;
    text-align: center;
}

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

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    color: #fcfcfc;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.badge {
    background: #1a1a1a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #2a2a2a;
    color: #fcfcfc;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn-primary {
    background: #fcfcfc;
    color: #141414;
}

.btn-primary:hover {
    background: #e0e0e0;
}

.btn-secondary {
    background: transparent;
    color: #fcfcfc;
    border: 1px solid #2a2a2a;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #1a1a1a;
    border-color: #2a2a2a;
}

/* Features Section */
.features {
    padding: 40px 20px;
    background: #141414;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 0;
}

.feature-card {
    background: transparent;
    padding: 1rem 0;
    border: none;
}

.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.85rem;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: #141414;
}

.demo .container {
    padding-bottom: 0;
}

.demo-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap;
    margin-top: 3rem;
    padding: 0 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.demo-box {
    flex: 1;
    min-width: 0;
    max-width: none;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 1.5rem;
    border: none;
}

.demo-box h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.demo-box pre {
    margin: 0;
    overflow-x: auto;
    overflow-y: visible;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-height: none;
}

.demo-box code {
    color: var(--text-primary);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#animated-output {
    display: block;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--text-primary);
}

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

.arrow {
    font-size: 1.5rem;
    color: #fcfcfc;
    font-weight: bold;
}

/* Installation Section */
.installation {
    padding: 80px 20px;
    background: #141414;
}

.code-block {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    margin-top: 2rem;
}

.code-header {
    background: #1a1a1a;
    padding: 10px 16px;
    color: #fcfcfc;
    font-size: 0.75rem;
    font-weight: 500;
    border-bottom: 1px solid #2a2a2a;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    color: var(--text-primary);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
}

/* Usage Section */
.usage {
    padding: 80px 20px;
    background: #141414;
}

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

.example-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #2a2a2a;
}

.example-item h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.example-item code {
    background: #141414;
    color: #fcfcfc;
    padding: 6px 10px;
    border-radius: 6px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.75rem;
    display: block;
    overflow-x: auto;
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: #141414;
    color: #fcfcfc;
    text-align: center;
}

.cta h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Footer */
footer {
    background: #141414;
    color: #fcfcfc;
    padding: 2rem 20px;
    text-align: center;
    border-top: 1px solid #2a2a2a;
    font-size: 0.85rem;
}

footer a {
    color: #fcfcfc;
    text-decoration: underline;
}

footer a:hover {
    color: #b0b0b0;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .demo-content {
        flex-wrap: wrap;
    }
    
    .arrow {
        transform: rotate(90deg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

