/* Подключение шрифтов */
@font-face {
    font-family: 'SF Pro Text';
    src: url('fonts/San Francisco Pro Text/SFProText-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 1rem;
}





.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4085A1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Главная секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('image/bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: #ffffff;
    background: rgba(128, 128, 128, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
}

.highlight {
    background: linear-gradient(45deg, #ffd89b, #19547b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    line-height: 1.6;
}

/* Буллеты выгод */
.hero-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.hero-benefits li {
    color: #ffffff;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
}

.hero-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 300;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #4085A1;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #4085A1;
    color: white;
    border: 2px solid #4085A1;
}

.btn-secondary:hover {
    background: #367a8f;
    border-color: #367a8f;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #4085A1;
    border: 2px solid #4085A1;
}

.btn-outline:hover {
    border-color: #367a8f;
    background: #4085A1;
    color: white;
    transform: translateY(-2px);
}

.btn-messenger {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 13px 20px;
    font-size: 0.9rem;
}

.btn-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-2px);
}

.btn-telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotating-icon {
    width: 12rem;
    height: 12rem;
    animation: rotate 6s linear infinite;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid #000000;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Секция "Мы работаем с нейросетями" - новый дизайн */
.ai-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(64, 133, 161, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ai-description {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(64, 133, 161, 0.1);
}

.ai-description h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-description h2 i {
    color: #4085A1;
    font-size: 2rem;
}

.ai-description p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ai-features {
    list-style: none;
    margin: 2rem 0;
}

.ai-features li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(64, 133, 161, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 10px;
    border-left: 4px solid #4085A1;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.ai-features li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(64, 133, 161, 0.2);
}

.ai-features li i {
    color: #4085A1;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.ai-benefits {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.ai-benefits h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-benefits h3 i {
    color: #ffd700;
}

.ai-benefits ul {
    list-style: none;
    margin-top: 1rem;
}

.ai-benefits li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.ai-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
}

.ai-philosophy {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(64, 133, 161, 0.1);
    border-radius: 15px;
    border-left: 4px solid #4085A1;
    font-style: italic;
    color: #555;
}

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.ai-visual::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(64, 133, 161, 0.1) 0%, rgba(118, 75, 162, 0.05) 70%, transparent 100%);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ai-visual::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: conic-gradient(from 0deg, transparent, rgba(64, 133, 161, 0.1), transparent, rgba(118, 75, 162, 0.1), transparent);
    border-radius: 50%;
    animation: rotate 15s linear infinite reverse;
}

.neural-network-animation {
    position: relative;
    width: 300px;
    height: 300px;
    z-index: 2;
}

.neural-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    border-radius: 50%;
    animation: neuralPulse 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(64, 133, 161, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.neural-node:hover {
    transform: scale(1.5);
    box-shadow: 0 0 50px rgba(64, 133, 161, 0.8);
    animation-play-state: paused;
}

.neural-node::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4085A1, #764ba2, #4085A1);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 2s linear infinite;
}

.neural-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: sparkle 1.5s ease-in-out infinite;
}

/* Позиционирование узлов */
.neural-node:nth-child(1) { 
    top: 15%; left: 15%; 
    animation-delay: 0s; 
    animation-duration: 2.5s;
}
.neural-node:nth-child(2) { 
    top: 15%; right: 15%; 
    animation-delay: 0.4s; 
    animation-duration: 2.8s;
}
.neural-node:nth-child(3) { 
    top: 50%; left: 5%; 
    animation-delay: 0.8s; 
    animation-duration: 3.2s;
}
.neural-node:nth-child(4) { 
    top: 50%; right: 5%; 
    animation-delay: 1.2s; 
    animation-duration: 2.7s;
}
.neural-node:nth-child(5) { 
    bottom: 15%; left: 25%; 
    animation-delay: 1.6s; 
    animation-duration: 3.1s;
}
.neural-node:nth-child(6) { 
    bottom: 15%; right: 25%; 
    animation-delay: 2s; 
    animation-duration: 2.9s;
}
.neural-node:nth-child(7) { 
    top: 30%; left: 50%; 
    animation-delay: 2.4s; 
    animation-duration: 3.3s;
}
.neural-node:nth-child(8) { 
    bottom: 30%; left: 50%; 
    animation-delay: 2.8s; 
    animation-duration: 2.6s;
}
.neural-node:nth-child(9) { 
    top: 50%; left: 50%; 
    animation-delay: 3.2s; 
    animation-duration: 3.5s;
}

