:root {
    /* Colors from Design System placeholder (approximated for light theme matching original) */
    --primary: #0066ff;
    --surface: #ffffff;
    --on-surface: #111318;

    /* Base colors matching the original design */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-200: #e5e7eb;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Theme colors */
    --color-orange-50: #fff7ed;
    --color-orange-100: #ffedd5;
    --color-orange-200: #fed7aa;
    --color-orange-400: #fb923c;
    --color-orange-500: #f97316;
    --color-orange-600: #ea580c;
    --color-orange-700: #c2410c;

    --color-purple-50: #faf5ff;
    --color-purple-100: #f3e8ff;
    --color-purple-200: #e9d5ff;
    --color-purple-400: #c084fc;
    --color-purple-500: #a855f7;
    --color-purple-600: #9333ea;
    --color-purple-700: #7e22ce;

    --color-blue-50: #eff6ff;
    --color-blue-100: #dbeafe;
    --color-blue-200: #bfdbfe;
    --color-blue-400: #60a5fa;
    --color-blue-500: #3b82f6;
    --color-blue-600: #2563eb;
    --color-blue-700: #1d4ed8;
    --color-blue-800: #1e40af;

    --color-red-500: #ef4444;
    --color-pink-500: #ec4899;
    --color-pink-600: #db2777;

    /* Gradients */
    --grad-orange: linear-gradient(to right, #f59e0b, #ea580c);
    --grad-purple: linear-gradient(to right, #9333ea, #db2777);
    --grad-blue: linear-gradient(to right, #2563eb, #0891b2);

    --grad-bg-orange: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(249, 115, 22, 0.1));
    --grad-bg-purple: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    --grad-bg-blue: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glow-orange: 0 4px 15px rgba(245, 158, 11, 0.15);
    --glow-purple: 0 4px 15px rgba(147, 51, 234, 0.15);
    --glow-blue: 0 4px 15px rgba(37, 99, 235, 0.15);

    /* Typography */
    --font-family: 'Montserrat', sans-serif;
}



/* Layout */
.container {
    max-w-5xl: 1024px;
    max-width: 1024px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    z-index: 10;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Typography Utilities */
.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 1rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 2rem;
    line-height: 2.25rem;
    padding: 5px 0 0;
}

@media(max-width: 767px) {
    .text-3xl {
        font-size: 1.6rem;
    }
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.text-7xl {
    font-size: 4.5rem;
    line-height: 1;
}

.text-8xl {
    font-size: 6rem;
    line-height: 1;
}

/* Color Utilities */
.text-gray-500 {
    color: var(--color-gray-500);
}

.text-gray-600 {
    color: var(--color-gray-600);
}

.text-gray-700 {
    color: var(--color-gray-700);
}

.text-gray-800 {
    color: var(--color-gray-800);
}

.text-gray-900 {
    color: var(--color-gray-900);
}

.text-red-500 {
    color: var(--color-red-500);
}

.text-orange-500 {
    color: var(--color-orange-500);
}

.text-orange-600 {
    color: var(--color-orange-600);
}

.text-orange-700 {
    color: var(--color-orange-700);
}

.text-purple-500 {
    color: var(--color-purple-500);
}

.text-purple-600 {
    color: var(--color-purple-600);
}

.text-purple-700 {
    color: var(--color-purple-700);
}

.text-blue-500 {
    color: var(--color-blue-500);
}

.text-blue-600 {
    color: var(--color-blue-600);
}

.text-blue-700 {
    color: var(--color-blue-700);
}

.text-blue-800 {
    color: var(--color-blue-800);
}

.text-pink-600 {
    color: var(--color-pink-600);
}

.bg-white {
    background-color: var(--color-white);
}

.bg-orange-50 {
    background-color: var(--color-orange-50);
}

.bg-purple-50 {
    background-color: var(--color-purple-50);
}

.bg-blue-50 {
    background-color: var(--color-blue-50);
}

/* Custom Effects */
.text-glow {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.grad-text-orange {
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 5px 0 0;
    display: inline-block;
}

.grad-text-purple {
    background: var(--grad-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grad-text-blue {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-grad-radial {
    background: radial-gradient(ellipse at top, rgba(239, 246, 255, 0.5), rgba(249, 250, 251, 0.8), transparent);
}

/* Page Background */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('../home/bg_tv.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
}

.mobile-header-triggers {
    display: none;
}

/* Header Section */
.alert-box {
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 1.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(239, 68, 68, 0.22);
    background: rgba(254, 242, 242, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 250px;
    z-index: 20;
    text-align: left;
    transition: all 0.3s ease;
}

.alert-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(239, 68, 68, 0.35);
}

.alert-box-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.alert-box-title h3 {
    color: #991b1b !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.12em !important;
    margin: 0 !important;
}

.alert-box-title-indicator {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
    position: relative;
}

.alert-box-title-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    animation: alert-pulse 2s infinite;
    opacity: 0;
}

@keyframes alert-pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }

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

.alert-box-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.alert-box-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.alert-box-item svg {
    color: #ef4444 !important;
    filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.2));
    margin-top: 2px;
}

.alert-box-item span {
    color: #451a03 !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
}

@media (max-width: 767px) {
    .alert-box {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 auto 2rem !important;
        max-width: 100% !important;
        box-shadow: 0 8px 20px rgba(239, 68, 68, 0.05) !important;
    }
}

.header-presenter-left {
    position: absolute;
    top: 2.5rem;
    left: 0;
    width: 12rem;
    opacity: 0.8;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.header-presenter-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 12rem;
    opacity: 0.9;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.box-right {
    position: absolute;
    top: 30px;
    right: 30px;
    padding: 1.25rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.22);
    background: rgba(239, 246, 255, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    max-width: 250px;
    z-index: 20;
    text-align: left;
    transition: all 0.3s ease;
}

.box-right:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(59, 130, 246, 0.35);
}

.stats-box-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.stats-box-title-indicator {
    width: 8px;
    height: 8px;
    background-color: #0066ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #0066ff;
    position: relative;
}

.stats-box-title-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #0066ff;
    border-radius: 50%;
    animation: stats-pulse 2s infinite;
    opacity: 0;
}

@keyframes stats-pulse {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }

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

.stats-box-title h3 {
    color: #1e3a8a !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.12em !important;
    margin: 0 !important;
}

.stats-box-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.stats-box-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stats-icon-wrapper {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-icon-wrapper.tiktok-color {
    background: rgba(0, 0, 0, 0.05);
    color: #010101;
}

.stats-icon-wrapper.youtube-color {
    background: rgba(239, 68, 68, 0.1);
    color: #ff0000;
}

.stats-icon-wrapper.facebook-color {
    background: rgba(59, 130, 246, 0.1);
    color: #1877f2;
}

.stats-icon-wrapper.gmv-color {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
}

.stats-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stats-label {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-value {
    font-size: 0.9rem;
    font-weight: 800;
    display: block;
    margin: -6px 0 0;
}

.stats-value.text-tiktok {
    color: #010101;
}

.stats-value.text-youtube {
    color: #ff0000;
}

.stats-value.text-facebook {
    color: #1877f2;
}

.stats-value.text-gmv {
    color: #ea580c;
}

@media (max-width: 767px) {
    .box-right {
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        margin: 0 auto 2rem !important;
        max-width: 100% !important;
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.05) !important;
    }
}

/* Background Decoration */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    z-index: 3;
    pointer-events: none;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-top: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
    margin-bottom: -20px;
    z-index: 55;
}


.hero-title-main {
    font-size: 5.5rem;
    font-weight: 950;
    margin-bottom: 0.75rem;
    display: inline-block;
    letter-spacing: -0.01em;
    background: linear-gradient(to right, #0066ff, #a855f7, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.15));
}

@media(max-width: 767px) {
    .hero-title-main {
        font-size: 4rem;
    }
}

.hero-title-to {
    font-size: 3rem;
    margin: 0 0.5rem;
    background: linear-gradient(to right, #a855f7, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    color: #0f172a;
}

@media(max-width: 767px) {
    .hero-title-to {
        display: block;
    }

    .hero-subtitle {
        font-size: 2rem;
    }
}

.hero-subtitle .grad-text-purple {
    background: linear-gradient(135deg, #a855f7, #e11d48);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.roadmap-badge {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border-radius: 9999px;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #0066ff, #a855f7, #f97316) !important;
    box-shadow: 0 12px 25px -5px rgba(168, 85, 247, 0.4), 0 0 15px rgba(0, 102, 255, 0.2) !important;
    border: none !important;
    color: white !important;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    max-width: 46rem;
    margin: 0 auto 10px;
    line-height: 1.75;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(0, 210, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.15);
}

@media(max-width: 767px) {
    .hero-description {
        max-width: 100%;
        padding: 20px;
        line-height: 1.3;
    }
}

.hero-description span.grad-text-orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-steps-title {
    margin-top: 0;
    margin-bottom: 1rem;
}


/* Ecosystem Section */
.ecosystem-section {
    margin-top: -30px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 10;
    /* max-width: 1140px; */
    margin-left: auto;
    margin-right: auto;
    padding: 6rem 3rem;
    background: radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.05), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.05), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.03), transparent 50%),
        rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 3rem;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@media(max-width: 767px) {
    .ecosystem-section {
        padding: 15px;
        border-radius: 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

.ecosystem-title {
    font-size: 2.5rem !important;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.ecosystem-subtitle {
    font-size: 1.125rem !important;
    letter-spacing: 0.15em !important;
    color: #475569 !important;
    margin-bottom: 3rem !important;
}

@media(max-width: 767px) {
    .ecosystem-title {
        font-size: 2rem !important;
    }

    .ecosystem-subtitle {
        margin-bottom: 20px !important;
    }
}

.ecosystem-diagram {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ecosystem-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 0.75rem;
    border-radius: 1rem;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ecosystem-card:hover {
    transform: scale(1.05) translateY(-2px);
}

.ecosystem-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.ecosystem-icon-wrapper-blue {
    border-color: var(--color-blue-400);
    background: linear-gradient(to bottom right, var(--color-blue-50), var(--color-white));
    color: var(--color-blue-600);
}

.ecosystem-icon-wrapper-purple {
    border-color: var(--color-purple-400);
    background: linear-gradient(to bottom right, var(--color-purple-50), var(--color-white));
    color: var(--color-purple-600);
}

.ecosystem-icon-wrapper-orange {
    border-color: var(--color-orange-400);
    background: linear-gradient(to bottom right, var(--color-orange-50), var(--color-white));
    color: var(--color-orange-600);
}

.ecosystem-logo-center {
    width: 185px;
    position: relative;
    margin: -70px auto 0;
}

.ecosystem-logo-center-img {
    padding: 40px;
}

/* Ecosystem Diagram Positioning and Sizing (No inline styles) */
.ecosystem-svg-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.eco-card-1 {
    top: 40px;
    left: 40px;
    width: 280px;
    background-color: rgba(239, 246, 255, 0.8) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15) !important;
}

.eco-card-1:hover {
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.3) !important;
    border-color: rgba(59, 130, 246, 0.8) !important;
}

.eco-card-1 .ecosystem-icon-wrapper {
    border-color: rgba(59, 130, 246, 0.4) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #2563eb !important;
}

.eco-card-2 {
    top: 200px;
    left: 0;
    width: 280px;
    background-color: rgba(245, 243, 255, 0.8) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15) !important;
}

.eco-card-2:hover {
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.3) !important;
    border-color: rgba(139, 92, 246, 0.8) !important;
}

.eco-card-2 .ecosystem-icon-wrapper {
    border-color: rgba(139, 92, 246, 0.4) !important;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #7c3aed !important;
}

.eco-card-3 {
    top: 360px;
    left: 0;
    width: 280px;
    background-color: rgba(236, 254, 255, 0.8) !important;
    border-color: rgba(6, 182, 212, 0.4) !important;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15) !important;
}

.eco-card-3:hover {
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.3) !important;
    border-color: rgba(6, 182, 212, 0.8) !important;
}

