/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * ABOUT PAGE - STYLE GUIDE COMPLIANT
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 *
 * 🎨 صفحه درباره ما (About Page)
 * 📋 بر اساس: style-guide.md + design-principles.md
 * 🏗️ معماری: S-Tier SaaS Design inspired by Stripe, Airbnb, Linear
 *
 * @version 1.0.0
 * @date 2025-10-26
 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. CSS VARIABLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    /* Colors - Primary */
    --primary-color: rgb(37, 60, 137);
    --primary-hover: rgb(30, 48, 110);
    --primary-dark: rgb(25, 40, 92);
    --primary-light: rgb(229, 233, 244);

    /* Colors - Text */
    --text-primary: #000000;
    --text-secondary: #222222;
    --text-muted: #717171;
    --text-disabled: #B0B0B0;
    --text-white: #FFFFFF;

    /* Colors - Background */
    --bg-primary: rgb(239, 241, 243);
    --bg-component: #FFFFFF;
    --bg-disabled: rgb(249, 250, 251);
    --bg-hover: #F7F7F7;
    --bg-overlay: rgba(0, 0, 0, 0.5);

    /* Colors - Neutral */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #717171;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #222222;
    --gray-900: #000000;

    /* Colors - Status */
    --success: #00A699;
    --warning: #FFB400;
    --error: #DC2626;
    --info: #008489;

    /* Colors - Border */
    --border-light: #DDDDDD;
    --border-default: #B0B0B0;
    --border-dark: #717171;

    /* Typography */
    --font-primary: 'iransansxv';
    --font-xs: 0.75rem;      /* 12px */
    --font-sm: 0.875rem;     /* 14px */
    --font-base: 1rem;       /* 16px */
    --font-lg: 1.125rem;     /* 18px */
    --font-xl: 1.25rem;      /* 20px */
    --font-2xl: 1.5rem;      /* 24px */
    --font-3xl: 1.875rem;    /* 30px */
    --font-4xl: 2.25rem;     /* 36px */
    --font-5xl: 3rem;        /* 48px */

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;

    /* Spacing (8px-based) */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 48px;
    --spacing-4xl: 64px;
    --spacing-5xl: 96px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 500ms ease;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. MAIN CONTAINER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page {
    direction: rtl;
    font-family: var(--font-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. HERO BANNER SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .hero-banner {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-page .hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(37, 60, 137, 0.85) 0%,
        rgba(37, 60, 137, 0.65) 100%
    );
    z-index: 1;
}

.about-page .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.about-page .hero-title {
    color: var(--text-white);
    font-size: var(--font-3xl);
    font-weight: var(--font-bold);
    margin: 0 0 var(--spacing-md) 0;
    line-height: var(--line-height-tight);
}

.about-page .hero-divider {
    width: 80px;
    height: 4px;
    background: var(--text-white);
    margin: 0 auto var(--spacing-2xl) auto;
    border-radius: var(--radius-full);
}

.about-page .hero-subtitle {
    color: var(--text-white);
    font-size: var(--font-xl);
    font-weight: var(--font-medium);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--spacing-lg) 0;
    opacity: 0.95;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. MAIN CONTENT SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .main-content {
    background: var(--bg-primary);
    padding: var(--spacing-5xl) 0;
}

.about-page .content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. CONTENT SECTIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .content-section {
    background: var(--bg-component);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl) var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
}

.about-page .content-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-page .section-title {
    color: var(--primary-color);
    font-size: var(--font-3xl);
    font-weight: var(--font-bold);
    margin: 0 0 var(--spacing-xl) 0;
    line-height: var(--line-height-tight);
}

.about-page .section-subtitle {
    color: var(--text-primary);
    font-size: var(--font-xl);
    font-weight: var(--font-semibold);
    margin: var(--spacing-2xl) 0 var(--spacing-lg) 0;
    line-height: var(--line-height-normal);
}

.about-page .section-text {
    color: var(--text-secondary);
    font-size: var(--font-base);
    font-weight: var(--font-normal);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--spacing-xl) 0;
    text-align: justify;
}

.about-page .section-text:last-child {
    margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. VALUES GRID (north_star section)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-3xl) 0;
    padding: var(--spacing-2xl) 0;
}

.about-page .value-card {
    background: var(--bg-component);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}

.about-page .value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.about-page .value-icon-wrapper {
    margin-bottom: var(--spacing-lg);
}

