/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Premium Longform Style)
   ========================================================================== */

:root {
    --primary-color: #2E7D32;       /* Xanh nông nghiệp chính (Forest Green) */
    --primary-light: #E8F5E9;       /* Xanh lá rất nhẹ (Nền) */
    --accent-color: #C8A15A;        /* Vàng đất sang trọng (Muted Gold) */
    --accent-light: #F4EFE6;        /* Vàng cát nhạt */
    --text-dark: #1A251E;           /* Chữ chính (Charcoal Green) */
    --text-light: #758A7E;          /* Chữ phụ */
    --bg-cream: #FAF8F5;            /* Nền kem nhạt (Warm Cream) */
    --bg-white: #FFFFFF;
    --bg-dark: #1A251E;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    --max-width-content: 800px;
    --max-width-wide: 1200px;
    
    --transition-smooth: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

p {
    font-weight: 300;
    margin-bottom: 1.6rem;
    color: var(--text-dark);
}

.font-serif {
    font-family: var(--font-serif);
}

/* Scroll Progress Bar */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

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

/* ==========================================================================
   HERO OPENING (Full Screen Cover)
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

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

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    filter: brightness(0.9);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(26, 37, 30, 0.3) 0%, 
                rgba(26, 37, 30, 0.5) 60%, 
                rgba(26, 37, 30, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(200, 161, 90, 0.4);
    padding: 6px 16px;
    background-color: rgba(26, 37, 30, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 25px;
    color: var(--bg-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-indicator span {
    margin-bottom: 10px;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* ==========================================================================
   ARTICLE WRAPPER & ANIMATIONS
   ========================================================================== */

.article-container {
    width: 100%;
    position: relative;
    z-index: 10;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-smooth);
}

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

.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fade-in.in-view {
    opacity: 1;
}

/* ==========================================================================
   EDITORIAL WRITTEN CONTENT LAYOUT
   ========================================================================== */

.editorial-text-section {
    padding: 30px 20px;
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.text-content-wrapper p {
    font-size: 1.15rem;
    color: #2F3E35;
    text-align: justify;
    text-justify: inter-word;
    margin-bottom: 1.8rem;
}

.subsection-title {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--primary-color);
    position: relative;
}

.author-signature {
    margin-top: 40px;
    font-style: italic;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 20px;
}

/* ==========================================================================
   MAIN TYPOGRAPHY TITLE SECTION
   ========================================================================== */

.main-title-section {
    padding: 120px 20px 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    overflow: hidden;
}

.title-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.title-line {
    letter-spacing: -0.01em;
}

.font-huge {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 0.95;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-color);
    text-stroke: 1.5px var(--primary-color);
    letter-spacing: 0.05em;
}

