        :root {
            --primary: #0a0e17;
            --secondary: #131826;
            --accent: #00d9ff;
            --accent-dark: #0088cc;
            --text: #ffffff;
            --text-secondary: #b0b0b0;
            --card-bg: #1a1f2e;
            --card-shadow: rgba(0, 217, 255, 0.1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'GolosTextWebRegular', sans-serif;
            background-color: var(--primary);
            color: var(--text);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4 {
            font-family: 'GolosTextWebBold', sans-serif;
            font-weight: 600;
            line-height: 1.2;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header & Navigation */
        header {
            background-color: rgba(10, 14, 23, 0.95);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 15px 0;
            border-bottom: 1px solid rgba(0, 217, 255, 0.1);
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-family: 'GolosTextWebBold', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--accent);
        }
        
        .logo span {
            color: var(--text);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            color: var(--text);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            font-size: 1rem;
        }
        
        nav ul li a:hover {
            color: var(--accent);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--text);
            font-size: 2.3rem;
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            padding: 180px 0 100px;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, rgba(0, 217, 255, 0) 70%);
            top: 10%;
            right: 10%;
        }
        
        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .hero-text h1 {
            font-size: 3.2rem;
            margin-bottom: 15px;
        }
        
        .hero-text h1 span {
            color: var(--accent);
        }
        
        .tagline {
            font-size: 1.5rem;
            color: var(--accent);
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .utp {
            font-size: 1.1rem;
            margin-bottom: 30px;
            color: var(--text-secondary);
            max-width: 500px;
        }
        
        .contact-info {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .contact-item i {
            color: var(--accent);
            font-size: 1.2rem;
        }
        
        .hero-image {
            text-align: center;
            position: relative;
        }
        
        .photo-frame {
            width: 390px;
            height: 390px;
            margin: 0 auto;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid var(--accent);
            box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
            position: relative;
        }
        
        .photo-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .experience-badge {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: var(--accent);
            color: var(--primary);
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        /* Portfolio Section */
        .portfolio {
            padding: 100px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            display: inline-block;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background-color: var(--accent);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .portfolio-item {
            background-color: var(--card-bg);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
        
        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px var(--card-shadow);
        }
        
        .portfolio-img {
            height: 200px;
            overflow: hidden;
        }
        
        .portfolio-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .portfolio-item:hover .portfolio-img img {
            transform: scale(1.05);
        }
        
        .portfolio-info {
            padding: 20px;
        }
        
        .portfolio-info h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--accent);
        }
        
        .portfolio-info p {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }
        
        .portfolio-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;
        }
        
        .tag {
            background-color: rgba(0, 217, 255, 0.1);
            color: var(--accent);
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
        }
        
        /* Contact Section */
        .contact {
            padding: 100px 0;
            background-color: #080101;
        }
        
        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
        
        .contact-info-section h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--accent);
        }
        
        .contact-details {
            margin-top: 30px;
        }
        
        .contact-detail-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            gap: 15px;
        }
        
        .contact-detail-item i {
            color: var(--accent);
            font-size: 1.5rem;
            width: 40px;
        }
        
        .contact-form {
            background-color: var(--card-bg);
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-secondary);
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            color: var(--text);
            font-family: 'GolosTextWebRegular', sans-serif;
            font-size: 1rem;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
        }
        
        .submit-btn {
            background-color: var(--accent);
            color: var(--primary);
            border: none;
            padding: 15px 30px;
            border-radius: 5px;
            font-family: 'GolosTextWebBold', sans-serif;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.3s;
            width: 100%;
        }
        
        .submit-btn:hover {
            background-color: var(--accent-dark);
        }
        
        /* Lightbox */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .lightbox.active {
            display: flex;
        }
        
        .lightbox-content {
            max-width: 900px;
            width: 100%;
            background-color: var(--card-bg);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .lightbox-header {
            padding: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
        }
        
        .lightbox-header h3 {
            color: var(--accent);
            font-size: 1.5rem;
        }
        
        .close-lightbox {
            background: none;
            border: none;
            color: var(--text);
            font-size: 1.8rem;
            cursor: pointer;
            line-height: 1;
        }
        
        .lightbox-body {
            padding: 20px;
        }
        
        .lightbox-img {
            width: 100%;
            height: 400px;
            overflow: hidden;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        
        .lightbox-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .lightbox-details p {
            margin-bottom: 15px;
            color: var(--text-secondary);
        }
        
        .lightbox-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        
        /* Footer */
        footer {
            background-color: #010308;
            padding: 40px 0;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .social-links a {
            color: var(--text);
            font-size: 1.5rem;
            transition: color 0.3s;
        }
        
        .social-links a:hover {
            color: var(--accent);
        }
        
        .copyright {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .cp{
            width: 300px;position: absolute;left: 580px;bottom: 15px;
        }
        
        /* Mobile Responsive */
        @media (max-width: 1720px) {
        .cp{
            width: 300px;
            position: absolute;
            left: 230px;
            bottom: -45px;
        } 
        }
        @media (max-width: 992px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .contact-content {
                grid-template-columns: 1fr;
            }
            
            .hero-text h1 {
                font-size: 2.5rem;
            }
            
            .photo-frame {
                width: 300px;
                height: 300px;
            }
            .cp{
                width: 300px;
                position: relative;
                left: 0;
                bottom: 0px;
                margin: 0 auto;
                text-align: center;
                justify-content: center;
                display: block;
            }
        }
        
        @media (max-width: 768px) {
            nav ul {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background-color: var(--primary);
                flex-direction: column;
                padding: 20px 0;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            }
            
            nav ul.active {
                display: flex;
            }
            
            nav ul li {
                margin: 0;
                text-align: center;
                padding: 15px 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero {
                padding: 150px 0 70px;
            }
            
            .portfolio, .contact {
                padding: 70px 0;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .hero-text h1 {
                font-size: 2rem;
            }
            
            .tagline {
                font-size: 1.2rem;
            }
            
            .photo-frame {
                width: 250px;
                height: 250px;
            }
            
            .experience-badge {
                padding: 8px 15px;
                font-size: 1rem;
            }
            
            .contact-form {
                padding: 20px;
            }
        }



/* --- Стили для Модального окна (Бриф) - Темная тема --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-content.dark-theme {
    background: #1a1a2e;
    color: #eaeaea;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    color: #fff;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e94560;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-family: 'GolosTextWebBold', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #e94560;
}

.close-modal {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #e94560;
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

/* Категории форм */
.form-category {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e94560;
    color: #e94560;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-title i {
    font-size: 1.2rem;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'GolosTextWebRegular', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e94560;
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e94560' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
    padding: 10px;
}

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

/* Checkbox группа */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: rgba(233, 69, 96, 0.1);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #e94560;
}

.checkbox-item label {
    cursor: pointer;
    margin: 0;
    color: #eaeaea;
    font-size: 0.95rem;
}

.brif-btn {
    background: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'GolosTextWebBold', sans-serif;
    margin-top: 20px;
}

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

.brif-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.full-width {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(39, 174, 96, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.form-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Адаптив */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-category {
        padding: 20px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Кастомный скроллбар для темной темы */
.modal-content.dark-theme ::-webkit-scrollbar {
    width: 8px;
}

.modal-content.dark-theme ::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.modal-content.dark-theme ::-webkit-scrollbar-thumb {
    background: #e94560;
    border-radius: 4px;
}

.modal-content.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: #ff6b6b;
}

/* Сообщения об успехе/ошибке */
.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.form-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Honeypot field - скрытое поле для защиты от спама */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Секция преимуществ */
.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 40px;
    color: #00d9ff;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

canvas#stars-canvas {
    position: absolute;
    top: 0;
    z-index: -1;
}



/* Позиционирование контейнера изображений */
.lightbox-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.lightbox-img img {
    max-height: 400px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Кнопки навигации (влево/вправо) */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.nav-btn.prev { left: 10px; }
.nav-btn.next { right: 10px; }

/* Скрываем кнопки, если они не нужны */
.nav-btn.hidden {
    display: none;
}

/* Счетчик изображений */
.image-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

/* Кнопка перехода на сайт */
.site-link-btn {
    display: inline-block;
    color: #00d9ff;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 0 30px 0px;
}
.portfolio-item .site-link-btn {
    margin: 20px 0px 0px 0px;
}

.site-link-btn:hover {
    color: #00b0d0;
}

.city-badge {
    font-size: 0.85em;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    color: #666;
}