/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
    --primary-green: #0A3622;      /* Deep agricultural green */
    --green-medium: #14532D;       /* Medium green for accents */
    --green-light: #F0FDF4;        /* Soft mint tint for light background elements */
    --accent-gold: #D4AF37;       /* Metallic gold */
    --gold-dark: #A37F14;          /* Darker gold for readability on light bg */
    --gold-light: #FEF9C3;         /* Soft light gold tint */
    --bg-cream: #FAF8F5;           /* Premium reading paper color */
    --bg-dark: #071911;            /* Dark immersive green/black background */
    --text-dark: #1E293B;          /* Main text readability color */
    --text-muted: #64748B;         /* Secondary text */
    --text-light: #F8FAFC;         /* Light text for dark sections */
    
    --serif-font: 'Merriweather', Georgia, serif;
    --sans-font: 'Inter', -apple-system, sans-serif;
    
    --max-content-width: 800px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--sans-font);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--serif-font);
    font-weight: 700;
    line-height: 1.3;
}

p {
    font-family: var(--serif-font);
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
    text-align: justify;
}

/* Dropcap for beautiful starts */
.dropcap::first-letter {
    font-family: var(--serif-font);
    font-size: 4.5rem;
    float: left;
    margin-top: 0.1rem;
    margin-right: 0.75rem;
    line-height: 0.85;
    font-weight: 700;
    color: var(--primary-green);
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, var(--gold-light), #ffffff);
}

/* ==========================================================================
   LAYOUT STRUCTURE
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 4rem 0;
}

/* ==========================================================================
   COVER PAGE (HERO - Hiển thị 100% ảnh herobanner nguyên bản)
   ========================================================================== */
.cover {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;
    border-bottom: 3px solid var(--accent-gold);
    background: none;
    overflow: hidden;
}

.cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   ARTICLE SECTIONS & TÍT XEN (SECTION HEADERS)
   ========================================================================== */
.section-divider {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0;
    position: relative;
    border-top: 2px solid var(--accent-gold);
    border-bottom: 2px solid var(--accent-gold);
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.25;
}

