/* ==========================================================================
   CSS SYSTEM - SỞ HỮU TRÍ TUỆ TUYÊN QUANG INFOGRAPHIC
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.95);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(59, 130, 246, 0.5);
    
    /* Harmonious Color Palette */
    --green-primary: #10b981;    /* Emerald Green - Agriculture */
    --green-glow: rgba(16, 185, 129, 0.3);
    --blue-primary: #3b82f6;     /* Bright Blue - IP & Tech */
    --blue-glow: rgba(59, 130, 246, 0.3);
    --orange-primary: #f59e0b;   /* Warm Amber - Commerce & Value */
    --orange-glow: rgba(245, 158, 11, 0.3);
    
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Encode Sans', sans-serif;
    --font-body: 'Encode Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-blur: blur(12px);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-primary), var(--blue-primary), var(--orange-primary));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* 2. Typography & Section Headers */
h1, h2, h3, h4, .hero-subtitle, .footer-slogan, .info-title, .step-content h3, .org-header h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-wrap: balance;
}

p, li, .stat-desc, .step-content p, .flow-info p, .info-desc {
    text-wrap: pretty;
}

.gradient-text {
    background: linear-gradient(135deg, var(--green-primary), var(--blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section {
    padding: 100px 0;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue-primary);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 3. Hero & Header Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    overflow: hidden;
    text-align: center;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--green-glow);
    top: -50px;
    left: 10%;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background: var(--blue-glow);
    bottom: 50px;
    right: 5%;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 50px;
    font-weight: 400;
}

/* Funnel Section */
.funnel-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
}

.funnel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
}

.funnel-step {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.funnel-node {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    padding: 20px 40px;
    border-radius: 100px;
    width: 85%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.step-outer .funnel-node {
    width: 100%;
    border-color: rgba(16, 185, 129, 0.2);
}

.step-mid .funnel-node {
    width: 80%;
    border-color: rgba(59, 130, 246, 0.3);
}

.step-inner .funnel-node {
    width: 60%;
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.funnel-node.highlight {
    border-color: var(--orange-primary);
}

.funnel-node:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.funnel-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}

.step-outer .funnel-num { color: var(--green-primary); }
.step-mid .funnel-num { color: var(--blue-primary); }
.step-inner .funnel-num { color: var(--orange-primary); }

.funnel-label {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-white);
    text-align: right;
}

.funnel-flow {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--border-color), rgba(59,130,246,0.3));
    position: relative;
}

.funnel-flow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--blue-primary);
}

/* 4. Section 1: Dashboard & Interactive Map */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
}

.stat-card:hover {
    transform: translateX(8px);
    background: var(--bg-card-hover);
}

.card-green:hover { border-color: rgba(16, 185, 129, 0.4); }
.card-blue:hover { border-color: rgba(59, 130, 246, 0.4); }
.card-orange:hover { border-color: rgba(245, 158, 11, 0.4); }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-green .stat-icon { background: rgba(16, 185, 129, 0.1); color: var(--green-primary); }
.card-blue .stat-icon { background: rgba(59, 130, 246, 0.1); color: var(--blue-primary); }
.card-orange .stat-icon { background: rgba(245, 158, 11, 0.1); color: var(--orange-primary); }

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
}

.card-green .stat-value { color: var(--green-primary); }
.card-blue .stat-value { color: var(--blue-primary); }
.card-orange .stat-value { color: var(--orange-primary); }

.stat-desc {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Interactive SVG Map Styling */
.map-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
    position: relative;
}

.panel-subtitle {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.panel-instruction {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.tuyenquang-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.district-path {
    fill: #1e293b;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.district-path:hover {
    fill: #334155;
    stroke: var(--blue-primary);
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 8px var(--blue-glow));
}

.district-path.active {
    fill: rgba(59, 130, 246, 0.2);
    stroke: var(--blue-primary);
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 12px var(--blue-glow));
}

