/* FlexCourse about page */

/* ---------- Hero ---------- */
.fc-about-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 6.5rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(96, 165, 250, .2), transparent 30%),
        radial-gradient(circle at 12% 82%, rgba(14, 165, 233, .12), transparent 30%),
        linear-gradient(150deg, #f8fbff 0%, #eef5ff 52%, #f8fafc 100%);
}

.fc-about-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: fc-about-orb-pulse 9s ease-in-out infinite alternate;
}

.fc-about-orb-one {
    width: 340px;
    height: 340px;
    top: -180px;
    left: -160px;
    background: rgba(37, 99, 235, .09);
}

.fc-about-orb-two {
    width: 200px;
    height: 200px;
    right: -80px;
    bottom: -80px;
    background: rgba(14, 165, 233, .12);
    animation-delay: -4.5s;
}

@keyframes fc-about-orb-pulse {
    from { opacity: .75; }
    to { opacity: 1; scale: 1.15; }
}

.fc-about-hero-inner { max-width: 800px; margin: 0 auto; }

.fc-about-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .85rem .45rem .55rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    box-shadow: var(--fc-shadow-xs);
    color: var(--fc-primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fc-about-eyebrow img {
    border-radius: 6px;
    object-fit: contain;
}

.fc-about-title {
    font-size: clamp(2.3rem, 5vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.08;
}

.fc-about-title span {
    background: linear-gradient(100deg, var(--fc-primary), var(--fc-accent), var(--fc-primary));
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fc-about-gradient 6s ease-in-out infinite;
}

@keyframes fc-about-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.fc-about-lead {
    max-width: 680px;
    color: var(--fc-text-2);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.8;
}

/* ---------- Stats ---------- */
.fc-about-stats {
    position: relative;
    z-index: 3;
    margin-top: -3.25rem;
}

.fc-about-stats-panel {
    position: relative;
    overflow: hidden;
    padding: .65rem;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, .11);
}

.fc-about-stats-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--fc-primary), var(--fc-accent), transparent);
    opacity: .4;
}

.fc-about-stat {
    position: relative;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
}

.fc-about-stats-panel [class*="col-"]:not(:last-child) .fc-about-stat::after {
    content: "";
    position: absolute;
    right: 0;
    top: 24%;
    bottom: 24%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--fc-border), transparent);
}

.fc-about-stat-icon {
    width: 54px;
    height: 54px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    border-radius: 17px;
    font-size: 1.3rem;
}

.fc-about-stat-icon.is-blue,
.fc-about-feature-icon.is-blue {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .3);
}

