body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f6fb;
    color: #1f2937;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    background: #0f172a;
    color: white;
    padding: 1rem 0;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    font-size: 1.4rem;
    font-weight: bold;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.main-nav a,
.language-switcher a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.language-switcher {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding-left: 0.5rem;
}

.language-switcher a {
    padding: 0.25rem 0.45rem;
    border-radius: 6px;
    opacity: 0.7;
}

.language-switcher a.active {
    background: rgba(255,255,255,0.14);
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.logout-button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    color: white;
    border-radius: 8px;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
}

.page-content {
    padding: 2.5rem 0 3rem;
}

.page-shell {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    max-width: 760px;
}

.hero-shell,
.dashboard-shell,
.auth-shell {
    margin: 0 auto;
}

.lead {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.cta-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.auth-form button {
    display: inline-block;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary,
.auth-form button {
    background: #2563eb;
    color: white;
}

.btn-secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    max-width: 420px;
}

.auth-form label {
    font-weight: 600;
}

.auth-form input {
    padding: 0.8rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
}

.muted-text {
    color: #475569;
    margin-top: 1rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-size: 0.75rem;
}

.badge {
    background: #dcfce7;
    color: #166534;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.welcome-line {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.stat-label {
    display: block;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,0.8);
    padding: 1rem 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