.eco-card-3 .ecosystem-icon-wrapper {
    border-color: rgba(6, 182, 212, 0.4) !important;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #0891b2 !important;
}

.eco-card-4 {
    top: 40px;
    right: 40px;
    width: 280px;
    background-color: rgba(253, 244, 255, 0.8) !important;
    border-color: rgba(217, 70, 239, 0.4) !important;
    box-shadow: 0 8px 24px rgba(217, 70, 239, 0.15) !important;
}

.eco-card-4:hover {
    box-shadow: 0 12px 30px rgba(217, 70, 239, 0.3) !important;
    border-color: rgba(217, 70, 239, 0.8) !important;
}

.eco-card-4 .ecosystem-icon-wrapper {
    border-color: rgba(217, 70, 239, 0.4) !important;
    background: linear-gradient(135deg, rgba(217, 70, 239, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #c026d3 !important;
}

.eco-card-5 {
    top: 200px;
    right: 0;
    width: 280px;
    background-color: rgba(255, 241, 242, 0.8) !important;
    border-color: rgba(244, 63, 94, 0.4) !important;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.15) !important;
}

.eco-card-5:hover {
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.3) !important;
    border-color: rgba(244, 63, 94, 0.8) !important;
}

.eco-card-5 .ecosystem-icon-wrapper {
    border-color: rgba(244, 63, 94, 0.4) !important;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #e11d48 !important;
}

