/* ==========================================
   FUTURE MINDS ACADEMY - HEADER + HERO SYSTEM
   Premium, Conversion-Focused, A/B-Ready
   ========================================== */

/* --- Announcement Bar --- */
.fm-announcement-bar {
    background: #182230;
    border-bottom: 1px solid rgba(74, 125, 181, 0.1);
    padding: 8px 16px;
    font-size: 13px;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.fm-announcement-bronze {
    background: #1e2218;
    border-bottom: 1px solid rgba(196, 154, 82, 0.15);
}

.fm-announcement-accent {
    background: #18202e;
    border-bottom: 1px solid rgba(74, 125, 181, 0.15);
}

.fm-announcement-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fm-announcement-text {
    color: #cbd5e1;
}

.fm-announcement-cta {
    color: #4a7db5;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    font-size: 12px;
    transition: all 0.2s;
}

.fm-announcement-cta:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: #4a7db5;
}

.fm-announcement-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    position: absolute;
    right: 16px;
}

.fm-announcement-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.fm-announcement-bar.fm-hidden-bar {
    display: none;
}

/* --- Site Header --- */
.fm-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.fm-header-nav {
    background: rgba(6, 17, 31, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    padding: 0 16px;
    position: relative;
}

.fm-site-header.is-scrolled .fm-header-nav {
    background: rgba(6, 17, 31, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 200, 255, 0.1);
}

.fm-site-header:not(.is-scrolled) .fm-header-nav {
    background: transparent;
    border-bottom: 1px solid transparent;
}

.fm-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}

/* --- Logo / Brand --- */
.fm-header-left {
    flex-shrink: 0;
}

.fm-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.fm-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4a7db5, #3a6090);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: #ffffff;
    flex-shrink: 0;
}

.fm-header-logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.fm-header-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.fm-header-brand-name {
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    letter-spacing: -0.01em;
}

.fm-header-brand-subtitle {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
}

/* --- Desktop Nav --- */
.fm-header-center {
    display: none;
}

@media (min-width: 1024px) {
    .fm-header-center {
        display: flex;
        align-items: center;
    }
}

.fm-nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fm-nav-item {
    position: relative;
}

.fm-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    line-height: 1.4;
    white-space: nowrap;
}

.fm-nav-link:hover,
.fm-nav-link:focus-visible {
    color: #4a7db5;
    background: rgba(34, 211, 238, 0.08);
}

.fm-nav-arrow {
    transition: transform 0.2s;
}

.fm-nav-mega-btn[aria-expanded="true"] .fm-nav-arrow,
.fm-nav-dropdown-trigger:hover .fm-nav-arrow,
.fm-nav-dropdown-trigger:focus-within .fm-nav-arrow,
.fm-nav-mega-trigger:hover .fm-nav-arrow,
.fm-nav-mega-trigger:focus-within .fm-nav-arrow {
    transform: rotate(180deg);
}

.fm-nav-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fm-badge-bronze {
    background: rgba(196, 154, 82, 0.15);
    color: #c49a52;
}

.fm-badge-blue {
    background: rgba(74, 125, 181, 0.15);
    color: #4a7db5;
}

.fm-badge-green {
    background: rgba(72, 168, 124, 0.15);
    color: #48a87c;
}

.fm-badge-purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a78bfa;
}

/* --- Dropdown Menu --- */
.fm-nav-dropdown-trigger {
    position: relative;
}

.fm-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: rgba(6, 16, 32, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 211, 238, 0.04);
    list-style: none;
    z-index: 100;
}

.fm-nav-dropdown-trigger:hover .fm-dropdown-menu,
.fm-nav-dropdown-trigger:focus-within .fm-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.fm-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 450;
    border-radius: 10px;
    transition: all 0.15s ease;
    position: relative;
}

.fm-dropdown-link::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    background: #4a7db5;
    transition: height 0.2s ease;
    opacity: 0;
}

.fm-dropdown-link:hover {
    background: rgba(34, 211, 238, 0.06);
    color: #f1f5f9;
    padding-left: 20px;
}

.fm-dropdown-link:hover::before {
    height: 50%;
    opacity: 1;
}

.fm-dropdown-link:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: -2px;
}

.fm-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 10px;
}

/* --- Mega Menu --- */
.fm-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(4, 12, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(34, 211, 238, 0.12);
    border-bottom: 1px solid rgba(34, 211, 238, 0.06);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 211, 238, 0.03);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 999;
    overflow-y: auto;
    max-height: 80vh;
    pointer-events: none;
}

.fm-mega-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fm-mega-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 28px;
}

.fm-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