/* Соединительные линии */
.neural-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(64, 133, 161, 0.6), transparent);
    animation: dataFlow 4s ease-in-out infinite;
    z-index: 1;
}

.neural-connection:nth-child(10) {
    top: 20%;
    left: 20%;
    width: 60%;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.neural-connection:nth-child(11) {
    top: 40%;
    left: 10%;
    width: 80%;
    transform: rotate(-10deg);
    animation-delay: 1s;
}

.neural-connection:nth-child(12) {
    top: 60%;
    left: 15%;
    width: 70%;
    transform: rotate(25deg);
    animation-delay: 2s;
}

.neural-connection:nth-child(13) {
    top: 35%;
    left: 50%;
    width: 40%;
    transform: rotate(-20deg);
    animation-delay: 3s;
}

/* Плавающие частицы */
.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(64, 133, 161, 0.6);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.floating-particle:nth-child(14) {
    top: 10%;
    left: 30%;
    animation-delay: 0s;
}

.floating-particle:nth-child(15) {
    top: 70%;
    right: 20%;
    animation-delay: 2s;
}

.floating-particle:nth-child(16) {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.floating-particle:nth-child(17) {
    bottom: 20%;
    left: 60%;
    animation-delay: 1s;
}

.floating-particle:nth-child(18) {
    top: 60%;
    left: 20%;
    animation-delay: 3s;
}

/* Новые анимации */
@keyframes neuralPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.8; 
        box-shadow: 0 0 20px rgba(64, 133, 161, 0.4);
    }
    50% { 
        transform: scale(1.2); 
        opacity: 1; 
        box-shadow: 0 0 40px rgba(64, 133, 161, 0.8);
    }
}

@keyframes dataFlow {
    0% { 
        opacity: 0; 
        transform: scaleX(0) rotate(var(--rotation, 0deg)); 
    }
    50% { 
        opacity: 1; 
        transform: scaleX(1) rotate(var(--rotation, 0deg)); 
    }
    100% { 
        opacity: 0; 
        transform: scaleX(0) rotate(var(--rotation, 0deg)); 
    }
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0px) translateX(0px); 
        opacity: 0.3; 
    }
    25% { 
        transform: translateY(-20px) translateX(10px); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-10px) translateX(-15px); 
        opacity: 1; 
    }
    75% { 
        transform: translateY(-30px) translateX(5px); 
        opacity: 0.6; 
    }
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2); 
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Доверяют нам */
.trust {
    padding: 60px 0;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 1;
}

.trust-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-title {
    color: #666;
    font-weight: 500;
    font-size: 1.1rem;
}

.trust-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.trust-logos img {
    height: 40px;
    width: auto;
    max-width: 120px;
    opacity: 1;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    object-fit: contain;
}



.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Заголовки секций */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #74b9ff 0%, #6c5ce7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



.section-header p {
    font-size: 1.1rem;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
}

/* О нас */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}



.skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: #333;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* Услуги - Основные направления LIHO */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="rgba(255,255,255,0.8)"/><circle cx="80" cy="40" r="0.3" fill="rgba(255,255,255,0.6)"/><circle cx="40" cy="80" r="0.4" fill="rgba(255,255,255,0.7)"/><circle cx="60" cy="10" r="0.2" fill="rgba(255,255,255,0.5)"/><circle cx="10" cy="60" r="0.3" fill="rgba(255,255,255,0.6)"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Сетка услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Двухколоночная сетка для нижнего ряда */
.services-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

/* Категория услуги */
.service-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
}



.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #74b9ff, #6c5ce7, #fd79a8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-category:hover::before {
    transform: scaleX(1);
}

.service-category:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Мягкие оттенки для категорий */
.sc-branding { background: rgba(116, 185, 255, 0.08); border-color: rgba(116,185,255,0.18); }
.sc-design { background: rgba(253, 121, 168, 0.08); border-color: rgba(253,121,168,0.18); }
.sc-web { background: rgba(108, 92, 231, 0.08); border-color: rgba(108,92,231,0.18); }
.sc-photo { background: rgba(0, 184, 148, 0.08); border-color: rgba(0,184,148,0.18); }
.sc-audio { background: rgba(255, 159, 67, 0.08); border-color: rgba(255,159,67,0.18); }
.sc-marketing { background: rgba(9, 132, 227, 0.08); border-color: rgba(9,132,227,0.18); }
.sc-pr { background: rgba(232, 67, 147, 0.08); border-color: rgba(232,67,147,0.18); }
.sc-production { background: rgba(214, 48, 49, 0.08); border-color: rgba(214,48,49,0.18); }