.eco-card-6 {
    top: 360px;
    right: 0;
    width: 280px;
    background-color: rgba(254, 252, 232, 0.8) !important;
    border-color: rgba(234, 179, 8, 0.4) !important;
    box-shadow: 0 8px 24px rgba(234, 179, 8, 0.15) !important;
}

.eco-card-6:hover {
    box-shadow: 0 12px 30px rgba(234, 179, 8, 0.3) !important;
    border-color: rgba(234, 179, 8, 0.8) !important;
}

.eco-card-6 .ecosystem-icon-wrapper {
    border-color: rgba(234, 179, 8, 0.4) !important;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #ca8a04 !important;
}

.eco-card-7 {
    top: 500px;
    left: 150px;
    width: 260px;
    background-color: rgba(255, 247, 237, 0.8) !important;
    border-color: rgba(249, 115, 22, 0.4) !important;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15) !important;
}

.eco-card-7:hover {
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3) !important;
    border-color: rgba(249, 115, 22, 0.8) !important;
}

.eco-card-7 .ecosystem-icon-wrapper {
    border-color: rgba(249, 115, 22, 0.4) !important;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #ea580c !important;
}

.eco-card-8 {
    top: 500px;
    right: 150px;
    width: 260px;
    background-color: rgba(240, 253, 250, 0.8) !important;
    border-color: rgba(20, 184, 166, 0.4) !important;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.15) !important;
}