.about-page .value-icon {
    width: 100%;
    max-width: 120px;
    height: auto;
    display: inline-block;
    transition: all var(--transition-slow);
}

.about-page .value-card:hover .value-icon {
    transform: scale(1.05);
}

.about-page .value-title {
    color: var(--text-primary);
    font-size: var(--font-base);
    font-weight: var(--font-semibold);
    margin: 0;
    line-height: var(--line-height-normal);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. BULLET LIST SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .bullet-list {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.about-page .bullet-list-item {
    color: var(--text-secondary);
    font-size: var(--font-base);
    font-weight: var(--font-normal);
    line-height: var(--line-height-relaxed);
    margin: 0 0 var(--spacing-md) 0;
    padding-right: var(--spacing-xl);
    position: relative;
}

.about-page .bullet-list-item::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-size: var(--font-lg);
    font-weight: var(--font-bold);
}

.about-page .bullet-list-item:last-child {
    margin-bottom: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. HIGHLIGHT BOX
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .highlight-box {
    background: linear-gradient(
        135deg,
        var(--primary-light) 0%,
        var(--bg-component) 100%
    );
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-2xl);
    text-align: center;
    margin: var(--spacing-3xl) 0;
    box-shadow: var(--shadow-md);
}

.about-page .highlight-text {
    color: var(--primary-color);
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    margin: 0;
    line-height: var(--line-height-normal);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. SPACING UTILITIES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .spacer-sm {
    height: var(--spacing-xl);
}

.about-page .spacer-md {
    height: var(--spacing-2xl);
}

.about-page .spacer-lg {
    height: var(--spacing-3xl);
}

.about-page .spacer-xl {
    height: var(--spacing-4xl);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. RESPONSIVE - TABLET (768px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
    .about-page .hero-banner {
        min-height: 400px;
    }

    .about-page .hero-title {
        font-size: var(--font-2xl);
    }

    .about-page .hero-subtitle {
        font-size: var(--font-lg);
    }

    .about-page .hero-content {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .about-page .main-content {
        padding: var(--spacing-3xl) 0;
    }

    .about-page .content-section {
        padding: var(--spacing-2xl) var(--spacing-xl);
        margin-bottom: var(--spacing-2xl);
    }

    .about-page .section-title {
        font-size: var(--font-2xl);
    }

    .about-page .section-subtitle {
        font-size: var(--font-lg);
    }

    .about-page .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-lg);
    }

    .about-page .value-card {
        padding: var(--spacing-lg);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. RESPONSIVE - MOBILE (412px)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 412px) {
    .about-page .hero-banner {
        min-height: 350px;
    }

    .about-page .hero-title {
        font-size: var(--font-xl);
    }

    .about-page .hero-subtitle {
        font-size: var(--font-base);
    }

    .about-page .hero-content {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .about-page .hero-divider {
        width: 60px;
        height: 3px;
    }

    .about-page .main-content {
        padding: var(--spacing-2xl) 0;
    }

    .about-page .content-container {
        padding: 0 var(--spacing-md);
    }

    .about-page .content-section {
        padding: var(--spacing-xl) var(--spacing-lg);
        margin-bottom: var(--spacing-xl);
        border-radius: var(--radius-md);
    }

    .about-page .section-title {
        font-size: var(--font-xl);
    }

    .about-page .section-subtitle {
        font-size: var(--font-lg);
        margin-top: var(--spacing-xl);
    }

    .about-page .section-text {
        font-size: var(--font-sm);
    }

    .about-page .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin: var(--spacing-xl) 0;
    }

    .about-page .value-card {
        padding: var(--spacing-lg);
    }

    .about-page .value-icon {
        max-width: 80px;
    }

    .about-page .highlight-box {
        padding: var(--spacing-xl);
    }

    .about-page .highlight-text {
        font-size: var(--font-lg);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. ACCESSIBILITY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page *:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.about-page *:focus:not(:focus-visible) {
    outline: none;
}

/* Touch targets - حداقل 44x44px برای موبایل */
@media (hover: none) and (pointer: coarse) {
    .about-page .value-card {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. PRINT STYLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media print {
    .about-page .hero-banner::before {
        background: rgba(37, 60, 137, 0.3);
    }

    .about-page .content-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--border-light);
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. PERFORMANCE OPTIMIZATIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-page .value-icon,
.about-page .hero-banner {
    will-change: transform;
}

.about-page .value-card:hover,
.about-page .content-section:hover {
    will-change: transform, box-shadow;
}
