:root {
    --primary: #d4af37;
    --primary-light: #f9f1d8;
    --primary-dark: #aa8822;
    --bg-main: #061930;
    /* Xanh thẫm sang trọng */
    --bg-card: #0d2342;
    --bg-card-hover: #13315a;
    --text-main: #f8f9fa;
    --text-muted: #94a3b8;
    --border: #1c3b68;
    --red: #ef4444;
    --green: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

section.container {
    padding-top: 100px;
    padding-bottom: 100px;
}

section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero */
.hero {
    padding: 100px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at top, #13315a 0%, var(--bg-main) 70%);
    border-bottom: 1px solid var(--border);
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.3;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    color: var(--primary);
}

.hero .sapo {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Titles */
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title svg {
    stroke: var(--primary);
    width: 32px;
    height: 32px;
}

.section-title span {
    color: var(--text-main);
    font-weight: 400;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: 0.4s;
}

.card:hover::before {
    opacity: 1;
}

.card.highlight {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), var(--bg-card));
}

.card.highlight::before {
    opacity: 1;
    height: 4px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.card-bg-svg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 140px;
    height: 140px;
    opacity: 0.025;
    pointer-events: none;
    color: var(--primary);
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: inherit;
}

.card h3 svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.card .val-main {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.card .val-sub {
    font-size: 14px;
    color: var(--text-muted);
}

/* Bar chart */
.bar-chart {
    margin-top: 20px;
}

.bar-item {
    margin-bottom: 15px;
}

.bar-item:last-child {
    margin-bottom: 0;
}

.bar-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.bar-info .b-name {
    font-weight: 600;
    color: var(--text-main);
}

.bar-info .b-val {
    font-weight: 700;
    color: var(--primary);
}

.bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #aa8822, #d4af37);
    width: 0;
    border-radius: 10px;
    transition: width 1.5s ease-out;
}

/* Compare card */
.comp-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.comp-row .c-label {
    color: var(--text-muted);
    font-size: 14px;
}

.comp-row .c-val {
    font-weight: 700;
    font-size: 18px;
}

.c-val.red {
    color: var(--red);
}

.c-val.green {
    color: var(--green);
}

.comp-arrow {
    text-align: center;
    color: var(--border);
    line-height: 0;
    padding: 4px 0;
}

/* List */
.data-list {
    list-style: none;
}

.data-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.data-list li:last-child {
    border-bottom: none;
}

.data-list .l-name {
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-list .l-name::before {
    content: url('data:image/svg+xml;utf8,<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23d4af37" stroke-width="3" xmlns="http://www.w3.org/2000/svg"><path d="M20 6L9 17l-5-5"/></svg>');
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.data-list .l-val {
    color: var(--primary);
    font-weight: 600;
}

/* Expandable */
.expand-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease-out, opacity 0.4s ease, margin 0.4s ease;
}

.expand-content.open {
    max-height: 2500px;
    opacity: 1;
    margin-top: 24px;
}

.btn-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px auto 0;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-toggle:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-toggle svg {
    transition: transform 0.3s;
}

.btn-toggle.open svg {
    transform: rotate(180deg);
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* AI Image Cover */
.ai-image-wrap {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.ai-image-wrap img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .card .val-main {
        font-size: 28px;
    }
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px dashed var(--border);
    margin-top: 60px;
}

footer p {
    color: var(--text-muted);
    font-size: 14px;
}