/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TT Travels', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5,
.fw-bold, .fw-semibold {
    font-family: 'TT Travels', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* === ОБНОВЛЕННАЯ НАВИГАЦИЯ === */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'TT Travels', sans-serif;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: #000000 !important;
    letter-spacing: -0.02em;
}

.navbar-brand i {
    margin-right: 0.5rem;
    color: var(--accent-primary);
}

.nav-link {
    font-family: 'TT Travels', sans-serif;
    font-weight: 500;
    color: #4d4d4d !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #000000 !important;
    background-color: #f5f5f5;
    z-index: 1;
}

/* === КАРТОЧКИ - ВСЕ ВАРИАНТЫ === */
.card,
[class*="card"],
.card.h-100,
.card.shadow-sm,
.card.shadow,
.card.shadow-lg,
.card.border-0,
.card.shadow-sm.border-0 {
    border: none !important;
    border-radius: 20px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    background: var(--bg-white) !important;
    overflow: hidden !important;
    margin-bottom: 1.5rem !important;
}

.card:hover,
[class*="card"]:hover,
.card.h-100:hover,
.card.shadow-sm:hover {
    z-index: 1;
}

/* Тело карточки */
.card-body,
.card .card-body {
    padding: 1.5rem !important;
}

/* Заголовок карточки */
.card-title,
.card .card-title,
.card h5.card-title {
    font-family: 'TT Travels', sans-serif;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
    letter-spacing: -0.01em;
}

/* Текст карточки */
.card-text,
.card .card-text,
.card p.card-text {
    color: #4d4d4d !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
    line-height: 1.6 !important;
}

/* Футер карточки */
.card-footer,
.card .card-footer {
    background: transparent !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    padding: 1rem 1.5rem !important;
    border-radius: 0 0 20px 20px !important;
}

/* Хедер карточки */
.card-header,
.card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    border: none !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 20px 20px 0 0 !important;
    font-weight: 600 !important;
}

/* === КНОПКИ - ВСЕ ВАРИАНТЫ === */
.btn,
button[type="submit"],
button[type="button"],
a[class*="btn"],
.btn-primary,
.btn-outline-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-secondary,
.btn-sm,
.btn-lg,
.btn-link {
    border-radius: 0 !important;
    padding: 0.75rem 1.75rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
}

.btn-primary,
a.btn-primary,
button.btn-primary {
    font-family: 'TT Travels', sans-serif;
    font-weight: 600;
    background: #4d4d4d !important;
    border-color: #4d4d4d !important;
    box-shadow: 0 4px 12px rgba(77, 77, 77, 0.15) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
    background: #5a5a5a !important;
    border-color: #5a5a5a !important;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(77, 77, 77, 0.25) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-primary:hover *,
a.btn-primary:hover *,
button.btn-primary:hover * {
    color: #ffffff !important;
}

.btn-outline-primary,
a.btn-outline-primary,
button.btn-outline-primary {
    font-family: 'TT Travels', sans-serif;
    font-weight: 600;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    background: transparent !important;
}

.btn-outline-primary:hover,
a.btn-outline-primary:hover,
button.btn-outline-primary:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    z-index: 1;
    transform: translateY(-2px);
}

