/* ============================================
   درباره ما - استایل اختصاصی (جمع و جور)
   ============================================ */

:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #ede9fe;
    --gold: #f59e0b;
    --gold-light: #facc15;
    --bg: #f8fafc;
    --white: #ffffff;
    --text: #1e1e2e;
    --text-soft: #64748b;
    --border: #e2e8f0;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================
   Hero Compact
   ====================== */
.about-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #3b0764 40%, #6d28d9 100%);
    color: var(--white);
    padding: 30px 20px;
}

.about-hero__inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.about-hero__avatar {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.about-hero__title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 4px;
    color:gold;
}

.about-hero__role {
    opacity: 0.85;
    font-size: 0.85rem;
    color:whitesmoke;
}

/* ======================
   Container
   ====================== */
.about-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ======================
   Main Section (Stats + Bio)
   ====================== */
.about-main {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    border:solid 2px crimson;
}


.about-main__bio {
    color: var(--text-soft);
    line-height: 2;
    font-size: 0.9rem;
    text-align: center;
}

.about-main__bio strong {
    color: var(--primary-dark);
}

/* ======================
   About Section
   ====================== */
.about-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    border:solid 2px #8b5cf6;
}

.about-section__title {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 14px;
    border-right: 3px solid var(--primary);
    padding-right: 10px;
    color:crimson;
}

/* ======================
   Timeline Compact
   ====================== */
.timeline-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-compact__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.timeline-compact__year {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    min-width: 52px;
    text-align: center;
}

.timeline-compact__text {
    font-size: 0.85rem;
    color: green;
}

/* ======================
   Skills Compact
   ====================== */
.skills-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills-compact__item {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    flex: 0 0 calc(33.333% - 6px);
    text-align: center;
}

.skills-compact__item:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ======================
   Footer (Quote + CTA)
   ====================== */
.about-footer {
    background: linear-gradient(135deg, #ede9fe, #c4b5fd);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    border: 2px solid #7c3aed;
}

.about-footer__quote {
    font-size: 1rem;
    font-weight: 700;
    color: #4c1d95;
    line-height: 2;
    font-style: normal;
    margin-bottom: 8px;
}

.about-footer__quote strong {
    color: crimson;
}

.about-footer__author {
    color: #6d28d9;
    font-weight: 800;
    font-style: normal;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 20px;
}

.about-footer__cta {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #1e1b4b;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
    transition: var(--transition);
}

.about-footer__cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 32px rgba(245, 158, 11, 0.6);
}

/* ======================
   Responsive
   ====================== */
@media (max-width: 480px) {
    .about-hero__inner {
        flex-direction: column;
        text-align: center;
    }

    .about-hero__avatar {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        border-radius: 14px;
    }

    .about-hero__title {
        font-size: 1.2rem;
    }

    .stats-inline {
        flex-wrap: wrap;
    }

    .stats-inline__divider {
        display: none;
    }

    .stats-inline__item {
        flex: 0 0 calc(50% - 8px);
    }

    .skills-compact__item {
        flex: 0 0 calc(50% - 4px);
    }

    .about-main {
        padding: 18px;
    }

    .about-section {
        padding: 16px 18px;
    }

    .about-footer {
        padding: 22px 18px;
    }
}