@media (max-width: 1100px) {
    .fm-mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fm-mega-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fm-mega-column {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    padding: 12px 10px;
    transition: background 0.2s;
}

.fm-mega-column:hover {
    background: rgba(255, 255, 255, 0.02);
}

.fm-mega-column-title {
    font-size: 13px;
    font-weight: 700;
    color: #4a7db5;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(34, 211, 238, 0.08);
}

.fm-mega-column-desc {
    font-size: 12px;
    color: #64748b;
    margin: 6px 0 10px 0;
    line-height: 1.4;
}

.fm-mega-links {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fm-mega-link {
    display: flex;
    flex-direction: column;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.18s ease;
    position: relative;
}

.fm-mega-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    background: #4a7db5;
    transition: height 0.2s ease;
    opacity: 0;
}

.fm-mega-link:hover {
    background: rgba(34, 211, 238, 0.05);
    padding-left: 14px;
}

.fm-mega-link:hover::before {
    height: 60%;
    opacity: 1;
}

.fm-mega-link-title {
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    line-height: 1.3;
}

.fm-mega-link:hover .fm-mega-link-title {
    color: #f1f5f9;
}

.fm-mega-link-subtitle {
    font-size: 11px;
    color: #475569;
    margin-top: 1px;
}

.fm-mega-link:hover .fm-mega-link-subtitle {
    color: #64748b;
}

.fm-mega-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 24px 0;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.fm-mega-footer-text {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 450;
}

/* --- Header Right --- */
.fm-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fm-header-whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #25D366;
    transition: all 0.2s;
}

.fm-header-whatsapp-icon:hover {
    background: rgba(37, 211, 102, 0.1);
    transform: scale(1.05);
}

.fm-header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}

.fm-header-search-btn:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.fm-header-cta {
    white-space: nowrap;
}

/* --- Hamburger --- */
.fm-header-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
}

.fm-header-hamburger:hover {
    background: rgba(255,255,255,0.05);
}

.fm-header-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s;
}

.fm-header-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.fm-header-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.fm-header-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.fm-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.fm-mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

#mobileMenu.fm-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 340px;
    max-width: 88vw;
    padding: 0;
    margin: 0;
    background: #06101e;
    border-left: 1px solid rgba(255,255,255,0.06);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
    #mobileMenu.fm-mobile-menu {
        display: flex;
    }

    #mobileMenu.fm-mobile-menu.open {
        transform: translateX(0);
    }
}

.fm-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.fm-mobile-menu-title {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    letter-spacing: -0.01em;
}

.fm-mobile-menu-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: all 0.2s;
}

.fm-mobile-menu-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.fm-mobile-menu-body {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fm-mobile-ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.fm-mobile-ctas .fm-btn {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.fm-mobile-ctas .fm-btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fm-mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.fm-mobile-nav-item {
    border-radius: 10px;
}

.fm-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.fm-mobile-nav-link:hover {
    background: rgba(34, 211, 238, 0.06);
    color: #4a7db5;
}

.fm-mobile-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fm-mobile-accordion-icon {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    color: #64748b;
}

.fm-mobile-accordion-trigger[aria-expanded="true"] .fm-mobile-accordion-icon {
    transform: rotate(180deg);
    color: #4a7db5;
}

.fm-mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.fm-mobile-accordion-content.open {
    max-height: 500px;
}

.fm-mobile-subnav {
    list-style: none;
    padding: 2px 0 10px 12px;
    margin: 0;
}

.fm-mobile-subnav-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 450;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.fm-mobile-subnav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    background: #4a7db5;
    transition: height 0.2s ease;
    opacity: 0;
}

.fm-mobile-subnav-link:hover {
    color: #e2e8f0;
    background: rgba(34, 211, 238, 0.04);
    padding-left: 18px;
}

.fm-mobile-subnav-link:hover::before {
    height: 50%;
    opacity: 1;
}

.fm-mobile-subnav-subtitle {
    font-size: 12px;
    color: #475569;
}

.fm-mobile-subnav-link:hover .fm-mobile-subnav-subtitle {
    color: #64748b;
}

.fm-mobile-menu-footer {
    padding: 14px 0 0;
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.fm-mobile-menu-footer .fm-btn-whatsapp {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 600;
}

/* --- Hero Section --- */
.fm-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 0 72px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .fm-hero-section {
        min-height: auto;
        padding: 40px 0 56px;
    }
}

@media (max-width: 640px) {
    .fm-hero-section {
        padding: 32px 0 48px;
    }
}

.fm-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fm-hero-glow-grad {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(74, 125, 181, 0.05), transparent 70%);
    pointer-events: none;
}

.fm-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .fm-hero-grid {
        gap: 36px;
    }
}

@media (max-width: 1024px) {
    .fm-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* --- Hero Content --- */
.fm-hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fm-hero-badge {
    margin-bottom: 4px;
}

.fm-hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
    margin: 0;
    letter-spacing: -0.025em;
}

@media (max-width: 1024px) {
    .fm-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .fm-hero-title {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .fm-hero-title {
        font-size: 26px;
    }
}

.fm-hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #6a9cd4;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .fm-hero-subtitle {
        font-size: 15px;
    }
}

.fm-hero-description {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    max-width: 540px;
}

.fm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

/* --- Hero Visual --- */
.fm-hero-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fm-hero-visual-card {
    width: 100%;
}

.fm-hero-city-checker-wrapper {
    width: 100%;
}

.fm-show-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .fm-hide-mobile {
        display: none;
    }
    .fm-show-mobile {
        display: block;
        margin-top: 16px;
    }
    .fm-hero-visual {
        margin-top: 16px;
    }
}