.section-header {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-num {
    font-family: var(--sans-font);
    font-size: 1.05rem;
    color: var(--accent-gold);
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-deco {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.section-deco svg {
    opacity: 0.85;
}

/* ==========================================================================
   VISUAL & QUOTE BLOCKS
   ========================================================================== */
.opening-visual {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-quote-overlay {
    background: rgba(7, 25, 17, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 3rem;
    max-width: 800px;
    width: 85%;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.visual-quote-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

.visual-quote-overlay blockquote {
    font-family: var(--serif-font);
    font-size: clamp(1.15rem, 1.8vw, 1.6rem);
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.visual-quote-overlay blockquote::before {
    content: "“";
    font-size: 3.5rem;
    color: var(--accent-gold);
    line-height: 0;
    vertical-align: -1.2rem;
    margin-right: 0.5rem;
}

/* ==========================================================================
   INFOGRAPHICS LAYOUT
   ========================================================================== */
.infographic-wrapper {
    width: 100%;
    background: var(--bg-dark);
    padding: 5rem 0;
    color: var(--text-light);
    overflow: hidden;
    margin: 4rem 0;
}

.infographic-wrapper.light {
    background: var(--green-light);
    color: var(--text-dark);
    border-top: 1px solid rgba(10, 54, 34, 0.1);
    border-bottom: 1px solid rgba(10, 54, 34, 0.1);
}

.info-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.info-tag {
    font-family: var(--sans-font);
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 0.5rem;
}

.info-header h3 {
    font-size: 1.65rem;
    max-width: 750px;
    margin: 0 auto;
    font-family: var(--serif-font);
}

.infographic-wrapper.light .info-header h3 {
    color: var(--primary-green);
}

.infographic-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 1: FLOWCHART (SOLVING MANH MUN)
   -------------------------------------------------------------------------- */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.flowchart-step {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.flowchart-step.active {
    transform: translateY(0);
    opacity: 1;
}

.step-before {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.step-after {
    background: rgba(10, 54, 34, 0.9);
    border: 1px solid var(--accent-gold);
}

.step-result {
    background: linear-gradient(135deg, var(--accent-gold), #b38f1b);
    color: var(--bg-dark);
}

.step-title {
    font-family: var(--sans-font);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-before .step-title {
    color: #f1f5f9;
}

.step-after .step-title {
    color: var(--accent-gold);
}

.step-result .step-title {
    color: var(--bg-dark);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--sans-font);
    font-size: 0.95rem;
}

.step-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

.step-before .step-item-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.step-after .step-item-icon {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
}

.step-result .step-item-icon {
    background: rgba(7, 25, 17, 0.15);
    color: var(--primary-green);
}

.flowchart-arrow {
    display: flex;
    justify-content: center;
    height: 40px;
    align-items: center;
}

.flowchart-arrow svg {
    stroke: var(--accent-gold);
    stroke-dasharray: 6;
    animation: flowDash 2s linear infinite;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 2: VALUE CHAIN (MULBERRY) - Tránh lệch bằng CSS line
   -------------------------------------------------------------------------- */
.value-chain-wrapper {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.value-chain {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 10px;
}

/* Đường nối dọc thông minh bằng CSS, triệt tiêu lỗi lệch do SVG */
.value-chain::before {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: 53px; /* Khớp chính giữa vòng tròn số (node-num) */
    width: 2px;
    border-left: 2px dashed rgba(212, 175, 55, 0.35);
    z-index: 1;
}

.value-chain-node {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateX(-30px);
    position: relative;
    z-index: 2;
}

.value-chain-node.active {
    opacity: 1;
    transform: translateX(0);
}

.value-chain-node:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.node-num {
    font-family: var(--sans-font);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-right: 1.5rem;
    width: 38px;
    height: 38px;
    background: var(--bg-dark);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 3;
}

.node-content h4 {
    font-family: var(--sans-font);
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 0.15rem;
}

.node-content p {
    font-family: var(--sans-font);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Node nổi bật */
.value-chain-node.highlight {
    background: rgba(10, 54, 34, 0.75);
    border: 1.5px solid var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.12);
}

.value-chain-node.highlight .node-num {
    border-color: var(--accent-gold);
    background: var(--primary-green);
}

.value-chain-node.highlight .node-content h4 {
    color: var(--accent-gold);
}

/* Box highlight kế bên */
.highlight-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    position: sticky;
    top: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.highlight-box-title {
    font-family: var(--sans-font);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 0.75rem;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.highlight-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-icon {
    font-size: 1.3rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-top: 0.1rem;
}

.highlight-text h5 {
    font-family: var(--sans-font);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.highlight-text p {
    font-family: var(--sans-font);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 3: DASHBOARD (ỚT & DƯA CHUỘT)
   -------------------------------------------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dashboard-card {
    background: var(--bg-cream);
    border: 1px solid rgba(10, 54, 34, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: scale(0.95);
}

.dashboard-card.active {
    opacity: 1;
    transform: scale(1);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 54, 34, 0.08);
    border-color: var(--accent-gold);
}

.card-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--green-light);
    color: var(--primary-green);
    border-radius: 50px;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(10, 54, 34, 0.1);
}

.card-data-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.data-number-block {
    flex-shrink: 0;
    min-width: 140px;
}

.data-number {
    font-family: var(--sans-font);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.data-number.gold {
    color: var(--gold-dark);
}

.data-unit {
    font-family: var(--sans-font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    display: block;
    margin-top: 0.2rem;
}

.data-desc {
    font-family: var(--sans-font);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.dashboard-card-divider {
    height: 1px;
    background: rgba(10, 54, 34, 0.08);
    margin: 1.5rem 0;
    position: relative;
}

.dashboard-card-divider::after {
    content: '↓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-cream);
    padding: 0 0.5rem;
    color: var(--accent-gold);
    font-weight: bold;
}

.card-foot-note {
    font-family: var(--sans-font);
    font-size: 0.95rem;
    color: var(--primary-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.card-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-family: var(--sans-font);
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.card-list-item span {
    font-size: 1.2rem;
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 4: TÂN HÒA GROWTH
   -------------------------------------------------------------------------- */
.revenue-growth {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 3rem;
}

.growth-profile {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold), #b38f1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.profile-info h4 {
    font-family: var(--sans-font);
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 0.2rem;
}

.profile-info .subtitle {
    font-family: var(--sans-font);
    font-size: 0.95rem;
    color: var(--text-light);
}

.profile-info .badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--accent-gold);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-top: 0.4rem;
}

.growth-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bar-label-container {
    display: flex;
    justify-content: space-between;
    font-family: var(--sans-font);
    font-size: 0.95rem;
    font-weight: 500;
}

.bar-track {
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(to right, var(--primary-green), var(--accent-gold));
    width: 0%;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-row.active .bar-fill.w-20 { width: 20%; }
.bar-row.active .bar-fill.w-50 { width: 50%; }
.bar-row.active .bar-fill.w-100 { width: 100%; }

.bar-value {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
}

.growth-message-box {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.growth-message {
    font-family: var(--sans-font);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--text-light);
}

.growth-message span {
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 5: PASSPORT GRAPHIC
   -------------------------------------------------------------------------- */
.passport-visual {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    max-width: 950px;
    margin: 0 auto;
    background: var(--bg-cream);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(10, 54, 34, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.passport-visual.active {
    opacity: 1;
    transform: translateY(0);
}

.passport-cover {
    background: linear-gradient(135deg, var(--primary-green), #04180f);
    padding: 4rem 2rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1.5px solid var(--accent-gold);
}

.passport-emblem {
    width: 90px;
    height: 90px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    font-size: 2.5rem;
    animation: rotateEmblem 20s linear infinite;
}

.passport-cover h4 {
    font-family: var(--sans-font);
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.passport-cover p {
    font-family: var(--sans-font);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0;
}

.passport-body {
    padding: 3rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.passport-visa-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.visa-stamp {
    border: 2px dashed rgba(163, 127, 20, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.visa-stamp:hover {
    border-color: var(--gold-dark);
    background: var(--gold-light);
    transform: rotate(-2deg) scale(1.05);
}

.passport-arrow {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    font-size: 1.3rem;
    color: var(--accent-gold);
}

.passport-output {
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.output-tag {
    flex: 1;
    background: var(--green-light);
    color: var(--primary-green);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(10, 54, 34, 0.08);
}

/* --------------------------------------------------------------------------
   INFOGRAPHIC 6: ECOSYSTEM CIRCLE - Hỗ trợ Responsive hoàn hảo bằng Grid
   -------------------------------------------------------------------------- */
.ecosystem-graphic {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.ecosystem-graphic.active {
    opacity: 1;
    transform: scale(1);
}

.eco-center {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, var(--accent-gold), #b38f1b);
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
    border: 4px solid var(--bg-dark);
    flex-shrink: 0;
}

.eco-center h4 {
    font-family: var(--sans-font);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.eco-ring-outer {
    position: absolute;
    width: 480px;
    height: 480px;
    border: 2px dashed rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: rotateOuterRing 40s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-text-ring {
    position: absolute;
    width: 580px;
    height: 580px;
    border-radius: 50%;
    animation: rotateOuterRing 60s linear infinite reverse;
}

.eco-text-path {
    font-family: var(--sans-font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    fill: var(--accent-gold);
    text-transform: uppercase;
}

.eco-node {
    position: absolute;
    width: 110px;
    height: 110px;
    background: rgba(7, 25, 17, 0.95);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-align: center;
    z-index: 3;
    transition: var(--transition-smooth);
}

.eco-node:hover {
    background: var(--primary-green);
    border-color: var(--accent-gold);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(10, 54, 34, 0.5);
    cursor: pointer;
}

.node-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--accent-gold);
}

.eco-node h5 {
    font-family: var(--sans-font);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.25;
}

/* Vị trí 6 node xung quanh vòng tròn bán kính 240px */
.eco-node:nth-child(4) { top: 45px; left: 245px; }    /* Top */
.eco-node:nth-child(5) { top: 140px; right: 65px; }   /* Top Right */
.eco-node:nth-child(6) { bottom: 140px; right: 65px; } /* Bottom Right */
.eco-node:nth-child(7) { bottom: 45px; left: 245px; }  /* Bottom */
.eco-node:nth-child(8) { bottom: 140px; left: 65px; }  /* Bottom Left */
.eco-node:nth-child(9) { top: 140px; left: 65px; }    /* Top Left */

/* SVG connection lines */
.ecosystem-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.ecosystem-svg line {
    stroke: rgba(212, 175, 55, 0.18);
    stroke-width: 1.5;
    stroke-dasharray: 4;
}

/* ==========================================================================
   CONCLUSION & FOOTER
   ========================================================================== */
.conclusion-visual {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 380px;
    background-image: linear-gradient(to bottom, rgba(10, 54, 34, 0.15), rgba(7, 25, 17, 0.88)), url('images/future_agriculture.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conclusion-quote-clean {
    text-align: center;
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.conclusion-quote-clean blockquote {
    font-family: var(--serif-font);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-style: italic;
    color: var(--primary-green);
    line-height: 1.8;
}

.conclusion-quote-clean blockquote::before {
    content: "“";
    font-size: 4.5rem;
    color: var(--accent-gold);
    display: block;
    line-height: 0;
    margin-bottom: 1.5rem;
}

.conclusion-quote {
    max-width: 900px;
    width: 90%;
    text-align: center;
    padding: 0 2rem;
    z-index: 5;
}

.conclusion-quote blockquote {
    font-family: var(--serif-font);
    font-size: clamp(1.2rem, 2.3vw, 1.8rem);
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.conclusion-quote blockquote::before {
    content: "“";
    font-size: 4.5rem;
    color: var(--accent-gold);
    display: block;
    line-height: 0;
    margin-bottom: 1rem;
}

.conclusion-message-box {
    background: var(--primary-green);
    border: 1px solid var(--accent-gold);
    padding: 2.5rem;
    border-radius: 12px;
    color: var(--text-light);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.conclusion-message-box p {
    font-family: var(--serif-font);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Tác giả căn giữa có dòng trang trí */
.author-signature-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.author-signature {
    text-align: center;
    margin: 4rem auto 2rem auto;
    font-family: var(--sans-font);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-green);
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

.author-signature::before, .author-signature::after {
    content: '';
    position: absolute;
    top: 52%;
    width: 40px;
    height: 1.5px;
    background: var(--accent-gold);
}

.author-signature::before {
    right: 120%;
}

.author-signature::after {
    left: 120%;
}

.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 3rem 0;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ==========================================================================
   ANIMATIONS & SCROLL-TRIGGERED FX
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes pulseArrow {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(5px); opacity: 1; }
}

@keyframes flowDash {
    to { stroke-dashoffset: -12; }
}

@keyframes rotateEmblem {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateOuterRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .value-chain-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .value-chain {
        padding-left: 0;
    }
    .value-chain::before {
        left: 41px; /* Căn giữa chính xác với tâm vòng tròn số trên máy tính bảng */
    }
    .node-num {
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }
    .highlight-box {
        position: static;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 2.5rem 0;
    }
    p {
        font-size: 1.05rem;
        text-align: left;
    }
    
    /* Flowchart & Grid elements */
    .step-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .growth-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .passport-visual {
        grid-template-columns: 1fr;
    }
    .passport-cover {
        border-right: none;
        border-bottom: 1.5px solid var(--accent-gold);
        padding: 3rem 2rem;
    }
    .passport-body {
        padding: 2rem;
    }
    .passport-output {
        flex-direction: column;
    }
    
    /* --------------------------------------------------------------------------
       CRITICAL RESPONSIVE FOR INFOGRAPHIC 6: ECOSYSTEM
       Chuyển sơ đồ tròn sang dạng Grid an toàn tuyệt đối, tránh đè chữ, lệch và tràn
       -------------------------------------------------------------------------- */
    .ecosystem-graphic {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem 0;
        opacity: 1; /* Reset opacity để luôn thấy trên mobile */
        transform: none !important;
    }
    
    .ecosystem-svg, 
    .eco-ring-outer, 
    .eco-text-ring {
        display: none !important; /* Ẩn toàn bộ SVG và vòng quay trên mobile */
    }
    
    .eco-center {
        grid-column: span 2;
        margin: 0 auto 1.5rem auto;
        width: 110px;
        height: 110px;
        font-size: 1rem;
        position: static;
        transform: none !important;
    }
    
    .eco-node {
        position: static !important; /* Hủy bỏ định vị tuyệt đối */
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(212, 175, 55, 0.25) !important;
        padding: 1.2rem 0.8rem !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .eco-node:hover {
        background: rgba(10, 54, 34, 0.6) !important;
        border-color: var(--accent-gold) !important;
    }
    
    .node-icon {
        font-size: 1.4rem;
    }
    
    .eco-node h5 {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    .ecosystem-graphic {
        grid-template-columns: 1fr; /* 1 cột trên điện thoại rất nhỏ */
    }
    
    .eco-center {
        grid-column: span 1;
    }
    
    .passport-visa-list {
        grid-template-columns: 1fr;
    }
}