/* Успех - зеленый */
.btn-success {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.btn-success:hover {
    background: #059669 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Предупреждение - желтый */
.btn-warning {
    background: #fbbf24 !important;
    border-color: #fbbf24 !important;
    color: #000000 !important;
}

.btn-warning:hover {
    background: #f59e0b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Маленькие кнопки */
.btn-sm,
a.btn-sm,
button.btn-sm {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
}

/* Большие кнопки */
.btn-lg,
a.btn-lg,
button.btn-lg {
    padding: 1rem 2.5rem !important;
    font-size: 1.125rem !important;
}

/* Кнопки в карточках */
.card .btn,
.card-body .btn,
.card-footer .btn {
    margin-top: 0.5rem !important;
}

/* === ОБНОВЛЕННЫЕ ФОРМЫ === */
.form-control,
.form-select {
    font-family: 'TT Travels', sans-serif;
    border-radius: 12px !important;
    border: 1px solid #e5e5e5 !important;
    padding: 0.875rem 1.25rem !important;
    transition: all 0.3s ease !important;
    font-size: 1rem;
    color: #000000;
    background: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
    z-index: 1;
    outline: none;
}

.form-label {
    font-family: 'TT Travels', sans-serif;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.input-group .form-control {
    border-radius: 12px 0 0 12px !important;
}

.input-group .btn {
    border-radius: 0 12px 12px 0 !important;
}

/* === БЕЙДЖИ - ВСЕ ВАРИАНТЫ === */
.badge,
span.badge,
.badge.bg-primary,
.badge.bg-success,
.badge.bg-info,
.badge.bg-warning,
.badge.bg-danger,
.badge.bg-secondary {
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    font-size: 0.875rem !important;
    border: none !important;
    width: 55px;
    height: 50px;
}

.badge.bg-primary,
.badge.bg-primary[class*="badge"] {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
}

.badge.bg-success,
.badge.bg-success[class*="badge"] {
    background: linear-gradient(135deg, #4cc9f0, #4895ef) !important;
    color: white !important;
}

.badge.bg-info,
.badge.bg-info[class*="badge"] {
    background: linear-gradient(135deg, #4895ef, #4361ee) !important;
    color: white !important;
}

/* === ОБНОВЛЕННЫЕ АВАТАРЫ === */
.avatar-sm {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.avatar-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

/* === ОБНОВЛЕННЫЕ АЛЕРТЫ === */
.alert {
    border-radius: 12px !important;
    border: none !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 1.5rem;
}

.alert-info {
    background: rgba(76, 201, 240, 0.1) !important;
    color: var(--success-color) !important;
    border-left: 4px solid var(--success-color) !important;
}

.alert-success {
    background: rgba(76, 201, 240, 0.1) !important;
    color: var(--success-color) !important;
    border-left: 4px solid var(--success-color) !important;
}

.alert-danger {
    background: rgba(247, 37, 133, 0.1) !important;
    color: var(--danger-color) !important;
    border-left: 4px solid var(--danger-color) !important;
}

/* === ОБНОВЛЕННЫЙ ФУТЕР === */
.footer {
    background: linear-gradient(135deg, var(--bg-dark), #0f3460) !important;
    color: var(--text-light);
    margin-top: auto;
    padding: 3rem 0 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white !important;
}

/* === НОВЫЕ УТИЛИТЫ === */
.shadow-sm { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important; }
.shadow { box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important; }
.shadow-lg { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important; }

.rounded-lg { border-radius: 16px !important; }
.rounded-xl { border-radius: 20px !important; }
.rounded-2xl { border-radius: 24px !important; }

/* === АНИМАЦИИ === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        z-index: 1;
    }
    to {
        opacity: 1;
        z-index: 1;
    }
}

.fade-in-up {
    z-index: 1;
}

/* === ГРАДИЕНТНЫЙ ТЕКСТ === */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === ИКОНКИ === */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* === ЦЕНА === */
.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.price-tag::after {
    content: ' ₽';
    font-size: 1rem;
    opacity: 0.8;
    margin-left: 2px;
}

/* === СТАТУСЫ === */
.status-badge {
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.status-active {
    background: rgba(76, 201, 240, 0.2);
    color: var(--success-color);
}

.status-pending {
    background: rgba(255, 158, 0, 0.2);
    color: var(--warning-color);
}

/* === ЗАГОЛОВКИ СТРАНИЦ === */
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* === КОНТЕЙНЕРЫ === */
.container {
    max-width: 1200px !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem !important;
    }
    
    .btn {
        padding: 0.6rem 1.2rem !important;
    }
    
    .card:hover {
        z-index: 1;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .card-body {
        padding: 1rem !important;
    }
}

/* === СТИЛИ ДЛЯ ПРОЕКТОВ (Kwork-стиль) === */

/* Контейнер проектов */
.projects-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Карточка проекта */
.project-item-card {
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    margin-bottom: 1.5rem !important;
    background: white !important;
}

.project-item-card:hover {
    border-color: #4361ee !important;
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.1) !important;
    transform: translateY(-3px) !important;
}

/* Заголовок проекта */
.project-item-title {
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    color: #1a1a2e !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
}

.project-item-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.project-item-title a:hover {
    color: #4361ee !important;
}

/* Описание проекта */
.project-item-description {
    color: #6c757d !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

.project-item-description .read-more {
    color: #4361ee !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
}

.project-item-description .read-more:hover {
    text-decoration: underline !important;
}

/* Бюджет проекта */
.project-item-budget {
    text-align: right !important;
}

.budget-amount {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #198754 !important;
    line-height: 1.2 !important;
}

.budget-label {
    font-size: 0.875rem !important;
    color: #6c757d !important;
    margin-bottom: 0.25rem !important;
}

.budget-min {
    font-size: 0.875rem !important;
    color: #6c757d !important;
}

/* Информация о заказчике */
.project-item-customer {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.customer-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4361ee, #7209b7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.customer-info {
    flex: 1;
}

.customer-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a1a2e;
}

.customer-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Детали проекта */
.project-item-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.project-item-details i {
    margin-right: 0.5rem;
    color: #4361ee;
}

/* Кнопка отклика */
.project-item-actions {
    position: relative;
}

.respond-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.project-item-card:hover .respond-btn {
    opacity: 1;
    transform: translateY(0);
}

/* На мобильных всегда показываем кнопку */
@media (max-width: 768px) {
    .respond-btn {
        position: static;
        opacity: 1;
        transform: translateY(0);
        margin-top: 1rem;
        width: 100%;
    }
    
    .project-item-budget {
        text-align: left !important;
        margin-top: 1rem;
    }
}

/* === ОБЩИЕ СТИЛИ ДЛЯ ПРОЕКТОВ === */

/* Убираем фоны у всех элементов проектов */
.project-card *,
.projects-list * {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Текст проектов */
.project-title,
.project-description,
.project-budget,
.project-details,
.project-customer {
    background: transparent !important;
    background-color: transparent !important;
}

/* Ссылки в проектах */
.projects-list a:not(.btn) {
    text-decoration: none !important;
    color: inherit !important;
}

.projects-list a:hover:not(.btn) {
    text-decoration: underline !important;
}

/* ===== ГЛАВНАЯ СТРАНИЦА - НОВЫЙ ДИЗАЙН ===== */

.home-hero {
    padding: 80px 0 60px;
    background: #fafafa;
}

.home-hero .hero-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #808080;
    margin-bottom: 0.5rem;
}

.home-hero .hero-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.home-hero .hero-subtitle {
    font-size: 1rem;
    color: #4d4d4d;
    margin-bottom: 1.5rem;
}

.home-hero .hero-actions .btn {
    min-width: 200px;
}

.hero-stats {
    margin-top: 1.5rem;
}

.hero-stat-number {
    font-family: 'TT Travels', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: #808080;
}

.hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-tag {
    position: absolute;
    left: 20px;
    right: 20px;
    display: inline-flex;
    flex-direction: column;
    max-width: 260px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hero-tag-top {
    top: 20px;
}

.hero-tag-bottom {
    bottom: 20px;
    left: auto;
    right: 20px;
}

.hero-tag-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-tag-text {
    font-size: 0.8rem;
    color: #808080;
}

.home-steps {
    padding: 60px 0;
    background: #fafafa;
}

.home-steps .step-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    padding: 20px 18px;
    text-align: left;
    height: 100%;
}

.home-steps .step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.home-steps .step-text {
    font-size: 0.9rem;
    color: #4d4d4d;
    margin: 0;
}

.home-wizard {
    padding: 60px 0;
    background: #ffffff;
}

.home-benefits {
    padding: 60px 0;
    background: #fafafa;
}

.home-benefits .benefit-list {
    margin-top: 1.5rem;
}

.home-benefits .benefit-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.home-benefits .benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}

.home-benefits .benefit-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.home-benefits .benefit-text {
    font-size: 0.85rem;
    color: #4d4d4d;
    margin: 0;
}

.home-reviews {
    padding: 60px 0;
    background: #ffffff;
}

.home-reviews .review-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #eeeeee;
    padding: 22px 20px;
    height: 100%;
}

.home-reviews .review-quote {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 10px;
}

.home-reviews .review-text {
    font-size: 0.95rem;
    color: #4d4d4d;
    margin-bottom: 16px;
}

.home-reviews .review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-reviews .review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000000;
}

.home-reviews .review-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.home-reviews .review-meta {
    font-size: 0.8rem;
    color: #808080;
}

.home-cta {
    padding: 60px 0;
    background: #000000;
    color: #ffffff;
    text-align: center;
}

.home-cta .cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #ffffff !important;
}

.home-cta .cta-subtitle {
    font-size: 1rem;
    color: #ffffff !important;
    opacity: 1;
    max-width: 520px;
    margin: 0 auto 1.5rem;
}

.home-cta .cta-actions .btn {
    min-width: 200px;
}

/* Плавающие карточки с улучшенной анимацией */
.floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    z-index: 2;
}

.floating-card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.floating-card:nth-child(2) {
    animation-delay: 2s;
}


.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #000000, #4d4d4d);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 12px;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

/* Категории с градиентным фоном */
.category-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    border: 1px solid #eef2ff;
}

.category-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(67, 97, 238, 0.15) !important;
    border-color: #4361ee;
}

.category-card .category-icon {
    background: linear-gradient(135deg, #000000, #4d4d4d);
    color: white;
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, #4d4d4d, #000000);
}

/* Для исполнителей с обновленным дизайном */
.for-freelancers {
    position: relative;
    overflow: hidden;
    background: #fafafa;
}

.for-freelancers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.for-freelancers .card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.for-freelancers .card:hover {
    transform: perspective(1000px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Отзывы с эффектом наведения */
.reviews .card {
    transition: all 0.25s ease;
    background: #ffffff;
    border: 1px solid #eeeeee;
}

.reviews .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

/* CTA секция с параллакс-эффектом */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(76, 201, 240, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(114, 9, 183, 0.1) 0%, transparent 50%);
    animation: pulse 15s infinite alternate;
}

.cta-section .btn-light {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Анимации */
@keyframes float {
    0%, 100% {
        transform: translate(-20px, -20px) rotate(0deg);
    }
    33% {
        transform: translate(-20px, -25px) rotate(1deg);
    }
    66% {
        transform: translate(-20px, -15px) rotate(-1deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.7;
    }
}

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

/* Эффекты появления */
.hero-section h1,
.hero-section p,
.hero-section .btn {
    animation: fadeInUp 0.8s ease-out;
}

.hero-section .btn:last-child {
    animation-delay: 0.2s;
}

.step-card {
    animation: fadeInUp 0.6s ease-out;
}

.step-card:nth-child(2) { animation-delay: 0.1s; }
.step-card:nth-child(3) { animation-delay: 0.2s; }
.step-card:nth-child(4) { animation-delay: 0.3s; }

/* Заголовки секций */
.section-title {
    position: relative;
    padding-top: 20px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #000000, #4d4d4d);
    border-radius: 2px;
    transform: translateX(-50%);
}

.section-title.text-center::after {
    left: 50%;
}

/* Карточки услуг на главной */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: #4361ee;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.15);
}

/* Общие улучшения */
.display-4 {
    background: linear-gradient(135deg, #1a1a2e, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    line-height: 1.2;
}

.lead .mb-4 {
    color: #444444;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #c5c5c5;
}

.card {
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-lg {
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 12px 32px !important;
}

.btn-primary {
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.btn-outline-primary {
    border-width: 2px;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section::before {
        display: none;
    }
    
    .floating-card {
        position: relative !important;
        transform: none !important;
        margin: 10px auto;
        max-width: 250px;
    }
    
    .display-4 {
        font-size: 2.2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .btn-lg {
        padding: 10px 20px !important;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Интерактивные элементы */
.statistic-item {
    position: relative;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.statistic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Иконки Font Awesome улучшенные */
.fa-3x {
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

/* Текстовые эффекты */
.text-gradient {
    background: linear-gradient(135deg, #4361ee, #7209b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Плавный скролл */
html {
    scroll-behavior: smooth;
}

/* Улучшенные отступы */
section {
    scroll-margin-top: 80px;
    position: relative;
}

/* Градиентные границы */
.gradient-border {
    position: relative;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(135deg, #4361ee, #4cc9f0, #7209b7);
}

.gradient-border > * {
    background: white;
    border-radius: 13px;
    padding: 20px;
}