.italic-text {
    font-size: clamp(1.25rem, 3vw, 2.2rem);
    font-style: italic;
    color: var(--text-light);
    font-weight: 400;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.highlight-glow {
    position: relative;
}

.highlight-glow::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.bold-text {
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.title-graphic-left, .title-graphic-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.drone-svg-decor, .leaf-svg-decor {
    width: 140px;
    height: 140px;
    opacity: 0.75;
}

/* ==========================================================================
   SAPO SECTION (Editorial Style)
   ========================================================================== */

.sapo-section {
    padding: 40px 20px 80px;
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.sapo-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 0;
    text-align: center;
}

.sapo-line-left, .sapo-line-right {
    display: block;
    width: 120px;
    height: 1px;
    background-color: var(--accent-color);
    margin: 0 auto 30px;
    opacity: 0.6;
}

.sapo-text {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    line-height: 1.9;
    color: var(--text-dark);
    text-align: justify;
    text-justify: inter-word;
}

.drop-cap {
    float: left;
    font-size: 5.5rem;
    line-height: 0.75;
    padding-top: 10px;
    padding-right: 18px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary-color);
}

/* ==========================================================================
   QUICK STATS SECTION (Glassmorphism Cards - font-size >= 30px)
   ========================================================================== */

.stats-section {
    padding: 0 20px 100px;
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

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

.glassmorphism {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(46, 125, 50, 0.05);
}

.stat-card {
    padding: 30px 15px;
    text-align: center;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 240px;
}

.stat-icon {
    color: var(--primary-color);
    opacity: 0.8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value {
    font-family: var(--font-sans);
    font-size: 2.5rem;               /* Hơn 30px (~45px) - Đáp ứng yêu cầu */
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card.highlight-card {
    background: linear-gradient(135deg, rgba(200, 161, 90, 0.1) 0%, rgba(200, 161, 90, 0.25) 100%);
    border: 1px solid rgba(200, 161, 90, 0.4);
}

.stat-card.highlight-card .stat-value,
.stat-card.highlight-card .stat-icon {
    color: #b58d3d;
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 0 15px 35px 0 rgba(46, 125, 50, 0.1);
}

.stat-card.highlight-card:hover {
    background: linear-gradient(135deg, rgba(200, 161, 90, 0.15) 0%, rgba(200, 161, 90, 0.35) 100%);
    border-color: var(--accent-color);
}

/* ==========================================================================
   SECTION DIVIDER / XEN 1, 2, 3
   ========================================================================== */

.section-divider {
    position: relative;
    padding: 120px 20px;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: var(--bg-white);
    overflow: hidden;
}

.divider-content {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.divider-left {
    max-width: 650px;
}

.subtitle-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 15px;
}

.divider-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 25px;
}

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

.accent-line {
    width: 120px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

.tech-icons-group {
    display: flex;
    gap: 25px;
}

.tech-icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    background-color: var(--bg-cream);
}

.tech-icon-item svg {
    color: var(--primary-color);
}

.divider-right {
    position: relative;
    width: 250px;
    display: flex;
    justify-content: center;
}

.bg-watermark {
    position: absolute;
    right: -5%;
    bottom: -10%;
    font-size: 9rem;
    font-weight: 900;
    color: rgba(46, 125, 50, 0.03);
    pointer-events: none;
    letter-spacing: 0.05em;
    white-space: nowrap;
    user-select: none;
}

.drone-svg-artwork {
    width: 100%;
    max-width: 220px;
}

.draw-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 6s ease-in-out infinite alternate;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.pulse-circle {
    transform-origin: center;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; stroke-width: 3px; }
    100% { transform: scale(0.9); opacity: 0.5; }
}

.rotate-prop {
    transform-origin: center;
    animation: spinProp 0.2s linear infinite;
}

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

/* Section Title Xen 2 Customizations */
.section-dark {
    box-shadow: inset 0 20px 40px rgba(0,0,0,0.15), inset 0 -20px 40px rgba(0,0,0,0.15);
}

.root-art-container {
    position: relative;
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.huge-root-text {
    position: absolute;
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 700;
    opacity: 0.06;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    z-index: 1;
}

.root-svg-artwork {
    width: 180px;
    height: 180px;
    z-index: 2;
}

.coffee-texture-watermark {
    position: absolute;
    left: -5%;
    bottom: -10%;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(200, 161, 90, 0.03);
    pointer-events: none;
    letter-spacing: 0.05em;
    white-space: nowrap;
    user-select: none;
}

/* Title Xen 3 Customizations */
.divider-meta {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--accent-color);
}

.divider-right-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 300px;
}

.tech-glow-card {
    background-color: var(--bg-cream);
    border: 1px solid rgba(200, 161, 90, 0.15);
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.tech-glow-card svg {
    color: var(--accent-color);
    filter: drop-shadow(0 0 2px rgba(200, 161, 90, 0));
    transition: var(--transition-fast);
}

.tech-glow-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.tech-glow-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(200, 161, 90, 0.1);
}

.tech-glow-card:hover svg {
    filter: drop-shadow(0 0 6px rgba(200, 161, 90, 0.6));
    color: var(--accent-color);
}

.gold-stripe-decor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--accent-color));
}

/* ==========================================================================
   EDITORIAL IMAGE & CAPTION
   ========================================================================== */

.image-full-width {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 80px;
}