.fc-about-stat-icon.is-sky,
.fc-about-feature-icon.is-sky {
    background: linear-gradient(135deg, #0369a1, #38bdf8);
    box-shadow: 0 10px 22px rgba(14, 165, 233, .28);
}

.fc-about-stat-icon.is-violet,
.fc-about-feature-icon.is-violet {
    background: linear-gradient(135deg, #6d28d9, #a78bfa);
    box-shadow: 0 10px 22px rgba(124, 58, 237, .28);
}

.fc-about-stat-icon.is-gold,
.fc-about-feature-icon.is-gold {
    background: linear-gradient(135deg, #b45309, #fbbf24);
    box-shadow: 0 10px 22px rgba(217, 119, 6, .28);
}

.fc-about-feature-icon.is-green {
    background: linear-gradient(135deg, #047857, #34d399);
    box-shadow: 0 10px 22px rgba(5, 150, 105, .28);
}

.fc-about-feature-icon.is-rose {
    background: linear-gradient(135deg, #be123c, #fb7185);
    box-shadow: 0 10px 22px rgba(225, 29, 72, .28);
}

.fc-about-stat strong,
.fc-about-stat > div > span { display: block; }

.fc-about-stat strong {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.15;
}

.fc-about-stat strong em {
    color: var(--fc-primary);
    font-style: normal;
}

.fc-about-stat > div > span {
    margin-top: .1rem;
    color: var(--fc-muted);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .02em;
}

/* ---------- Sections ---------- */
.fc-about-section {
    padding: 5.5rem 0;
    background: #fff;
}

.fc-about-section-alt {
    background: linear-gradient(180deg, #f8fafc, #eef5ff 60%, #f8fafc);
}

.fc-about-section-eyebrow {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    color: var(--fc-primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fc-about-section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.fc-about-section-lead { max-width: 560px; }

.fc-about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .65rem;
    font-weight: 600;
    color: var(--fc-text);
}

.fc-about-checklist li i {
    margin-top: .15rem;
    color: var(--fc-success, #16a34a);
}

/* ---------- Mission visual ---------- */
.fc-about-visual {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.fc-about-visual::before {
    content: "";
    position: absolute;
    inset: 12% 6%;
    border-radius: 50%;
    background: rgba(37, 99, 235, .16);
    filter: blur(55px);
}

.fc-about-visual-card {
    position: relative;
    z-index: 2;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 28px 65px rgba(30, 64, 175, .18);
}

.fc-about-visual-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .22);
}

.fc-about-visual-bar {
    height: 9px;
    margin-bottom: .6rem;
    border-radius: 999px;
    background: #e8eef8;
    overflow: hidden;
}

.fc-about-visual-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fc-primary), var(--fc-accent));
}

.fc-about-visual-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .14);
    font-size: .78rem;
    font-weight: 700;
    color: var(--fc-text);
    animation: fc-about-bob 5.5s ease-in-out infinite;
}

.fc-about-visual-chip i { color: var(--fc-primary); }

.fc-about-visual-chip-one { top: 8%; left: -4%; }

.fc-about-visual-chip-two {
    right: -4%;
    bottom: 10%;
    animation-delay: -2.75s;
}

.fc-about-visual-chip-two i { color: #d97706; }

@keyframes fc-about-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Feature / audience cards ---------- */
.fc-about-feature,
.fc-about-audience,
.fc-about-step {
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--fc-border);
    border-radius: 1.1rem;
    background: var(--fc-surface, #fff);
    box-shadow: var(--fc-shadow-xs);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.fc-about-feature:hover,
.fc-about-audience:hover,
.fc-about-step:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px rgba(30, 64, 175, .12);
}

.fc-about-feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    color: #fff;
    border-radius: 15px;
    font-size: 1.2rem;
}

/* ---------- Steps ---------- */
.fc-about-step {
    position: relative;
    text-align: center;
    padding-top: 2.25rem;
}

.fc-about-step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fc-primary), var(--fc-accent));
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}

.fc-about-step-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--fc-primary);
    font-size: 1.35rem;
}

/* ---------- CTA ---------- */
.fc-about-cta {
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #1e3a8a, var(--fc-primary) 58%, var(--fc-accent));
    box-shadow: 0 24px 60px rgba(30, 64, 175, .24);
}

.fc-about-cta-pattern {
    position: absolute;
    inset: -90px 0;
    opacity: .2;
    background-image:
        radial-gradient(circle at 12% 25%, #fff 0 2px, transparent 3px),
        radial-gradient(circle at 88% 70%, #fff 0 2px, transparent 3px);
    background-size: 70px 70px, 90px 90px;
}

.fc-about-cta h2 { color: #fff; }
.fc-about-cta p { max-width: 620px; margin: 0 auto 1.8rem; color: #dbeafe; }

/* ---------- Reveal animations ---------- */
.fc-anim [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.fc-anim [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    .fc-anim [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .fc-about-orb,
    .fc-about-title span,
    .fc-about-visual-chip {
        animation: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .fc-about-hero { padding: 4.25rem 0 5.5rem; }
    .fc-about-stats { margin-top: -2.5rem; }

    .fc-about-stats-panel [class*="col-"]:nth-child(even) .fc-about-stat::after {
        display: none;
    }

    .fc-about-stats-panel [class*="col-"]:nth-child(-n+2) .fc-about-stat {
        border-bottom: 1px solid var(--fc-border);
    }
}

@media (max-width: 767.98px) {
    .fc-about-hero { padding: 3.5rem 0 5rem; }
    .fc-about-section { padding: 4rem 0; }
    .fc-about-stat { min-height: 96px; justify-content: flex-start; gap: .75rem; padding: 1rem .85rem; }
    .fc-about-stat strong { font-size: 1.3rem; }
    .fc-about-stat-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 1.05rem; }
    .fc-about-visual { padding: 2rem .75rem; }
    .fc-about-visual-chip-one { left: 0; }
    .fc-about-visual-chip-two { right: 0; }
    .fc-about-cta { padding: 3rem 1.25rem; border-radius: 1.1rem; }
}