/* --- Visual Cards --- */
.fm-visual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.fm-visual-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.fm-visual-card-icon {
    font-size: 18px;
}

.fm-visual-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Skill Finder Visual */
.fm-visual-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    font-size: 14px;
    color: #cbd5e1;
}

.fm-visual-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.15);
    color: #4a7db5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.fm-visual-cta-mock {
    padding: 12px 18px;
    background: #4a7db5;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-radius: 8px;
    margin-top: 4px;
}

/* City Checker Visual */
.fm-visual-city-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #cbd5e1;
}

.fm-visual-check {
    color: #48a87c;
    font-weight: 700;
}

.fm-visual-city-coming {
    color: #64748b;
    font-style: italic;
}

.fm-visual-coming {
    color: #c49a52;
    font-size: 12px;
}

/* Course Chips Visual */
.fm-visual-course-chip {
    padding: 10px 14px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: #cbd5e1;
}

/* Ecom / Kids / Web Visual */
.fm-visual-ecom-row,
.fm-visual-kids-row,
.fm-visual-web-row {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #cbd5e1;
}

/* App Mockup */
.fm-visual-app-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    font-size: 14px;
    color: #cbd5e1;
}

.fm-visual-app-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(6, 182, 212, 0.15);
    color: #4a7db5;
}

/* --- City Checker Card --- */
.fm-city-checker-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.fm-city-checker-title {
    font-size: 15px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 14px 0;
}

.fm-city-checker-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.fm-city-checker-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.fm-city-checker-select:focus {
    border-color: #4a7db5;
}

.fm-city-checker-select option {
    background: #0f1724;
    color: #e2e8f0;
}

.fm-city-checker-btn {
    margin-top: 4px;
}

.fm-city-checker-note {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin: 10px 0 0;
}

.fm-city-checker-note a {
    color: #4a7db5;
    text-decoration: none;
}

.fm-city-checker-note a:hover {
    text-decoration: underline;
}

/* --- Trust Chips --- */
.fm-hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.fm-trust-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    font-size: 13px;
    color: #94a3b8;
}

.fm-trust-chip-icon {
    font-size: 14px;
}

/* --- Hero Stats --- */
.fm-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.fm-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.fm-hero-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.fm-hero-stat-label {
    font-size: 12px;
    color: #64748b;
}

/* ==========================================
   FUTURE MINDS ACADEMY - HOMEPAGE SECTIONS
   Problem/Solution, Audience, Tracks, Smart Path, City CTA, Trust, Final CTA
   ========================================== */

/* --- Section Base --- */
.fm-section {
    padding: 72px 0;
    scroll-margin-top: 80px;
    position: relative;
}

@media (max-width: 1024px) {
    .fm-section {
        padding: 56px 0;
    }
}

@media (max-width: 640px) {
    .fm-section {
        padding: 48px 0;
    }
}

.fm-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.fm-section-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (max-width: 640px) {
    .fm-section-header {
        margin-bottom: 32px;
    }
}

.fm-section-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(74, 125, 181, 0.1);
    color: #6a9cd4;
    border: 1px solid rgba(74, 125, 181, 0.15);
}

.fm-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
}

@media (max-width: 768px) {
    .fm-section-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .fm-section-title {
        font-size: 22px;
    }
}

.fm-section-subtitle {
    font-size: 16px;
    color: #94a3b8;
    margin: 0;
    max-width: 640px;
    line-height: 1.55;
}

/* --- CTA Block --- */
.fm-section-cta-block {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 640px) {
    .fm-section-cta-block {
        margin-top: 40px;
    }
}

.fm-cta-prompt {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 18px;
}

.fm-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Section alt background — subtle, premium */
.fm-section--alt {
    background: rgba(255, 255, 255, 0.018);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- Problem / Solution 2-Column Grid --- */
.fm-ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .fm-ps-grid {
        grid-template-columns: 1fr;
    }
}

.fm-ps-column-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.fm-ps-column-title--warning {
    color: #c49a52;
}

.fm-ps-column-title--success {
    color: #48a87c;
}

.fm-ps-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fm-ps-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.25s ease;
}

.fm-ps-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.08);
}

.fm-ps-card--warning {
    border-left: 3px solid rgba(251, 146, 60, 0.4);
}

.fm-ps-card--success {
    border-left: 3px solid rgba(74, 222, 128, 0.4);
}

.fm-ps-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
}

.fm-ps-card--warning .fm-ps-card-icon {
    color: #c49a52;
}

.fm-ps-card--success .fm-ps-card-icon {
    color: #48a87c;
}

.fm-ps-card-body {
    flex: 1;
    min-width: 0;
}

.fm-ps-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 4px;
}

.fm-ps-card-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* --- Audience Cards --- */
.fm-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .fm-audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fm-audience-grid {
        grid-template-columns: 1fr;
    }
}

.fm-audience-card {
    position: relative;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.fm-audience-card:hover {
    border-color: rgba(34, 211, 238, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.035);
}

.fm-audience-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(245, 158, 11, 0.15);
    color: #c49a52;
}

.fm-audience-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.08);
    color: #4a7db5;
}

.fm-audience-title {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.fm-audience-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.fm-audience-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #4a7db5;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    margin-top: auto;
}

