/* DESIGN SYSTEM & STYLING CHO INTERACTIVE LONGFORM */

:root {
    /* Color Palette */
    --color-bg: #FAF7F2;
    /* Nền chính - Kem nhạt phong cách Financial Times */
    --color-primary: #0A3C30;
    /* Xanh lá đậm - Đồi chè Sơn La */
    --color-primary-light: #23584B;
    --color-accent: #FFD700;
    /* Vàng tươi sáng */
    --color-accent-light: #FFEA00;
    --color-tech: #007799;
    /* Xanh dương công nghệ - Chuyển đổi số */
    --color-tech-light: #33A2C4;
    --color-dark: #1E2522;
    /* Chữ chính và các khối tối */
    --color-text-muted: #55625D;
    /* Chữ phụ */
    --color-white: #FFFFFF;

    /* Fonts */
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Encode Sans', system-ui, -apple-system, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 60, 48, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 60, 48, 0.12);
    --shadow-lg: 0 16px 48px rgba(10, 60, 48, 0.16);
    --shadow-glass: 0 8px 32px 0 rgba(10, 60, 48, 0.2);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-dark);
    font-family: var(--font-serif);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Scroll Progress Bar */
#scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(10, 60, 48, 0.1);
    z-index: 9999;
}

#scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent), var(--color-tech));
    transition: width 0.1s ease-out;
}


/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 100px 20px;
    text-align: center;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 60, 48, 0.7) 0%,
            rgba(10, 60, 48, 0.5) 40%,
            rgba(250, 247, 242, 0.95) 90%,
            var(--color-bg) 100%);
    z-index: 2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: scale(1.05);
}

#hero-network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tag {
    font-family: var(--font-sans);
    color: var(--color-accent-light);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 6px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 45px;
}

.hero-title .title-line {
    display: block;
    text-shadow: 0 4px 15px rgb(255, 234, 0);
    opacity: 0;
    transform: translateY(30px);
}

.hero-title .title-line.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-title .title-line.highlight {
    font-size: 6.8rem;
    font-style: normal;
    color: var(--color-accent);
    display: inline-block;
    margin-top: 15px;
    letter-spacing: 1px;
    text-shadow: none;
}

/* Hero Flow Path Overlay */
.hero-flow-path {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.flow-step {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transform: scale(0.8);
}

.flow-step i {
    color: var(--color-accent-light);
}

.flow-step.reveal {
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
}

.flow-arrow.reveal {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Glassmorphism Sapo */
.sapo-container.glass-morphic {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(40px);
}

.sapo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--color-primary);
    text-align: justify;
}

.scroll-down-hint {
    color: var(--color-primary);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-top: 10px;
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Animations on Load */
.animate-on-load.reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* SCROLL INTRO SECTION */
.scroll-intro-section {
    padding: 100px 20px;
    background: var(--color-bg);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.intro-heading {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.intro-desc {
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.scroll-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.scroll-intro-card {
    background: var(--color-white);
    border: 1px solid rgba(10, 60, 48, 0.05);
    border-radius: 12px;
    padding: 35px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(50px);
}

.scroll-intro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(10, 60, 48, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.scroll-intro-card:hover .card-icon-wrapper {
    background: var(--color-primary);
}

.card-icon-wrapper i {
    font-size: 1.6rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.scroll-intro-card:hover .card-icon-wrapper i {
    color: var(--color-accent-light);
    transform: scale(1.1);
}

.scroll-intro-card h3 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.scroll-intro-card p {
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Intersection Observer Reveal Utility */
.reveal-item.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ARTICLE / CONTENT LAYOUT */
.magazine-section {
    padding: 0 0 80px 0;
}

.section-title-banner {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 80px;
    padding: 20px;
}

.terrace-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 215, 0, 0.15) 1px, transparent 0),
        radial-gradient(rgba(255, 215, 0, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.5;
    z-index: 1;
}

.digital-overlay-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 60, 48, 0) 95%, rgba(0, 119, 153, 0.2) 95%),
        linear-gradient(90deg, rgba(10, 60, 48, 0) 95%, rgba(0, 119, 153, 0.2) 95%);
    background-size: 40px 40px;
    z-index: 2;
}

.section-title-3d {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    color: var(--color-white);
    letter-spacing: 2px;
    line-height: 1.4;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px var(--color-accent),
        2px 2px 0px rgba(10, 60, 48, 0.9),
        3px 3px 6px rgba(0, 0, 0, 0.5);
    z-index: 5;
    max-width: 900px;
}

/* Tech / Digital Banner */
.tech-banner {
    background-color: #0b241e;
}

.tech-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 119, 153, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 119, 153, 0.05) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: 1;
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 119, 153, 0.3) 0%, transparent 70%);
    top: -50px;
    left: 10%;
    z-index: 2;
    animation: float-glow 8s infinite alternate;
}

