﻿/* File: wwwroot/css/landing.css - FINAL FIXED & CLEAN */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&display=swap');

:root {
    /* --- COLOR PALETTE --- */
    --primary-blue: #0056b3;
    --primary-dark: #003d82;
    --accent-cyan: #0dcaf0;
    --accent-teal: #20c997;
    --accent-orange: #fd7e14;
    --accent-gold: #FFD700;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8f9fa;
    /* Gradients */
    --hero-gradient: radial-gradient(circle at center bottom, #1a456e 0%, #020c1b 100%);
    --card-gradient-blue: linear-gradient(135deg, #e8f1ff 0%, #ffffff 100%);
    --card-gradient-teal: linear-gradient(135deg, #e6fffa 0%, #ffffff 100%);
    --card-gradient-orange: linear-gradient(135deg, #fff4e6 0%, #ffffff 100%);
    /* Pastel Colors for Process Steps */
    --pastel-blue: #EBF5FF;
    --pastel-yellow: #FFF8E6;
    --pastel-green: #E6FFF6;
    --pastel-purple: #F3EBFF;
    --text-blue-dark: #004085;
    --text-yellow-dark: #856404;
    --text-green-dark: #155724;
    --text-purple-dark: #4F2B6F;
    /* Shadows */
    --soft-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text-main);
    background-color: #fff;
    overflow-x: hidden;
}

/* --- 1. NAVBAR --- */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 12px 0;
}

.brand-text {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-left: 10px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main) !important;
    margin: 0 10px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: var(--primary-blue) !important;
    }

.btn-login {
    background: var(--primary-blue);
    color: #fff;
    border-radius: 6px;
    padding: 8px 24px;
    font-weight: 600;
    border: none;
    transition: 0.3s;
}

    .btn-login:hover {
        background: var(--primary-dark);
        color: #fff;
        transform: translateY(-2px);
    }
/* LOGO NAVBAR INDEX */
.navbar-brand img {
    height: 56px !important; /* đẹp hơn 60px mặc định */
    width: auto;
    margin-left: 6px;
    padding: 6px 16px;
    border-radius: 14px;
    border: 2px solid rgba(0,123,255,0.55); /* viền ánh sáng */
    background: rgba(255,255,255,0.85); /* nền mờ trắng */
    box-shadow: 0 0 12px rgba(0,123,255,0.45), /* glow xanh */
    inset 0 0 8px rgba(0,123,255,0.25); /* glow trong */

    transition: 0.25s ease;
}

    .navbar-brand img:hover {
        box-shadow: 0 0 18px rgba(0,123,255,0.7), inset 0 0 12px rgba(0,123,255,0.4);
        transform: scale(1.04);
    }

/* --- 2. HERO SECTION --- */
.hero-section {
    /* Thay đổi chính ở đây: Dùng radial-gradient */
    background: radial-gradient(circle at center, rgba(0, 50, 120, 0.5) 0%, rgba(2, 15, 38, 0.95) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Hiệu ứng parallax khi cuộn chuột nhìn rất xịn */
    color: #fff;
    padding: 120px 0; /* Tăng padding chút cho thoáng */
    position: relative;
    overflow: hidden;
}
    .hero-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, transparent, #00d2ff, transparent);
        box-shadow: 0 -5px 20px #00d2ff;
    }

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    margin-bottom: 25px;
    color: #fff;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    color: #e0e6ed;
    max-width: 850px;
    margin: 0 auto 50px;
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

    .hero-desc:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.3);
    }

.btn-hero-primary {
    background: #fff;
    color: var(--primary-blue);
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
}

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 20px rgba(255,255,255,0.4);
    }

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    transition: 0.3s;
}

    .btn-hero-outline:hover {
        border-color: #fff;
        background: rgba(255,255,255,0.1);
    }