.editorial-image-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scroll-zoom-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-zoom-img.in-view {
    transform: scale(1);
}

.image-caption {
    max-width: var(--max-width-wide);
    margin: 15px auto 0;
    padding: 0 20px;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

.img-final-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(26, 37, 30, 0.6) 0%, transparent 100%);
    pointer-events: none;
}

/* ==========================================================================
   INFOGRAPHICS LAYOUTS
   ========================================================================== */

.infographic-section {
    padding: 80px 20px;
    max-width: var(--max-width-wide);
    margin: 0 auto 100px;
}

.info-container {
    background-color: var(--bg-white);
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(46, 125, 50, 0.05);
}

.info-title {
    font-size: 2rem;
    margin-bottom: 12px;
    text-align: center;
    color: var(--text-dark);
}

.info-desc {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* --- INFOGRAPHIC 1: TIMELINE (font-size step-num >= 30px) --- */
.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.timeline-line-path {
    position: absolute;
    top: 52px;
    left: 8%;
    right: 8%;
    height: 2px;
    background-color: rgba(46, 125, 50, 0.1);
    z-index: 1;
}

.timeline-progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--primary-color);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: relative;
    z-index: 2;
}

.timeline-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    transition: var(--transition-smooth);
}

.timeline-node {
    width: 36px;
    height: 36px;
    background-color: var(--bg-white);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: 50%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-fast);
}

.step-num {
    position: absolute;
    top: -38px;
    font-size: 1.8rem;               /* Hơn 30px (~32px) - Đáp ứng yêu cầu */
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-cream);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    position: absolute;
    bottom: -55px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: scale(0.6);
}

.timeline-icon svg {
    width: 22px;
    height: 22px;
}

.timeline-content {
    margin-top: 40px;
    opacity: 0.7;
    transition: var(--transition-smooth);
    transform: translateY(10px);
}

.timeline-content h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

.timeline-item.active .timeline-node {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(46, 125, 50, 0.15);
}

.timeline-item.active .step-num {
    color: var(--primary-color);
}

.timeline-item.active .timeline-icon {
    opacity: 1;
    transform: scale(1);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.25);
}

.timeline-item.active .timeline-content {
    opacity: 1;
    transform: translateY(0);
}


/* --- INFOGRAPHIC 2: ECOSYSTEM GRID LAYOUT (FIX COLLISION & LARGE TEXT) --- */
.ecosystem-grid-layout {
    display: grid;
    grid-template-columns: 1fr 280px 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 40px;
}

.eco-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eco-card {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-fast);
    border: 1px solid rgba(46, 125, 50, 0.1);
    min-height: 160px;
    justify-content: center;
}

.eco-num {
    font-size: 1.85rem;              /* Hơn 30px (~33px) - Đáp ứng yêu cầu */
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.eco-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.eco-text p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0;
}

.eco-center-core {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
}

.core-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 30px rgba(200, 161, 90, 0.15);
    transition: var(--transition-smooth);
}

.core-num {
    font-size: 2.2rem;               /* Hơn 30px (~40px) - Đáp ứng yêu cầu */
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.core-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.08em;
    margin-top: 6px;
}

.core-pulse-ring {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 1px dashed rgba(200, 161, 90, 0.4);
    border-radius: 50%;
    z-index: 1;
    animation: spinSlow 30s linear infinite;
}

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

.eco-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-white);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(200, 161, 90, 0.12);
}

.eco-center-core:hover .core-circle {
    transform: scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(46, 125, 50, 0.2);
}


/* --- INFOGRAPHIC 3: FLOW CHART (font-size flow-num-label >= 30px) --- */
.flowchart-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    position: relative;
}

.flow-step {
    flex: 1;
    max-width: 220px;
    text-align: center;
    position: relative;
}

.flow-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--bg-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(200, 161, 90, 0.3);
}

.flow-box {
    background-color: var(--bg-cream);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 30px 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: 180px;
    justify-content: center;
    transition: var(--transition-smooth);
}

