/* Variables principales */
:root {
    --primary: #00F2FE;
    --primary-dark: #0077CC;
    --accent: #7356BF;
    --text-main: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --bg-dark: #0B1622;
    --bg-darker: #060D14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --spacing-section: 120px;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Styles communs pour les sections */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-main);
    position: relative;
    
    &::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}


/* About Section */
.about {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 50% 50%, 
            rgba(115, 86, 191, 0.1), 
            transparent 70%);
        pointer-events: none;
    }
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about__content {
    margin-top: 60px;
}

.about__text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about__values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid rgba(115, 86, 191, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);
    }

    h3 {
        color: var(--primary);
        margin-bottom: 15px;
        font-size: 1.5rem;
    }

    p {
        color: var(--text-secondary);
        line-height: 1.7;
    }
}

/* Technical Section */
.tech {
    padding: var(--spacing-section) 0;
    background: var(--bg-darker);
    position: relative;
}

.tech__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    &:hover {
        transform: translateY(-5px);
        border-color: var(--primary);

        .tech-card__icon {
            transform: scale(1.1);
            color: var(--primary);
        }
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle at top right,
            rgba(0, 242, 254, 0.1),
            transparent 70%
        );
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    &:hover::before {
        opacity: 1;
    }
}

.tech-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.tech-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.tech-list {
    list-style: none;
    
    li {
        color: var(--text-secondary);
        margin-bottom: 10px;
        padding-left: 20px;
        position: relative;

        &::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--primary);
        }
    }
}
/* Community Section */
.community {
    padding: var(--spacing-section) 0;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle at 30% 70%,
            rgba(115, 86, 191, 0.1),
            transparent 60%
        );
        pointer-events: none;
    }
}

.community__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.community__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.community-card {
    background: var(--bg-card);
    border: 1px solid rgba(115, 86, 191, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    &:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);

        &::before {
            opacity: 1;
        }
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(
            circle at top right,
            rgba(0, 242, 254, 0.05),
            transparent 70%
        );
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    h3 {
        color: var(--primary);
        margin-bottom: 20px;
        font-size: 1.5rem;
        position: relative;
    }

    p {
        color: var(--text-secondary);
        line-height: 1.7;
        position: relative;
    }
}

/* Contact Section */
.contact {
    padding: var(--spacing-section) 0;
    background: var(--bg-darker);
    position: relative;

    &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--gradient-primary);
        opacity: 0.2;
    }
}

.contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(0, 242, 254, 0.1);

        .contact-card__icon {
            transform: scale(1.1);
            color: var(--primary);
        }
    }
}

.contact-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    border-radius: 25px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);

        &::before {
            transform: translateX(100%);
        }
    }

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent
        );
        transition: transform 0.5s ease;
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about__values,
    .tech__grid,
    .community__features,
    .contact__options {
        grid-template-columns: 1fr;
    }

    .value-card,
    .tech-card,
    .community-card,
    .contact-card {
        padding: 25px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about__content,
.tech__grid,
.community__features,
.contact__options {
    animation: fadeInUp 0.8s ease-out forwards;
}
