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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #0a0a0f;
    color: #e0e0e8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 2rem;
    text-align: center;
}

/* Header */
header {
    margin-bottom: 3rem;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 2.5rem;
}

h1 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #f0f0f8;
    margin-bottom: 0.4rem;
}

.tagline {
    font-size: 1.1rem;
    color: #888899;
    font-weight: 300;
}

/* Public page feature cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.feature-card {
    padding: 1.5rem;
    background: #12121a;
    border: 1px solid #1e1e2e;
    border-radius: 10px;
}

.feature-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 0.6rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #d0d0dd;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: #777788;
    line-height: 1.5;
}

/* Login button */
.login-section {
    margin-bottom: 3rem;
}

.login-btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: #2a2a4a;
    border: 1px solid #3a3a5c;
    border-radius: 8px;
    color: #e0e0f0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.2s, border-color 0.2s;
}

.login-btn:hover {
    background: #333360;
    border-color: #505080;
}

/* Logout button */
.logout-btn {
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 1px solid #333345;
    border-radius: 6px;
    color: #888899;
    text-decoration: none;
    font-size: 0.85rem;
    transition: border-color 0.2s, color 0.2s;
}

.logout-btn:hover {
    border-color: #555570;
    color: #c0c0d0;
}

/* Dashboard service cards */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: #12121a;
    border: 1px solid #1e1e2e;
    border-radius: 10px;
    text-decoration: none;
    color: #e0e0e8;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.service-card:hover {
    border-color: #3a3a5c;
    background: #161620;
    transform: translateY(-2px);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.service-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.service-desc {
    font-size: 0.8rem;
    color: #666678;
}

/* Footer */
footer {
    color: #444455;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    .dash-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
