/* =============================================
   THE FUTURE ANALYST — HOME PAGE STYLES
   Font: SF Pro (macOS) → Inter (Windows/Linux) → sans-serif
   ============================================= */

/* ---- FONT IMPORT ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
    /* Typography */
    --tfa-font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', sans-serif;
    --tfa-font-heading: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;

    /* Colors */
    --tfa-primary: #00CBA9;
    --tfa-primary-dark: #00A388;
    --tfa-primary-light: #E6F9F6;
    --tfa-primary-glow: rgba(0, 203, 169, 0.2);
    --tfa-text-dark: #1A1D1F;
    --tfa-text-body: #4B5563;
    --tfa-text-gray: #6F767E;
    --tfa-text-muted: #9CA3AF;
    --tfa-navy: #111827;
    --tfa-white: #ffffff;
    --tfa-bg-soft: #F8FAFC;
    --tfa-bg-section: #F9FAFB;
    --tfa-border: #E5E7EB;
    --tfa-border-light: #eef2f7;

    /* Shadows */
    --tfa-shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.08);
    --tfa-shadow-card: 0 15px 40px rgba(0, 0, 0, 0.08);
    --tfa-shadow-hover: 0 20px 50px rgba(0, 203, 169, 0.15);

    /* Spacing */
    --tfa-container: 85%;
    --tfa-section-padding: 100px 20px;
    --tfa-radius: 20px;
    --tfa-radius-lg: 30px;
    --tfa-radius-pill: 100px;
}

/* ---- Bảo vệ GP Header/Nav ---- */
.site-header {
    position: relative;
    z-index: 999 !important;
}

/* ---- GLOBAL RESET cho tất cả TFA sections ---- */
.tfa-home-main [class^="tfa-"],
.tfa-home-main [class^="tfa-"] * {
    box-sizing: border-box !important;
    font-family: var(--tfa-font-primary) !important;
}

/* Fullwidth: bỏ container wrapper của GP trên trang home */
.tfa-home-main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.tfa-home-main .inside-article {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.tfa-home-main .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Font Awesome override */
.fa, .fas, .fa-solid {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
}
.fa-brands, .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}


/* =============================================
   SECTION 1: HERO
   ============================================= */
.tfa-hero-enhanced {
    background-image: url('https://madzynguyen.com/wp-content/uploads/2026/03/Thuc-chien-2.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.tfa-hero-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82) !important;
    z-index: 1;
}

.tfa-hero-container {
    max-width: var(--tfa-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Left */
.tfa-hero-title-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--tfa-primary-light) !important;
    color: var(--tfa-primary-dark) !important;
    border-radius: var(--tfa-radius-pill);
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tfa-hero-subtitle {
    font-family: var(--tfa-font-heading) !important;
    font-size: 64px !important;
    font-weight: 800 !important;
    line-height: 1.1;
    color: var(--tfa-text-dark) !important;
    margin-bottom: 25px;
}
.tfa-hero-subtitle span { color: var(--tfa-primary) !important; }

.tfa-hero-description {
    font-size: 18px !important;
    color: var(--tfa-text-gray) !important;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.tfa-hero-btn-primary {
    padding: 18px 40px;
    background: var(--tfa-primary) !important;
    color: white !important;
    border-radius: 16px;
    font-weight: 700 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px var(--tfa-primary-glow);
    transition: 0.3s;
}
.tfa-hero-btn-primary:hover {
    background: var(--tfa-primary-dark) !important;
    transform: translateY(-2px);
}

/* Social Proof */
.tfa-hero-social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}
.tfa-hero-avatars { display: flex; }
.tfa-hero-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 3px solid var(--tfa-white) !important;
    margin-left: -15px;
    object-fit: cover;
}
.tfa-hero-avatar:first-child { margin-left: 0; }

.tfa-hero-stats-text {
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--tfa-text-dark) !important;
    margin: 0 0 2px 0;
}

/* Hero Right - Visual */
.tfa-hero-visual {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tfa-founder-main {
    position: relative;
    z-index: 5;
    text-align: center;
    pointer-events: none;
}

.tfa-founder-image-wrapper {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}
.tfa-founder-image-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.tfa-founder-info {
    margin-top: -30px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(0, 203, 169, 0.15) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
    position: relative;
    z-index: 6;
    display: inline-block;
}

.tfa-founder-name {
    margin: 0;
    font-family: var(--tfa-font-heading) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--tfa-text-dark) !important;
}