/* Custom styles for specific paths on hover to create variations */
#district-lambinh:hover, #district-lambinh.active { fill: rgba(16, 185, 129, 0.25); stroke: var(--green-primary); filter: drop-shadow(0 0 8px var(--green-glow)); }
#district-nahang:hover, #district-nahang.active { fill: rgba(59, 130, 246, 0.25); stroke: var(--blue-primary); filter: drop-shadow(0 0 8px var(--blue-glow)); }
#district-chiemhoa:hover, #district-chiemhoa.active { fill: rgba(245, 158, 11, 0.25); stroke: var(--orange-primary); filter: drop-shadow(0 0 8px var(--orange-glow)); }
#district-hamyen:hover, #district-hamyen.active { fill: rgba(245, 158, 11, 0.3); stroke: var(--orange-primary); filter: drop-shadow(0 0 8px var(--orange-glow)); }
#district-yenson:hover, #district-yenson.active { fill: rgba(16, 185, 129, 0.25); stroke: var(--green-primary); filter: drop-shadow(0 0 8px var(--green-glow)); }
#district-tptq:hover, #district-tptq.active { fill: rgba(59, 130, 246, 0.4); stroke: var(--blue-primary); stroke-width: 3px; filter: drop-shadow(0 0 8px var(--blue-glow)); }
#district-sonduong:hover, #district-sonduong.active { fill: rgba(16, 185, 129, 0.25); stroke: var(--green-primary); filter: drop-shadow(0 0 8px var(--green-glow)); }

.map-label {
    fill: var(--text-white);
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    pointer-events: none;
    text-anchor: middle;
    transition: var(--transition-smooth);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.district-path:hover + .map-label, .district-path.active + .map-label {
    fill: var(--orange-primary);
    font-size: 26px;
    font-weight: 800;
}

.map-label-small {
    font-size: 20px;
}

/* Tooltip on Map */
.map-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--blue-primary);
    border-radius: 16px;
    padding: 15px 20px;
    width: 440px; /* Dạng chữ nhật nằm ngang */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    backdrop-filter: var(--glass-blur);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10;
    pointer-events: none;
    transform: translateY(10px);
}

.map-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    border-right: 2px solid rgba(255, 255, 255, 0.15); /* Đường gạch dọc */
    border-bottom: none; /* Bỏ đường gạch ngang cũ */
    padding-right: 15px;
    padding-bottom: 0;
    margin-bottom: 0;
    flex-shrink: 0;
    width: 110px;
    text-align: center;
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.tooltip-content p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.tooltip-content strong {
    color: var(--text-white);
}

.tooltip-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 2px 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--blue-primary);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 4px;
}

/* 5. Section 2: Why Register (6 cards) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px 30px;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
    opacity: 0;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.12);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--blue-primary);
    color: var(--text-white);
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* 6. Section 3: IP Shield Section (Interactive Shield) */
.shield-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.shield-svg-panel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container-svg {
    width: 100%;
    max-width: 400px;
}

.ip-shield-svg {
    width: 100%;
    height: auto;
}

.shield-border {
    stroke-dasharray: 8 4;
    animation: rotateBorder 30s linear infinite;
    transform-origin: 200px 220px;
}

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

.connection-line {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 1.5px;
    stroke-dasharray: 4 4;
    transition: var(--transition-smooth);
}

/* Interactive Node Badge elements inside Shield */
.shield-node {
    cursor: pointer;
    transition: var(--transition-smooth);
}

.shield-node .node-bg {
    fill: #1e293b;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 2px;
    transition: var(--transition-smooth);
}

.shield-node .node-text {
    fill: var(--text-muted);
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-anchor: middle;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.shield-node .node-text.text-small {
    font-size: 12px;
}

/* Active and Hover Node States */
.shield-node:hover .node-bg, .shield-node.active .node-bg {
    fill: rgba(59, 130, 246, 0.2);
    stroke: var(--blue-primary);
    filter: drop-shadow(0 0 10px var(--blue-glow));
}

.shield-node:hover .node-text, .shield-node.active .node-text {
    fill: var(--text-white);
    font-size: 9.5px;
}

#node-nhanhieu .node-bg {
    stroke: var(--green-primary);
}
#node-nhanhieu.active .node-bg, #node-nhanhieu:hover .node-bg {
    fill: rgba(16, 185, 129, 0.2);
    stroke: var(--green-primary);
    filter: drop-shadow(0 0 10px var(--green-glow));
}
#node-nhanhieu .node-text {
    font-size: 11px;
    fill: var(--green-primary);
}
#node-nhanhieu.active .node-text, #node-nhanhieu:hover .node-text {
    fill: var(--text-white);
    font-size: 11.5px;
}

/* Details Panel next to Shield */
.shield-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    min-height: 380px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
    position: relative;
    overflow: hidden;
}

.shield-info-panel::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    pointer-events: none;
}

.info-content-box {
    width: 100%;
    animation: fadeIn 0.4s ease;
}

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