@keyframes float-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

/* Trade / Map Banner */
.trade-banner {
    background-color: var(--color-primary-light);
}

.vietnam-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 24px 24px;
    opacity: 0.8;
    z-index: 1;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Article Body */
.article-body {
    max-width: 760px;
    margin: 0 auto 50px auto;
    padding: 0 10px;
}

.article-body p {
    font-size: 1.25rem;
    line-height: 1.85;
    color: var(--color-dark);
    margin-bottom: 28px;
    text-align: justify;
}

.article-body p::first-letter {
    font-size: 1.25rem;
}

/* Custom highlight for first paragraphs */
.article-body p:first-of-type {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--color-primary);
}

/* INTERACTIVE CONTAINERS - INFOGRAPHICS */
.interactive-container {
    background: var(--color-white);
    border: 1px solid rgba(10, 60, 48, 0.08);
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
    padding: 40px;
    margin: 60px auto;
    max-width: 1100px;
    position: relative;
    overflow: hidden;
}

.info-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-align: center;
}

.info-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    text-align: center;
}

/* INFOGRAPHIC 1: FLOW MOTION */
.flow-motion-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding: 40px 0;
    overflow-x: auto;
}

.flow-motion-line-bg {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 90%;
    height: 4px;
    background: #E2E8F0;
    z-index: 1;
    transform: translateY(-50%);
}

.flow-motion-active-pulse {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.5s ease;
}

.flow-motion-nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 5;
    min-width: 900px;
    padding: 0 5%;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100px;
}

.flow-node:hover {
    transform: translateY(-5px);
}

.flow-node .circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.flow-node .circle i {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.flow-node span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 15px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Flow node active state */
.flow-node.active .circle {
    border-color: var(--color-accent);
    background: var(--color-primary);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(176, 130, 78, 0.4);
}

.flow-node.active .circle i {
    color: var(--color-white);
}

.flow-node.active span {
    color: var(--color-primary);
    font-weight: 700;
}

.flow-info-panel {
    background: rgba(10, 60, 48, 0.03);
    border-left: 4px solid var(--color-accent);
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.flow-info-panel h4 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.flow-info-panel p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-dark);
    line-height: 1.7;
}

/* INFOGRAPHIC 2: NATRE CASE STUDY */
.natre-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.natre-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: rgba(10, 60, 48, 0.03);
    border: 1px solid rgba(10, 60, 48, 0.05);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-accent);
}

.stat-number {
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-left: 4px;
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.highlight-card {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.highlight-card .badge {
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.stat-label-large {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-accent-light);
}

/* Gallery stylings */
.natre-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 240px;
    box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 60, 48, 0.95), transparent);
    color: var(--color-white);
}

.gallery-caption h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-accent-light);
    margin-bottom: 4px;
}

.gallery-caption p {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    opacity: 0.9;
}

.gallery-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sub-gallery-item {
    position: relative;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.sub-item-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.sub-gallery-item:hover .sub-item-bg {
    transform: scale(1.08);
}

.sub-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 60, 48, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.sub-gallery-item:hover .sub-item-overlay {
    background: rgba(10, 60, 48, 0.7);
}

.sub-item-overlay span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    padding: 5px;
}

/* BEFORE / AFTER SLIDER */
.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    user-select: none;
}

.slider-before,
.slider-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slider-before {
    background: #E5E9E7;
    z-index: 10;
}

