header {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #f5f5f7;
}

.header-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,245,247,0.8) 50%, rgba(230,230,235,0.7) 100%);
    z-index: 1;
}


.cable-showcase {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 45%;
    height: 85%;
    background-image: url('../images/home-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 3;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.cable-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.3) 100%);
    border-radius: 20px;
}

.cable-showcase {
  }


@media (min-width: 768px) {
    .cable-showcase:hover {
      transform: translateY(-22%) scale(1.02);
    }
  }


.cable-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 2;
    /* background-image: 
        linear-gradient(90deg, #333 1px, transparent 1px),
        linear-gradient(90deg, #333 1px, transparent 1px),
        linear-gradient(90deg, #333 1px, transparent 1px); */
    background-size: 
        100px 100%,
        50px 100%,
        25px 100%;
    animation: cableFlow 20s linear infinite;
}

#mobileLanguageSelect {
    background-color: #111; /* почти чёрный */
    color: #fff; /* белый текст */
    border: 1px solid #ffc107; /* жёлтая рамка */
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23ffc107' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7l4.5 4.5L14.5 7H5.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

#mobileLanguageSelect option {
    background-color: #111; /* фон списка опций */
    color: #fff; /* белый текст */
}
    

@keyframes cableFlow {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 100px 0, 50px 0, 25px 0; }
}

.header-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
    position: relative;
}

.header-text {
    width: 50%;
    text-align: left;
    margin-bottom: 50px;
}

.header-text h2 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 24px;
    position: relative;
}

.header-text h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 3px;
}

.header-text p {
    color: #555;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.6;
    margin-top: 32px;
    max-width: 550px;
}

.header-button {
    margin-top: 40px;
    display: inline-block;
}

.header-button a {
    background-color: var(--color-primary);
    color: #1a1a1a;
    font-weight: 600;
    font-size: 18px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(224, 191, 3, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header-button a::after {
    content: "→";
    margin-left: 12px;
    transition: transform 0.3s ease;
}

.header-button a:hover {
    background-color: #e0bf03;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(224, 191, 3, 0.5);
}

.header-button a:hover::after {
    transform: translateX(5px);
}

/* Small floating cable elements */
.cable-element {
    position: absolute;
    background-color: var(--color-primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 2;
}

.cable-element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: float 15s ease-in-out infinite;
}

.cable-element-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 25%;
    animation: float 12s ease-in-out infinite 2s;
}

.cable-element-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 25%;
    animation: float 10s ease-in-out infinite 1s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(15px, 15px); }
    100% { transform: translate(0, 0); }
}

/* Trust badge */
.trust-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    z-index: 10;
}

.trust-badge svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    fill: var(--color-primary);
}

.trust-badge span {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

@media (max-width: 1200px) {
    .header-text {
        width: 60%;
    }
    
    .cable-showcase {
        width: 40%;
        right: 3%;
    }
    
    .header-text h2 {
        font-size: 54px;
    }
}

@media (max-width: 992px) {
    .header-text {
        width: 100%;
        text-align: center;
    }
    
    .header-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .header-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cable-showcase {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 80%;
        height: 300px;
        margin: 0 auto 40px;
    }
    
    .header-content {
        /* flex-direction: column-reverse; */
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    header {
        height: auto;
        min-height: 100vh;
    }
}

@media (max-width: 768px) {
    .header-text h2 {
        font-size: 42px;
    }
    
    .header-text p {
        font-size: 18px;
    }
    
    .cable-showcase {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .header-text h2 {
        font-size: 32px;
    }
    
    .trust-badge {
        top: 15px;
        right: 15px;
        padding: 8px 16px;
    }
    
    .header-button a {
        padding: 14px 28px;
        font-size: 16px;
    }
}