.info-header-row {
    margin-bottom: 20px;
}

.info-badge-type {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    color: var(--green-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}

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

.info-examples-box {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
}

.info-examples-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.info-examples-list {
    list-style: none;
}

.info-examples-list li {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.info-examples-list li:last-child {
    margin-bottom: 0;
}

.info-examples-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--blue-primary);
}

/* 7. Section 4: Registration Timeline */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 20px 0;
}

.timeline-progress-bar {
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
    border-radius: 2px;
}

.timeline-progress-active {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--green-primary), var(--blue-primary));
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.timeline-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.step-marker {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 25px;
    transition: var(--transition-smooth);
}

.step-marker svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.timeline-step-item.active .step-marker {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: var(--text-white);
    box-shadow: 0 0 20px var(--blue-glow);
}

.timeline-step-item.active .step-marker svg {
    transform: scale(1.1);
}

.step-content {
    opacity: 0.6;
    transition: var(--transition-smooth);
}

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

.step-num {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-primary);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

.step-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 8. Section 5: Support organization scheme */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.support-org-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 35px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
}

.org-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.org-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-blue .org-icon { background: rgba(59, 130, 246, 0.1); color: var(--blue-primary); }
.header-green .org-icon { background: rgba(16, 185, 129, 0.1); color: var(--green-primary); }

.org-icon svg {
    width: 24px;
    height: 24px;
}

.org-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

.support-steps-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flow-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition-smooth);
}

.flow-item:hover {
    transform: translateY(-2px);
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.flow-bullet {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.flow-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-white);
}

.flow-info p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.flow-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    color: var(--text-muted);
    opacity: 0.5;
}

.flow-arrow svg {
    width: 18px;
    height: 18px;
    animation: flowPulse 2s infinite;
}

@keyframes flowPulse {
    0%, 100% { transform: translateY(-3px); opacity: 0.3; }
    50% { transform: translateY(3px); opacity: 0.8; }
}

/* 9. Footer Banner & Goals */
.footer-banner {
    position: relative;
    padding: 100px 0 50px;
    background: radial-gradient(circle at 50% 100%, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(50px);
    z-index: -1;
}

.footer-slogan {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--green-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-checklist-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: var(--glass-blur);
}

.footer-checklist-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--green-primary);
}

.checklist-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-items li {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--green-primary);
    color: var(--green-primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.footer-goals-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--blue-primary);
}

.goals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.goal-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.goal-item-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.08);
}

.goal-icon {
    font-size: 1.75rem;
}

.goal-item-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 1rem;
}

.footer-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    padding: 10px 0;
}

.vnbusiness-logo {
    width: 100%;
    max-width: 280px; /* Kích thước vừa vặn, nổi bật mà vẫn thanh lịch */
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: var(--transition-smooth);
}

.vnbusiness-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(245, 158, 11, 0.25)); /* Phát sáng màu vàng cam nhẹ khi hover */
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .shield-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .funnel-node {
        width: 100%;
        padding: 15px 25px;
    }
    
    .step-mid .funnel-node, .step-inner .funnel-node {
        width: 100%;
    }
    
    .funnel-num {
        font-size: 1.75rem;
    }
    
    .funnel-label {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .shield-info-panel {
        padding: 24px;
        min-height: auto;
    }
    
    .info-title {
        font-size: 1.5rem;
    }
    
    /* Timeline changes to vertical for mobile */
    .timeline-progress-bar {
        display: none;
    }
    
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline-step-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 0;
    }
    
    .step-marker {
        margin-bottom: 0;
        margin-right: 20px;
        flex-shrink: 0;
    }
    
    .timeline-step-item.active .step-content {
        transform: none;
    }
    
    .goals-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Mobile responsive adjustments for Map and Tooltip */
    .map-container {
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .tuyenquang-map {
        max-width: 360px;
        width: 100%;
    }
    
    .map-tooltip {
        position: static !important;
        width: 100% !important;
        max-width: 500px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-top: 25px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        border-color: var(--blue-primary) !important;
        box-shadow: var(--shadow-premium) !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stacking layout for tooltip on tiny screens */
    .map-tooltip {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 15px !important;
    }
    
    .map-tooltip .tooltip-title {
        border-right: none !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
        padding-right: 0 !important;
        padding-bottom: 8px !important;
        width: 100% !important;
        text-align: left !important;
    }
}