.flow-num-label {
    font-size: 1.85rem;              /* Hơn 30px (~33px) - Đáp ứng yêu cầu */
    font-weight: 800;
    color: rgba(46, 125, 50, 0.25);
    line-height: 1;
    font-family: var(--font-sans);
}

.flow-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: var(--transition-fast);
}

.flow-icon svg {
    width: 20px;
    height: 20px;
}

.flow-box h5 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.flow-arrow {
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    opacity: 0.7;
}

.flowchart-row-divider {
    display: flex;
    justify-content: flex-end;
    padding-right: 90px;
    margin: 10px 0;
}

.down-arrow {
    color: var(--accent-color);
    opacity: 0.7;
    width: 40px;
    height: 40px;
}

.highlight-flow-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5222 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.25);
}

.highlight-flow-box h5 {
    color: var(--bg-white);
}

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

.flow-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: var(--bg-white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.highlight-flow-box:hover {
    background: linear-gradient(135deg, #1e5222 0%, #113313 100%);
}

/* ==========================================================================
   BOX QUOTE SECTION
   ========================================================================== */

.quotes-section {
    padding: 60px 20px;
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.quotes-section.single-quote {
    max-width: var(--max-width-content);
    padding-top: 20px;
    padding-bottom: 40px;
}

.quote-card {
    padding: 60px 40px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.huge-quote-mark {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 9rem;
    font-family: var(--font-serif);
    color: rgba(200, 161, 90, 0.15);
    line-height: 1;
    pointer-events: none;
}

.huge-quote-mark.opacity-light {
    color: rgba(255, 255, 255, 0.12);
}

.quote-text {
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    line-height: 1.75;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.quote-author {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    position: relative;
    z-index: 2;
}

.quote-light {
    border: 1px solid rgba(200, 161, 90, 0.2);
}

.quote-light .quote-text {
    color: var(--text-dark);
}

.quote-light .quote-author {
    color: var(--primary-color);
}

.quote-colored {
    background-color: var(--primary-light);
    border: 1px solid rgba(46, 125, 50, 0.08);
}

.quote-colored .quote-text {
    color: var(--text-dark);
}

.quote-colored .quote-author {
    color: var(--primary-color);
}

/* ==========================================================================
   FOOTER SUMMARY SECTION
   ========================================================================== */

.footer-summary-section {
    padding: 0 20px 80px;
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.footer-summary-container {
    padding: 60px 50px 40px;
    border-radius: 20px;
}

.summary-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.summary-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 50px;
}

.summary-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
    margin-bottom: 60px;
}

.summary-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.summary-marker {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(200, 161, 90, 0.2);
}

.summary-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.summary-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.credits {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
}

.copyright {
    margin-bottom: 5px;
    font-weight: 400;
}

.production-team {
    font-weight: 300;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Adaptive Breakpoints)
   ========================================================================== */

/* Laptop & Tablet Wide (Max 1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 17px;
    }

    .main-title-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 80px 20px 40px;
    }

    .title-graphic-left, .title-graphic-right {
        display: none;
    }

    .sapo-section {
        padding: 20px 20px 60px;
    }

    /* Stats Grid layout on tablet */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stats-grid > :nth-child(4) {
        grid-column: 1 / span 1;
    }
    .stats-grid > :nth-child(5) {
        grid-column: 2 / span 2;
    }

    /* Hide watermarks to avoid overflow-x */
    .bg-watermark, .coffee-texture-watermark {
        display: none !important;
    }

    /* Ecosystem grid on tablet */
    .ecosystem-grid-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 40px auto 0;
    }

    .eco-center-core {
        grid-row: 1;
        height: auto;
        margin-bottom: 10px;
    }

    .eco-column {
        gap: 15px;
    }

    .eco-card {
        min-height: auto;
        padding: 20px;
    }
    
    /* Timeline vertically aligned on tablet/mobile */
    .timeline-line-path {
        display: none;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        border-left: 2px solid rgba(46, 125, 50, 0.15);
        padding-left: 25px;
        margin-left: 20px;
    }
    
    .timeline-item {
        text-align: left;
        align-items: flex-start;
        position: relative;
        padding: 0;
    }
    
    .timeline-node {
        position: absolute;
        left: -43px;
        top: 0;
        margin-bottom: 0;
    }
    
    .step-num {
        left: 55px;
        top: 4px;
        font-size: 1.6rem;
    }
    
    .timeline-icon {
        display: none;
    }
    
    .timeline-content {
        margin-top: 0;
        padding-left: 0;
        transform: translateY(0);
    }

    /* Flowchart vertical stacking */
    .flowchart-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-step {
        width: 100%;
        max-width: 100%;
    }
    
    .flow-box {
        min-height: auto;
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px;
        gap: 20px;
        text-align: left;
    }

    .flow-num-label {
        font-size: 1.8rem;
        width: 50px;
        flex-shrink: 0;
        text-align: center;
    }

    .flow-icon {
        flex-shrink: 0;
    }

    .flow-badge {
        position: static;
        transform: none;
        margin-bottom: 8px;
        display: inline-block;
    }

    .flow-box h5 {
        font-size: 0.95rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 5px auto;
        height: 30px;
    }
    
    .flowchart-row-divider {
        display: none;
    }
}

/* Tablet Portrait (Max 768px) */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    .section-divider {
        padding: 80px 20px;
    }

    .divider-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .divider-right, .divider-right-icons {
        width: 100%;
    }

    .divider-right-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quotes-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 20px;
    }

    .quote-card {
        padding: 40px 25px;
    }

    .huge-quote-mark {
        font-size: 6rem;
        top: -10px;
        left: 15px;
    }

    .quote-text {
        font-size: 1.2rem;
        line-height: 1.7;
    }
    
    .summary-list {
        grid-template-columns: 1fr;
    }

    .editorial-text-section {
        padding: 20px 15px;
    }

    .text-content-wrapper p {
        font-size: 1.08rem;
        line-height: 1.8;
    }

    .image-full-width {
        margin-bottom: 40px;
    }

    .scroll-zoom-img {
        max-height: 50vh;
    }

    /* Fix full-width overflow on mobile */
    .image-full-width, .section-divider {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        left: auto;
        right: auto;
    }
}

