/* ===== DESIGN TOKENS (Warm Minimalism) ===== */
:root {
    /* Colors */
    --bg-primary: #FAF7F2;      /* Warm off-white */
    --bg-secondary: #F3EBE1;    /* Slightly darker warm tone */
    --text-primary: #2D2422;    /* Deep warm charcoal */
    --text-secondary: #6B5B56;  /* Soft grey/brown */
    --accent-color: #B4846C;    /* Terracotta / Earthy clay */
    --accent-hover: #9A6F5A;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== COMPONENTS ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--white);
}

.btn-text {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 14px 0;
}

.btn-text:hover {
    color: var(--accent-color);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--bg-secondary);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.badge-large {
    font-size: 1.8rem;
    padding: 10px 24px;
    letter-spacing: 1.5px;
    border-radius: 50px;
}

.highlight {
    color: var(--accent-color);
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #132A46; /* Nền xanh dương đậm (Trùng màu Mind trong Logo) */
    box-shadow: 0 4px 20px rgba(0,0,0,0.15); /* Đổ bóng nhẹ để tách biệt khỏi nội dung */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 24px; /* Khoảng cách cân đối với tỷ lệ x2 */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3rem; /* Tăng x2 từ 1.5rem */
    color: var(--white); /* Đổi tên thương hiệu thành màu trắng */
}

.logo-img {
    height: 84px; /* Tăng x2 từ 42px */
    width: 84px;  /* Tăng x2 từ 42px */
    object-fit: cover;
    border-radius: 12px; /* Khuôn vuông hơi bo nhẹ tương ứng với tỷ lệ x2 */
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8); /* Menu chữ trắng trong suốt */
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links .btn-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-links .btn-outline:hover {
    background-color: var(--white);
    color: #132A46;
}

.nav-links .btn-nav-accent {
    background: linear-gradient(135deg, #FFD685 0%, #F5BD4F 100%); /* Hiệu ứng chuyển màu gradient vàng sang trọng */
    color: #132A46;            /* Chữ màu xanh đậm tương phản tốt */
    border: none;
    font-weight: 700;          /* Tăng độ đậm để nổi bật */
    font-family: var(--font-heading);
    padding: 10px 22px;        /* Tăng kích thước nút cân đối hơn */
    font-size: 1rem;           /* Tăng font size một chút */
    box-shadow: 0 4px 18px rgba(245, 189, 79, 0.4); /* Bóng đổ sáng rõ ràng */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    animation: pulse-btn-nav 2.5s infinite; /* Tạo micro-animation nhấp nháy thu hút sự chú ý */
}

.nav-links .btn-nav-accent::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine-sweep-nav 4s infinite ease-in-out;
}

.nav-links .btn-nav-accent:hover {
    background: linear-gradient(135deg, #FFE09A 0%, #F5BD4F 100%);
    color: #132A46;
    transform: translateY(-2px) scale(1.05); /* Tăng nhẹ kích thước khi hover */
    box-shadow: 0 8px 25px rgba(245, 189, 79, 0.65);
}

.nav-links .btn-nav-accent:active {
    transform: translateY(0) scale(0.98);
}

/* Animations cho nút Đánh giá nhanh */
@keyframes pulse-btn-nav {
    0% {
        box-shadow: 0 4px 18px rgba(245, 189, 79, 0.4), 0 0 0 0 rgba(245, 189, 79, 0.45);
    }
    50% {
        box-shadow: 0 6px 22px rgba(245, 189, 79, 0.6), 0 0 0 10px rgba(245, 189, 79, 0);
    }
    100% {
        box-shadow: 0 4px 18px rgba(245, 189, 79, 0.4), 0 0 0 0 rgba(245, 189, 79, 0);
    }
}

@keyframes shine-sweep-nav {
    0% {
        left: -100%;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-visual {
    position: relative;
    height: 730px; /* Chiều cao điều chỉnh cân đối để nổi bật 2 hình ảnh F&B */
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Abstract Minimal Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), rgba(180, 132, 108, 0.2));
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    filter: blur(40px);
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    left: 50px;
    filter: blur(30px);
}

/* ===== SECTION GLOBALS ===== */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-header.center {
    margin: 0 auto 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== MARKET REALITY SECTION ===== */
.market-reality {
    background-color: var(--bg-secondary);
    padding: 100px 0;
}

.market-reality-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.reality-left {
    display: flex;
    flex-direction: column;
}

.reality-left h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.reality-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.reality-text strong {
    color: var(--accent-color);
}

.reality-image-wrapper {
    margin-top: 30px;
    background-color: var(--white);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.reality-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    display: block;
}

.img-caption {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 12px;
    text-align: center;
    font-style: italic;
}

/* Growth Chart Styles */
.chart-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(180, 132, 108, 0.08);
}

.chart-container .chart-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.chart-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Vertical Column Chart Layout */
.column-chart-wrapper {
    display: flex;
    height: 320px;
    position: relative;
    margin-bottom: 40px;
    gap: 16px;
    align-items: stretch;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: right;
    width: 32px;
    padding-bottom: 30px; /* Space for the X-axis labels */
    border-right: 1px solid rgba(45, 36, 34, 0.1);
    padding-right: 8px;
}

.column-chart-area {
    flex: 1;
    position: relative;
    height: 100%;
}

.chart-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 30px); /* Matches Y-axis label space */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

