* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --bg-dark: #0a0e27;
    --bg-darker: #050714;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
}

.language-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.main-nav {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.4);
}

.lang-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.4);
}

.lang-btn.active:hover {
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.6);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

/* Фон с изображением печатной платы */
.circuit-board-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/back_ground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.5;
    filter: brightness(0.7) contrast(1.3) saturate(2.5) hue-rotate(10deg);
}

.circuit-board-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            to bottom,
            rgba(0, 100, 50, 0.4) 0%,
            rgba(0, 150, 75, 0.3) 50%,
            rgba(0, 100, 50, 0.4) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(5, 7, 20, 0.6) 0%,
            rgba(5, 7, 20, 0.4) 50%,
            rgba(5, 7, 20, 0.6) 100%
        );
    z-index: 1;
    mix-blend-mode: overlay;
}

.circuit-board-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 150, 75, 0.15);
    z-index: 2;
    mix-blend-mode: color-dodge;
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.badge-icon {
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.title-highlight {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.title-accent {
    color: var(--primary-color);
    display: block;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-text strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-text span {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 1s ease-out 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.battery-visual {
    position: relative;
    width: 300px;
    height: 500px;
}

.battery-container {
    position: relative;
    width: 100%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.battery-body {
    position: relative;
    width: 200px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 20px;
    padding: 20px;
    margin-top: 0;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.2),
        inset 0 0 40px rgba(0, 212, 255, 0.1);
    overflow: visible;
}

.battery-level {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 0%;
    max-height: calc(100% - 40px);
    background: var(--gradient-2);
    border-radius: 12px;
    transition: height 0.3s ease-out;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    z-index: 1;
    overflow: hidden;
}

.battery-level.discharging {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

.battery-level.charging {
    background: var(--gradient-2);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

.battery-level.full {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.9);
    animation: pulseFull 0.5s ease-out;
}


@keyframes pulseFull {
    0% {
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.9);
    }
    50% {
        box-shadow: 0 0 60px rgba(16, 185, 129, 1);
    }
    100% {
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.9);
    }
}

.battery-flash {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    border-radius: 20px;
}

.battery-flash.active {
    animation: flash 0.3s ease-out;
}

@keyframes flash {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.battery-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.battery-terminal {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background: rgba(0, 212, 255, 0.3);
    border: 3px solid rgba(0, 212, 255, 0.5);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    z-index: 2;
}

/* Соединение контакта с телом батареи - заполняет зазор */
.battery-container::before {
    display: none;
}

.battery-body {
    position: relative;
    width: 200px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 20px;
    padding: 20px;
    margin-top: 0;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.2),
        inset 0 0 40px rgba(0, 212, 255, 0.1);
    overflow: visible;
}

/* Дополнительное соединение - часть контакта внутри тела */
.battery-body::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 3px;
    background: rgba(0, 212, 255, 1);
    z-index: 1;
    border-radius: 0 0 3px 3px;
    box-shadow: inset 0 2px 4px rgba(0, 212, 255, 0.4);
}

.battery-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeIn 1s ease-out 1.5s both;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    font-family: inherit;
}

.error-message {
    font-size: 12px;
    color: #ef4444;
    min-height: 16px;
    display: block;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-submit {
    flex: 1;
}

.btn-cancel {
    flex: 1;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.5s ease-out;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.form-success h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-success p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .battery-visual {
        width: 250px;
        height: 400px;
    }
    
    .battery-body {
        width: 160px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .language-switcher {
        top: 20px;
        right: 20px;
        padding: 4px;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .battery-visual {
        width: 200px;
        height: 320px;
    }
    
    .battery-body {
        width: 130px;
        height: 260px;
    }
    
    .battery-percentage {
        font-size: 36px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        top: 15px;
        right: 15px;
        padding: 3px;
        gap: 4px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .main-nav {
        top: 20px;
        left: 20px;
        padding: 4px;
    }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Страница "Наши работы" */
.works-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 20px 80px;
    overflow: hidden;
}

.works-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.works-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.works-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.works-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.works-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.works-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.work-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.work-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.work-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover .work-image {
    transform: scale(1.1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8) 0%, rgba(124, 58, 237, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    text-align: center;
}

.work-brand {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.work-model {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
}

.work-details {
    padding: 24px;
}

.work-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.work-description {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.loading-message {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 212, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-message p {
    font-size: 18px;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .works-gallery {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .works-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .works-section {
        padding: 100px 20px 60px;
    }
    
    .works-header {
        margin-bottom: 40px;
    }
    
    .works-title {
        font-size: 32px;
    }
    
    .works-subtitle {
        font-size: 16px;
    }
    
    .works-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .work-image-wrapper {
        height: 200px;
    }
    
    .main-nav {
        top: 15px;
        left: 15px;
        flex-direction: column;
        gap: 4px;
    }
    
    .language-switcher {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .works-title {
        font-size: 28px;
    }
    
    .work-details {
        padding: 20px;
    }
    
    .work-name {
        font-size: 18px;
    }
}

