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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 3rem;
}

h1 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    color: #444;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.3rem;
    color: #555;
    margin: 1rem 0 0.5rem 0;
}

.status {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.dot.active {
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.demo {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.demo-box {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    margin: 1rem 0;
}

.demo-box ol {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.demo-box li {
    margin: 0.5rem 0;
}

.demo-box pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    overflow-x: auto;
    font-size: 0.9rem;
}

code {
    background: #e2e8f0;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.output {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.output pre {
    background: #1e293b;
    color: #10b981;
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.features {
    margin: 2rem 0;
}

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

.feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid #667eea;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    margin-top: 0;
    color: #667eea;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #666;
}

.footer p {
    margin: 0.5rem 0;
}

.footer strong {
    color: #667eea;
}
