body > section.references
{
    min-height: fit-content;
}

.sky-container .atmosphere
{
    --ratio:1;
}

.references-section {
    padding: 15vh 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    mix-blend-mode: exclusion;
}

.section-title {
    font-size: 3.5em;
    font-weight: 800;
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: 1.2em;
    color: white;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.references-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 66.666vw;
    margin: 0 auto;
}

.reference-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.reference-card:hover::before {
    left: 100%;
}

.reference-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
}

.reference-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.4s ease;
}

.reference-card:hover .reference-logo {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.05);
}

/* Floating animation */
.reference-card {
    animation: float 6s ease-in-out infinite;
}

.reference-card:nth-child(2n) {
    animation-delay: -2s;
}

.reference-card:nth-child(3n) {
    animation-delay: -4s;
}

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

/* Stats section */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 100px;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: #4A90E2;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    .references-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
        padding: 0;
        max-width: 95vw;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5em;
    }
    
    .references-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .reference-card {
        padding: 30px 20px;
        min-height: 120px;
    }
    
    .reference-logo {
        max-height: 60px;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .references-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-title {
        font-size: 2em;
    }
}


/* Background particles */
.bg-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    animation: particle-float 20s infinite linear;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}