.fm-audience-cta:hover {
    background: rgba(34, 211, 238, 0.08);
    gap: 8px;
}

/* --- Course Tracks --- */
.fm-tracks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .fm-tracks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fm-tracks-grid {
        grid-template-columns: 1fr;
    }
}

.fm-track-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}

.fm-track-card:hover {
    border-color: rgba(34, 211, 238, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.035);
}

.fm-track-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.fm-track-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(34, 211, 238, 0.06);
    color: #4a7db5;
    flex-shrink: 0;
}

.fm-track-badge {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(245, 158, 11, 0.15);
    color: #c49a52;
    flex-shrink: 0;
}

.fm-track-title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.fm-track-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.fm-track-bestfor {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #48a87c;
}

.fm-track-samples {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.fm-track-samples-label {
    color: #64748b;
}

.fm-track-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fm-track-count {
    font-size: 12px;
    color: #94a3b8;
}

.fm-track-fee {
    font-size: 12px;
    font-weight: 700;
    color: #4a7db5;
}

.fm-track-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    flex-wrap: wrap;
}

.fm-track-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #25D366;
    transition: all 0.2s;
    margin-left: auto;
}

.fm-track-whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

/* --- Smart Path Steps --- */
.fm-smart-path-steps {
    display: flex;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 32px;
    overflow-x: auto;
    padding-bottom: 8px;
}

@media (max-width: 768px) {
    .fm-smart-path-steps {
        flex-direction: column;
        gap: 12px;
    }
}

.fm-step-card {
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.25s ease;
}

.fm-step-card:hover {
    border-color: rgba(34, 211, 238, 0.15);
    transform: translateY(-3px);
}

.fm-step-number {
    font-size: 28px;
    font-weight: 800;
    color: rgba(34, 211, 238, 0.15);
    line-height: 1;
    letter-spacing: -0.03em;
}

.fm-step-title {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.fm-step-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.fm-step-connector {
    display: none;
}

@media (min-width: 768px) {
    .fm-step-connector {
        display: block;
        position: absolute;
        top: 50%;
        left: 100%;
        width: 16px;
        height: 2px;
        margin-left: 0;
        transform: translateY(-50%);
        background: linear-gradient(90deg, rgba(34, 211, 238, 0.3), rgba(34, 211, 238, 0.1));
    }
    .fm-step-connector::after {
        content: '';
        position: absolute;
        right: -2px;
        top: 50%;
        width: 6px;
        height: 6px;
        border-top: 2px solid rgba(34, 211, 238, 0.5);
        border-right: 2px solid rgba(34, 211, 238, 0.5);
        transform: translateY(-50%) rotate(45deg);
    }
}

.fm-smart-path-result {
    max-width: 600px;
    margin: 0 auto 8px;
}

.fm-smart-path-result-card {
    background: rgba(34, 211, 238, 0.04);
    border: 1px solid rgba(34, 211, 238, 0.1);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
}

.fm-spr-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #4a7db5;
    margin-bottom: 8px;
}

.fm-spr-paths {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.fm-spr-path {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.fm-spr-sep {
    font-size: 14px;
    color: #475569;
}

.fm-spr-hint {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* --- City Availability CTA --- */
.fm-city-cta-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(245, 158, 11, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 640px) {
    .fm-city-cta-card {
        padding: 32px 20px;
        border-radius: 16px;
    }
}

.fm-city-form {
    max-width: 720px;
    margin: 0 auto;
}

.fm-city-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

@media (max-width: 768px) {
    .fm-city-form-row {
        grid-template-columns: 1fr;
    }
}

.fm-city-form-group {
    text-align: left;
    min-width: 0;
}

.fm-city-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fm-city-select {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.fm-city-select:focus {
    border-color: #4a7db5;
}

.fm-city-select option {
    background: #0f1724;
    color: #e2e8f0;
}

.fm-city-form-action {
    flex-shrink: 0;
}

.fm-city-cta-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.fm-city-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #4a7db5;
    text-decoration: none;
    transition: all 0.2s;
}

.fm-city-secondary-link:hover {
    gap: 10px;
    color: #6a9cd4;
}

.fm-city-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #25D366;
    text-decoration: none;
    transition: all 0.2s;
}

.fm-city-whatsapp-link:hover {
    color: #48a87c;
}

/* --- Trust Mini --- */
.fm-trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.fm-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 24px;
    font-size: 13px;
    color: #94a3b8;
    transition: all 0.2s;
}

.fm-trust-chip:hover {
    border-color: rgba(34, 211, 238, 0.15);
    color: #cbd5e1;
}

.fm-trust-icon {
    display: flex;
    align-items: center;
    color: #4a7db5;
    flex-shrink: 0;
}

.fm-trust-text {
    line-height: 1.3;
}

/* --- Final CTA Panel --- */
.fm-final-cta-section {
    position: relative;
    overflow: hidden;
}

.fm-cta-panel {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 56px 32px;
    text-align: center;
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
}

.fm-cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(34, 211, 238, 0.1), transparent 60%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .fm-cta-panel {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .fm-cta-panel {
        padding: 40px 20px;
        border-radius: 18px;
    }
}

.fm-cta-panel > * {
    position: relative;
    z-index: 1;
}

.fm-cta-panel-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .fm-cta-panel-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .fm-cta-panel-title {
        font-size: 22px;
    }
}