/* Усиление цвета иконок по категориям */
.sc-branding .category-header i { color: #74b9ff; background: rgba(116,185,255,0.12); }
.sc-design .category-header i { color: #fd79a8; background: rgba(253,121,168,0.12); }
.sc-web .category-header i { color: #6c5ce7; background: rgba(108,92,231,0.12); }
.sc-photo .category-header i { color: #00b894; background: rgba(0,184,148,0.12); }
.sc-audio .category-header i { color: #ff9f43; background: rgba(255,159,67,0.12); }
.sc-marketing .category-header i { color: #0984e3; background: rgba(9,132,227,0.12); }
.sc-pr .category-header i { color: #e84393; background: rgba(232,67,147,0.12); }
.sc-production .category-header i { color: #d63031; background: rgba(214,48,49,0.12); }

/* Заголовок категории */
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-header i {
    font-size: 2rem;
    color: #74b9ff;
    background: rgba(116, 185, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.category-header h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    position: relative;
    z-index: 20;
}





/* Список услуг */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    color: #ffffff;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateX(0);
    z-index: 10;
}



.service-list li:last-child {
    border-bottom: none;
}

.service-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0.8rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.service-list li:hover {
    color: white;
    padding-left: 2rem;
}

.service-list li:hover::before {
    opacity: 1;
}

/* Простая кнопка CTA */
.services-info {
    margin-top: 4rem;
    text-align: center;
}

.cta-section {
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #74b9ff, #6c5ce7);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(116, 185, 255, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(116, 185, 255, 0.6);
    background: linear-gradient(135deg, #6c5ce7, #74b9ff);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(116, 185, 255, 0.5);
}

.cta-button:focus {
    outline: 2px solid rgba(116, 185, 255, 0.5);
    outline-offset: 2px;
}

/* Мобильные стили для кнопки */
@media (max-width: 768px) {
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Портфолио */
.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #4085A1;
    background: transparent;
    color: #4085A1;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
}

.filter-btn.active,
.filter-btn:hover {
    background: #4085A1;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}



.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Заглушки для портфолио */
.portfolio-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23dee2e6" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.portfolio-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    z-index: 2;
    position: relative;
}

.portfolio-placeholder-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    z-index: 2;
    position: relative;
}

.portfolio-placeholder-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.5rem;
    z-index: 2;
    position: relative;
}

.portfolio-item:hover .portfolio-placeholder {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-placeholder-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-placeholder-text {
    color: #4085A1;
    transition: color 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(64, 133, 161, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.portfolio-link {
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 300;
}

.portfolio-link:hover {
    background: white;
    color: #4085A1;
}

/* Отзывы */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author div {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #333;
    font-weight: 300;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list details {
    background: white;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-list summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 300;
    color: #333;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    color: white;
    transition: all 0.3s ease;
}

.faq-list summary:hover {
    background: linear-gradient(135deg, #367a8f 0%, #6a4190 100%);
}

.faq-list summary::marker {
    color: rgba(255, 255, 255, 0.7);
}

.faq-list p {
    padding: 1.5rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
    background: white;
}

/* Контакты */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

 .contact-item p {
     color: #666;
 }
 
 .contact-item p a {
    color: #4085A1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4085A1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    background: white;
    cursor: pointer;
}

/* Согласие */
.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
}

.consent input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.consent a {
    color: #4085A1;
    text-decoration: none;
}

.consent a:hover {
    text-decoration: underline;
}

/* Примечание к форме */
.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
    align-items: flex-end;
}

.sticky-cta .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.sticky-cta .btn-messenger {
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Инверсия цветов для sticky CTA на белом фоне */
.sticky-cta .btn-primary {
    background: #333;
    color: white;
    border: 2px solid #333;
}

.sticky-cta .btn-primary:hover {
    background: #4085A1;
    border-color: #4085A1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 133, 161, 0.3);
}

.sticky-cta .btn-whatsapp {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.sticky-cta .btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.sticky-cta .btn-telegram {
    background: #0088cc;
    color: white;
    border: 2px solid #0088cc;
}

.sticky-cta .btn-telegram:hover {
    background: #005580;
    border-color: #005580;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

/* Футер */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}





.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4085A1;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}



.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-bottom a:hover {
    color: white;
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-benefits {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .ai-visual {
        order: -1;
    }
    
    .neural-network-animation {
        width: 250px;
        height: 250px;
    }
    
    .ai-description {
        padding: 2rem;
    }
    
    .ai-description h2 {
        font-size: 1.8rem;
    }
    
    .ai-visual {
        height: 300px;
    }
    
    .ai-visual::before {
        width: 250px;
        height: 250px;
    }
    
    .ai-visual::after {
        width: 300px;
        height: 300px;
    }
    
    .neural-node {
        width: 16px;
        height: 16px;
    }
    
    .neural-node::after {
        width: 3px;
        height: 3px;
    }
    
    /* Скрываем анимацию нейросетей на мобильных */
    .ai-visual {
        display: none;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Скрываем крутящуюся букву O на мобильных */
    .hero-image {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 25px;
    }
    
    .marquee {
        font-size: 1rem;
        padding: 12px 0;
    }
    
    .marquee-content {
        animation-duration: 25s;
    }
    
    .marquee-text {
        margin-right: 80px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .sticky-cta {
        bottom: 10px;
        right: 10px;
        align-items: flex-end;
    }
    
    .sticky-cta .btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .sticky-cta .btn-primary {
        width: auto;
        min-width: 120px;
        text-align: center;
    }
    

    

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    

    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .trust-wrap {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-logos {
        justify-content: center;
        gap: 1rem;
    }
    
    .trust-logos img {
        height: 35px;
        max-width: 100px;
    }
    
    .marquee {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    
    .marquee-content {
        animation-duration: 20s;
    }
    
    .marquee-text {
        margin-right: 60px;
    }
    
    /* Дополнительно скрываем анимации на очень маленьких экранах */
    .ai-visual {
        display: none !important;
    }
    
    .hero-image {
        display: none !important;
    }
    
    .hero-container {
        padding-top: 25px;
    }
}

/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.6;
        transform: translateY(0);
    }
}









.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Плавная прокрутка для всех ссылок */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Адаптивность для услуг */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-grid.two-col {
        grid-template-columns: 1fr;
    }
    .service-category {
        padding: 1.5rem;
    }
    
    .category-header h3 {
        font-size: 1.1rem;
    }
    
    .service-list li {
        padding-left: 1.8rem;
    }
    

}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .services-grid.two-col {
        grid-template-columns: 1fr;
    }
    
    .service-category {
        padding: 1rem;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .category-header i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .service-list li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-left: 2rem;
    }
    

}







/* Бегущая строка */
.marquee {
    background: linear-gradient(135deg, #4085A1 0%, #764ba2 100%);
    color: white;
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(64, 133, 161, 0.3);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
    padding-left: 100%;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-text {
    display: inline-block;
    margin-right: 100px;
    position: relative;
}

.marquee-text::before {
    content: '✨';
    margin-right: 10px;
    animation: sparkle 2s ease-in-out infinite;
}

.marquee-text::after {
    content: '✨';
    margin-left: 10px;
    animation: sparkle 2s ease-in-out infinite 1s;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.5; 
        transform: scale(0.8); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2); 
    }
}

/* Стили для логотипа */
.logo-image {
    height: 32px;
    width: auto;
    max-width: 150px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Специальные стили для логотипа в навигации */
.nav-logo {
    flex-shrink: 0;
    max-width: 200px;
}

.nav-logo .logo-image {
    height: 35px;
    max-width: 180px;
}

/* Специальные стили для логотипа в футере */
.footer-logo .logo-image {
    height: 28px;
}

.footer-logo .logo-image:hover {
    transform: scale(1.05);
}

/* Адаптивность для логотипа */
@media (max-width: 768px) {
    .nav-logo {
        max-width: 150px;
    }
    
    .nav-logo .logo-image {
        height: 32px;
        max-width: 140px;
    }
    
    .footer-logo .logo-image {
        height: 26px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        max-width: 120px;
    }
    
    .nav-logo .logo-image {
        height: 30px;
        max-width: 110px;
    }
    
    .footer-logo .logo-image {
        height: 24px;
        max-width: 100px;
    }
}