.grid-line {
    width: 100%;
    height: 1px;
    background-color: rgba(45, 36, 34, 0.06);
}

.columns-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    z-index: 2;
    position: relative;
}

.chart-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 14%;
    height: 100%;
    justify-content: flex-end;
}

.column-bar-wrapper {
    width: 100%;
    height: calc(100% - 30px); /* Reserve bottom space for X labels */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.column-bar {
    width: 100%;
    max-width: 38px;
    height: 0; /* Animated via CSS variable */
    animation: growUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease, box-shadow 0.3s ease;
}

.column-value {
    position: absolute;
    top: -26px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: transform 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.column-label {
    height: 30px;
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Colors & Gradients */
.bar-past {
    background: linear-gradient(to top, #4A5568, #718096);
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.15);
}

.bar-growth {
    background: linear-gradient(to top, #B4846C, #D8987D);
    box-shadow: 0 4px 15px rgba(180, 132, 108, 0.2);
}

.bar-peak {
    background: linear-gradient(to top, #DE7C5A, #F5BD4F);
    box-shadow: 0 4px 20px rgba(245, 189, 79, 0.35);
    border: 2px solid #F5BD4F;
    border-bottom: none;
}

.bar-peak .column-value {
    color: var(--accent-color);
    font-weight: 800;
}

.bar-projected {
    background: linear-gradient(to top, #9A6F5A, #B4846C);
    background-image: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.15) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0.15) 75%, 
        transparent 75%, 
        transparent);
    background-size: 15px 15px;
    animation: growUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, barStripes 2s linear infinite;
    box-shadow: 0 4px 15px rgba(180, 132, 108, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.4);
}

.bar-projected .column-value {
    font-style: italic;
    color: var(--text-secondary);
}

/* Hover effects */
.column-bar:hover {
    transform: translateY(-4px);
    filter: brightness(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.column-bar:hover .column-value {
    transform: translateY(-2px) scale(1.05);
    color: var(--text-primary);
}

/* Animations */
@keyframes growUp {
    from {
        height: 0;
    }
    to {
        height: var(--col-height);
    }
}

@keyframes barStripes {
    from { background-position: 0 0; }
    to { background-position: 30px 0; }
}

/* Sources section styling */
.chart-sources-container {
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 32px;
    border: 1px dashed rgba(180, 132, 108, 0.15);
}

.sources-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(180, 132, 108, 0.1);
    padding-bottom: 8px;
}

.sources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.source-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.source-year {
    background-color: var(--bg-secondary);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 44px;
    text-align: center;
}

.source-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.source-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-style: italic;
}

@media (max-width: 991px) {
    .market-reality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .column-chart-wrapper {
        height: 260px;
        gap: 8px;
    }
    .chart-y-axis {
        display: none; /* Hide Y-axis on narrow viewports to give more space */
    }
    .column-bar {
        max-width: 32px;
    }
    .column-value {
        font-size: 0.75rem;
        top: -22px;
    }
    .column-label {
        font-size: 0.75rem;
    }
    .sources-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .chart-container {
        padding: 24px;
    }
}

/* ===== PHILOSOPHY GRID ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(180, 132, 108, 0.08);
}

.card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-secondary);
    color: var(--accent-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Equation Box */
.golden-equation {
    margin-top: 80px;
    background-color: var(--text-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
}

.golden-equation h3 {
    color: var(--white);
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.equation-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.eq-item {
    background-color: rgba(255,255,255,0.1);
    padding: 15px 30px;
    border-radius: var(--radius-sm);
}

.eq-item.accent {
    color: var(--accent-color);
    background-color: rgba(180, 132, 108, 0.1);
}

.eq-item.highlight-box {
    background-color: var(--accent-color);
    color: var(--white);
}

.eq-operator {
    color: rgba(255,255,255,0.4);
}

.equation-desc {
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TRANSFORMATION ===== */
.transformation {
    background-color: var(--bg-secondary);
}

.transformation-flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.transform-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    gap: 40px;
}

.t-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.2;
}

.t-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.t-content p {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 12px;
}

.footer-contact p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
}

.subscribe-form {
    display: flex;
    gap: 12px;
}

.subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    font-family: var(--font-body);
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-models-layout {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.hero-model-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-model-card .model-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.hero-model-card:hover .model-img {
    transform: scale(1.03);
}

/* ===== EX ASSESSMENT SECTION ===== */
.assessment-section {
    background-color: var(--bg-secondary);
}

.assessment-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(180, 132, 108, 0.1);
    position: relative;
    overflow: hidden;
}

.assessment-progress {
    height: 6px;
    background-color: var(--bg-secondary);
    border-radius: 3px;
    margin-bottom: 24px;
    width: 100%;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-color);
    width: 20%;
    transition: width 0.4s ease;
}

.step-counter {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.quiz-step.active {
    display: block;
}

.question-text {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quiz-opt-btn {
    background-color: var(--bg-primary);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    text-align: left;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.quiz-opt-btn:hover {
    background-color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(180, 132, 108, 0.1);
    transform: translateY(-2px);
}

/* Result styles */
.result-box {
    text-align: center;
    padding: 20px 0;
}

.score-display {
    margin-bottom: 32px;
}

.score-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 8px solid var(--bg-secondary);
    border-top-color: var(--accent-color);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.score-ring span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

#result-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.result-feedback {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--bg-primary);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    text-align: left;
}

.result-cta {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 32px;
}

.result-cta p {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.quiz-subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.quiz-subscribe-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid var(--accent-color);
    background-color: var(--white);
    font-family: var(--font-body);
    outline: none;
}

/* ===== CHATBOT WIDGET SIMULATOR ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

.chat-trigger {
    background-color: #132A46;
    color: var(--white);
    border: none;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(19, 42, 70, 0.3);
    transition: var(--transition);
    position: relative;
}

.chat-trigger:hover {
    transform: scale(1.05) translateY(-2px);
    background-color: #1a3c63;
}

.chat-icon {
    font-size: 24px;
}

.chat-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
    white-space: nowrap;
    border: 2px solid var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 380px;
    height: 520px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(19, 42, 70, 0.08);
}

.chat-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background-color: #132A46;
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url('images/logo.png');
    background-size: cover;
    background-position: center;
    background-color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
}

.chat-header-info h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.chat-status {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.chat-close:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    max-width: 85%;
    line-height: 1.4;
    animation: messageReveal 0.3s ease forwards;
}

.chat-message.bot {
    background-color: var(--white);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.chat-message.user {
    background-color: var(--accent-color);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-suggestions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.chat-suggest-btn {
    background-color: var(--white);
    border: 1px solid rgba(19, 42, 70, 0.1);
    color: #132A46;
    padding: 12px 16px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.chat-suggest-btn:hover {
    background-color: #132A46;
    color: var(--white);
    border-color: #132A46;
    transform: translateX(4px);
}

.chat-footer {
    padding: 15px 20px;
    background-color: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.chat-input-form {
    display: flex;
    gap: 10px;
}

.chat-input-form input {
    flex: 1;
    border: 1px solid var(--bg-secondary);
    padding: 12px 16px;
    border-radius: 30px;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background-color: var(--bg-primary);
}

.chat-send-btn {
    background-color: #132A46;
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0.5;
}

.chat-send-btn.active {
    opacity: 1;
}

/* Typing animation */
.typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes messageReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== NEW STYLES FOR CORE UPDATES ===== */

/* Hero Stats Panel */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0 40px;
    border-top: 1px solid rgba(180, 132, 108, 0.2);
    border-bottom: 1px solid rgba(180, 132, 108, 0.2);
    padding: 24px 0;
    text-align: left;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-source {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* Australia vs Vietnam Contrast Showcase */
.service-contrast {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    text-align: left;
}

.service-contrast .contrast-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.service-contrast .contrast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(19, 42, 70, 0.05);
}

.contrast-img-wrapper {
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.contrast-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contrast-card:hover .contrast-img-wrapper img {
    transform: scale(1.03);
}

.contrast-badge-text {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(19, 42, 70, 0.9);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
}

.contrast-badge-text.alert-badge {
    background: rgba(180, 132, 108, 0.9);
}

.contrast-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contrast-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Card Icon font-large update */
.card-icon.font-large {
    width: auto;
    height: auto;
    padding: 8px 16px;
    min-width: 80px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    display: inline-flex;
    border-radius: var(--radius-sm);
    justify-content: center;
    align-items: center;
}

/* Equation Breakdown Details */
.equation-breakdown {
    margin-top: 50px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.breakdown-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.breakdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(180, 132, 108, 0.3);
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.breakdown-term {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.breakdown-author {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.breakdown-body {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.breakdown-body ul {
    margin-top: 12px;
    padding-left: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.breakdown-body li {
    margin-bottom: 4px;
    list-style-type: square;
    color: rgba(255, 255, 255, 0.7);
}

.breakdown-body li strong {
    color: var(--accent-color);
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
    .breakdown-body ul {
        grid-template-columns: 1fr;
    }
    .service-contrast {
        grid-template-columns: 1fr;
    }
    .contrast-img-wrapper {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        height: auto;
    }
    .hero-models-layout {
        grid-template-rows: auto auto;
        gap: 16px;
        height: auto;
    }
    .hero-model-card {
        height: 350px; /* Chiều cao điều chỉnh trên mobile để giữ tỉ lệ hiển thị cân đối */
    }
    .hero-container, .footer-container {
        grid-template-columns: 1fr;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .assessment-card {
        padding: 30px 20px;
    }
    .question-text {
        font-size: 1.3rem;
    }
    .quiz-subscribe-form {
        flex-direction: column;
    }
    .quiz-subscribe-form input {
        border-radius: var(--radius-sm);
    }
    .quiz-subscribe-form button {
        border-radius: var(--radius-sm);
    }
    .chat-window {
        width: 320px;
        height: 450px;
        right: -10px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
