/* Style général */
:root {
    --primary-color: #4f46e5;
    --secondary-color: #10b981;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* Hosting Plans Section */
.hosting-plans {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-color);
}

.plan-card ul {
    margin-bottom: 2rem;
}

.plan-card ul li {
    margin-bottom: 0.8rem;
    color: var(--gray-color);
}

.plan-card ul li i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: #f8fafc;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: #f3f4f6;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #e5e7eb;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about h3, .footer-links h3, .footer-services h3, .footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-about span {
    color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 1.5rem;
    color: #9ca3af;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-links ul li, .footer-services ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a, .footer-services ul li a {
    color: #9ca3af;
    transition: var(--transition);
}

.footer-links ul li a:hover, .footer-services ul li a:hover {
    color: white;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #9ca3af;
}

.footer-contact ul li i {
    margin-right: 1rem;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: white;
}

.services.alternate {
    background-color: #f8fafc;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.service-image {
    flex: 1;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
}

.service-content {
    flex: 1;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.service-content ul {
    margin-bottom: 2rem;
}

.service-content ul li {
    margin-bottom: 0.8rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.service-content ul li i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .plan-card.popular {
        transform: scale(1);
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .services.alternate .service-item {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
        padding: 5rem 2rem;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .features-grid, .plans-grid, .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .price {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.service-card:hover {
    box-shadow: 0 12px 32px rgba(76, 110, 245, 0.18), 0 2px 8px rgba(76, 110, 245, 0.08);
    transform: translateY(-8px) scale(1.03) rotate(-1deg);
    border: 2px solid #6c63ff;
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}
/* Effet glow sur les boutons principaux */
.btn-primary {
    box-shadow: 0 0 16px 0 #6c63ff55, 0 0 32px 0 #48c6ef33;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.3s, transform 0.3s;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #48c6ef 0%, #6c63ff 100%);
    color: #fff;
    box-shadow: 0 0 32px 0 #6c63ff99, 0 0 64px 0 #48c6ef55;
    transform: translateY(-4px) scale(1.06) rotate(-1deg);
}

/* Effet de survol et animation d'apparition pour les cartes de service */
.service-card {
    box-shadow: 0 4px 24px rgba(60, 72, 88, 0.10), 0 0 24px #6c63ff11;
    border-radius: 22px;
    transition: box-shadow 0.4s, transform 0.4s;
}
.service-card:hover {
    box-shadow: 0 12px 32px rgba(76, 110, 245, 0.18), 0 2px 8px rgba(76, 110, 245, 0.08), 0 0 32px #48c6ef33;
    transform: translateY(-8px) scale(1.03) rotate(-1deg);
    border: 2px solid #6c63ff;
}

.plan-card, .feature-card, .service-card {
    /* Ajout effet glassmorphism */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(76, 99, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(76, 99, 255, 0.18);
}

/* Effet de survol pour les cartes de service */
.service-card:hover {
    box-shadow: 0 12px 32px rgba(76, 110, 245, 0.18), 0 2px 8px rgba(76, 110, 245, 0.08);
    transform: translateY(-8px) scale(1.03) rotate(-1deg);
    border: 2px solid #6c63ff;  
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}

/* Effet de survol pour les cartes de plan */
.plan-card:hover {
    box-shadow: 0 12px 32px rgba(76, 110, 245, 0.18), 0 2px 8px rgba(76, 110, 245, 0.08);
    transform: translateY(-8px) scale(1.03) rotate(-1deg);
    border: 2px solid #6c63ff;
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}

/* Effet de survol pour les cartes de fonctionnalité */
.feature-card:hover {
    box-shadow: 0 12px 32px rgba(76, 110, 245, 0.18), 0 2px 8px rgba(76, 110, 245, 0.08);
    transform: translateY(-8px) scale(1.03) rotate(-1deg);
    border: 2px solid #6c63ff;
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
}

/* Effet de survol pour les boutons */
.btn:hover {
    box-shadow: 0 0 32px 0 #6c63ff99, 0 0 64px 0 #48c6ef55;
    transform: translateY(-4px) scale(1.06) rotate(-1deg);

}   

/* Effet de survol pour les liens */
a:hover {
    color: #6c63ff;
    text-decoration: underline;
}

/* Effet de survol pour les icônes */
i:hover {
    color: #6c63ff;
    transform: scale(1.1);
}

/* Effet de survol pour les images */
img:hover {
    transform: scale(1.05);
}



/* Effet de survol pour les titres */
h1:hover,h2:hover,h3:hover,h4:hover,h5:hover,h6:hover {
    color: #6c63ff;
}

/* Effet de survol pour les paragraphes */
p:hover {
    color: #6c63ff;
}

.wave-separator {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}




/* Animation d'apparition */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.service-card {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.3s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }
.service-card:nth-child(4) { animation-delay: 0.7s; }
.service-card:nth-child(5) { animation-delay: 0.9s; }

/* Micro-interaction sur les icônes de liste */
.service-card ul li i, .feature-card i {
    transition: color 0.2s, transform 0.2s;
}
.service-card ul li:hover i, .feature-card:hover i {
    color: #10b981;
    transform: scale(1.2);
}

/* Responsive amélioré */
@media (max-width: 900px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        max-width: 95vw;
    }
}
.btn-primary {
    box-shadow: 0 0 16px 0 #6c63ff55;
    position: relative;
    z-index: 1;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #48c6ef 0%, #6c63ff 100%);
    color: #fff;
    box-shadow: 0 0 32px 0 #6c63ff99;
    transform: translateY(-2px) scale(1.04);
}