/* --- 3. RANKING SECTION --- */
.ranking-section {
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.ranking-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.ranking-header {
    background: var(--primary-blue);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-tabs {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 0 20px;
    background: var(--primary-blue);
}

    .ranking-tabs .nav-link {
        color: rgba(255,255,255,0.7) !important;
        border: none;
        border-bottom: 3px solid transparent;
        padding: 15px 20px;
        font-weight: 600;
        background: transparent !important;
        margin: 0;
    }

        .ranking-tabs .nav-link:hover {
            color: #fff !important;
        }

        .ranking-tabs .nav-link.active {
            color: #fff !important;
            border-bottom-color: var(--accent-gold);
            background: rgba(255,255,255,0.1) !important;
        }

.ranking-header-title {
    padding: 20px;
    background: var(--primary-dark);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-table th {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
}

.ranking-table td {
    font-size: 0.95rem;
    vertical-align: middle;
}

.rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 auto;
}

.rank-1 {
    background: #FFD700;
    color: #fff;
    box-shadow: 0 2px 5px rgba(255, 215, 0, 0.4);
}

.rank-2 {
    background: #C0C0C0;
    color: #fff;
}

.rank-3 {
    background: #CD7F32;
    color: #fff;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.bg-success-soft {
    background-color: #dcfce7;
    color: #166534;
}

.bg-primary-soft {
    background-color: #e0f2fe;
    color: #075985;
}

.bg-warning-soft {
    background-color: #fffbeb;
    color: #92400e;
}

/* --- 4. LEGAL CARDS --- */
.legal-card {
    border: none;
    border-radius: 16px;
    padding: 30px 15px;
    height: 100%;
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--soft-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

    .legal-card p.small.mb-4 {
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .legal-card .btn {
        width: auto;
        min-width: 180px;
        padding: 10px 20px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        margin-top: 15px;
    }

    .legal-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--hover-shadow);
    }

.card-dept {
    background: var(--card-gradient-blue);
    border-top-color: var(--primary-blue);
}

    .card-dept .icon-3d {
        color: var(--primary-blue);
        text-shadow: 0 5px 10px rgba(0, 86, 179, 0.2);
    }

.card-school {
    background: var(--card-gradient-teal);
    border-top-color: var(--accent-teal);
}

    .card-school .icon-3d {
        color: var(--accent-teal);
        text-shadow: 0 5px 10px rgba(32, 201, 151, 0.2);
    }

.card-kinder {
    background: var(--card-gradient-orange);
    border-top-color: var(--accent-orange);
}

    .card-kinder .icon-3d {
        color: var(--accent-orange);
        text-shadow: 0 5px 10px rgba(253, 126, 20, 0.2);
    }

.icon-3d {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    transition: 0.3s;
}

.legal-card:hover .icon-3d {
    transform: scale(1.1);
}

/* --- 5. PROCESS SECTION --- */
.process-section {
    background-color: #fff;
    padding: 80px 0;
    position: relative;
}

.timeline-line-horizontal {
    display: none;
}
/* Bỏ style cũ */
.timeline-row {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

    .timeline-row::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 50px;
        right: 50px;
        height: 4px;
        background: #e9ecef;
        z-index: 0;
        border-radius: 10px;
    }

.timeline-step {
    position: relative;
    z-index: 1;
    width: 23%;
    text-align: center;
    transition: all 0.3s ease;
}

.step-marker {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #fff;
    border: 4px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-icon {
    font-size: 1.8rem;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step-badge-num {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: #6c757d;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.step-content {
    padding: 0 10px;
}

.step-name {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #2c3e50;
    text-transform: uppercase;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-actor-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f1f3f5;
    color: #64748b;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.step-details {
    text-align: left;
    list-style: none;
    padding: 15px;
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    background: #f8faff;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}

    .step-details li {
        position: relative;
        padding-left: 15px;
        margin-bottom: 6px;
        line-height: 1.4;
    }

        .step-details li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: #cbd5e1;
            font-weight: bold;
        }

/* Hover Steps */
.timeline-step:hover {
    transform: translateY(-5px);
}
/* Step Colors */
.step-blue .step-marker {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 5px rgba(0, 86, 179, 0.1);
}

.step-blue .step-icon, .step-blue .step-actor-label {
    color: var(--primary-blue);
}

.step-blue .step-badge-num {
    background: var(--primary-blue);
}

.step-blue:hover .step-details {
    background: #eef7ff;
    border-color: #cfe2ff;
}

.step-yellow .step-marker {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 5px rgba(255, 193, 7, 0.1);
}

.step-yellow .step-icon, .step-yellow .step-actor-label {
    color: #b48900;
}

.step-yellow .step-badge-num {
    background: var(--accent-gold);
    color: #000;
}

.step-yellow:hover .step-details {
    background: #fffced;
    border-color: #fff3cd;
}

.step-green .step-marker {
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 5px rgba(32, 201, 151, 0.1);
}

.step-green .step-icon, .step-green .step-actor-label {
    color: var(--accent-teal);
}

.step-green .step-badge-num {
    background: var(--accent-teal);
}

.step-green:hover .step-details {
    background: #f0fdf4;
    border-color: #d1e7dd;
}

.step-purple .step-marker {
    border-color: #6f42c1;
    box-shadow: 0 0 0 5px rgba(111, 66, 193, 0.1);
}

.step-purple .step-icon, .step-purple .step-actor-label {
    color: #6f42c1;
}

.step-purple .step-badge-num {
    background: #6f42c1;
}

.step-purple:hover .step-details {
    background: #f8f4ff;
    border-color: #e0cffc;
}

/* --- STRATEGY SECTION: CENTRAL HUB STYLE --- */
.strategy-section {
    background-color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Hình nền mờ trang trí phía sau */
.strategy-bg-deco {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 241, 255, 0.8) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.hub-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Bên trái: Căn lề phải, Icon nằm bên phải */
.hub-left {
    justify-content: flex-end;
    text-align: right;
}

    .hub-left .hub-icon {
        order: 2;
        margin-left: 20px;
        margin-right: 0;
    }

    .hub-left .hub-content {
        order: 1;
    }

/* Bên phải: Căn lề trái, Icon nằm bên trái */
.hub-right {
    justify-content: flex-start;
    text-align: left;
}

    .hub-right .hub-icon {
        margin-right: 20px;
    }

/* Icon Style */
.hub-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Hiệu ứng Hover */
.hub-item:hover .hub-icon {
    transform: scale(1.1);
}

.hub-item:hover h5 {
    color: var(--primary-blue);
}

/* Typography */
.hub-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.hub-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Hình ảnh trung tâm (Center Core) */
.center-core {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.core-circle {
    width: 350px;
    height: 350px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
}
/* Vòng tròn xoay nhẹ */
.core-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(0, 102, 204, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Các màu Gradient cho Icon (Giữ nguyên như cũ) */
.grad-1 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.grad-2 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.grad-3 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.grad-4 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.grad-5 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%);
}

.grad-6 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.grad-7 {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

.grad-8 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .center-core {
        display: none;
    }
    /* Ẩn hình giữa trên mobile */
    .hub-left {
        text-align: left;
        justify-content: flex-start;
    }

        .hub-left .hub-icon {
            order: 0;
            margin-left: 0;
            margin-right: 20px;
        }

    .strategy-section {
        padding: 50px 0;
    }
}
/* --- 7. USER BENEFITS (FIXED TABS) --- */
.role-tabs-pro {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

    .role-tabs-pro .nav-pills {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .role-tabs-pro .nav-link {
        background: #fff;
        padding: 15px 30px;
        border-radius: 12px;
        color: #64748b;
        border: 1px solid #e2e8f0;
        font-weight: 700;
        min-width: 200px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    }

        .role-tabs-pro .nav-link:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px rgba(0,0,0,0.05);
            border-color: var(--primary-blue);
            color: var(--primary-blue);
        }

        .role-tabs-pro .nav-link.active#tab-so-phong {
            background: var(--primary-blue);
            color: #fff;
            border-color: var(--primary-blue);
            box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3);
        }

        .role-tabs-pro .nav-link.active#tab-phong {
            background: var(--accent-teal);
            color: #fff;
            border-color: var(--accent-teal);
            box-shadow: 0 8px 20px rgba(32, 201, 151, 0.3);
        }

        .role-tabs-pro .nav-link.active#tab-truong {
            background: var(--accent-orange);
            color: #fff;
            border-color: var(--accent-orange);
            box-shadow: 0 8px 20px rgba(253, 126, 20, 0.3);
        }

.role-content-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.03);
    overflow: hidden;
}