.tfa-founder-title {
    margin: 4px 0 10px 0;
    font-size: 15px !important;
    color: var(--tfa-primary-dark) !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

.tfa-founder-ex-container {
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1) !important;
}

.tfa-founder-ex {
    font-size: 13px !important;
    color: var(--tfa-text-gray) !important;
    line-height: 1.5;
    margin: 3px 0;
}


/* =============================================
   SECTION 2: AUTHORITY / WHY TFA
   ============================================= */
.tfa-authority-creative {
    padding: var(--tfa-section-padding);
    background: linear-gradient(180deg, #ffffff 0%, var(--tfa-bg-section) 50%, #ffffff 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Decorative shapes */
.tfa-deco-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatShape 20s infinite ease-in-out;
}
.tfa-deco-1 { width: 300px; height: 300px; background: linear-gradient(135deg, var(--tfa-primary), #56DFCF) !important; top: 10%; right: -100px; }
.tfa-deco-2 { width: 200px; height: 200px; background: linear-gradient(135deg, #56DFCF, var(--tfa-primary)) !important; bottom: 15%; left: -80px; animation-delay: 3s; }
.tfa-deco-3 { width: 150px; height: 150px; background: linear-gradient(135deg, #004030, var(--tfa-primary)) !important; top: 50%; left: 10%; animation-delay: 6s; }

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.tfa-authority-creative-container {
    max-width: var(--tfa-container);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Headers (shared pattern) */
.tfa-authority-creative-header,
.tfa-ps-header,
.tfa-ecosystem-creative-header,
.tfa-team-header {
    text-align: center;
    margin-bottom: 80px;
}

/* Animate-in pattern */
.tfa-authority-creative-header,
.tfa-ps-header,
.tfa-roadmap-wrapper,
.tfa-ps-grid {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.tfa-authority-creative-header.animate,
.tfa-ps-header.animate,
.tfa-roadmap-wrapper.animate,
.tfa-ps-grid.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Badge (shared) */
.tfa-hero-header-badge,
.tfa-ps-badge,
.tfa-badge-modern {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 24px;
    background: linear-gradient(135deg, #D6F4ED, #E0F2F1) !important;
    border: 2px solid var(--tfa-primary) !important;
    border-radius: var(--tfa-radius-pill);
    margin-bottom: 25px;
}
.tfa-hero-header-badge {
    width: fit-content !important;
    margin: 0 auto 25px auto !important;
    animation: badgePulse 3s infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 203, 169, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 203, 169, 0); }
}

.tfa-header-badge-icon,
.tfa-ps-badge i,
.tfa-badge-modern i {
    font-size: 18px !important;
    color: var(--tfa-primary) !important;
}
.tfa-header-badge-text,
.tfa-ps-badge-text,
.tfa-badge-text {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #004030 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Titles (shared) */
.tfa-authority-creative-title,
.tfa-ps-title,
.tfa-ecosystem-creative-title,
.tfa-team-title {
    font-family: var(--tfa-font-heading) !important;
    font-size: 48px !important;
    font-weight: 900 !important;
    color: #000000 !important;
    margin: 0 0 25px 0;
    line-height: 1.2;
}
.tfa-ps-title span { color: var(--tfa-primary) !important; }

.tfa-authority-creative-title {
    position: relative;
    display: inline-block;
}
.tfa-authority-creative-title::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 5px;
    background: linear-gradient(90deg, var(--tfa-primary), #56DFCF) !important;
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tfa-authority-creative-header.animate .tfa-authority-creative-title::after { width: 180px; }

/* Section Subtitles (shared) */
.tfa-authority-creative-intro,
.tfa-ps-subtitle,
.tfa-team-subtitle {
    font-size: 19px !important;
    color: #666666 !important;
    margin: 0 auto;
    line-height: 1.8;
    max-width: 750px;
}
.tfa-authority-creative-intro strong {
    background: linear-gradient(135deg, var(--tfa-primary), #56DFCF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
}
.tfa-team-subtitle strong { color: var(--tfa-navy) !important; }

/* Feature Rows */
.tfa-creative-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}
.tfa-creative-row:nth-child(even) { direction: rtl; }
.tfa-creative-row:nth-child(even) > * { direction: ltr; }

.tfa-creative-image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.tfa-creative-image-wrapper.animate { opacity: 1; transform: translateY(0); }

.tfa-creative-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px; right: 15px; bottom: 15px;
    border: 3px solid var(--tfa-primary) !important;
    border-radius: 24px;
    opacity: 0.3;
    z-index: -1;
}

.tfa-creative-image {
    width: 100%; height: 400px;
    border-radius: var(--tfa-radius);
    overflow: hidden;
    background: linear-gradient(135deg, #E0F2F1 0%, #D6F4ED 100%) !important;
    box-shadow: var(--tfa-shadow-soft);
    position: relative;
}
.tfa-creative-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tfa-creative-image-wrapper:hover .tfa-creative-image img { transform: scale(1.1); }

.tfa-creative-number {
    position: absolute; top: -10px; right: -10px;
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--tfa-primary), #56DFCF) !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px !important; font-weight: 900 !important;
    color: var(--tfa-white) !important;
    box-shadow: 0 10px 20px var(--tfa-primary-glow);
    border: 4px solid var(--tfa-white) !important;
    z-index: 10;
}

/* Feature Content */
.tfa-creative-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    transition-delay: 0.3s;
}
.tfa-creative-content.animate { opacity: 1; transform: translateY(0); }

.tfa-creative-icon {
    font-size: 70px !important;
    margin-bottom: 25px;
    display: block;
    background: linear-gradient(135deg, var(--tfa-primary), #56DFCF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 20px var(--tfa-primary-glow));
    animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.tfa-creative-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #D6F4ED, #E0F2F1) !important;
    color: #004030 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--tfa-radius);
    margin-bottom: 20px;
    border: 2px solid var(--tfa-primary) !important;
}

.tfa-creative-title {
    font-size: 34px !important;
    font-weight: 900 !important;
    color: #000000 !important;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.tfa-creative-desc {
    font-size: 18px !important;
    color: var(--tfa-text-body) !important;
    margin: 0 0 30px 0;
    line-height: 1.8;
}

/* Stats Mini */
.tfa-creative-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 30px; }
.tfa-stat-mini {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(0, 203, 169, 0.05), rgba(86, 223, 207, 0.05)) !important;
    border: 2px solid var(--tfa-border) !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.tfa-stat-mini:hover { border-color: var(--tfa-primary) !important; transform: translateY(-3px); box-shadow: 0 10px 25px var(--tfa-primary-glow); }
.tfa-stat-mini-value {
    font-size: 24px !important; font-weight: 900 !important;
    background: linear-gradient(135deg, var(--tfa-primary), #56DFCF);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin: 0 0 5px 0 !important;
}
.tfa-stat-mini-label { font-size: 13px !important; color: #6B7280 !important; margin: 0 !important; font-weight: 600 !important; }


/* =============================================
   SECTION 3: PROBLEM-SOLUTION / ROADMAP
   ============================================= */
.tfa-problem-solution {
    font-family: var(--tfa-font-primary);
    padding: var(--tfa-section-padding);
    background: linear-gradient(180deg, #ffffff 0%, var(--tfa-bg-section) 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* BG Decorations */
.tfa-ps-bg-blob {
    position: absolute; border-radius: 50%;
    filter: blur(90px); opacity: 0.1;
    animation: psBlobFloat 24s infinite ease-in-out;
}
.tfa-ps-blob-1 { width: 500px; height: 500px; background: linear-gradient(135deg, var(--tfa-primary), #56DFCF); top: -180px; right: -120px; }
.tfa-ps-blob-2 { width: 450px; height: 450px; background: linear-gradient(135deg, #56DFCF, var(--tfa-primary)); bottom: -150px; left: -100px; animation-delay: 8s; }

@keyframes psBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -50px) scale(1.1); }
}

.tfa-ps-bg-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(0, 203, 169, 0.12) 1.5px, transparent 1.5px);
    background-size: 28px 28px; opacity: 0.4; pointer-events: none;
}

.tfa-ps-particle {
    position: absolute; width: 6px; height: 6px;
    background: linear-gradient(135deg, var(--tfa-primary), #56DFCF);
    border-radius: 50%; opacity: 0.5;
    animation: psParticleFloat 18s infinite ease-in-out;
}
.tfa-ps-particle-1 { top: 15%; left: 12%; }
.tfa-ps-particle-2 { top: 45%; right: 18%; animation-delay: 4s; }
.tfa-ps-particle-3 { top: 70%; left: 22%; animation-delay: 8s; }
.tfa-ps-particle-4 { top: 30%; right: 25%; animation-delay: 12s; }

@keyframes psParticleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(35px, -40px); opacity: 0.7; }
}

.tfa-ps-container {
    max-width: var(--tfa-container);
    margin: 0 auto;
    position: relative; z-index: 10;
}

/* Roadmap */
.tfa-roadmap-wrapper {
    background: linear-gradient(135deg, rgba(0, 203, 169, 0.05), rgba(86, 223, 207, 0.05));
    border: 2px solid #E0F2F1;
    border-radius: var(--tfa-radius-lg);
    padding: 60px 50px 40px;
    margin: 0 auto 60px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 203, 169, 0.08);
    overflow: hidden;
    transition-delay: 0.2s;
}
.tfa-roadmap-wrapper::before {
    content: '';
    position: absolute; top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 203, 169, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.tfa-roadmap-title {
    font-family: var(--tfa-font-heading) !important;
    text-align: center;
    font-size: 34px !important; font-weight: 800 !important;
    color: #000000 !important;
    margin: 0 0 50px 0; line-height: 1.3;
}

/* Steps */
.tfa-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1200px;
    margin: 0 auto 90px;
    padding: 30px 30px 0;
}
.tfa-steps-container::before {
    content: '';
    position: absolute;
    top: calc(30px + 47.5px);
    left: 8%; right: 8%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--tfa-primary) 0%,
        var(--tfa-primary) var(--line-progress, 0%),
        #D1D5DB var(--line-progress, 0%),
        #D1D5DB 100%);
    border-radius: 2px; z-index: 0;
}

.tfa-step {
    flex: 1;
    display: flex; flex-direction: column; align-items: center;
    position: relative; z-index: 1;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tfa-step-number {
    width: 95px; height: 95px;
    background: white;
    border: 4px solid #D1D5DB;
    border-radius: var(--tfa-radius);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--tfa-font-heading) !important;
    font-weight: 800 !important; font-size: 38px !important;
    color: var(--tfa-text-muted) !important;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none !important;
}

.tfa-step.future .tfa-step-number { cursor: pointer; }
.tfa-step.future:hover { transform: scale(1.02); }
.tfa-step.future:hover .tfa-step-number {
    border-color: var(--tfa-primary);
    transform: translateY(-6px);
    box-shadow: 0 8px 20px var(--tfa-primary-glow);
}
.tfa-step.future:hover .tfa-step-title { color: var(--tfa-primary) !important; }

.tfa-step.active .tfa-step-number {
    background: linear-gradient(135deg, var(--tfa-primary), #56DFCF);
    border-color: var(--tfa-primary);
    color: var(--tfa-white) !important;
    box-shadow: 0 0 35px rgba(0, 203, 169, 0.6),
                0 10px 25px rgba(0, 203, 169, 0.35),
                0 0 0 8px rgba(0, 203, 169, 0.1);
    animation: tfaPulseGlow 2.5s ease-in-out infinite;
    width: 105px; height: 105px; font-size: 42px !important;
}
@keyframes tfaPulseGlow {
    0%, 100% { box-shadow: 0 0 35px rgba(0, 203, 169, 0.6), 0 10px 25px rgba(0, 203, 169, 0.35), 0 0 0 8px rgba(0, 203, 169, 0.1); }
    50% { box-shadow: 0 0 50px rgba(0, 203, 169, 0.8), 0 15px 35px rgba(0, 203, 169, 0.45), 0 0 0 12px rgba(0, 203, 169, 0.15); }
}

.tfa-step-content { text-align: center; max-width: 200px; display: flex; flex-direction: column; }
.tfa-step.active .tfa-step-content { margin-top: 10px; }

.tfa-step-label {
    font-size: 13px !important; font-weight: 700 !important;
    color: #6B7280 !important;
    margin-bottom: 8px; text-transform: uppercase;
    letter-spacing: 1px; opacity: 0.7;
    transition: all 0.3s ease;
}
.tfa-step.active .tfa-step-label { color: var(--tfa-primary) !important; opacity: 1; font-weight: 800 !important; }

.tfa-step-title {
    font-size: 16px !important; font-weight: 600 !important;
    color: #6B7280 !important;
    line-height: 1.4; transition: color 0.3s ease;
    min-height: 44px;
    display: flex; align-items: flex-start; justify-content: center;
}
.tfa-step.active .tfa-step-title { color: #000000 !important; font-weight: 700 !important; font-size: 17px !important; }

.tfa-coming-soon-badge {
    position: absolute; top: -35px; left: 50%;
    transform: translateX(-50%);
    background: var(--tfa-text-muted);
    color: var(--tfa-white) !important;
    padding: 4px 12px; border-radius: 12px;
    font-size: 10px !important; font-weight: 700 !important;
    letter-spacing: 0.8px; white-space: nowrap;
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.3);
    z-index: 10;
}


/* =============================================
   SECTION 4: ECOSYSTEM
   ============================================= */
.tfa-ecosystem-creative {
    padding: var(--tfa-section-padding);
    background: var(--tfa-white) !important;
    position: relative;
    overflow: hidden;
}

.tfa-ecosystem-creative-container {
    max-width: var(--tfa-container);
    margin: 0 auto;
    z-index: 2; position: relative;
}

.tfa-ecosystem-creative-title {
    margin-bottom: 15px;
}
.tfa-ecosystem-creative-header p {
    color: #64748b !important;
    font-size: 18px !important;
}

/* Ecosystem Grid */
.tfa-ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tfa-ecosystem-card {
    background: #fff !important;
    border-radius: 35px;
    padding: 40px;
    border: 1px solid var(--tfa-border-light) !important;
    transition: all 0.4s ease;
    text-align: center;
    display: flex; flex-direction: column;
}
.tfa-ecosystem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(26, 158, 140, 0.10);
}

.tfa-ecosystem-card.theme-elearning { background: #F2FBF9 !important; border-color: #D5EDE9 !important; }
.tfa-ecosystem-card.theme-live { background: #FFF4F2 !important; border-color: #F5CEC8 !important; border-width: 2px !important; }
.tfa-ecosystem-card.theme-b2b { background: #F2FBF9 !important; border-color: #D5EDE9 !important; }

/* Image stacks */
.tfa-image-area {
    position: relative;
    width: 200px; height: 200px;
    margin: 0 auto 40px auto;
    perspective: 1000px;
}

.tfa-img-square {
    position: absolute; width: 100%; height: 100%;
    border-radius: 24px;
    background: var(--tfa-white) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}
.tfa-img-square img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tfa-img-square i { font-size: 60px !important; color: #7D96A8 !important; }

.elearning-stack .img-1 { z-index: 4; }
.elearning-stack .img-2 { z-index: 3; }
.elearning-stack .img-3 { z-index: 2; }
.elearning-stack .img-4 { z-index: 1; }

.tfa-ecosystem-card:hover .elearning-stack .img-1 { transform: rotate(0deg) translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.tfa-ecosystem-card:hover .elearning-stack .img-2 { transform: rotate(-15deg) translateX(-25px); }
.tfa-ecosystem-card:hover .elearning-stack .img-3 { transform: rotate(15deg) translateX(25px); }
.tfa-ecosystem-card:hover .elearning-stack .img-4 { transform: rotate(-30deg) translateX(-50px); }

.single-stack .img-main { z-index: 5; border: 2.5px solid #F0A090 !important; }
.theme-elearning .single-stack .img-main { border-color: #9DCFC7 !important; }
.theme-b2b .single-stack .img-main { border-color: #9DCFC7 !important; }
.tfa-ecosystem-card:hover .single-stack .img-main { transform: scale(1.1) rotate(5deg); }

/* Card Tags */
.tfa-card-tag {
    font-size: 11px !important; font-weight: 800 !important;
    padding: 6px 15px;
    border-radius: var(--tfa-radius-pill);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    letter-spacing: 0.5px;
}
.theme-elearning .tfa-card-tag { color: #147A6D !important; background: #D1EDE9 !important; }
.theme-live .tfa-card-tag { color: #B04030 !important; background: #FDDDD8 !important; }
.theme-b2b .tfa-card-tag { color: #147A6D !important; background: #D1EDE9 !important; }

.tfa-card-title {
    font-family: var(--tfa-font-heading) !important;
    font-size: 28px !important; font-weight: 800 !important;
    color: var(--tfa-text-dark) !important;
    margin-bottom: 15px;
}

.tfa-card-desc {
    font-size: 15px !important; color: #64748b !important;
    line-height: 1.6; margin-bottom: 30px; flex-grow: 1;
}

/* Card Buttons */
.tfa-card-btn {
    padding: 16px 25px;
    color: #fff !important; text-decoration: none;
    border-radius: var(--tfa-radius-pill);
    font-weight: 700 !important; font-size: 15px !important;
    transition: 0.3s;
}
.theme-elearning .tfa-card-btn { background: #1A9E8C !important; box-shadow: 0 8px 20px rgba(26, 158, 140, 0.18); }
.theme-elearning .tfa-card-btn:hover { background: var(--tfa-navy) !important; }
.theme-live .tfa-card-btn { background: #D95540 !important; box-shadow: 0 8px 20px rgba(217, 85, 64, 0.18); }
.theme-live .tfa-card-btn:hover { background: var(--tfa-navy) !important; }
.theme-b2b .tfa-card-btn { background: #1A9E8C !important; box-shadow: 0 8px 20px rgba(26, 158, 140, 0.18); }
.theme-b2b .tfa-card-btn:hover { background: var(--tfa-navy) !important; }

/* Course Carousel */
.tfa-course-carousel-wrap { margin-top: 70px; position: relative; }
.tfa-course-carousel-label {
    text-align: center;
    font-size: 13px !important; font-weight: 800 !important;
    color: #1A9E8C !important;
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 30px;
}

.tfa-course-track-outer { overflow: hidden; border-radius: var(--tfa-radius); }
.tfa-course-track {
    display: flex; gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: grab; user-select: none;
}
.tfa-course-track.dragging { transition: none; cursor: grabbing; }

.tfa-course-slide {
    flex: 0 0 calc(33.333% - 16px);
    background: #fff !important;
    border-radius: 24px;
    border: 1px solid var(--tfa-border-light) !important;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.tfa-course-slide:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(26, 158, 140, 0.10); }

.tfa-course-slide-img { width: 100%; height: 200px; overflow: hidden; background: #f0faf8 !important; }
.tfa-course-slide-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.tfa-course-slide:hover .tfa-course-slide-img img { transform: scale(1.06); }

.tfa-course-slide-body { padding: 24px; }
.tfa-course-slide-tag {
    font-size: 11px !important; font-weight: 800 !important;
    padding: 5px 12px; border-radius: var(--tfa-radius-pill);
    text-transform: uppercase; letter-spacing: 0.5px;
    display: inline-block; margin-bottom: 12px;
}
.tfa-course-slide-tag.tag-elearning { color: #147A6D !important; background: #D1EDE9 !important; }
.tfa-course-slide-tag.tag-live { color: #9A6020 !important; background: #F5E2B8 !important; }

.tfa-course-slide-name {
    font-size: 18px !important; font-weight: 800 !important;
    color: var(--tfa-navy) !important; margin: 0 0 8px 0; line-height: 1.3;
}

.tfa-course-slide-price {
    font-size: 22px !important; font-weight: 900 !important;
    color: #1A9E8C !important; margin: 0 0 20px 0;
}
.tfa-course-slide-price span {
    font-size: 14px !important; font-weight: 600 !important;
    color: #94a3b8 !important; text-decoration: line-through; margin-left: 8px;
}

.tfa-course-slide-cta {
    display: block; text-align: center;
    padding: 13px 20px; background: var(--tfa-navy) !important;
    color: #fff !important; border-radius: var(--tfa-radius-pill);
    font-size: 14px !important; font-weight: 700 !important;
    text-decoration: none; transition: background 0.3s ease;
}
.tfa-course-slide-cta:hover { background: #1A9E8C !important; box-shadow: 0 8px 20px rgba(26, 158, 140, 0.25); }

.tfa-course-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.tfa-course-dot {
    width: 8px; height: 8px; border-radius: var(--tfa-radius-pill);
    background: #e2e8f0 !important; cursor: pointer;
    transition: all 0.35s ease; border: none; padding: 0;
}
.tfa-course-dot.active { width: 28px; background: #1A9E8C !important; }


/* =============================================
   SECTION 5: TEAM CAROUSEL
   ============================================= */
.tfa-team-carousel-section {
    padding: var(--tfa-section-padding) !important;
    background: var(--tfa-white) !important;
    position: relative; overflow: hidden;
}

.tfa-team-deco-blob {
    position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 203, 169, 0.05) 0%, transparent 70%) !important;
    z-index: 1; pointer-events: none;
}
.tfa-deco-left { top: -100px; left: -100px; }
.tfa-deco-right { bottom: -100px; right: -100px; }

.tfa-team-carousel-container { width: var(--tfa-container); margin: 0 auto; position: relative; z-index: 2; }

.tfa-badge-modern {
    background: #E6F9F6 !important;
    border: 1.5px solid var(--tfa-primary) !important;
}
.tfa-badge-modern i { font-size: 16px !important; }

/* Carousel */
.tfa-carousel-main-wrapper { position: relative; padding: 0 60px; }
.tfa-carousel-overflow { overflow: hidden; }
.tfa-carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1); }
.tfa-slide { min-width: 33.333%; padding: 20px; }

.tfa-trainer-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: var(--tfa-radius-lg); padding: 50px 30px;
    text-align: center; transition: 0.4s; position: relative; height: 100%;
}
.tfa-trainer-card:hover {
    transform: translateY(-10px);
    border-color: var(--tfa-primary) !important;
    box-shadow: 0 20px 40px rgba(0, 203, 169, 0.1);
}

.tfa-label-founder {
    position: absolute; top: 20px; right: 20px;
    background: var(--tfa-navy) !important; color: #fff !important;
    padding: 6px 14px; border-radius: var(--tfa-radius-pill);
    font-size: 11px !important; font-weight: 700 !important;
}

.tfa-trainer-img-container { width: 120px; height: 120px; margin: 0 auto 25px; position: relative; }
.tfa-trainer-avatar {
    width: 100%; height: 100%; border-radius: 50%;
    background: #f1f5f9 !important;
    display: flex; align-items: center; justify-content: center;
    border: 4px solid #fff !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.tfa-trainer-avatar i { font-size: 50px !important; color: var(--tfa-primary) !important; opacity: 0.3; }
.tfa-trainer-avatar img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top; display: block;
}
.tfa-trainer-card:hover .tfa-trainer-avatar img { transform: scale(1.1); transition: transform 0.4s ease; }

.tfa-verified-check {
    position: absolute; bottom: 5px; right: 5px;
    width: 32px; height: 32px;
    background: var(--tfa-primary) !important;
    border: 3px solid #fff !important;
    border-radius: 50%; color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px !important;
}

.tfa-trainer-name {
    font-family: var(--tfa-font-heading) !important;
    font-size: 24px !important; font-weight: 800 !important;
    color: var(--tfa-navy) !important; margin-bottom: 8px;
}

.tfa-trainer-role {
    font-size: 15px !important; font-weight: 700 !important;
    color: var(--tfa-primary-dark) !important; margin-bottom: 15px;
}

.tfa-exp-tag {
    display: inline-block; padding: 6px 16px;
    background: #F1F5F9 !important; border-radius: var(--tfa-radius-pill);
    font-size: 12px !important; font-weight: 600 !important;
    color: var(--tfa-text-gray) !important; margin-bottom: 25px;
}

.tfa-linkedin-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--tfa-bg-soft) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px; padding: 12px 20px;
    text-decoration: none !important;
    color: var(--tfa-navy) !important;
    font-size: 14px !important; font-weight: 700 !important;
    transition: 0.3s;
}
.tfa-linkedin-btn i { color: #0A66C2 !important; font-size: 18px !important; }
.tfa-linkedin-btn:hover { background: #0A66C2 !important; color: #fff !important; border-color: #0A66C2 !important; }
.tfa-linkedin-btn:hover i { color: #fff !important; }

/* Nav buttons */
.tfa-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px; border-radius: 50%;
    background: #fff !important; border: 1px solid #e2e8f0 !important;
    color: var(--tfa-navy) !important;
    cursor: pointer; z-index: 10; transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.tfa-nav-btn:hover { background: var(--tfa-primary) !important; border-color: var(--tfa-primary) !important; color: #fff !important; }
.tfa-prev { left: 0; }
.tfa-next { right: 0; }

.tfa-carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.tfa-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #cbd5e1 !important; border: none; cursor: pointer; transition: 0.3s;
}
.tfa-dot.active { width: 30px; border-radius: 10px; background: var(--tfa-primary) !important; }


/* =============================================
   RESPONSIVE — ALL SECTIONS
   ============================================= */

/* Tablet */
@media (max-width: 1100px) {
    .tfa-hero-container { grid-template-columns: 1fr; text-align: center; }
    .tfa-hero-social-proof { justify-content: center; }
    .tfa-hero-description { margin: 0 auto 30px auto; }
    .tfa-hero-visual { display: none; }
    .tfa-hero-subtitle { font-size: 48px !important; }
    .tfa-hero-enhanced::before { display: none !important; }
    .tfa-hero-enhanced { background-image: none !important; background: radial-gradient(circle at top right, #f0fdfa 0%, #ffffff 100%) !important; }
}

@media (max-width: 1024px) {
    .tfa-slide { min-width: 50%; }
}

@media (max-width: 991px) {
    :root { --tfa-container: 90%; }

    .tfa-authority-creative,
    .tfa-problem-solution,
    .tfa-ecosystem-creative { padding: 70px 20px; }

    .tfa-authority-creative-title,
    .tfa-ps-title,
    .tfa-ecosystem-creative-title,
    .tfa-team-title { font-size: 40px !important; }

    .tfa-creative-row { grid-template-columns: 1fr; gap: 50px; margin-bottom: 70px; }
    .tfa-creative-row:nth-child(even) { direction: ltr; }
    .tfa-creative-image { height: 350px; }

    .tfa-ecosystem-grid { grid-template-columns: 1fr; }
    .tfa-ecosystem-card { max-width: 400px; margin: 0 auto; }

    .tfa-course-slide { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 768px) {
    .tfa-hero-enhanced { padding: 60px 20px; }
    .tfa-hero-subtitle { font-size: 36px !important; }
    .tfa-hero-description { font-size: 16px !important; }

    .tfa-authority-creative,
    .tfa-problem-solution,
    .tfa-ecosystem-creative { padding: 60px 15px; }

    .tfa-authority-creative-title,
    .tfa-ps-title,
    .tfa-ecosystem-creative-title,
    .tfa-team-title { font-size: 32px !important; }

    .tfa-authority-creative-intro,
    .tfa-ps-subtitle,
    .tfa-team-subtitle { font-size: 17px !important; }

    .tfa-creative-image { height: 300px; }
    .tfa-creative-title { font-size: 28px !important; }
    .tfa-creative-desc { font-size: 16px !important; }
    .tfa-creative-icon { font-size: 56px !important; }
    .tfa-creative-stats { grid-template-columns: 1fr; }

    .tfa-roadmap-wrapper { padding: 40px 20px 25px; }
    .tfa-roadmap-title { font-size: 26px !important; }
    .tfa-step-number { width: 70px; height: 70px; font-size: 28px !important; border-width: 3px; }
    .tfa-step.active .tfa-step-number { width: 80px; height: 80px; font-size: 32px !important; }
    .tfa-step-title { font-size: 14px !important; }

    .tfa-slide { min-width: 100%; }
    .tfa-carousel-main-wrapper { padding: 0 10px; }
    .tfa-nav-btn { display: none; }
}

@media (max-width: 640px) {
    .tfa-course-slide { flex: 0 0 85%; }
}

@media (max-width: 590px) {
    .tfa-roadmap-wrapper { overflow-x: auto; overflow-y: visible; }
    .tfa-steps-container { min-width: 650px; }
    .tfa-roadmap-wrapper::after {
        content: '← Vuốt ngang để xem →';
        display: block; text-align: center;
        color: #6B7280; font-size: 12px;
        margin-top: 15px; opacity: 0.7; font-style: italic;
    }
}

@media (max-width: 480px) {
    .tfa-hero-subtitle { font-size: 30px !important; }

    .tfa-authority-creative-title,
    .tfa-ps-title,
    .tfa-ecosystem-creative-title,
    .tfa-team-title { font-size: 28px !important; }

    .tfa-creative-title { font-size: 24px !important; }
    .tfa-creative-icon { font-size: 50px !important; }
    .tfa-creative-image { height: 260px; }
}
