:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252540;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
header {
    text-align: center;
    padding: 4rem 0 3rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-muted);
    font-size: 1.25rem;
    font-weight: 300;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-light);
}

/* Intro */
.intro p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.intro a {
    color: var(--secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.intro a:hover {
    border-bottom-color: var(--secondary);
}

/* Capabilities Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

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

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

/* Philosophy */
.philosophy ul {
    list-style: none;
}

.philosophy li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.philosophy li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.philosophy li:last-child {
    border-bottom: none;
}

/* Status */
.status-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

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

.label {
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.875rem;
}

footer .small {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    
    header {
        padding: 2rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
}
