:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --dark: #1a1a2e;
    --darker: #16213e;
    --text: #e0e0e0;
    --text-muted: #a0a0a0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo { width: 100px; margin-bottom: 1.5rem; }
.hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn { min-width: 160px; }

/* Features Section */
.features { padding: 4rem 2rem; background: #f8f9fa; }
.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card p { color: #666; font-size: 0.9375rem; }

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark), var(--darker));
    padding: 2rem;
}
.auth-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.auth-logo { width: 60px; display: block; margin: 0 auto 1rem; }
.auth-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.auth-links { text-align: center; margin-top: 1.5rem; display: flex; justify-content: space-between; }
.auth-links a { color: var(--primary-dark); text-decoration: none; font-size: 0.875rem; }

/* Top Navigation */
.top-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--dark);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.nav-logo { height: 32px; }
.nav-title { font-weight: 700; font-size: 1.125rem; }
.nav-links { display: flex; gap: 0.25rem; flex: 1; justify-content: center; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.1); }
.nav-user { display: flex; align-items: center; gap: 0.75rem; }
.user-name { font-size: 0.875rem; color: var(--text-muted); }
.btn-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}
.btn-logout:hover { color: white; background: rgba(255,255,255,0.1); }

/* Content */
.content { padding: 2rem; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - 140px); }

/* Dashboard */
.dashboard h1 { font-size: 1.75rem; }

/* Footer */
.site-footer {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    color: #999;
    font-size: 0.8125rem;
}

/* Button overrides */
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.75rem; }
    .nav-links { display: none; }
    .content { padding: 1rem; }
}