.eco-card-8:hover {
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.3) !important;
    border-color: rgba(20, 184, 166, 0.8) !important;
}

.eco-card-8 .ecosystem-icon-wrapper {
    border-color: rgba(20, 184, 166, 0.4) !important;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(255, 255, 255, 0.8)) !important;
    color: #0d9488 !important;
}

.ecosystem-card-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.ecosystem-card-desc {
    line-height: 1.2;
}

.ecosystem-card-title-bottom {
    line-height: 1.2;
}

.ecosystem-logo-center-wrapper {
    background: rgb(248, 250, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0px 0px 30px rgba(168, 85, 247, 0.5);
}

/* Media Queries for Desktop layout */
@media (min-width: 768px) {
    .ecosystem-diagram {
        display: block !important;
        position: relative !important;
        height: 600px !important;
    }

    .ecosystem-svg-lines {
        display: block !important;
    }

    .ecosystem-card {
        position: absolute !important;
    }

    .ecosystem-logo-center {
        position: absolute !important;
        top: 250px !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: 185px !important;
        z-index: 10;
        display: flex !important;
    }

    .ecosystem-logo-center-wrapper {
        width: 100%;
        height: 100%;
    }
}

/* Media Queries for Mobile layout */
@media (max-width: 767px) {
    .ecosystem-svg-lines {
        display: none !important;
    }

    .ecosystem-diagram {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .ecosystem-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .ecosystem-logo-center {
        position: relative !important;
        margin: -20px auto 0 !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 185px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .ecosystem-logo-center-wrapper {
        width: 185px;
        height: 185px;
    }
}

/* next-hero Section */
.next-hero-section {
    text-align: center;
    position: relative;
    padding: 6rem 2rem;
    margin: 0 auto 10px;
    /* max-width: 1140px; */
    z-index: 5;
    background: radial-gradient(circle at 10% 10%, rgba(0, 102, 255, 0.07), transparent 45%),
        radial-gradient(circle at 90% 90%, rgba(249, 115, 22, 0.07), transparent 45%),
        rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2.5rem;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.next-hero-section h2 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    letter-spacing: 0.18em !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase !important;
}

.next-hero-section .grad-text-blue {
    font-size: 6.5rem !important;
    font-weight: 950 !important;
    letter-spacing: -0.02em !important;
    background: linear-gradient(135deg, #0066ff 0%, #a855f7 50%, #f97316 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 8px 20px rgba(168, 85, 247, 0.22)) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
}

@media(max-width: 767px) {
    .next-hero-section .grad-text-blue {
        font-size: 4rem !important;
    }

    .next-hero-section {
        padding: 1.2rem 1.2rem 3rem;
        border-radius: 20px;
    }
}

.next-hero-presenter {
    position: absolute;
    bottom: 0;
    width: 12rem;
    filter: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03)) drop-shadow(0 8px 5px rgba(0, 0, 0, 0.08));
}

.next-hero-presenter.left {
    left: 0;
}

.next-hero-presenter.right {
    right: 0;
}

.next-hero-cta-box {
    display: inline-block;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0066ff 0%, #a855f7 50%, #f97316 100%) !important;
    border: none !important;
    box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.5), 0 0 20px rgba(0, 102, 255, 0.2) !important;
    color: white !important;
    padding: 1.5rem 4rem !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform: translateY(0);
}

.next-hero-cta-box:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 25px 50px -8px rgba(168, 85, 247, 0.65), 0 0 30px rgba(0, 102, 255, 0.35) !important;
}