.fm-cta-panel-subtitle {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 28px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.fm-cta-panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Section alt background (legacy empty rules — using .fm-section--alt class instead) */
.fm-section--alt .fm-section-inner {
    /* handled by .fm-section--alt */
}

/* === Hero Slider === */
.fm-hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.fm-hero-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    touch-action: pan-y;
}

.fm-hero-slide {
    min-width: 100%;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Fade transition mode */
.fm-hero-slider[data-transition="fade"] .fm-hero-slider-track {
    position: relative;
    display: block;
    transition: none;
}

.fm-hero-slider[data-transition="fade"] .fm-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.fm-hero-slider[data-transition="fade"] .fm-hero-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Progress bar (visible when autoplay is on) */
.fm-hero-slider-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.fm-hero-slider-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4a7db5, #6a9cd4);
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
    transition: width 0.1s linear;
    will-change: width;
}

.fm-hero-slider-progress-bar.paused {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

/* Slider controls */
.fm-hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 4px;
    flex-wrap: wrap;
}

.fm-hero-slider-prev,
.fm-hero-slider-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.fm-hero-slider-prev:hover,
.fm-hero-slider-next:hover {
    background: rgba(34, 211, 238, 0.12);
    border-color: #4a7db5;
    color: #4a7db5;
    transform: scale(1.05);
}

.fm-hero-slider-prev:focus-visible,
.fm-hero-slider-next:focus-visible,
.fm-hero-slider-dot:focus-visible,
.fm-hero-slider-pause:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: 3px;
}

.fm-hero-slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fm-hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
}

.fm-hero-slider-dot:hover {
    border-color: rgba(34, 211, 238, 0.6);
    background: rgba(34, 211, 238, 0.15);
}

.fm-hero-slider-dot.active {
    background: #4a7db5;
    border-color: #4a7db5;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}

/* Pause/Play button */
.fm-hero-slider-pause {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.fm-hero-slider-pause:hover {
    background: rgba(34, 211, 238, 0.12);
    border-color: #4a7db5;
    color: #4a7db5;
}

.fm-hero-slider-pause .fm-play-icon {
    display: none;
}

.fm-hero-slider-pause.paused {
    color: #c49a52;
    border-color: rgba(245, 158, 11, 0.3);
}

.fm-hero-slider-pause.paused .fm-pause-icon {
    display: none;
}

.fm-hero-slider-pause.paused .fm-play-icon {
    display: block;
}

/* Counter */
.fm-hero-slider-counter {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    min-width: 56px;
    justify-content: center;
    user-select: none;
}

.fm-hero-slider-counter-sep {
    color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 480px) {
    .fm-hero-slider-pause {
        width: 28px;
        height: 28px;
    }
    .fm-hero-slider-pause svg {
        width: 12px;
        height: 12px;
    }
    .fm-hero-slider-prev,
    .fm-hero-slider-next {
        width: 36px;
        height: 36px;
    }
    .fm-hero-slider-counter {
        font-size: 11px;
        min-width: 48px;
    }
    .fm-hero-slider-controls {
        gap: 10px;
    }
}

/* --- App Style Compact Header --- */
.fm-header-app_style_compact .fm-header-container {
    height: 56px;
}

/* Responsive */
@media (min-width: 1024px) {
    .fm-header-hamburger {
        display: none;
    }

    .fm-mobile-menu-overlay,
    #mobileMenu.fm-mobile-menu,
    #mobileMenu.fm-mobile-menu.open {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateX(100%) !important;
    }
}

@media (max-width: 1024px) {
    .fm-header-cta.fm-hide-mobile {
        display: none;
    }
    .fm-header-container {
        height: 56px;
    }
}

@media (max-width: 480px) {
    .fm-header-brand-subtitle {
        display: none;
    }
    .fm-header-cta {
        display: none;
    }
    .fm-header-right {
        gap: 4px;
    }
    .fm-hero-actions .fm-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fm-mega-menu,
    #mobileMenu.fm-mobile-menu,
    .fm-dropdown-menu,
    .fm-header-nav,
    .fm-hero-slider-track {
        transition: none;
    }
}

/* Accessibility */
.fm-nav-link:focus-visible,
.fm-nav-mega-btn:focus-visible,
.fm-dropdown-link:focus-visible,
.fm-mega-link:focus-visible,
.fm-mobile-nav-link:focus-visible,
.fm-mobile-accordion-trigger:focus-visible,
.fm-header-hamburger:focus-visible,
.fm-mobile-menu-close:focus-visible,
.fm-header-search-btn:focus-visible,
.fm-header-whatsapp-icon:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: 2px;
    border-radius: 8px;
}

/* --- Skip-to-content link --- */
.fm-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 9999;
    background: #4a7db5;
    color: #06101e;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: top 0.2s ease;
}

.fm-skip-link:focus,
.fm-skip-link:focus-visible {
    top: 16px;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

#mainContent:focus {
    outline: none;
}

