
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    margin: 0;
    padding: 0;
}
.header {
    background: linear-gradient(135deg, #00205B 0%, #0047AB 100%);
    color: #fff;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border-bottom: 3px solid #C0C0C0;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
}
.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.project-meta {
    font-size: 1rem;
    opacity: 0.9;
}
.back-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.back-link:hover {
    opacity: 1;
}
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem 3rem;
}
.section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e1e8ed;
}
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}
.section-icon {
    font-size: 2rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
}
.section-icon svg {
    width: 2rem;
    height: 2rem;
}
.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
}
.section-content {
    line-height: 1.8;
    color: #555;
}
.section-intro {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #444;
}
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}
.category-btn {
    background: linear-gradient(135deg, #1d72f1 0%, #195dbc 100%);
    color: #fff;
    padding: 0.4rem 0.75rem;
    border: 1px solid #C0C0C0;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 32, 91, 0.4);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    white-space: nowrap;
}
.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 114, 241, 0.5);
    border-color: #E0E0E0;
}
.category-btn-icon {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}
.category-btn-icon svg {
    width: 0.85rem;
    height: 0.85rem;
}
.category-btn-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.category-btn-arrow svg {
    width: 0.75rem;
    height: 0.75rem;
}
.category-btn.active .category-btn-arrow {
    transform: rotate(180deg);
}
.category-content {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #0047AB;
}
.category-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.category-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}
.category-content ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}
.category-content li {
    margin-bottom: 0.75rem;
}
.subsection {
    background: #fff;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e1e8ed;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #0047AB;
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ai-powered {
    background: linear-gradient(135deg, #C0C0C0 0%, #8A8A8A 100%);
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-weight: 600;
    border: 2px solid #B0B0B0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.highlight-box {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}
.role-selector {
    margin: 1.5rem 0;
}
.parent-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.parent-category-btn {
    background: #f8f9fa;
    color: #555;
    padding: 0.6rem 1.2rem;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.parent-category-btn:hover {
    background: #e8f4f8;
    border-color: #667eea;
    color: #667eea;
}
.parent-category-btn.active {
    background: #0047AB;
    color: #fff;
    border-color: #0047AB;
}
.sub-roles-container {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}
.sub-roles-container.active {
    display: block;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.sub-roles-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.75rem;
}
.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.role-tag {
    background: #fff;
    color: #555;
    padding: 0.4rem 0.8rem;
    border: 1px solid #e1e8ed;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.role-tag svg {
    width: 1rem;
    height: 1rem;
}
.role-tag:hover {
    background: #e8f4f8;
    border-color: #667eea;
    color: #667eea;
}
.role-tag.active {
    background: linear-gradient(135deg, #00205B 0%, #0047AB 100%);
    color: #fff;
    border-color: #0047AB;
    box-shadow: 0 2px 6px rgba(0, 71, 171, 0.4);
}
.selected-roles-display {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #0047AB;
}
.selected-roles-display h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}
.selected-roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.selected-role-badge {
    background: linear-gradient(135deg, #00205B 0%, #0047AB 100%);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.selected-role-badge .info-icon {
    cursor: pointer;
    margin-left: 0.3rem;
    padding: 0.2rem 0.4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.2s ease;
}
.selected-role-badge .info-icon:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}
.role-content {
    margin-top: 2rem;
    animation: fadeIn 0.4s ease;
}
.role-detail-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 4px;
    border-left: 4px solid #0047AB;
    margin-bottom: 1.5rem;
}
.role-detail-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}
.role-detail-card > p {
    margin-bottom: 1.5rem;
    color: #555;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    padding-top: 60px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.modal-header h2 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
}
.close-button {
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
}
.modal-body {
    padding-bottom: 20px;
}
.modal-footer {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
    text-align: right;
}
.modal-footer button {
    width: auto;
    padding: 10px 20px;
    font-size: 1rem;
    margin-left: 10px;
}
.modal-footer .confirm-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.modal-footer .cancel-button {
    background: #ccc;
    color: #333;
}
#roleInfoModal .modal-content {
    max-width: 700px;
}
#roleInfoModal .role-info-content {
    padding: 1rem 0;
}
#roleInfoModal .role-info-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}
#roleInfoModal .role-info-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
#roleInfoModal .subsection {
    margin-top: 1.5rem;
}
#roleInfoModal .subsection h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #667eea;
}
#roleInfoModal .subsection ul {
    margin-left: 1.5rem;
}
#roleInfoModal .subsection li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
