/* ==========================================================================
   VTech.DGNL - Modern EdTech Design System
   Phục vụ Cổng Thi Thử Đánh Giá Năng Lực Chuẩn Hóa THPT (V-ACT ĐHQG TP.HCM)
   ========================================================================== */

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Brand Color Palette */
    --primary-navy: #0f172a;
    --navy-dark: #0b132b;
    --navy-card: #1c2541;
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --accent-amber-hover: #d97706;
    --accent-coral: #ea580c;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --gradient-blue: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    --gradient-dark-card: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);

    /* Neutrals & Surfaces */
    --bg-slate: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
    --border-dark: #334155;
    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
}

/* ==========================================================================
   FRACTIONAL SPACING UTILITIES (.5, 1.5, 2.5, 3.5)
   Tương thích chuẩn Bootstrap 5 ( = 1rem = 16px)
   ========================================================================== */
/* 1. GAP UTILITIES */
.gap-0\.5 { gap: 0.125rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3\.5 { gap: 0.875rem !important; }

.row-gap-0\.5 { row-gap: 0.125rem !important; }
.row-gap-1\.5 { row-gap: 0.375rem !important; }
.row-gap-2\.5 { row-gap: 0.625rem !important; }
.row-gap-3\.5 { row-gap: 0.875rem !important; }

.column-gap-0\.5 { column-gap: 0.125rem !important; }
.column-gap-1\.5 { column-gap: 0.375rem !important; }
.column-gap-2\.5 { column-gap: 0.625rem !important; }
.column-gap-3\.5 { column-gap: 0.875rem !important; }

/* 2. PADDING UTILITIES */
.p-0\.5  { padding: 0.125rem !important; }
.p-1\.5  { padding: 0.375rem !important; }
.p-2\.5  { padding: 0.625rem !important; }
.p-3\.5  { padding: 0.875rem !important; }

.px-0\.5 { padding-left: 0.125rem !important; padding-right: 0.125rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }

.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }

.pt-0\.5 { padding-top: 0.125rem !important; }
.pt-1\.5 { padding-top: 0.375rem !important; }
.pt-2\.5 { padding-top: 0.625rem !important; }
.pt-3\.5 { padding-top: 0.875rem !important; }
.pb-0\.5 { padding-bottom: 0.125rem !important; }
.pb-1\.5 { padding-bottom: 0.375rem !important; }
.pb-2\.5 { padding-bottom: 0.625rem !important; }
.pb-3\.5 { padding-bottom: 0.875rem !important; }
.ps-0\.5 { padding-left: 0.125rem !important; }
.ps-1\.5 { padding-left: 0.375rem !important; }
.ps-2\.5 { padding-left: 0.625rem !important; }
.ps-3\.5 { padding-left: 0.875rem !important; }
.pe-0\.5 { padding-right: 0.125rem !important; }
.pe-1\.5 { padding-right: 0.375rem !important; }
.pe-2\.5 { padding-right: 0.625rem !important; }
.pe-3\.5 { padding-right: 0.875rem !important; }

/* 3. MARGIN UTILITIES */
.m-0\.5  { margin: 0.125rem !important; }
.m-1\.5  { margin: 0.375rem !important; }
.m-2\.5  { margin: 0.625rem !important; }
.m-3\.5  { margin: 0.875rem !important; }

.mx-0\.5 { margin-left: 0.125rem !important; margin-right: 0.125rem !important; }
.mx-1\.5 { margin-left: 0.375rem !important; margin-right: 0.375rem !important; }
.mx-2\.5 { margin-left: 0.625rem !important; margin-right: 0.625rem !important; }
.mx-3\.5 { margin-left: 0.875rem !important; margin-right: 0.875rem !important; }