/* --- Smooth scroll for in-page anchors --- */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* --- Card focus-visible (links inside cards) --- */
.fm-section a:focus-visible,
.fm-section button:focus-visible,
.fm-card-course a:focus-visible,
.fm-card-glass a:focus-visible,
.fm-cta-card a:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: 3px;
    border-radius: 6px;
}

/* --- Section divider (decorative) --- */
.fm-section + .fm-section {
    position: relative;
}

.fm-section--alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.4), transparent);
}

/* --- Search Modal --- */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 16px 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fm-search-overlay[hidden] {
    display: none;
}

.fm-search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.fm-search-modal {
    width: 100%;
    max-width: 640px;
    background: rgba(6, 16, 32, 0.98);
    border: 1px solid rgba(34, 211, 238, 0.18);
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 211, 238, 0.05);
    overflow: hidden;
    transform: translateY(-12px) scale(0.98);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 96px);
}

.fm-search-overlay.open .fm-search-modal {
    transform: translateY(0) scale(1);
}

.fm-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.fm-search-input-icon {
    color: #64748b;
    flex-shrink: 0;
}

.fm-search-input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 17px;
    font-family: inherit;
    outline: none;
    padding: 4px 0;
    min-width: 0;
}

.fm-search-input::placeholder {
    color: #64748b;
}

.fm-search-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    color: #94a3b8;
    transition: all 0.15s;
}

.fm-search-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.fm-kbd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    font-size: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 6px;
    color: #94a3b8;
    line-height: 1;
}

.fm-search-results {
    overflow-y: auto;
    flex: 1;
    min-height: 80px;
    max-height: 480px;
    -webkit-overflow-scrolling: touch;
}

.fm-search-empty {
    padding: 32px 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.fm-search-empty p {
    margin: 0 0 8px;
}

.fm-search-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.fm-search-tip {
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: #4a7db5;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.fm-search-tip:hover {
    background: rgba(34, 211, 238, 0.15);
    border-color: #4a7db5;
}

.fm-search-loading {
    padding: 24px 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.fm-search-loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(34, 211, 238, 0.2);
    border-top-color: #4a7db5;
    border-radius: 50%;
    animation: fm-spin 0.7s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes fm-spin {
    to { transform: rotate(360deg); }
}

.fm-search-result {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 18px;
    text-decoration: none;
    color: #e2e8f0;
    border-left: 2px solid transparent;
    transition: all 0.12s;
    cursor: pointer;
}

.fm-search-result:hover,
.fm-search-result.is-selected {
    background: rgba(34, 211, 238, 0.06);
    border-left-color: #4a7db5;
}

.fm-search-result-title {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
}

.fm-search-result-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.fm-search-result-meta .fm-meta-cat {
    color: #4a7db5;
    font-weight: 500;
}

.fm-search-result-snippet {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    margin-top: 2px;
}

.fm-search-no-results {
    padding: 32px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.fm-search-no-results strong {
    color: #f1f5f9;
}

.fm-search-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: #64748b;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.fm-search-view-all {
    margin-left: auto;
    color: #4a7db5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.fm-search-view-all:hover {
    color: #6a9cd4;
}

@media (max-width: 480px) {
    .fm-search-overlay {
        padding: 60px 12px 12px;
    }
    .fm-search-input {
        font-size: 16px;
    }
    .fm-search-modal {
        max-height: calc(100vh - 72px);
    }
    .fm-search-results {
        max-height: 60vh;
    }
}

.fm-hero-slider-dot:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: 2px;
}

/* Active page state */
.fm-nav-link.is-active,
.fm-nav-item.is-active .fm-nav-link {
    color: #4a7db5;
    background: rgba(34, 211, 238, 0.06);
}

.fm-nav-item.is-active-section .fm-nav-link,
.fm-nav-mega-trigger.is-active-section .fm-nav-link {
    color: #4a7db5;
    background: rgba(34, 211, 238, 0.06);
}

.fm-nav-item.is-active-section .fm-nav-arrow {
    color: #4a7db5;
}

/* --- Section Header (shared) --- */
.fm-section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

/* --- Goal Picker (hero) --- */
.fm-goal-picker {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px;
    margin-bottom: 24px;
    background: rgba(6, 16, 32, 0.5);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    isolation: isolate;
}

.fm-goal-picker::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(245, 158, 11, 0.15), transparent);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.fm-goal-chip {
    appearance: none;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.fm-goal-chip:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.04);
}

.fm-goal-chip:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: 2px;
}

.fm-goal-chip.is-active {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(245, 158, 11, 0.12));
    color: #f1f5f9;
    box-shadow: 0 4px 16px rgba(34, 211, 238, 0.15), inset 0 0 0 1px rgba(34, 211, 238, 0.4);
}

.fm-goal-chip-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.fm-goal-chip-label {
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .fm-goal-picker {
        gap: 4px;
        padding: 4px;
        border-radius: 14px;
    }
    .fm-goal-chip {
        padding: 7px 10px;
        font-size: 12px;
    }
    .fm-goal-chip-label {
        font-size: 12px;
    }
}

