/* ========================================
   static-pages.css
   Стили для второстепенных статичных страниц
   ======================================== */

/* ========== ГЕРОЙ-СЕКЦИЯ С ЗАГОЛОВКОМ ========== */
.about-hero-section {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.about-main-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary_color, #3F0B81) 0%, var(--primary_color_active, #580BE4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
}

/* ========== ДЕКОРАТИВНЫЕ ЭЛЕМЕНТЫ ========== */
.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary_color, #3F0B81), var(--primary_color_active, #580BE4));
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 0.8s ease-out 0.3s both;
}

.content-separator {
    display: block;
    height: 0.5rem; /* Небольшое пустое пространство между параграфами */
}

/* ========== ТИПОГРАФИКА ========== */
.about-tagline {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    color: #495057;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.about-content {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.about-lead-paragraph {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: left;
}

.about-lead-paragraph:last-child {
    margin-bottom: 0;
}

.about-paragraph {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 2rem;
}

/* ========== АКЦЕНТНЫЕ ЭЛЕМЕНТЫ ========== */
.text-accent {
    color: var(--primary_color, #3F0B81);
    font-weight: 600;
    position: relative;
}

/* ========== СТИЛИ ДЛЯ ССЫЛОК В СТАТИЧНЫХ СТРАНИЦАХ ========== */
.about-lead-paragraph a,
.about-paragraph a {
    color: var(--primary_color, #3F0B81);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.about-lead-paragraph a:hover,
.about-paragraph a:hover {
    color: var(--primary_color_active, #580BE4);
    border-bottom-color: var(--primary_color_active, #580BE4);
}

/* ========== СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ TELEGRAM ССЫЛКИ ========== */
.telegram-link {
    color: #495057;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.5rem;
    margin: 0 0.2rem;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(63, 11, 129, 0.03) 0%, rgba(88, 11, 228, 0.03) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: none !important;
}

.telegram-link:hover {
    color: var(--primary_color, #3F0B81);
    background: linear-gradient(135deg, rgba(63, 11, 129, 0.08) 0%, rgba(88, 11, 228, 0.08) 100%);
    transform: translateY(-1px);
    border-bottom: none !important;
}

.telegram-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.telegram-link:hover .telegram-icon {
    opacity: 1;
}

.telegram-link span {
    position: relative;
}

.telegram-link span::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary_color, #3F0B81);
    transition: width 0.3s ease;
}

.telegram-link:hover span::after {
    width: 100%;
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ========== АДАПТИВНОСТЬ ========== */

/* Планшеты */
@media (max-width: 991px) {
    .about-hero-section {
        margin-top: 3rem;
        margin-bottom: 2.5rem;
    }

    .about-lead-paragraph {
        font-size: 1.25rem;
    }

    .about-paragraph {
        font-size: 1.1rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .about-hero-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .about-tagline {
        margin-bottom: 3rem;
    }

    .about-lead-paragraph {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
        text-align: left;
    }

    .about-paragraph {
        font-size: 1.05rem;
    }

    .content-separator {
        height: 0.25rem; /* Еще меньше пространства на мобильных */
    }

    .telegram-link {
        display: inline;
        padding: 0.1rem 0.3rem;
    }

    .telegram-icon {
        width: 16px;
        height: 16px;
    }
}

/* Маленькие экраны */
@media (max-width: 480px) {
    .about-main-title {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .about-lead-paragraph {
        font-size: 1.05rem;
    }
}