.slider-after {
    background: #11362D;
    z-index: 20;
    width: 50%;
    /* JS controlled */
    overflow: hidden;
}

.slider-content-box {
    min-width: 900px;
    /* Must equal parent wrapper max-width */
    padding: 50px 80px;
}

.slider-after .slider-content-box {
    color: var(--color-white);
}

.model-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.old-model {
    background: rgba(10, 60, 48, 0.1);
    color: var(--color-primary);
}

.new-model {
    background: var(--color-accent);
    color: var(--color-white);
}

.model-list {
    list-style: none;
}

.model-list li {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.model-list li i {
    font-size: 1.2rem;
}

.text-danger {
    color: #D32F2F;
}

.text-success {
    color: var(--color-accent-light);
}

.slider-divider {
    position: absolute;
    top: 0;
    left: 50%;
    /* JS controlled */
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    z-index: 30;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    border: 4px solid var(--color-white);
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: scale 0.2s ease;
}

.slider-divider:hover .slider-handle {
    scale: 1.1;
}

/* SECTION 2 - INFOGRAPHICS */
/* TIMELINE JOURNEY */
.journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 30px auto;
    padding: 20px 0;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 3px;
    height: 100%;
    background: rgba(0, 119, 153, 0.15);
}

.timeline-step {
    position: relative;
    margin-bottom: 30px;
    padding-left: 70px;
    cursor: pointer;
}

.step-marker {
    position: absolute;
    top: 2px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid rgba(0, 119, 153, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    z-index: 5;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-marker {
    border-color: var(--color-tech);
    color: var(--color-tech);
    scale: 1.1;
}

.timeline-step.active .step-marker {
    border-color: var(--color-tech);
    background: var(--color-tech);
    color: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 119, 153, 0.4);
    scale: 1.15;
}

.step-body {
    background: rgba(0, 119, 153, 0.02);
    border: 1px solid rgba(0, 119, 153, 0.05);
    padding: 18px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-body {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.timeline-step.active .step-body {
    background: var(--color-white);
    border-left: 4px solid var(--color-tech);
    box-shadow: var(--shadow-md);
}

.step-body h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.step-summary {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.journey-info-box {
    background: rgba(0, 119, 153, 0.04);
    border-left: 4px solid var(--color-tech);
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
    margin-top: 35px;
}

.journey-info-box h4 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--color-tech);
    margin-bottom: 8px;
}

.journey-info-box p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-dark);
}

/* PORTRAIT DASHBOARD */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.dashboard-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(10, 60, 48, 0.06) 0%, transparent 70%);
    padding: 40px;
}

.product-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 65%);
    z-index: 1;
}

.dashboard-product-img {
    position: relative;
    z-index: 2;
    max-width: 260px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(10, 60, 48, 0.25));
}

.hotspot {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.hotspot:hover {
    background: var(--color-primary);
    scale: 1.15;
}

.hotspot .ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.6;
    animation: hotspot-ping 2s infinite;
}

