@import url('https://fonts.googleapis.com/css2?family=Encode+Sans:wght@300;400;600;700&display=swap');

:root {
    --primary-orange: #ff6a00;
    /* VnBusiness Orange vibe */
    --accent-gray: #2d3436;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --font-main: 'Encode Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

h1 {
    font-size: 40px;
    line-height: 1.2;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--text-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 32px;
    border-left: 4px solid var(--primary-orange);
    padding-left: 16px;
    margin-bottom: 32px;
}

p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary-orange);
    font-weight: 700;
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    min-height: auto;
    /* Allow auto height */
}

/* Components */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-orange);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-orange);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.big-stat {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

/* Hero Section */
.hero {
    min-height: 600px;
    /* Replaced vh with fixed pixel height as requested for iframe embedding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-stat-huge {
    font-size: 120px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-orange);
    opacity: 0.8;
    line-height: 1;
    margin: 20px 0;
}

/* SVG Graphics */
.graphic-container {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

svg {
    max-width: 100%;
    height: auto;
    overflow: visible;
}

.path-draw {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease-out;
}

.path-draw.active {
    stroke-dashoffset: 0;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Lists */
.custom-list {
    list-style: none;
}

.custom-list li {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.custom-list li:last-child {
    border-bottom: none;
}

.custom-list strong {
    color: var(--primary-orange);
    font-size: 24px;
}

/* Map/Chart Specifics */
.region-card {
    text-align: center;
}

.region-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    .hero-stat-huge {
        font-size: 80px;
    }

    .big-stat {
        font-size: 40px;
    }

    section {
        padding: 40px 0;
    }

    .card {
        padding: 20px;
    }
}