:root {
    --primary: #2563eb;
    --primary-light: #dbeafe;

    --success: #16a34a;
    --success-light: #dcfce7;

    --warning: #d97706;
    --warning-light: #fef3c7;

    --text-dark: #0f172a;
    --text: #475569;
    --border: #dbe2ea;

    --bg-page: #f5f7fb;
    --bg-card: #ffffff;

    --radius: 14px;
    --shadow:
        0 1px 2px rgba(0,0,0,.04),
        0 4px 12px rgba(0,0,0,.04);
}

body {
    background: var(--bg-page);
    font-family: "Inter", sans-serif;
    color: var(--text-dark);
    margin: 0;
}

.container {
    max-width: 1600px;
    margin: auto;
    padding: 24px;
}

.app-header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-title {
    font-size: 24px;
    font-weight: 700;
}

.badge {
    background: #eef2ff;
    color: #334155;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.architecture-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.section-label {
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;

    border-left: 4px solid var(--primary);
    padding-left: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-top: 12px;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.role-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all .25s ease;
}

.role-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.role-title {
    font-size: 22px;
    font-weight: 700;
}

.role-icon {
    width: 44px;
    height: 44px;

    border-radius: 50%;
    background: #f1f5f9;

    display: flex;
    align-items: center;
    justify-content: center;
}

.role-desc {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.portal-btn-success {
    width: 100%;
    height: 48px;

    border-radius: 10px;
    border: 1px solid #bbf7d0;

    background: var(--success-light);
    color: var(--success);

    font-weight: 700;
    text-transform: uppercase;
}

.portal-btn-primary {
    width: 100%;
    height: 48px;

    border-radius: 10px;
    border: 1px solid #bfdbfe;

    background: var(--primary-light);
    color: var(--primary);

    font-weight: 700;
    text-transform: uppercase;
}

.feedback-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 16px;

    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.feedback-link:hover {
    text-decoration: underline;
}

.slide-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-outline {
    border: 1px solid var(--border);
    background: white;
    color: #334155;

    padding: 12px 18px;
    border-radius: 10px;
}

.btn-primary {
    border: none;
    background: var(--primary);
    color: white;

    /*padding: 12px 18px;*/
    border-radius: 10px;
}