.next-hero-cta-box:active {
    transform: translateY(-1px) scale(0.99) !important;
}

/* Scroll Reveal Animation System */
.scroll-reveal-item {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Stagger delays for ecosystem cards */
.eco-card-1 {
    transition-delay: 0.05s;
}

.eco-card-2 {
    transition-delay: 0.15s;
}

.eco-card-3 {
    transition-delay: 0.25s;
}

.eco-card-4 {
    transition-delay: 0.35s;
}

.eco-card-5 {
    transition-delay: 0.45s;
}

.eco-card-6 {
    transition-delay: 0.55s;
}

.eco-card-7 {
    transition-delay: 0.65s;
}

.eco-card-8 {
    transition-delay: 0.75s;
}

/* Custom reveal details for SVG and Logo Center */
.ecosystem-svg-lines.scroll-reveal-item {
    transform: scale(0.98);
}

.ecosystem-svg-lines.scroll-reveal-item.revealed {
    transform: scale(1);
}

.ecosystem-logo-center.scroll-reveal-item {
    transform: translate(-50%, -50%) scale(0.8) !important;
}

.ecosystem-logo-center.scroll-reveal-item.revealed {
    transform: translate(-50%, -50%) scale(1) !important;
}

/* Custom reveal for roadmap nodes */
.node-group.scroll-reveal-item {
    transform: scale(0.6);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-group.scroll-reveal-item.revealed {
    transform: scale(1);
}

.node-group.step-1 {
    transition-delay: 0.1s;
}

.node-group.step-2 {
    transition-delay: 0.3s;
}

.node-group.step-3 {
    transition-delay: 0.5s;
}

@media (max-width: 767px) {
    .ecosystem-logo-center.scroll-reveal-item {
        transform: scale(0.8) !important;
        display: none !important;
    }

    .ecosystem-logo-center.scroll-reveal-item.revealed {
        transform: scale(1) !important;
    }
}

/* Custom reveal for Header Box components */
.alert-box.scroll-reveal-item {
    transform: translateX(-45px);
}

.alert-box.scroll-reveal-item.revealed {
    transform: translateX(0);
}

.box-right.scroll-reveal-item {
    transform: translateX(45px);
}

.box-right.scroll-reveal-item.revealed {
    transform: translateX(0);
}

@media (max-width: 767px) {
    .alert-box.scroll-reveal-item {
        transform: translateY(35px) !important;
    }

    .alert-box.scroll-reveal-item.revealed {
        transform: translateY(0) !important;
    }

    .box-right.scroll-reveal-item {
        transform: translateY(35px) !important;
    }

    .box-right.scroll-reveal-item.revealed {
        transform: translateY(0) !important;
    }

    /* Mobile triggers container and button layout */
    .mobile-header-triggers {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        position: fixed !important;
        left: 10px !important;
        top: 100px !important;
        z-index: 999999 !important;
    }

    .mobile-trigger-btn {
        width: 46px !important;
        height: 46px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.25rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        cursor: pointer !important;
        position: relative !important;
        transition: all 0.3s ease !important;
    }

    .mobile-trigger-btn:hover {
        transform: scale(1.05) !important;
    }

    .mobile-trigger-btn.alert-trigger {
        background: rgba(254, 242, 242, 0.95) !important;
        border: 1.5px solid rgba(239, 68, 68, 0.5) !important;
    }

    .mobile-trigger-btn.stats-trigger {
        background: rgba(239, 246, 255, 0.95) !important;
        border: 1.5px solid rgba(59, 130, 246, 0.5) !important;
    }

    /* Pulsing indicators for mobile trigger buttons */
    .mobile-trigger-pulse {
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border-radius: 50%;
        animation: trigger-pulse 2s infinite;
        opacity: 0;
        pointer-events: none;
    }

    .red-pulse {
        border: 2px solid rgba(239, 68, 68, 0.6);
    }

    .blue-pulse {
        border: 2px solid rgba(59, 130, 246, 0.6);
    }

    @keyframes trigger-pulse {
        0% {
            transform: scale(0.95);
            opacity: 0.8;
        }

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

    /* Floating Alert-box and Box-right details cards on Mobile (initially hidden) */
    .alert-box,
    .box-right {
        position: fixed !important;
        left: 65px !important;
        width: 290px !important;
        height: auto !important;
        padding: 0 !important;
        max-width: calc(100vw - 80px) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: 999998 !important;
        overflow: hidden !important;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        transform: translateX(-15px) scale(0.95) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border-radius: 1.25rem !important;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15) !important;
    }

    .alert-box {
        top: 150px !important;
        border: 1px solid rgba(239, 68, 68, 0.25) !important;
    }

    .box-right {
        top: 208px !important;
        border: 1px solid rgba(59, 130, 246, 0.25) !important;
        margin: 0 !important;
    }

    .alert-box>*,
    .box-right>* {
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    /* Expanded Open state on Mobile */
    .alert-box.open,
    .box-right.open {
        opacity: 1 !important;
        pointer-events: auto !important;
        padding: 1.25rem !important;
        transform: translateX(0) scale(1) !important;
    }

    .alert-box.open {
        background: rgba(254, 242, 242, 0.98) !important;
    }

    .box-right.open {
        background: rgba(239, 246, 255, 0.98) !important;
    }

    .alert-box.open::before,
    .box-right.open::before {
        display: none !important;
    }

    .alert-box.open>*,
    .box-right.open>* {
        opacity: 1 !important;
        display: block !important;
    }

    .alert-box.open .alert-box-list,
    .box-right.open .stats-box-list {
        display: flex !important;
    }

    .alert-box.open .alert-box-item,
    .box-right.open .stats-box-item {
        display: flex !important;
    }

    .alert-box.open .alert-box-title,
    .box-right.open .stats-box-title {
        display: flex !important;
    }
}

/* ==========================================================================
   MODAL REGISTER & LOGIN USER - STYLING FOR PAGE THANH VIEN
   ========================================================================== */
#modal_register_user,
#modal_login_user {
    font-family: var(--font-family, 'Montserrat', sans-serif);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(17, 24, 39, 0.45);
}

#modal_register_user .modal-dialog,
#modal_login_user .modal-dialog {
    max-width: 480px;
    width: 92%;
    margin: 45px auto;
}

#modal_register_user .modal-content,
#modal_login_user .modal-content {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25), 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    background: #ffffff;
    transition: all 0.3s ease;
}

