/* TOÀN BỘ ĐỊNH DẠNG THEO PHONG CÁCH HIỆN ĐẠI - CLEAN & PREMIUM CODE */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #0b0f19;
    background-image: 
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.1) 0px, transparent 50%);
    margin: 0;
    padding: 0;
    color: #f1f5f9;
    line-height: 1.7;
}

/* Định dạng cấu trúc phân khối dạng Web App cao cấp (Không chia trang A4 ép buộc) */
.page {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    max-width: 900px;
    padding: 40px;
    margin: 40px auto;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Header & Footer siêu mỏng */
.header-meta, .footer-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-meta {
    margin-top: 40px;
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    padding-bottom: 0;
}

.footer-meta a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

/* TRANG 1: THIẾT KẾ KHU VỰC WELCOME SANG TRỌNG */
.welcome-container {
    text-align: center;
    padding: 40px 0;
}

/* Khung ảnh hiệu ứng tỏa sáng Neon Gradient */
.avatar-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px auto;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 4px;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #111827;
}

.welcome-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #3b82f6;
    font-weight: 700;
    margin-bottom: 10px;
}

.main-name {
    font-size: 48px;
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 25px 0;
    letter-spacing: -1px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-info {
    font-size: 16px;
    margin: 8px 0;
    color: #94a3b8;
}

.portfolio-link {
    display: inline-block;
    margin-top: 20px;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.section-indicator {
    margin-top: 50px;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 1px;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 10px;
    display: inline-block;
}

/* ĐỊNH DẠNG THẺ THÔNG TIN (CARD) */
.card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.card h2 {
    margin-top: 0;
    font-size: 20px;
    color: #ffffff;
    border-left: 4px solid #8b5cf6;
    padding-left: 12px;
    margin-bottom: 20px;
}

/* Các dòng dữ liệu trong hồ sơ */
.info-row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
    color: #cbd5e1;
}

.info-row strong {
    color: #ffffff;
    display: inline-block;
    width: 140px;
}

/* Mục tiêu & Định hướng */
.target-item {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.font-code { background-color: rgba(34, 197, 94, 0.15); color: #4ade80; }
.font-brain { background-color: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.font-launch { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.target-text {
    font-size: 15px;
    color: #cbd5e1;
}

.bullet-title {
    font-weight: 600;
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 6px;
}

.desc-text {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 0;
    padding-left: 5px;
}

/* DANH MỤC CÁC BÀI TẬP DỰ ÁN */
.page-title {
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-subtitle {
    color: #94a3b8;
    font-size: 15px;
    margin-top: 0;
    margin-bottom: 40px;
}

.project-box {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.project-box:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.project-box h3 {
    font-size: 20px;
    color: #60a5fa;
    margin-top: 0;
    margin-bottom: 12px;
}

.project-summary {
    font-size: 15px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.project-box h4 {
    font-size: 15px;
    color: #ffffff;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* Giao diện khung sơ đồ cây thư mục (Terminal Style) */
.code-block {
    background: #090d16;
    color: #a7f3d0;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Fira Code', Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 15px 0;
}

/* Nút bấm xem báo cáo dạng Glassmorphism */
.btn-report {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.2s ease;
}

.btn-report:hover {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.section-divider-title {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    padding-top: 25px;
}

.section-divider-title h2 {
    font-size: 22px;
    color: #ffffff;
    margin: 0;
}

/* BIỂU ĐỒ NĂNG LỰC CÔNG NGHỆ NỔI BẬT */
.skill-container {
    margin: 22px 0;
}

.skill-name {
    display: block;
    margin-bottom: 8px;
    font-size: 14.5px;
    color: #cbd5e1;
}

.bar-bg {
    background: #1e293b;
    height: 12px;
    border-radius: 100px;
    overflow: hidden;
}

.bar-fill {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: transparent; /* Giấu chữ bên trong thanh để nhìn thanh mảnh tinh tế */
    height: 100%;
    border-radius: 100px;
    position: relative;
}

/* Tạo hiển thị số phần trăm bong bóng nhỏ phía bên phải tên kỹ năng */
.skill-container {
    position: relative;
}
.skill-container::after {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;
    font-weight: 600;
    color: #60a5fa;
}
.skill-container:nth-child(2)::after { content: "95%"; }
.skill-container:nth-child(3)::after { content: "90%"; }
.skill-container:nth-child(4)::after { content: "85%"; }
.skill-container:nth-child(5)::after { content: "90%"; }

.fill-95 { width: 95%; }
.fill-90 { width: 90%; }
.fill-85 { width: 85%; }

/* Khối trích dẫn cảm nghĩ nghệ thuật */
.quote-text {
    font-style: italic;
    border-left: 4px solid #8b5cf6;
    padding-left: 20px;
    margin: 25px 0;
    color: #e2e8f0;
    font-size: 15.5px;
}

.note-item {
    font-size: 14.5px;
    color: #cbd5e1;
    margin: 12px 0;
}

.note-item strong {
    color: #ffffff;
}

.roadmap-item {
    padding: 14px 0;
    font-size: 15px;
    color: #cbd5e1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.roadmap-item:last-child {
    border-bottom: none;
}

/* Chân trang cuối */
.final-footer {
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.final-footer p {
    font-size: 15px;
    color: #ffffff;
    margin: 5px 0;
}

.final-footer .sub-footer {
    font-size: 13px;
    color: #94a3b8;
}

/* Hiệu ứng in ấn giữ màu tối sang trọng */
@media print {
    body { background: #0b0f19; color: #f1f5f9; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .page { margin: 0; box-shadow: none; border: none; page-break-after: always; }
}