/* --- Goal content swap (smooth transition) --- */
.fm-goal-contents {
    position: relative;
}

.fm-goal-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fm-goal-content[hidden] {
    display: none;
}

.fm-goal-content:not(.is-active) {
    display: none;
}

.fm-goal-content.is-active {
    animation: fm-goal-fade-in 0.4s ease;
}

@keyframes fm-goal-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fm-goal-content.is-active {
        animation: none;
    }
    .fm-goal-chip {
        transition: none;
    }
}

/* --- Scroll reveal animation --- */
.fm-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

.fm-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* No-JS fallback: if JS is disabled, show everything immediately */
.no-js .fm-reveal {
    opacity: 1;
    transform: none;
}

.fm-reveal:nth-child(2) { transition-delay: 0.05s; }
.fm-reveal:nth-child(3) { transition-delay: 0.1s; }
.fm-reveal:nth-child(4) { transition-delay: 0.15s; }
.fm-reveal:nth-child(5) { transition-delay: 0.2s; }
.fm-reveal:nth-child(6) { transition-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
    .fm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.fm-mega-link-empty {
    padding: 8px 12px;
    color: #64748b;
    font-size: 13px;
    font-style: italic;
}

/* --- Featured Programs Section --- */
.fm-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1100px) {
    .fm-featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .fm-featured-grid { grid-template-columns: 1fr; }
}

.fm-featured-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.25s ease;
    position: relative;
}

.fm-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.fm-featured-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.fm-featured-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: #4a7db5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.fm-featured-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(245, 158, 11, 0.18);
    color: #c49a52;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.fm-featured-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.3;
}

.fm-featured-card-subtitle {
    font-size: 12px;
    color: #4a7db5;
    margin: -4px 0 0;
    font-weight: 500;
}

.fm-featured-card-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 4px 0 0;
}

.fm-featured-best-for {
    font-size: 12px;
    color: #64748b;
    margin: auto 0 0;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.fm-featured-best-for span {
    margin-right: 4px;
}

/* --- Testimonials Section --- */
.fm-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .fm-testimonial-grid { grid-template-columns: 1fr; }
}

.fm-testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.25s ease;
    position: relative;
}

.fm-testimonial-card:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.fm-testimonial-stars {
    display: flex;
    gap: 2px;
}

.fm-testimonial-quote {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    font-style: italic;
}

.fm-testimonial-quote-mark {
    color: rgba(34, 211, 238, 0.3);
    font-size: 36px;
    font-weight: 800;
    line-height: 0;
    position: relative;
    top: 14px;
    margin-right: 4px;
    font-style: normal;
}

.fm-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fm-testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.fm-testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
}

.fm-testimonial-meta {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
    margin-top: 2px;
}

.fm-testimonial-program {
    color: #4a7db5;
    font-weight: 500;
}

/* --- FAQ Section --- */
.fm-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fm-faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.fm-faq-item[open] {
    border-color: rgba(34, 211, 238, 0.25);
    background: rgba(34, 211, 238, 0.02);
}

.fm-faq-item:hover {
    border-color: rgba(34, 211, 238, 0.15);
}

.fm-faq-question {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    user-select: none;
}

.fm-faq-question::-webkit-details-marker {
    display: none;
}

.fm-faq-icon {
    flex-shrink: 0;
    color: #64748b;
    transition: transform 0.25s ease, color 0.2s;
    display: flex;
}

.fm-faq-item[open] .fm-faq-icon {
    transform: rotate(180deg);
    color: #4a7db5;
}

.fm-faq-answer {
    padding: 0 20px 20px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.65;
}

.fm-faq-answer p {
    margin: 0;
}

.fm-faq-footer {
    text-align: center;
    margin-top: 40px;
    padding: 28px 20px;
    background: rgba(34, 211, 238, 0.04);
    border: 1px solid rgba(34, 211, 238, 0.12);
    border-radius: 16px;
}

.fm-faq-footer p {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 16px;
}

.fm-faq-footer-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Final Conversion Section --- */
.fm-final-conversion-panel {
    background: linear-gradient(135deg, rgba(6, 22, 38, 0.95), rgba(20, 14, 38, 0.95));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 24px;
    padding: 48px 44px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), 0 0 80px rgba(34, 211, 238, 0.06);
}

.fm-final-conversion-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.12), transparent 70%);
    pointer-events: none;
}

.fm-final-conversion-panel::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 70%);
    pointer-events: none;
}

.fm-final-conversion-left {
    position: relative;
    z-index: 1;
}

.fm-final-conversion-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 12px 0 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.fm-final-conversion-subtitle {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 24px;
}

.fm-final-conversion-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fm-final-conversion-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.fm-final-conv-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.15);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #4a7db5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.fm-final-conversion-right {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
}

.fm-final-conv-form-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    text-align: center;
}

.fm-final-conv-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fm-final-conv-actions .fm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.fm-final-conv-footnote {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin: 14px 0 0;
}

@media (max-width: 900px) {
    .fm-final-conversion-panel {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 28px;
    }
    .fm-final-conversion-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .fm-final-conversion-title { font-size: 22px; }
    .fm-final-conversion-panel { padding: 24px 20px; }
}

