:root {
    --sp-background: #0b1120;
    --sp-surface: #162238;
    --sp-header-background: #111b2e;
    --sp-text: #e2e8f0;
    --sp-muted: #94a3b8;
    --sp-primary: #2563eb;
    --sp-primary-hover: #1d4ed8;
    --sp-link: #60a5fa;
    --sp-border: #2c3c55;
    --sp-radius: 14px;
    --sp-container-width: 1080px;
}


:root { color-scheme: dark; font-family: Arial, sans-serif; }
        * { box-sizing: border-box; }
        body { margin: 0; background: var(--sp-background); color: var(--sp-text); }
        a { color: var(--sp-link); text-decoration: none; }
        a:hover { text-decoration: underline; }
        header { border-bottom: 1px solid #243247; background: var(--sp-header-background); }
        .container { max-width: 1080px; margin: auto; padding: 24px; }
        .nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
        .brand { font-size: 23px; font-weight: bold; color: #fff; }
        .nav-links { display: flex; align-items: center; gap: 18px; }
        .card { background: var(--sp-surface); border: 1px solid var(--sp-border); border-radius: 14px; padding: 28px; }
        .auth-card { max-width: 460px; margin: 55px auto; }
        h1 { margin-top: 0; font-size: 29px; }
        .muted { color: var(--sp-muted); }
        label { display: block; margin: 17px 0 7px; }
        input:not([type="checkbox"]) {
            width: 100%; padding: 13px; border-radius: 8px;
            border: 1px solid #40506a; background: var(--sp-background); color: white;
        }
        button, .btn {
            display: inline-block; padding: 12px 20px; border: 0;
            border-radius: 8px; background: var(--sp-primary); color: white;
            cursor: pointer; font-size: 15px;
        }
        button:hover, .btn:hover { background: var(--sp-primary-hover); text-decoration: none; }
        .full { width: 100%; margin-top: 22px; }
        .error { color: #fca5a5; margin-top: 6px; font-size: 14px; }
        .message { padding: 12px; border-radius: 8px; background: #214036; margin-bottom: 20px; }
        .logout { background: transparent; padding: 0; color: var(--sp-muted); }
        .logout:hover { background: transparent; color: white; }
        footer { text-align: center; color: #64748b; padding: 32px; }
        @media (max-width: 600px) {
            .nav { align-items: flex-start; flex-direction: column; }
            .container { padding: 18px; }
            .auth-card { margin: 25px auto; }
        }


.sp-hero {
    text-align: center;
    padding: 85px 20px;
    margin: 24px 0 45px;
    border-radius: 22px;
    background: radial-gradient(ellipse at top, #19396c 0%, #111c31 52%, var(--sp-background) 100%);
    border: 1px solid #263d5d;
}
.sp-hero h1 {
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.12;
    margin: 20px 0;
    color: white;
}
.sp-hero h1 span { color: var(--sp-link); }
.sp-hero p {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.7;
    color: #a9b9d0;
}
.sp-tag {
    display: inline-block;
    border: 1px solid #31588a;
    border-radius: 30px;
    padding: 8px 17px;
    color: #93c5fd;
    font-size: 13px;
}
.sp-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.sp-secondary {
    background: #263850;
    border: 1px solid #415673;
}
.sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 25px 0 55px;
}
.sp-feature h3 { color: white; }
.sp-feature p { color: var(--sp-muted); line-height: 1.6; }
.sp-icon { font-size: 29px; }
.sp-center { text-align: center; }
.sp-platforms {
    color: #cbd5e1;
    padding: 22px;
    border: 1px solid var(--sp-border);
    border-radius: 12px;
    margin: 25px 0 50px;
    line-height: 1.9;
}


.sp-device {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--sp-border);
}
.sp-device:last-child { border-bottom: 0; }
.sp-device h3 { margin: 0 0 8px; color: white; }
.sp-device p { margin: 5px 0; }
.sp-status {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 20px;
    background: #334155;
    color: var(--sp-text);
    font-size: 13px;
}
.sp-status.active { background: #14532d; color: #bbf7d0; }
.sp-status.revoked { background: #7f1d1d; color: #fecaca; }
.sp-danger { background: #b91c1c; white-space: nowrap; }
.sp-danger:hover { background: #991b1b; }
.sp-section { margin-bottom: 22px; }
@media(max-width:600px) {
    .sp-device { flex-direction: column; align-items: flex-start; }
}

.sp-dashboard-title { margin-top: 35px; }
