﻿/* References Page Specific Styles */
.references-hero {
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #151528 50%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

    .hero-stat:hover {
        border-color: var(--accent-neon);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 243, 255, 0.1);
    }

    .hero-stat .stat-number {
        font-size: 2.5rem;
        font-weight: 800;
        background: linear-gradient(45deg, var(--accent-neon), var(--accent-cyan));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin-bottom: 0.5rem;
        font-family: 'Orbitron', sans-serif;
    }

    .hero-stat .stat-label {
        color: var(--text-glow);
        opacity: 0.8;
        font-size: 0.95rem;
        font-weight: 600;
    }

/* References Filter */
.references-filter {
    padding: 4rem 5%;
    background: var(--secondary-color);
}

.filter-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .filter-header h2 {
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 1rem;
        font-family: 'Orbitron', sans-serif;
        color: var(--text-glow);
    }

    .filter-header p {
        font-size: 1.2rem;
        opacity: 0.8;
        max-width: 500px;
        margin: 0 auto;
    }

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.filter-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 25px;
    color: var(--text-glow);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .filter-btn:hover,
    .filter-btn.active {
        background: linear-gradient(45deg, var(--accent-neon), var(--accent-purple));
        color: var(--primary-color);
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
    }

/* References Grid */
.references-grid-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #151528 100%);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.reference-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(26, 26, 46, 0.6) 100%);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

    .reference-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.1), transparent);
        transition: left 0.6s;
    }

    .reference-card:hover::before {
        left: 100%;
    }

    .reference-card:hover {
        transform: translateY(-10px);
        border-color: var(--accent-neon);
        box-shadow: 0 20px 40px rgba(0, 243, 255, 0.2);
    }

.reference-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(255, 0, 200, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reference-logo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-neon);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.reference-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-purple));
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.reference-content {
    padding: 2rem;
}

    .reference-content h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--text-glow);
        font-family: 'Orbitron', sans-serif;
    }

.reference-description {
    color: var(--text-glow);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.reference-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.7;
    color: var(--text-glow);
}

.reference-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(0, 243, 255, 0.1);
    color: var(--accent-neon);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 5%;
    background: var(--secondary-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(26, 26, 46, 0.6) 100%);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

    .testimonial-card:hover {
        border-color: var(--accent-neon);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 243, 255, 0.1);
    }

.testimonial-content {
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-neon);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: serif;
}

.testimonial-text {
    color: var(--text-glow);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-neon);
    border: 2px solid rgba(0, 243, 255, 0.3);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-glow);
    margin-bottom: 0.2rem;
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--text-glow);
}

/* CTA Section */
.references-cta {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #151528 100%);
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .references-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 200px;
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .reference-card {
        margin: 0 0.5rem;
    }

    .reference-content {
        padding: 1.5rem;
    }

    .reference-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}
