/* ========== About Word Forward Academy Section (Organized Layout) ========== */
.about-wfa-section {
    padding: 100px 24px;
    background: #faf5ff;
    /* Subtle warm lavender-white */
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .about-wfa-section {
    background: #0f172a;
}

/* Background Pattern */
.about-wfa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image:
        linear-gradient(rgba(132, 51, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132, 51, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    z-index: 0;
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    /* Increased width to accommodate image + content */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Area */
.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--purple);
    font-weight: 700;
    margin-bottom: 16px;
    display: block;
}

.about-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-color);
}

[data-theme="dark"] .about-title {
    color: #fff;
}

.about-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.5;
}

/* Organized Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Narrative | Visuals */
    gap: 40px;
    align-items: start;
}

/* Left: Narrative Card */
.about-narrative-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px -10px rgba(132, 51, 255, 0.08);
    /* Soft purple reflection */
    height: 100%;
}

[data-theme="light"] .about-narrative-card {
    background: #fff;
    border-color: #f1f5f9;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .about-narrative-card {
    background: rgba(30, 41, 59, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.about-door-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 32px;
    border-left: 4px solid var(--purple);
    padding-left: 24px;
    line-height: 1.4;
}

[data-theme="dark"] .about-door-subtitle {
    color: #f8fafc;
}

.about-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 40px;
}

[data-theme="dark"] .about-body {
    color: #cbd5e1;
}

.about-cta-wrapper {
    text-align: left;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--purple);
    color: white;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.btn-about:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(132, 51, 255, 0.3);
}

.btn-about svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.btn-about:hover svg {
    transform: translateX(4px);
}

/* Right Column: Visual Stack (Image + Proof) */
.about-visual-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Main Image */
.about-feature-image {
    width: 100%;
    aspect-ratio: 5/4;
    /* Taller image for better symmetry with left column */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.about-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-feature-image:hover img {
    transform: scale(1.05);
}

/* Proof Stack below image */
.about-proof-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proof-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    transition: all 0.2s ease;
}

[data-theme="light"] .proof-card {
    background: #fafafa;
    /* Slightly distinct from main card */
    border-color: #e2e8f0;
}

[data-theme="dark"] .proof-card {
    background: rgba(30, 41, 59, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.proof-card:hover {
    transform: translateX(5px);
    border-color: var(--purple);
    background: #ffffff;
    box-shadow: 0 10px 30px -5px rgba(132, 51, 255, 0.1);
}

[data-theme="dark"] .proof-card:hover {
    background: rgba(30, 41, 59, 0.5);
}

.proof-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    /* Prevent shrink */
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.proof-text {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    margin: 0;
}

[data-theme="dark"] .proof-text {
    color: #f1f5f9;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-header {
        margin-bottom: 40px;
    }

    .about-narrative-card {
        padding: 30px 24px;
    }

    .about-visual-stack {
        order: -1;
        /* Image goes on top on mobile for visual engagement */
    }
}