/* === MERTRATIN ABOUT PAGE - ПРОФЕССИОНАЛЬНАЯ СТИЛИЗАЦИЯ === */

/* === ENHANCED MAIN CONTENT === */
.main-content {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    min-height: 100vh;
    padding: var(--space-8) 0;
}

/* === MODERN ABOUT CONTAINER === */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
    margin-bottom: var(--space-16);
    position: relative;
}

/* === PROFESSIONAL HEADER === */
.about-title {
    font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-4xl));
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
    letter-spacing: -0.02em;
    line-height: var(--leading-tight);
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-purple));
    border-radius: var(--radius-full);
}

/* === ELEGANT SECTION CARDS === */
.about-section {
    background: var(--bg-card);
    margin-bottom: var(--space-8);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-section:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-300);
}

.about-section:hover::before {
    opacity: 1;
}

/* === MODERN SECTION HEADERS === */
.about-section h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    padding-left: 0;
    border-left: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    letter-spacing: -0.01em;
}

.about-section h2::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

/* === IMPROVED TYPOGRAPHY === */
.about-section p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
    text-align: justify;
    hyphens: auto;
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* === ENHANCED LISTS === */
.about-section ul {
    margin-left: 0;
    margin-bottom: var(--space-5);
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: var(--space-3);
}

.about-section li {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--leading-normal);
    margin-bottom: 0;
    padding: var(--space-3) var(--space-4);
    background: #1e293b;
    border-radius: var(--radius-lg);
    position: relative;
    padding-left: var(--space-10);
    transition: all 0.2s ease;
    border: 1px solid var(--gray-100);
}

.about-section li:hover {
    background: var(--gray-100);
    border-color: var(--primary-gold);
    transform: translateX(4px);
}

.about-section li::before {
    content: '✓';
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-weight: 700;
    font-size: var(--font-size-sm);
    width: 20px;
    height: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* === PROFESSIONAL HIGHLIGHT BOXES === */
.highlight {
    background: linear-gradient(135deg,
    rgba(255, 215, 0, 0.05) 0%,
    rgba(255, 215, 0, 0.1) 100%);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 215, 0, 0.2);
    margin: var(--space-6) 0;
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '💡';
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-size: var(--font-size-xl);
    opacity: 0.7;
}

.highlight p {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    text-align: center;
    font-style: italic;
    position: relative;
    z-index: 10;
}

/* === SECTION-SPECIFIC STYLING === */
.about-section:nth-child(1) h2::before {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.about-section:nth-child(2) h2::before {
    background: linear-gradient(135deg, var(--success), var(--success-light));
}

.about-section:nth-child(3) h2::before {
    background: linear-gradient(135deg, var(--accent-purple), #7C3AED);
}

.about-section:nth-child(4) h2::before {
    background: linear-gradient(135deg, var(--warning), #F59E0B);
}

.about-section:nth-child(5) h2::before {
    background: linear-gradient(135deg, var(--primary-gold), #FFED4E);
}

.about-section:nth-child(6) h2::before {
    background: linear-gradient(135deg, #EC4899, #BE185D);
}

.about-section:nth-child(7) h2::before {
    background: linear-gradient(135deg, #10B981, #059669);
}

/* === INTRO SECTION SPECIAL STYLING === */
.about-section:first-child {
    background: linear-gradient(135deg,
    var(--bg-card) 0%,
    rgba(99, 102, 241, 0.02) 100%);
    border: 2px solid var(--accent-purple);
    border-style: dashed;
}

.about-section:first-child h2 {
    color: var(--accent-purple);
    font-size: var(--font-size-3xl);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .main-content {
        padding: var(--space-4) 0;
    }

    .about-content {
        margin: 0 var(--space-4);
        margin-bottom: var(--space-12);
    }

    .about-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--space-12);
    }

    .about-section {
        padding: var(--space-6);
        margin-bottom: var(--space-6);
    }

    .about-section h2 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--space-4);
    }

    .about-section p {
        font-size: var(--font-size-base);
        text-align: left;
    }

    .about-section li {
        padding: var(--space-2) var(--space-3) var(--space-2) var(--space-8);
        font-size: var(--font-size-sm);
    }

    .about-section li::before {
        left: var(--space-2);
        width: 16px;
        height: 16px;
        font-size: 0.7rem;
    }

    .highlight {
        padding: var(--space-4);
        margin: var(--space-4) 0;
    }

    .highlight p {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .about-content {
        margin: 0 var(--space-2);
    }

    .about-section {
        padding: var(--space-4);
        border-radius: var(--radius-xl);
    }

    .about-section h2 {
        font-size: var(--font-size-lg);
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    .about-section h2::before {
        align-self: center;
    }

    .about-section p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }

    .about-section li {
        padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6);
        font-size: var(--font-size-xs);
    }

    .about-section li::before {
        left: var(--space-1);
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
    }
}

/* === SCROLL ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section {
    animation: fadeInUp 0.6s ease forwards;
}

.about-section:nth-child(1) { animation-delay: 0.1s; }
.about-section:nth-child(2) { animation-delay: 0.2s; }
.about-section:nth-child(3) { animation-delay: 0.3s; }
.about-section:nth-child(4) { animation-delay: 0.4s; }
.about-section:nth-child(5) { animation-delay: 0.5s; }
.about-section:nth-child(6) { animation-delay: 0.6s; }
.about-section:nth-child(7) { animation-delay: 0.7s; }

/* === ENHANCED FOOTER SPACING === */
.main-footer {
    margin-top: var(--space-12);
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    .about-section {
        animation: none !important;
        transition-duration: 0.1s !important;
    }

    .about-section:hover {
        transform: none !important;
    }

    .about-section li:hover {
        transform: none !important;
    }
}

/* === FOCUS STYLES === */
.about-section:focus-within {
    outline: 2px solid var(--accent-purple);
    outline-offset: 4px;
}

/* === PRINT STYLES === */
@media print {
    .about-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: var(--space-4);
        animation: none;
    }

    .about-section::before {
        display: none;
    }

    .highlight {
        border: 1px solid #ccc;
        background: #f5f5f5;
    }

    .highlight::before {
        display: none;
    }
}