/* --- Empty state --- */
.fm-empty-state {
    text-align: center;
    color: #64748b;
    padding: 32px 20px;
    font-size: 14px;
}

/* --- Course card top row (used by program pages) --- */
.fm-card-course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.fm-card-course-cat {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(34, 211, 238, 0.1);
    color: #4a7db5;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fm-card-course-fee {
    font-weight: 700;
    color: #c49a52;
    font-size: 14px;
    white-space: nowrap;
}

.fm-card-course-meta {
    display: flex;
    gap: 12px;
    margin: 8px 0 12px;
    font-size: 13px;
    color: #94a3b8;
}

/* ========================================
   HERO VIDEO CARD + LIGHTBOX
   ======================================== */

.fm-visual-video {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, 0.18);
    background: linear-gradient(135deg, #0a1530 0%, #06101e 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.05);
    animation: fm-video-glow 6s ease-in-out infinite;
}

@keyframes fm-video-glow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.05), 0 0 40px rgba(34, 211, 238, 0.08); }
    50% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.18), 0 0 60px rgba(34, 211, 238, 0.15); }
}

@media (prefers-reduced-motion: reduce) {
    .fm-visual-video { animation: none; }
}

.fm-visual-video-trigger {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0;
    width: 100%;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font-family: inherit;
    display: block;
}

.fm-visual-video-trigger:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: 2px;
    border-radius: 4px;
}

.fm-visual-video-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #0a1530;
    background-size: cover;
    background-position: center;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(34, 211, 238, 0.15), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(245, 158, 11, 0.1), transparent 50%),
        linear-gradient(135deg, #0a1530 0%, #06101e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fm-visual-video-trigger:hover .fm-visual-video-poster {
    filter: brightness(1.05);
}

.fm-visual-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(6, 16, 32, 0.5) 100%);
    pointer-events: none;
}

.fm-visual-video-play {
    position: relative;
    z-index: 2;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.fm-visual-video-trigger:hover .fm-visual-video-play {
    transform: scale(1.08);
}

.fm-visual-video-trigger:focus-visible .fm-visual-video-play {
    transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
    .fm-visual-video-play,
    .fm-visual-video-trigger:hover .fm-visual-video-play,
    .fm-visual-video-trigger:focus-visible .fm-visual-video-play {
        transition: none;
        transform: none;
    }
}

.fm-visual-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(6, 16, 32, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #e0f2fe;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fm-visual-video-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: fm-pulse-dot 1.6s ease-in-out infinite;
}

@keyframes fm-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
    .fm-visual-video-badge-dot { animation: none; }
}

.fm-visual-video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #f1f5f9;
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.fm-visual-video-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(6, 16, 32, 0.6);
    border-top: 1px solid rgba(34, 211, 238, 0.1);
}

.fm-visual-video-icon {
    color: #4a7db5;
    font-size: 14px;
    flex-shrink: 0;
}

.fm-visual-video-title {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

/* --- Video Lightbox --- */
.fm-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fm-lightbox-fade-in 0.2s ease;
}

.fm-video-lightbox[hidden] {
    display: none;
}

@keyframes fm-lightbox-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fm-video-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.fm-video-lightbox-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1024px;
}

.fm-video-lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}

.fm-video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.fm-video-lightbox-close:focus-visible {
    outline: 2px solid #4a7db5;
    outline-offset: 2px;
}

.fm-video-lightbox-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}

.fm-video-lightbox-frame iframe,
.fm-video-lightbox-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 640px) {
    .fm-video-lightbox { padding: 12px; }
    .fm-video-lightbox-close {
        top: -44px;
        right: 4px;
        width: 36px;
        height: 36px;
    }
    .fm-video-lightbox-frame { border-radius: 8px; }
}

body.fm-no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: var(--scroll-y, 0);
}

/* ========================================
   HERO FULL-BLEED BACKGROUND VIDEO
   ======================================== */

.fm-hero-bg-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fm-hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    z-index: 0;
}

.fm-hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(6, 16, 32, 0.55) 0%, rgba(6, 16, 32, 0.85) 100%),
        linear-gradient(180deg, rgba(6, 16, 32, 0.7) 0%, rgba(6, 16, 32, 0.4) 40%, rgba(6, 16, 32, 0.85) 100%);
    pointer-events: none;
}

.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-bg .fm-hero-glow-grad {
    opacity: 0.3;
}

.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-bg .fm-hero-grid-bg {
    opacity: 0.15;
}

.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-container,
.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-slider,
.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-trust-chips,
.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-stats {
    position: relative;
    z-index: 2;
}

.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-visual .fm-visual-card:not(.fm-visual-video) {
    display: none;
}

.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-visual {
    align-self: end;
}

@media (max-width: 900px) {
    .fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-grid {
        grid-template-columns: 1fr;
    }
    .fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-visual {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fm-hero-bg-video {
        display: none;
    }
    .fm-hero-section:has(.fm-hero-bg-video-wrap) .fm-hero-bg-overlay {
        background:
            linear-gradient(180deg, rgba(6, 16, 32, 0.92) 0%, rgba(6, 16, 32, 0.85) 100%);
    }
}
