﻿:root {
    --primary-color: #0B2156; /* Xanh đậm School Admin */
    --accent-color: #F7E0DB; /* Hồng nhạt nền tảng */
    --gold-color: #D4AF37; /* Vàng Gold CTA */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-bg: #F8F9FA;
    --border-color: #E0E0E0;
    --font-main: 'Inter', sans-serif;
    --container-width: 1200px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
}

/* Container Layout System */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}



.logo {
    font-weight: 900;
    font-size: 24px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

    .nav-link:hover {
        color: var(--primary-color);
    }

.nav-btn {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}


.hero-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F2 100%);
    padding: 80px 0 100px 0;
    text-align: center;
}

.badge-pill {
    display: inline-block;
    background: #EBF0FF;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.btn-cta {
    background-color: var(--gold-color);
    color: var(--white);
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    }

/* --- 2. HOLLAND MODEL SECTION (MODIFIED) --- */
.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.holland-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Giữ layout 2 cột cho ảnh ngang */
    gap: 40px;
}

/* New Style: Separated Text */
.holland-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee; /* Nhẹ nhàng hơn shadow */
}

.holland-img-wrapper {
    width: 100%;
    aspect-ratio: 2.5 / 1; /* Tỷ lệ ngang */
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

    .holland-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.holland-info {
    padding: 24px;
    text-align: left;
}

.holland-label {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.holland-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Minimal Hover Effect */
.holland-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

    .holland-card:hover img {
        transform: scale(1.03); /* Zoom nhẹ, không che */
    }

.demo-actions {
    margin-top: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.link-example {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.btn-try-student {
    padding: 12px 32px;
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

    .btn-try-student:hover {
        background-color: var(--primary-color);
        color: white;
    }

/* --- 3. RESULT UI --- */
.result-section {
    background-color: var(--white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.result-card-ui {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden;
    position: relative;
}

.result-card-header {
    background: #2C3E50;
    padding: 25px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-tag {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.user-info div:first-child {
    font-size: 12px;
    opacity: 0.8;
}

.user-info div:last-child {
    font-weight: 700;
    font-size: 16px;
}

.result-card-body {
    padding: 30px;
}

.main-archetype {
    text-align: center;
    margin-bottom: 25px;
}

.archetype-name {
    font-size: 22px;
    font-weight: 800;
    color: #E67E22;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.archetype-sub {
    font-size: 14px;
    color: #777;
    font-style: italic;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    align-items: center;
}

.mini-radar {
    width: 100%;
    height: 180px;
}

.stat-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    font-size: 13px;
}

.stat-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    font-weight: 600;
    color: #444;
}

.bar-bg {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
}

.result-desc h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.result-desc p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.desc-highlight {
    border-left: 4px solid var(--gold-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
    background: #fffcf5; /* Nền nhẹ để làm nổi bật text */
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

/* --- 4. AI MATCHING SECTION --- */
.ai-section {
    background-color: #FAFBFC;
}

.ai-title-group {
    text-align: center;
    margin-bottom: 50px;
}

.ai-card-wrapper {
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #EAECF0;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.ai-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.ai-left {
    flex: 1;
}

.ai-right {
    flex: 1;
    height: 300px;
    position: relative;
}

.uni-match-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.uni-logo-box {
    width: 60px;
    height: 60px;
    background: #004C97;
    border-radius: 12px;
    color: white;
    display: grid;
    place-items: center;
    font-weight: bold;
    font-size: 20px;
}

.match-percent {
    font-size: 48px;
    font-weight: 800;
    color: #27AE60;
    line-height: 1;
    margin: 15px 0;
}

.match-tag {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.data-point {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
    background: #F0FDF4;
    padding: 8px 12px;
    border-radius: 6px;
    color: #166534;
    width: fit-content;
}

/* --- 5. RESTORED DASHBOARD UI (Original Full Version) --- */
.dashboard-section {
    background-color: #0B2156;
    padding: 80px 0;
}

.dashboard-title {
    color: white;
    text-align: left;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 700;
}

.dashboard-ui {
    background: #F4F7FE;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    min-height: 600px;
}

.dash-sidebar {
    width: 250px;
    background: white;
    padding: 30px 20px;
    border-right: 1px solid #eee;
    flex-shrink: 0;
}

.dash-menu-item {
    padding: 12px 15px;
    color: #666;
    border-radius: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

    .dash-menu-item.active {
        background: #E9EDF7;
        color: var(--primary-color);
        font-weight: 600;
    }

.dash-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.kpi-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.kpi-label {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

.charts-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-box {
    background: white;
    padding: 20px;
    border-radius: 14px;
    flex: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.box-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

/* --- 6. FOOTER --- */
.footer-cta {
    background: #fff;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

/* --- MODAL --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

    .modal-backdrop.active {
        display: flex;
    }

.modal-content {
    background: white;
    width: 450px;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: #FEF3C7;
    color: #D97706;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.modal-text {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-cancel {
    background: #f3f4f6;
    color: #4b5563;
}

.btn-confirm {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 992px) {
    .charts-row, .dashboard-ui {
        flex-direction: column;
    }

    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dash-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 768px) {
    .holland-grid {
        grid-template-columns: 1fr;
    }

    .split-layout, .ai-flex {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
}