#modal_register_user .modal-content::before,
#modal_login_user .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #9333ea, #f59e0b);
    z-index: 10;
}

#modal_register_user button.close,
#modal_login_user button.close {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 1050;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(243, 244, 246, 0.8);
    color: #4b5563;
    font-size: 22px;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    border: none;
    outline: none;
    cursor: pointer;
    opacity: 0.85;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#modal_register_user button.close:hover,
#modal_login_user button.close:hover {
    background: #e5e7eb;
    color: #111827;
    opacity: 1;
    transform: rotate(90deg);
}

#modal_register_user .modal-body,
#modal_login_user .modal-body {
    padding: 0;
}

#modal_register_user .form-login-v,
#modal_login_user .form-login-v {
    padding: 0;
    min-height: auto;
    background: none;
}

#modal_register_user .form-content-register,
#modal_login_user .form-content-login {
    box-shadow: none;
    border: none;
    border-radius: 0;
    max-width: 100%;
    padding: 40px 32px 32px;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 1) 70%);
}

#modal_register_user .title-l,
#modal_login_user .title-l {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--grad-blue, linear-gradient(to right, #2563eb, #0891b2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    text-transform: uppercase;
}

#modal_register_user .form-subtitle,
#modal_login_user .form-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

#modal_register_user .form-group,
#modal_login_user .form-group {
    position: relative;
    margin-bottom: 6px;
    width: 100%;
}

