/* Специальные стили для hero секции пресс-центра */
.press-hero {
    background: linear-gradient(135deg, #F8F9FF 0%, #F0F3FF 100%);
    overflow: hidden;
}

.press-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(91, 58, 243, 0.1);
    border-radius: 100px;
    margin-bottom: 2rem;
}

.press-badge i {
    color: var(--primary-color);
}

.press-badge span {
    font-weight: 600;
    color: var(--primary-color);
}

.press-hero-animation {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.float-item {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(91, 58, 243, 0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 160px;
    animation: float 6s infinite ease-in-out;
}

.float-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.float-item span {
    font-weight: 600;
    color: var(--text-color);
}

/* Позиционирование и анимация для каждого элемента */
.news-card {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.stats-card {
    top: 40%;
    right: 15%;
    animation-delay: 1.5s;
}

.media-card-float {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.brand-card {
    bottom: 15%;
    right: 25%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    75% {
        transform: translateY(15px) rotate(-2deg);
    }
}

/* Добавляем блики на картах */
.float-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0)
    );
    border-radius: 16px 16px 0 0;
    opacity: 0.5;
}

/* Адаптивность */
@media (max-width: 992px) {
    .press-hero .container {
        flex-direction: column;
    }

    .press-hero-animation {
        height: 400px;
        margin-top: 6rem;
    }

    .float-item {
        transform-origin: center;
        scale: 0.9;
    }
}

@media (max-width: 768px) {
    .press-hero-animation {
        height: 300px;
    }

    .float-item {
        scale: 0.8;
    }
}

/* Пресс-релизы */
.press-releases-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.press-releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.press-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.press-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.press-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.press-card:hover::before {
    opacity: 1;
}

.press-card-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.press-card-date i {
    color: var(--primary-color);
}

.press-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}

.press-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.press-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.press-card-link:hover {
    gap: 1rem;
}

.press-card-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.press-card-link:hover i {
    transform: translateX(4px);
}

/* Кнопка "Показать ещё" */
.load-more {
    text-align: center;
    margin-top: 3rem;
}

.load-more .btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.load-more .btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.load-more .btn i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.load-more .btn:hover i {
    transform: rotate(180deg);
}

/* Анимация появления */
.press-card.appearing {
    opacity: 0;
    transform: translateY(20px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .press-releases-grid {
        grid-template-columns: 1fr;
    }

    .press-card {
        padding: 1.5rem;
    }
}

/* О нас в СМИ */
.media-coverage-section {
    padding: 4rem 0;
    background-color: var(--background-color);
    border-radius: 30px;
    margin: 2rem 0;
}

.media-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.media-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #eee;
}

/* Стилизация скроллбара для Chrome/Safari */
.media-slider::-webkit-scrollbar {
    height: 8px;
}

.media-slider::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 4px;
}

.media-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.media-slider::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.media-card {
    min-width: 350px;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    scroll-snap-align: start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.media-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.media-card:hover::before {
    opacity: 1;
}

.media-card-source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.media-card-source img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.media-card:hover .media-card-source img {
    filter: grayscale(0);
    opacity: 1;
}

.media-card-source span {
    color: #666;
    font-size: 0.875rem;
}

.media-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}

.media-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.media-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.media-card-link:hover {
    gap: 1rem;
}

.media-card-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.media-card-link:hover i {
    transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .media-container {
        padding: 0 1rem;
    }

    .media-card {
        min-width: 300px;
        padding: 1.5rem;
    }
}

/* Медиа-кит */
.media-kit-section {
    padding: 4rem 0;
    background-color: var(--white);
    border-radius: 30px;
    margin: 2rem 0;
}

.media-kit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.media-kit-card {
    background: var(--background-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.media-kit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.05), rgba(62, 84, 241, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-kit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.media-kit-card:hover::before {
    opacity: 1;
}

.media-kit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.media-kit-card:hover .media-kit-icon {
    transform: rotate(0deg) scale(1.05);
}

.media-kit-icon i {
    font-size: 2rem;
    color: white;
}

.media-kit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
}

.media-kit-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    max-width: 80%;
}

.media-kit-card .btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
}

.media-kit-card .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(91, 58, 243, 0.3);
}

.media-kit-card .btn i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.media-kit-card .btn:hover i {
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .media-kit-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .media-kit-card {
        padding: 2rem;
    }

    .media-kit-card p {
        max-width: 100%;
    }

    .media-kit-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }

    .media-kit-icon i {
        font-size: 1.5rem;
    }
}

.press-release {
    padding: 4rem 0;
}

.press-release-header {
    margin-bottom: 2rem;
    text-align: center;
}

.press-release-header time {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.press-release-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.press-release-footer {
    margin-top: 3rem;
    text-align: center;
}

.press-card.hidden {
    display: none;
}

/* Заголовки секций */
.press-releases-section h2,
.media-coverage-section h2,
.media-kit-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Добавим подзаголовок под h2 */
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Адаптивность для заголовков */
@media (max-width: 768px) {
    .press-releases-section h2,
    .media-coverage-section h2,
    .media-kit-section h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}