.my-0\.5 { margin-top: 0.125rem !important; margin-bottom: 0.125rem !important; }
.my-1\.5 { margin-top: 0.375rem !important; margin-bottom: 0.375rem !important; }
.my-2\.5 { margin-top: 0.625rem !important; margin-bottom: 0.625rem !important; }
.my-3\.5 { margin-top: 0.875rem !important; margin-bottom: 0.875rem !important; }

.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1\.5 { margin-top: 0.375rem !important; }
.mt-2\.5 { margin-top: 0.625rem !important; }
.mt-3\.5 { margin-top: 0.875rem !important; }
.mb-0\.5 { margin-bottom: 0.125rem !important; }
.mb-1\.5 { margin-bottom: 0.375rem !important; }
.mb-2\.5 { margin-bottom: 0.625rem !important; }
.mb-3\.5 { margin-bottom: 0.875rem !important; }
.ms-0\.5 { margin-left: 0.125rem !important; }
.ms-1\.5 { margin-left: 0.375rem !important; }
.ms-2\.5 { margin-left: 0.625rem !important; }
.ms-3\.5 { margin-left: 0.875rem !important; }
.me-0\.5 { margin-right: 0.125rem !important; }
.me-1\.5 { margin-right: 0.375rem !important; }
.me-2\.5 { margin-right: 0.625rem !important; }
.me-3\.5 { margin-right: 0.875rem !important; }

/* Base resets & typography */
body {
    background-color: var(--bg-slate);
    color: var(--text-body);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#vtech-dgnl-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-family: var(--font-main);
    font-weight: 700;
}

.text-navy {
    color: #0f172a !important;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-blue-hover);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar-custom {
    background-color: var(--navy-dark) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
}

.navbar-custom .navbar-brand img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-brand img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.navbar-custom .nav-link {
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.home-hero-section {
    position: relative;
    background: var(--gradient-hero);
    color: #ffffff;
    padding: 4.5rem 0 4rem;
    overflow: hidden;
}

.home-hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
    font-size: 2.85rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero-title .text-gradient-gold {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-sub {
    display: inline-block;
    font-size: 0.72em;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: -0.3px;
    margin-top: 4px;
    white-space: nowrap;
}

.hero-desc {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 620px;
}

/* Countdown Clock Widget */
.hero-countdown-box {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(10px);
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.countdown-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown-item {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
}

.countdown-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-lbl {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    margin-top: 4px;
}

/* CTA Buttons */
.btn-hero-primary {
    background: var(--gradient-blue);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.6);
}

.btn-hero-secondary {
    background: var(--gradient-amber);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(245, 158, 11, 0.5);
}

/* Hero Right Mockup Card */
.hero-mockup-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    color: #ffffff;
}

.mockup-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.mockup-slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.mockup-slot-item:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
}