@keyframes hotspot-ping {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.dashboard-details {
    background: rgba(10, 60, 48, 0.02);
    border: 1px solid rgba(10, 60, 48, 0.05);
    border-radius: 12px;
    padding: 35px;
}

.details-nav {
    border-bottom: 2px solid rgba(10, 60, 48, 0.08);
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.active-tab {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    position: relative;
}

.active-tab::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

#dash-info-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

#dash-info-desc {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.dash-tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
}

.dash-tag {
    background: var(--color-white);
    border: 1px solid rgba(10, 60, 48, 0.06);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-tag i {
    font-size: 0.8rem;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.dash-tag:hover,
.dash-tag.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.dash-tag:hover i,
.dash-tag.active i {
    opacity: 1;
    color: var(--color-accent-light);
}

/* BRAND WHEEL BUILDER */
.brand-wheel-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.wheel-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.brand-wheel-svg {
    max-width: 350px;
    overflow: visible;
}

.wheel-node-segment {
    transition: all 0.5s ease;
}

.wheel-node-dot {
    fill: var(--color-white);
    stroke: rgba(10, 60, 48, 0.2);
    stroke-width: 3px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.wheel-node-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    fill: var(--color-primary);
    transition: all 0.4s ease;
    opacity: 0.8;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Active segment style controlled by JS */
.wheel-node-segment.active .wheel-node-dot {
    fill: var(--color-accent);
    stroke: var(--color-primary);
    stroke-width: 4px;
    r: 16;
}

.wheel-node-segment.active .wheel-node-label {
    fill: var(--color-accent);
    font-weight: 800;
    font-size: 14px;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.builder-description-box {
    background: rgba(10, 60, 48, 0.02);
    border: 1px solid rgba(10, 60, 48, 0.05);
    padding: 35px;
    border-radius: 12px;
}

.builder-description-box h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.builder-description-box p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 25px;
}

.builder-progress {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 10px;
    overflow: hidden;
}

.builder-progress-bar {
    width: 10%;
    /* JS controlled */
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    transition: width 0.4s ease;
}

/* SECTION 3 - INFOGRAPHICS */
/* MAP VIEW */
.map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.svg-map-container {
    display: flex;
    justify-content: center;
    background: radial-gradient(circle, rgba(10, 60, 48, 0.05) 0%, transparent 70%);
    padding: 20px;
}

.vietnam-svg {
    max-height: 480px;
    overflow: visible;
}

.vietnam-path {
    fill: #E5E9E7;
    stroke: var(--color-primary-light);
    stroke-width: 1.5;
    opacity: 0.8;
}

/* Map pins */
.map-marker-group {
    cursor: pointer;
}

.marker-glow-circle {
    fill: var(--color-accent);
    opacity: 0.3;
    animation: marker-glow 2.5s infinite;
}

@keyframes marker-glow {
    0% {
        r: 5;
        opacity: 0.4;
    }

    100% {
        r: 18;
        opacity: 0;
    }
}

.marker-dot {
    fill: var(--color-accent);
    stroke: var(--color-white);
    stroke-width: 2px;
    transition: all 0.3s ease;
}

.marker-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    fill: var(--color-primary);
    text-shadow: 0 1px 2px var(--color-white);
}

.map-marker-group:hover .marker-dot,
.map-marker-group.active .marker-dot {
    fill: var(--color-primary);
    r: 6;
}

.map-marker-group:hover .marker-glow-circle,
.map-marker-group.active .marker-glow-circle {
    fill: var(--color-primary);
}

/* Link Lines */
.map-link-line {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2px;
    stroke-dasharray: 6;
    opacity: 0;
    transition: all 0.5s ease;
}

.map-link-line.active {
    opacity: 0.7;
    animation: dash-move 3s linear infinite;
}

@keyframes dash-move {
    to {
        stroke-dashoffset: -40;
    }
}

.map-info-card {
    background: var(--color-white);
    border: 1px solid rgba(10, 60, 48, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.map-info-card h4 {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    border-left: 4px solid var(--color-accent);
    padding-left: 12px;
}

.map-city-body p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.map-city-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-city-stats span {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-city-stats span i {
    color: var(--color-accent);
}

/* ARROW JOURNEY */
.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 30px 10px;
}

.arrow-item {
    background: rgba(10, 60, 48, 0.04);
    border: 1px solid rgba(10, 60, 48, 0.06);
    padding: 10px 18px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    animation: item-bounce 3s infinite ease-in-out;
    animation-delay: var(--d);
}

@keyframes item-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
        background: rgba(10, 60, 48, 0.08);
        border-color: var(--color-accent);
    }
}

.arrow-item .step-num {
    font-size: 0.75rem;
    color: var(--color-accent);
    background: rgba(176, 130, 78, 0.1);
    padding: 2px 6px;
    border-radius: 2px;
}

.export-step {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: var(--color-white);
    border-color: var(--color-accent);
}

.export-step .step-num {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.4);
}

.arrow-sep {
    color: var(--color-accent);
    opacity: 0.5;
    animation: sep-flash 1.5s infinite;
}

@keyframes sep-flash {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* RADAR CHART */
.radar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.radar-chart-wrapper {
    display: flex;
    justify-content: center;
}

.radar-svg {
    max-width: 280px;
    overflow: visible;
}

.radar-grid-poly {
    fill: none;
    stroke: rgba(10, 60, 48, 0.08);
    stroke-width: 1px;
}

.radar-axis-line {
    stroke: rgba(10, 60, 48, 0.08);
    stroke-width: 1px;
}

.radar-area-poly {
    fill: rgba(176, 130, 78, 0.25);
    stroke: var(--color-accent);
    stroke-width: 3px;
    stroke-linejoin: round;
    transition: stroke-dashoffset 2s ease-out;
}

.radar-dot-point {
    fill: var(--color-accent);
    stroke: var(--color-white);
    stroke-width: 1.5px;
    transition: r 0.3s ease;
}

.radar-dot-point:hover {
    r: 7;
    fill: var(--color-primary);
}

.radar-label {
    font-family: var(--font-sans);
    font-size: 8px;
    font-weight: 600;
    fill: var(--color-text-muted);
}

.radar-desc {
    background: rgba(10, 60, 48, 0.02);
    border-left: 4px solid var(--color-accent);
    padding: 30px;
    border-radius: 0 8px 8px 0;
}

.radar-desc h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.radar-desc p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-dark);
    line-height: 1.7;
}

/* BLOCK NHẤN MẠNH (Quote Section) */
.quote-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 20px;
}