#modal_register_user .form-group .form-control,
#modal_login_user .form-group .form-control {
    height: 52px;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

#modal_register_user .form-group .form-control:focus,
#modal_register_user .form-group.active .form-control,
#modal_login_user .form-group .form-control:focus,
#modal_login_user .form-group.active .form-control {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: none;
}

#modal_register_user .form-group .name1,
#modal_login_user .form-group .name1 {
    position: relative;
    top: 0px;
    left: 0px;
    background: #ffffff;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    border-radius: 4px;
    transition: all 0.2s ease;
    pointer-events: none;
}

#modal_register_user .eye-password-reg,
#modal_login_user .eye-password-login {
    position: absolute;
    right: 16px;
    top: 52px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    font-size: 16px;
    transition: color 0.2s ease;
    z-index: 5;
}

#modal_register_user .eye-password-reg:hover,
#modal_login_user .eye-password-login:hover {
    color: #2563eb;
}

#modal_register_user .form-action-row,
#modal_login_user .form-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 0.875rem;
}

#modal_register_user .have-account-text,
#modal_login_user .no-account-text {
    color: #6b7280;
    font-weight: 500;
    cursor: pointer;
}

#modal_register_user .a-login,
#modal_login_user .a-login {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

#modal_register_user .a-login:hover,
#modal_login_user .a-login:hover,
#modal_register_user .have-account-text:hover a,
#modal_login_user .no-account-text:hover a{
    color: #1d4ed8;
    text-decoration: underline;
}

#modal_register_user #btn_submit_register_member,
#modal_login_user #btn_submit_login_member {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
}

#modal_register_user #btn_submit_register_member:hover,
#modal_login_user #btn_submit_login_member:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #1d4ed8 0%, #0e7490 100%);
}

#modal_register_user #btn_submit_register_member:active,
#modal_login_user #btn_submit_login_member:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

#modal_register_user .span-error,
#modal_login_user .span-error {
    display: block;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    margin-top: 0px;
    margin-left: 2px;
}

@media (max-width: 576px) {
    #modal_register_user .form-content-register,
    #modal_login_user .form-content-login {
        padding: 30px 20px 24px;
    }
}