/* Hero Stats Bar */
.hero-stats-bar {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.75rem 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   ECOSYSTEM SECTION
   ========================================================================== */
.ecosystem-section {
    padding: 5rem 0 4rem;
    background: #ffffff;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Ecosystem Cards */
.ecosystem-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ecosystem-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.ecosystem-card.featured {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.ecosystem-card.featured::before {
    content: 'TRỌNG TÂM LUYỆN THI';
    position: absolute;
    top: 14px;
    right: -32px;
    background: var(--gradient-blue);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 36px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.ecosystem-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ecosystem-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.ecosystem-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.ecosystem-icon.amber {
    background: #fef3c7;
    color: #d97706;
}

.ecosystem-icon.emerald {
    background: #d1fae5;
    color: #059669;
}

.ecosystem-icon.rose {
    background: #ffe4e6;
    color: #e11d48;
}

.ecosystem-icon.bca {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.ecosystem-icon.bqp {
    background: #ecfccb;
    color: #4d7c0f;
    border: 1px solid rgba(77, 124, 15, 0.2);
}

.ecosystem-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.ecosystem-badge-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.ecosystem-specs-box {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    margin: 1.25rem 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 4px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row strong {
    color: var(--text-heading);
}

/* ==========================================================================
   CORE FEATURES SECTION
   ========================================================================== */
.features-section {
    padding: 5rem 0;
    background: var(--bg-slate);
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    border-color: #bfdbfe;
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

/* Modern & Friendly Feature Cards */
.feature-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 1.6rem 1.6rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card-modern .card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.feature-card-modern.is-blue .card-top-bar {
    background: linear-gradient(90deg, #2563eb, #38bdf8);
}
.feature-card-modern.is-amber .card-top-bar {
    background: linear-gradient(90deg, #f59e0b, #ea580c);
}
.feature-card-modern.is-emerald .card-top-bar {
    background: linear-gradient(90deg, #10b981, #06b6d4);
}
.feature-card-modern.is-purple .card-top-bar {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.feature-card-modern:hover {
    transform: translateY(-7px);
}

.feature-card-modern.is-blue:hover {
    box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.18);
    border-color: #bfdbfe;
}
.feature-card-modern.is-amber:hover {
    box-shadow: 0 20px 35px -10px rgba(245, 158, 11, 0.20);
    border-color: #fde68a;
}
.feature-card-modern.is-emerald:hover {
    box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.18);
    border-color: #a7f3d0;
}
.feature-card-modern.is-purple:hover {
    box-shadow: 0 20px 35px -10px rgba(236, 72, 153, 0.18);
    border-color: #fbcfe8;
}

.feature-card-modern .card-header-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.15rem;
}

.feature-badge {
    font-size: 0.73rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
}

.feature-card-modern.is-blue .feature-badge {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}
.feature-card-modern.is-amber .feature-badge {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fef3c7;
}
.feature-card-modern.is-emerald .feature-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #d1fae5;
}
.feature-card-modern.is-purple .feature-badge {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fce7f3;
}

.feature-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.feature-card-modern:hover .feature-icon-box {
    transform: scale(1.08) rotate(3deg);
}

.feature-card-modern.is-blue .feature-icon-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.15);
}
.feature-card-modern.is-amber .feature-icon-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #d97706;
    box-shadow: 0 8px 18px rgba(217, 119, 6, 0.18);
}
.feature-card-modern.is-emerald .feature-icon-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.15);
}
.feature-card-modern.is-purple .feature-icon-box {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    color: #db2777;
    box-shadow: 0 8px 18px rgba(219, 39, 119, 0.15);
}

.feature-title {
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.6rem;
    letter-spacing: -0.2px;
}

.feature-desc {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    min-height: 40px;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.feature-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.84rem;
    color: #334155;
    margin-bottom: 0.65rem;
    line-height: 1.45;
}

.feature-points li i {
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-footer-tag {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   3-STEP PROCESS SECTION (JOURNEY STEPPER)
   ========================================================================== */
.process-section {
    padding: 5rem 0;
    background: #ffffff;
}

.process-step-card {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 2rem;
    position: relative;
    height: 100%;
}

.step-badge {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.process-journey-wrap {
    position: relative;
    margin-top: 2.5rem;
}

/* Connecting track line between 3 steps on desktop */
.journey-track-line {
    position: absolute;
    top: 50px;
    left: 17%;
    right: 17%;
    height: 3px;
    background: linear-gradient(90deg, #93c5fd 0%, #fde047 50%, #67e8f9 100%);
    border-radius: 3px;
    z-index: 1;
}

.track-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #64748b;
}

.track-arrow.arrow-1 {
    left: 33%;
}

.track-arrow.arrow-2 {
    left: 67%;
}

/* Journey Step Cards */
.journey-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 2rem 1.75rem 1.6rem;
    height: 100%;
    position: relative;
    z-index: 2;
    transition: all 0.32s ease;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.journey-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.journey-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.step-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.step-counter-pill .step-num {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.step-counter-pill .step-text {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    opacity: 0.9;
}

.step-counter-pill.amber {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
}

.step-counter-pill.cyan {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.28);
}

.step-time-chip {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

.journey-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.journey-card:hover .journey-icon-wrap {
    transform: scale(1.08) rotate(3deg);
}

.journey-step-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.65rem;
    letter-spacing: -0.3px;
}

.journey-step-desc {
    font-size: 0.87rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

.journey-step-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.journey-step-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.7rem;
    line-height: 1.45;
}

.journey-step-list li i {
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.journey-footer-action {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px dashed #e2e8f0;
}

.badge-free {
    font-size: 0.78rem;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

.badge-target {
    font-size: 0.78rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

.badge-result {
    font-size: 0.78rem;
    font-weight: 700;
    color: #0369a1;
    background: #e0f2fe;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
}

/* ==========================================================================
   EXAM LIST SECTION (HOME)
   ========================================================================== */
.exam-list-section {
    padding: 4.5rem 0;
    background: var(--bg-slate);
}

.exam-card-modern {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.exam-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
    border-color: #93c5fd;
}

.exam-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   FOOTER CHUYÊN SÂU TRANG CHỦ (SITE FOOTER)
   ========================================================================== */
.site-footer {
    background-color: var(--navy-dark);
    color: var(--text-light);
    padding-top: 4.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--accent-amber);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #94a3b8;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.85rem;
    color: #94a3b8;
}

.footer-contact-item i {
    color: #fbbf24;
    margin-top: 4px;
    font-size: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.25rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.trust-badge-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.75rem;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom {
    background-color: #060b18;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 0;
    margin-top: 3.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* ==========================================================================
   PWA INSTALL FLOATING BANNER
   ========================================================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 480px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 10px 16px;
    z-index: 1040;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    animation: pwaSlideUp 0.35s ease;
}

@keyframes pwaSlideUp {
    from { opacity: 0; transform: translate(-50%, 30px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ==========================================================================
   RESPONSIVE QUERIES (Mobile, Tablet, Desktop Optimization)
   ========================================================================== */
@media (max-width: 991px) {
    .home-hero-section {
        padding: 4.5rem 0 3.5rem;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-mockup-card {
        margin-top: 1.5rem;
    }
    .stat-item {
        border-right: none;
        margin-bottom: 0.75rem;
    }
    .hero-countdown-box {
        max-width: 100%;
    }
    .navbar-collapse {
        background: var(--navy-dark);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 767px) {
    .home-hero-section {
        padding: 3rem 0 2.25rem;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        text-align: center;
        line-height: 1.45;
        white-space: normal;
        margin-bottom: 1rem;
    }
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
        letter-spacing: -0.5px;
    }
    .hero-title-sub {
        font-size: 0.65em;
        letter-spacing: -0.4px;
        white-space: nowrap;
    }
    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    .hero-countdown-box {
        padding: 1rem 1.15rem;
        margin-bottom: 1.75rem;
    }
    .countdown-title {
        font-size: 0.78rem;
    }
    .countdown-grid {
        gap: 6px;
    }
    .countdown-item {
        padding: 8px 4px;
    }
    .countdown-num {
        font-size: 1.35rem;
    }
    .countdown-lbl {
        font-size: 0.7rem;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .hero-mockup-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        margin-top: 1.75rem;
    }
    .mockup-slot-item {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
    .hero-stats-bar {
        padding: 1.25rem 0;
    }
    .stat-number {
        font-size: 1.65rem;
    }
    .stat-label {
        font-size: 0.72rem;
        letter-spacing: 0.2px;
    }
    .ecosystem-section,
    .features-section,
    .process-section,
    .uni-section {
        padding: 3.5rem 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-subtitle {
        font-size: 0.92rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    .ecosystem-card {
        padding: 1.35rem 1.25rem;
        border-radius: 16px;
    }
    .ecosystem-icon {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }
    .ecosystem-title {
        font-size: 1.15rem;
    }
    .ecosystem-specs-box {
        padding: 0.75rem 0.85rem;
        margin: 1rem 0;
    }
    .spec-row {
        font-size: 0.82rem;
    }
    .feature-card,
    .process-step-card,
    .feature-card-modern,
    .journey-card {
        padding: 1.5rem 1.25rem;
        border-radius: 18px;
    }
    .uni-filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
    }
    .uni-filter-tabs::-webkit-scrollbar {
        display: none;
    }
    .uni-tab-btn {
        flex-shrink: 0;
        font-size: 0.82rem;
        padding: 7px 14px;
        white-space: nowrap;
    }
    .uni-card {
        padding: 1.1rem;
        border-radius: 14px;
    }
    .uni-title {
        font-size: 0.98rem;
    }
    .site-footer {
        padding-top: 2.75rem;
    }
    .footer-title {
        margin-top: 1rem;
    }
    .exam-modal-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
        max-height: 94vh;
    }
    .modal-spec-card {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.55rem;
    }
    .hero-title-sub {
        font-size: 0.62em;
        letter-spacing: -0.5px;
        white-space: nowrap;
    }
    .countdown-num {
        font-size: 1.2rem;
    }
    .pwa-install-banner {
        width: calc(100% - 20px);
        bottom: 74px;
        padding: 8px 12px;
    }
}

/* ==========================================================================
   EXAM DETAIL MODAL STYLES
   ========================================================================== */
.exam-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.exam-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.08);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-spec-card {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-spec-card .value {
    font-size: 0.95rem;
}

/* ==========================================================================
   PARTNER UNIVERSITIES & ACADEMIES SHOWCASE
   ========================================================================== */
.uni-section {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.uni-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.uni-tab-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.uni-tab-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.uni-tab-btn.active {
    background: var(--gradient-blue);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.uni-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    position: relative;
}

.uni-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.07);
    border-color: #94a3b8;
}

.uni-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
}

.uni-code-badge {
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

.uni-code-badge.vact {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.uni-code-badge.hsa {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fef08a;
}

.uni-code-badge.bca {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.uni-code-badge.bqp {
    background: #f7fee7;
    color: #3f6212;
    border: 1px solid #d9f99d;
}

.uni-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

.uni-method-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.82rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.uni-meta-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.65rem;
}

/* ==========================================================================
   COMPACT LIST & ACCORDION VIEW FOR UNIVERSITIES
   ========================================================================== */
.uni-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.5rem;
    width: 100%;
}

.uni-search-wrap {
    position: relative;
    flex-grow: 1;
    max-width: 480px;
}

.uni-search-input {
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    padding: 8px 18px 8px 40px;
    font-size: 0.88rem;
    width: 100%;
    background: #ffffff;
    transition: all 0.2s ease;
}

.uni-search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.uni-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.88rem;
}

.view-switcher {
    display: inline-flex;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 50px;
    gap: 2px;
}

.btn-view-mode {
    border: none;
    background: transparent;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-view-mode.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.uni-list-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
}

/* Tablet & Laptop/Desktop tiêu chuẩn (768px -> 1399px): 2 trường / dòng */
@media (min-width: 768px) {
    .uni-list-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Desktop màn hình rộng (≥ 1400px): 3 trường / dòng */
@media (min-width: 1400px) {
    .uni-list-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

.uni-list-item {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.uni-list-item:hover {
    border-color: #94a3b8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.uni-list-item.active {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.uni-list-header {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s ease;
    gap: 6px;
    min-height: 82px;
    justify-content: center;
}

.uni-list-header:hover {
    background: #f8fafc;
}

.uni-list-title {
    font-size: 0.92rem;
    color: #0f172a;
    line-height: 1.45;
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uni-toggle-btn {
    border-radius: 50px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.uni-toggle-btn:hover,
.uni-toggle-btn.active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.uni-list-body {
    background: #fcfdfe;
    border-top: 1px solid #f1f5f9;
    animation: accordionDown 0.25s ease;
}

@keyframes accordionDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.uni-expanded-content {
    padding: 12px 14px;
}

.uni-actions-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.btn-load-more {
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION & APP BOTTOM SHEET
   ========================================================================== */
html {
    scroll-padding-top: 72px;
    scroll-behavior: smooth;
}

.uni-section,
.ecosystem-section,
.features-section,
.process-section {
    scroll-margin-top: 72px;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 74px; /* Tránh che khuất nội dung bởi thanh bottom nav */
    }
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    z-index: 1040;
    padding-bottom: env(safe-area-inset-bottom, 0);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    padding: 6px 2px 4px 2px;
    gap: 3px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-icon {
    font-size: 1.15rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item:active,
.mobile-nav-item.active {
    color: #38bdf8;
}

.mobile-nav-item:hover .mobile-nav-icon,
.mobile-nav-item:active .mobile-nav-icon,
.mobile-nav-item.active .mobile-nav-icon {
    transform: translateY(-2px);
    color: #38bdf8;
}

/* User Offcanvas Bottom Sheet */
.mobile-user-sheet {
    background: #0f172a !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    height: auto !important;
    max-height: 85vh;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.sheet-drag-handle {
    width: 42px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    margin: 10px auto 4px auto;
}

.sheet-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sheet-action-item:hover,
.sheet-action-item:active {
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

.sheet-action-item i:first-child {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
}


/* ==========================================================================
   VTech.DGNL - GIAO DIỆN DANH SÁCH ĐỀ THI V-ACT (DOT-THI)
   Thiết kế thon gọn, sắc nét chuẩn EdTech hiện đại
   ========================================================================== */
.dot-thi-page {
    background: #f8fafc;
    min-height: calc(100vh - 140px);
    padding-top: 1.2rem;
    padding-bottom: 3rem;
}

/* 1. HERO HEADER THON GỌN */
.vact-hero-header {
    text-align: center;
    padding: 0.5rem 0 1.2rem;
}

.vact-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.vact-hero-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
    letter-spacing: -0.02em;
}

.vact-hero-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.8rem 0;
}

.vact-hero-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vact-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* 2. BANNER KÍCH HOẠT CHUNG (ACTIVATION ALERT BANNER) */
.vact-activation-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #ffedd5 100%);
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 14px;
    padding: 0.9rem 1.4rem;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.08);
}

.vact-activation-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vact-activation-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

.vact-activation-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #92400e;
    margin: 0;
}

.vact-activation-desc {
    font-size: 0.84rem;
    color: #78350f;
    margin: 0.15rem 0 0 0;
    line-height: 1.35;
}

.vact-activation-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .vact-activation-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 0.85rem 1rem;
    }

    .vact-activation-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .vact-hero-title {
        font-size: 1.35rem;
    }
}

/* 3. LƯỚI ĐỀ THI V-ACT (GRID TILES CARDS THON GỌN) */
.vact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.1rem;
}

.vact-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    border-top: 3.5px solid #0284c7;
    padding: 1.1rem 1.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
}

.vact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12);
    border-color: #cbd5e1;
}

.vact-card.is-unlocked {
    border-top-color: #10b981;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 40%);
}

.vact-card.is-locked {
    border-top-color: #94a3b8;
}

.vact-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.vact-card-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vact-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.2rem 0;
    line-height: 1.4;
}

.vact-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 0.4rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vact-card-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.35rem;
    min-height: 20px;
}

.vact-card-meta i {
    margin-right: 6px;
}

.vact-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.vact-btn-main {
    flex: 1;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vact-btn-main:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.vact-btn-secondary {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0 0.95rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569 !important;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vact-btn-secondary:hover {
    background: #f1f5f9;
    color: #1e293b !important;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.vact-btn-unlock-wallet {
    width: 100%;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
}

.vact-btn-unlock-wallet:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.vact-locked-status {
    width: 100%;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.82rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vact-locked-status:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.badge-pill-soft {
    border-radius: 50px;
    padding: 0.22rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