/* Mobile (Max 480px) */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .font-huge {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.1;
    }

    .bold-text {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .outline-text {
        -webkit-text-stroke: 1px var(--primary-color);
        text-stroke: 1px var(--primary-color);
    }

    /* Grid 2 columns for quick stats on small screen */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stats-grid > :nth-child(4) {
        grid-column: auto;
    }

    .stats-grid > :nth-child(5) {
        grid-column: 1 / span 2;
    }
    
    .stat-card {
        height: 190px;
        padding: 20px 12px;
    }

    .stat-value {
        font-size: 2rem; /* Vẫn đạt chuẩn tối thiểu 30px */
    }

    /* Ecosystem Center Core scale down */
    .eco-center-core {
        height: auto;
        padding: 10px 0;
    }

    .core-circle {
        width: 160px;
        height: 160px;
    }

    .core-num {
        font-size: 1.85rem; /* ~30px */
    }

    .core-pulse-ring {
        width: 180px;
        height: 180px;
    }

    .eco-card {
        padding: 15px;
    }

    .eco-num {
        font-size: 1.75rem; /* ~28-30px */
    }

    .flow-num-label {
        font-size: 1.75rem;
        width: 40px;
    }

    .flow-box {
        padding: 15px;
        gap: 12px;
    }

    .info-container {
        padding: 30px 15px;
    }

    .info-title {
        font-size: 1.5rem;
    }

    .info-desc {
        margin-bottom: 30px;
    }

    .divider-right-icons {
        grid-template-columns: 1fr;
    }

    .tech-icons-group {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tech-icon-item {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .timeline-grid {
        margin-left: 10px;
        padding-left: 18px;
    }

    .timeline-node {
        left: -32px;
        width: 30px;
        height: 30px;
    }

    .step-num {
        left: 45px;
        top: 2px;
        font-size: 1.5rem; /* ~24px */
    }
}

