/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a0033 0%, #2d1b69 25%, #4c1d95 50%, #7c3aed 75%, #000000 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Particules d'arrière-plan */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #7c3aed, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo i {
    color: #f97316;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #7c3aed;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #7c3aed, #f97316);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 20px 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-main {
    display: block;
    background: linear-gradient(45deg, #7c3aed, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    color: #ffffff;
    font-size: 0.7em;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #e5e7eb;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.feature-item i {
    color: #f97316;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #7c3aed, #f97316);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #7c3aed;
}

.btn-secondary:hover {
    background: #7c3aed;
    transform: translateY(-3px);
}

/* Animation serveur */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.server-animation {
    position: relative;
}

.server-rack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #7c3aed;
    border-radius: 15px;
    backdrop-filter: blur(10px);

    /* Empêche tout mouvement */
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.server-unit {
    width: 200px;
    height: 60px;
    background: linear-gradient(45deg, #1f2937, #374151);
    border: 1px solid #4b5563;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.server-unit.active {
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.server-lights {
    display: flex;
    gap: 0.5rem;
}

.light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: blink 2s infinite;
}

.light.green {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.light.orange {
    background: #f97316;
    box-shadow: 0 0 10px #f97316;
    animation-delay: 0.5s;
}

.light.red {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation-delay: 1s;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid #7c3aed;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Sections communes */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #7c3aed, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #e5e7eb;
    max-width: 600px;
    margin: 0 auto;
}

/* Offres Section */
.offers {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.offer-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: #7c3aed;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.offer-card.popular {
    border-color: #f97316;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.1), rgba(31, 41, 55, 0.8));
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #f97316, #ef4444);
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer-header {
    margin-bottom: 2rem;
}

.offer-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.offer-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
}

.period {
    font-size: 1.2rem;
    color: #9ca3af;
}

.offer-specs {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.spec:last-child {
    border-bottom: none;
}

.spec i {
    color: #f97316;
    font-size: 1.2rem;
}

.offer-features {
    margin-bottom: 2rem;
    text-align: left;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #e5e7eb;
}

.feature i {
    color: #10b981;
    font-size: 1rem;
}

.btn-offer {
    width: 100%;
    background: linear-gradient(45deg, #7c3aed, #a855f7);
    color: #ffffff;
    border: none;
    padding: 1rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-offer:hover {
    background: linear-gradient(45deg, #6d28d9, #9333ea);
    transform: translateY(-2px);
}

.btn-popular {
    background: linear-gradient(45deg, #f97316, #ef4444);
}

.btn-popular:hover {
    background: linear-gradient(45deg, #ea580c, #dc2626);
}

/* Avis Section */
.reviews {
    padding: 6rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #7c3aed;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

.review-stars {
    display: flex;
    gap: 0.2rem;
}

.review-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.9rem;
    color: #9ca3af;
}

.review-text {
    color: #e5e7eb;
    line-height: 1.7;
    font-style: italic;
}

/* Équipe Section */
.team {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-card {
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.team-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #7c3aed;
    transition: all 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 58, 237, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-image:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    color: #f97316;
    transform: scale(1.2);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1.1rem;
    color: #f97316;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: #e5e7eb;
    line-height: 1.6;
}

/* Partenaires Section */
.partners {
    padding: 6rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.partner-card {
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.8), rgba(17, 24, 39, 0.8));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.2);
}

.partner-logo {
    font-size: 3rem;
    color: #f97316;
    margin-bottom: 1rem;
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}

.partner-description {
    color: #e5e7eb;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a0033 50%, #2d1b69 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #7c3aed, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #f97316;
    font-size: 2rem;
}

.footer-description {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #7c3aed;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #e5e7eb;
}

.contact-item i {
    color: #f97316;
    font-size: 1.1rem;
    width: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #7c3aed;
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.3);
    padding-top: 2rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: #7c3aed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .offer-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}