@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

/* Базовые настройки */
body { 
    font-family: 'Montserrat', sans-serif; 
}

/* Главные кнопки */
.btn-main {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    filter: brightness(1.05);
}

/* Переливающаяся анимация кнопок */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.pulse-btn {
    background-size: 200% 100%;
    animation: shimmer 5s infinite linear;
    background-image: linear-gradient(90deg, #7c3aed, #a78bfa, #7c3aed);
}

/* Кнопки соцсетей */
.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.vk-btn { background: #0077FF; }
.tg-btn { background: #229ED9; }

.social-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Навигационные ссылки */
.nav-link {
    position: relative;
    color: #4b5563;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7c3aed;
    transition: width 0.3s ease;
}

.nav-link:hover { 
    color: #7c3aed; 
}

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

/* Поля ввода формы */
.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 2px solid #e5e7eb;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #7c3aed;
}

/* Отзывы / Карточки */
.review-card {
    min-width: 320px;
    max-width: 400px;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

/* Чередование цветов отзывов */
.review-card:nth-child(odd) { 
    background-color: #7c3aed; 
    color: white; 
}

.review-card:nth-child(odd) p { 
    color: #f3e8ff; 
}

.review-card:nth-child(odd) .author-name { 
    color: white; 
}

.review-card:nth-child(even) { 
    background-color: white; 
    color: #1f2937; 
}

.review-card:nth-child(even) p { 
    color: #4b5563; 
}

.review-card:nth-child(even) .author-name { 
    color: #111827; 
}

@media (max-width: 768px) {
    .review-card { 
        min-width: 100%; 
    }
}

/* Уведомления (Toast) */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.toast {
    background: #7c3aed;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}