/* Hexagonal Grid Background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero > .container {
    position: relative;
    z-index: 20;
    pointer-events: none;
    max-width: 100%;
    padding-left: 6%;
    margin: 0;
}

/* Centered hero content layout */
.hero-content--center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-height: 70vh;
    max-width: 900px;
    margin: 0;
    padding: 60px 20px;
    margin-top: -80px;
}

.hero-content--center .hero-title {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 5rem);
    text-shadow: 0 0 10px rgba(180, 100, 255, 0.8), 0 0 20px rgba(180, 100, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.5);
 
}
html[lang="en"] .hero-content--center .hero-title,
html[lang="de"] .hero-content--center .hero-title,
html[lang="fr"] .hero-content--center .hero-title,
html[lang="ar"] .hero-content--center .hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

 

.hero-content--center .hero-desc {
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    text-shadow: 0 0 8px rgba(180, 100, 255, 0.6), 0 0 16px rgba(180, 100, 255, 0.3), 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    /* white-space: nowrap;  */
    word-wrap: break-word; 
    overflow-wrap: break-word; 
 
}
html[lang="en"] .hero-content--center .hero-desc,
html[lang="de"] .hero-content--center .hero-desc,
html[lang="fr"] .hero-content--center .hero-desc,
html[lang="ar"] .hero-content--center .hero-desc {
    white-space: normal;
    max-width: 780px;
}

.hero-content--center .hero-actions {
    justify-content: flex-start;
}

.hero-badges {
    display: flex;
    gap: 28px;
    margin-top: 32px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-badge-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(180, 100, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 12px rgba(180, 100, 255, 0.6), 0 0 24px rgba(180, 100, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-content--center {
        min-height: 60vh;
        padding: 40px 16px;
    }
    .hero-badges {
        gap: 8px;
    }
    .hero-badge-item {
        font-size: 0.75rem;
        padding: 6px 12px;
        word-wrap: break-word;
        text-align: center;
        max-width: calc(38% - 8px);
        flex: 1 1 calc(38% - 8px);
    }
    .stats-badges {
        gap: 12px;
    }
    .stats-badges .hero-badge-item {
        flex: 1 1 calc(50% - 12px);
        min-width: calc(50% - 12px);
        padding: 20px 12px;
        font-size: 0.9rem;
    }
    .stats-badges .hero-badge-item .badge-text {
        font-size: 0.8rem;
        word-wrap: break-word;
    }
    .stats-badges .hero-badge-item .badge-text strong {
        font-size: 1.2rem;
    }
}


/* Stats Badges Section */
.stats-badges-section {
    padding: 30px 0;
    background: transparent;
}

.stats-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.stats-badges .hero-badge-item {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: left;
    padding: 32px 24px;
    font-size: 1.2rem;
    border-radius: 6px;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.7);
    text-shadow: none;
    font-weight: 500;
    border: 1px solid rgba(180, 100, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.badge-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    color: #b464ff;
    transition: color 0.3s ease;
}

.stats-badges .hero-badge-item:hover .badge-icon {
    color: #fff;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.badge-text strong {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
}

.stats-badges .hero-badge-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(180, 100, 255, 0.7), 0 0 40px rgba(180, 100, 255, 0.3), 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(180, 100, 255, 0.7);
    background: rgba(229, 172, 0, 0.9);
}

.stats-badges .hero-badge-item:hover .badge-icon {
    animation: iconSpin 0.6s ease-in-out;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stats-badges .hero-badge-item:nth-child(1) { animation: statsBreathe 4s ease-in-out 0s infinite; }
.stats-badges .hero-badge-item:nth-child(2) { animation: statsBreathe 4s ease-in-out 1s infinite; }
.stats-badges .hero-badge-item:nth-child(3) { animation: statsBreathe 4s ease-in-out 2s infinite; }
.stats-badges .hero-badge-item:nth-child(4) { animation: statsBreathe 4s ease-in-out 3s infinite; }

@keyframes statsBreathe {
    0%, 100% {
        box-shadow: 0 0 12px rgba(180, 100, 255, 0.6), 0 0 24px rgba(180, 100, 255, 0.3);
        border-color: rgba(180, 100, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(180, 100, 255, 0.9), 0 0 40px rgba(180, 100, 255, 0.5);
        border-color: rgba(180, 100, 255, 0.8);
    }
}

/* Logo Marquee */
.logo-marquee {
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
}

.logo-marquee-track {
    display: flex;
    gap: 24px;
    animation: marqueeScroll 20s linear infinite;
    width: max-content;
}

.logo-marquee-item {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.logo-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}

.logo-marquee-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.logo-marquee-item:hover {
    transform: scale(1.2);
    border-color: #b464ff;
    box-shadow: 0 0 16px rgba(180, 100, 255, 0.7), 0 0 32px rgba(180, 100, 255, 0.4);
    z-index: 10;
    position: relative;
}

.logo-marquee-track {
    overflow: visible;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hex-grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hex-glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.3);
    pointer-events: none;
    z-index: 1;
}

.hex-grid {
    position: relative;
    width: 100%;
    height: 100%;
}

.hex-cell {
    position: absolute;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.35s ease;
    will-change: transform, filter;
}

.hex-cell::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gap-color, rgba(255, 223, 0, 0.85));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: background 0.3s ease;
}

.hex-cell::after {
    content: none;
}

.hex-cell-inner {
    position: relative;
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
    background: #1a1f2e;
}

.hex-cell-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover states */
.hex-cell.active {
    transform: scale(1.15) translateY(-15px) !important;
    z-index: 100;
    filter: drop-shadow(0 0 20px rgba(180, 100, 255, 0.9)) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hex-cell.active::before {
    background: #b464ff !important;
    box-shadow: 0 0 25px #b464ff, 0 0 50px rgba(180, 100, 255, 0.4);
}

.hex-cell.neighbor-1 {
    transform: scale(1.05) translateY(-5px);
    z-index: 50;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.hex-cell.neighbor-1::before {
    background: rgba(0, 212, 255, 0.7) !important;
}

.hex-cell.neighbor-2 {
    transform: scale(1.02);
    z-index: 40;
    filter: brightness(1.1);
}

.hex-cell.neighbor-2::before {
    background: rgba(0, 212, 255, 0.45) !important;
}