.quote-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 60, 48, 0.93) 0%, rgba(10, 60, 48, 0.85) 100%);
    z-index: 2;
}

.quote-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: scale(1.03);
}

.quote-content-container {
    position: relative;
    z-index: 5;
    max-width: 900px;
    text-align: center;
    color: var(--color-white);
}

.quote-box {
    padding: 40px;
}

.quote-icon {
    font-size: 3.5rem;
    color: var(--color-accent);
    margin-bottom: 30px;
    opacity: 0.8;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
    letter-spacing: 1.5px;
}

.quote-author {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent-light);
}

/* KẾT LUẬN (Closing Scene) */
.closing-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
    overflow: hidden;
    text-align: center;
}

.closing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.closing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(10, 60, 48, 0.98) 0%,
            rgba(10, 60, 48, 0.85) 50%,
            rgba(250, 247, 242, 0.95) 100%);
    z-index: 2;
}

.closing-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
}

.closing-title {
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--color-accent-light);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.closing-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 60px;
}

.result-icons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 800px;
    margin-bottom: 80px;
}

.result-icon-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.result-icon-item.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: calc(var(--delay) * 0.15s);
}

.result-icon-item i {
    color: var(--color-accent-light);
    font-size: 1.1rem;
}

.author-credits {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    width: 100%;
    max-width: 400px;
}

.author-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-accent-light);
    margin-bottom: 5px;
}

.publish-year {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-title .title-line.highlight {
        font-size: 4.5rem;
    }

    .natre-grid,
    .dashboard-wrapper,
    .brand-wheel-layout,
    .map-wrapper,
    .radar-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .slider-content-box {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title .title-line.highlight {
        font-size: 3rem;
    }

    .hero-flow-path {
        display: none;
        /* Hide complex flow path on small screens */
    }

    .sapo-container.glass-morphic {
        padding: 25px;
    }

    .sapo-text {
        font-size: 1.15rem;
    }

    .scroll-intro-grid {
        grid-template-columns: 1fr;
    }

    .slider-wrapper {
        height: auto;
    }

    .slider-before,
    .slider-after {
        position: relative;
        width: 100% !important;
        height: auto;
    }

    .slider-after {
        background: #11362D;
    }

    .slider-divider {
        display: none;
        /* Hide before-after handle on mobile, list stacked */
    }

    .slider-content-box {
        min-width: 100%;
        padding: 30px 20px;
    }

    .journey-timeline::before {
        left: 15px;
    }

    .timeline-step {
        padding-left: 45px;
    }

    .step-marker {
        left: 0;
        width: 28px;
        height: 28px;
    }

    .dash-tags-grid {
        grid-template-columns: 1fr;
    }

    .radar-svg {
        max-width: 250px;
    }

    .quote-text {
        font-size: 1.6rem;
    }

    .closing-title {
        font-size: 2rem;
    }

    .interactive-container {
        padding: 25px 15px;
    }

    .flow-motion-nodes {
        min-width: 750px;
    }
}