.role-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-so {
    background: #eef7ff;
    color: var(--primary-blue);
}

.badge-phong {
    background: #e6fffa;
    color: var(--accent-teal);
}

.badge-truong {
    background: #fff4e6;
    color: var(--accent-orange);
}

.check-list-pro li {
    margin-bottom: 15px;
    display: flex;
    align-items: start;
    font-size: 1.05rem;
    color: #475569;
}

.check-list-pro i {
    margin-top: 4px;
    margin-right: 15px;
    font-size: 1.2rem;
}

.check-so {
    color: var(--primary-blue);
}

.check-phong {
    color: var(--accent-teal);
}

.check-truong {
    color: var(--accent-orange);
}

/* --- FOOTER --- */
footer {
    background-color: #0b1c38;
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

    footer h5 {
        font-weight: 700;
        margin-bottom: 20px;
        color: #fff;
    }

    footer ul {
        list-style: none;
        padding: 0;
    }

        footer ul li {
            margin-bottom: 10px;
        }

    footer a {
        color: #aab6c7;
        text-decoration: none;
        transition: 0.3s;
    }

        footer a:hover {
            color: #fff;
            padding-left: 5px;
        }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .timeline-row {
        flex-direction: column;
        margin-top: 0;
    }

        .timeline-row::before {
            top: 0;
            bottom: 0;
            left: 40px;
            width: 4px;
            height: auto;
        }

    .timeline-step {
        width: 100%;
        display: flex;
        text-align: left;
        margin-bottom: 30px;
        align-items: flex-start;
    }

    .step-marker {
        margin: 0 20px 0 0;
        flex-shrink: 0;
    }

    .step-content {
        padding: 0;
    }

    .step-badge-num {
        right: auto;
        left: -5px;
        top: -5px;
    }

    .role-tabs-pro .nav-pills {
        flex-direction: column;
        width: 100%;
    }

    .role-tabs-pro .nav-link {
        width: 100%;
        text-align: center;
    }

    .ranking-section {
        margin-top: 30px;
    }
}
