/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 152, 219, 0.85) 100%), url('https://media.istockphoto.com/id/2228695458/fr/photo/couple-effectuant-un-paiement-mobile-dans-un-magasin-de-v%C3%AAtements.jpg?s=1024x1024&w=is&k=20&c=pRhq3Jx2J6Th6EPKO9xn3EvFly7c-sTAX5qfzD8-CCY=') center/cover no-repeat fixed;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Logiciels page wide layout */
.logiciels-wide .container {
    max-width: 1400px;
}

.logiciels-wide .page-header h1 {
    font-size: 3rem;
}

.logiciels-wide .page-header p {
    font-size: 1.4rem;
}

.logiciels-wide .logiciel-detail-text h2 {
    font-size: 2.4rem;
}

.logiciels-wide .logiciel-detail-text .lead {
    font-size: 1.3rem;
}

.logiciels-wide .features-section h3 {
    font-size: 1.7rem;
}

.logiciels-wide .features-list li {
    padding: 8px 0;
}

.logiciels-wide .logiciel-price .price-value {
    font-size: 2.4rem;
}

.logiciels-wide .logiciel-detail-image img {
    height: 520px;
}

.flash-banner {
    background: linear-gradient(90deg, #e74c3c, #f1c40f, #3498db);
    color: var(--white);
    padding: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.flash-content {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    animation: flashPulse 1.6s ease-in-out infinite;
}

.flash-title {
    background: var(--white);
    color: #e74c3c;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.flash-text {
    font-weight: 600;
}

.flash-price {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1;
}

.flash-banner .flash-action.btn.btn-primary {
    display: none;
}

.flash-action {
    margin-left: 6px;
}

@keyframes flashPulse {
    0% { opacity: 1; filter: saturate(1); }
    40% { opacity: 0.85; filter: saturate(1.2); }
    60% { opacity: 1; filter: saturate(1.4); }
    100% { opacity: 1; filter: saturate(1); }
}

.flash-media {
    display: inline-flex;
    align-items: center;
}

.flash-video {
    width: 320px;
    height: 180px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

@media (max-width: 768px) {
    .flash-video { display: none; }
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 3px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-block;
    transform-style: preserve-3d;
    animation: logo3D 3s ease-in-out infinite;
    transition: transform 0.3s;
}

.logo a:hover {
    animation-play-state: paused;
    transform: rotateY(15deg) rotateX(5deg) scale(1.1);
}

@keyframes logo3D {
    0%, 100% {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
    }
    50% {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: perspective(1000px) rotateY(-10deg) rotateX(-5deg);
    }
}

.anydesk-btn {
    background: #e74c3c;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: inherit;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s;
    display: inline-block;
    margin-left: 10px;
    white-space: nowrap;
    height: auto;
    box-sizing: border-box;
}

.anydesk-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    color: var(--white);
}

.contact-btn-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    margin-left: 10px;
    white-space: nowrap;
}

.contact-btn-header:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    color: var(--white);
}

.whatsapp-btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.3rem;
    flex-shrink: 0;
    transform-style: preserve-3d;
    animation: whatsapp3D 2s ease-in-out infinite;
}

.whatsapp-btn-header:hover {
    background: #20BA5A;
    animation-play-state: paused;
    transform: rotateY(20deg) rotateX(10deg) scale(1.15);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

@keyframes whatsapp3D {
    0%, 100% {
        transform: perspective(800px) rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: perspective(800px) rotateY(15deg) rotateX(8deg);
    }
    50% {
        transform: perspective(800px) rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: perspective(800px) rotateY(-15deg) rotateX(-8deg);
    }
}

/* QR Code Header */
.qr-header-wrapper {
    position: relative;
}

.qr-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.3rem;
    flex-shrink: 0;
    transform-style: preserve-3d;
    animation: qr3D 2.5s ease-in-out infinite;
}

.qr-header-icon:hover {
    background: var(--secondary-color);
    animation-play-state: paused;
    transform: rotateY(20deg) rotateX(10deg) scale(1.15);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.4);
}

@keyframes qr3D {
    0%, 100% {
        transform: perspective(800px) rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: perspective(800px) rotateY(12deg) rotateX(6deg);
    }
    50% {
        transform: perspective(800px) rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: perspective(800px) rotateY(-12deg) rotateX(-6deg);
    }
}

.qr-header-popup {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    min-width: 180px;
    text-align: center;
}

.qr-header-wrapper:hover .qr-header-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#qrcode-header {
    margin-bottom: 10px;
}

#qrcode-header img {
    border-radius: 5px;
    border: 2px solid var(--border-color);
}

.qr-header-text {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 0;
}

.btn-devis,
.btn-contact,
.btn-login {
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    line-height: 1.5;
    transition: all 0.3s;
    box-sizing: border-box;
}

.btn-devis {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-devis:hover {
    background: #2980b9;
}

.btn-contact {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-contact:hover {
    background: #2980b9;
}

.btn-login {
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    background: var(--bg-light);
}

.cart {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.cart:hover {
    background: var(--bg-light);
    text-decoration: none;
    color: inherit;
}

.cart i {
    color: var(--secondary-color);
}

.cart-total {
    font-weight: 600;
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s;
}

/* Navigation */
.main-nav {
    border-top: 1px solid var(--border-color);
    padding: 15px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.main-nav a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
}

.has-submenu.active > a {
    color: var(--secondary-color);
    font-weight: 600;
}

.has-submenu.active > a::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
}

/* Ensure only one active link at a time */
.main-nav a.nav-link:not(.active) {
    color: var(--text-color);
    font-weight: 500;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 200px;
    margin-top: 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.has-submenu:hover .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    padding: 10px 20px;
    display: block;
}

.submenu a:hover {
    background: var(--bg-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 152, 219, 0.85) 100%), url('https://media.istockphoto.com/id/2228695458/fr/photo/couple-effectuant-un-paiement-mobile-dans-un-magasin-de-v%C3%AAtements.jpg?s=1024x1024&w=is&k=20&c=pRhq3Jx2J6Th6EPKO9xn3EvFly7c-sTAX5qfzD8-CCY=') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: backgroundZoom 20s ease-in-out infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://media.istockphoto.com/id/2228695458/fr/photo/couple-effectuant-un-paiement-mobile-dans-un-magasin-de-v%C3%AAtements.jpg?s=1024x1024&w=is&k=20&c=pRhq3Jx2J6Th6EPKO9xn3EvFly7c-sTAX5qfzD8-CCY=') center/cover no-repeat;
    background-attachment: fixed;
    animation: backgroundMove 30s ease-in-out infinite alternate;
    z-index: -1;
    opacity: 0.3;
}

@keyframes backgroundZoom {
    0% {
        background-size: 100% 100%;
    }
    100% {
        background-size: 110% 110%;
    }
}

@keyframes backgroundMove {
    0% {
        transform: scale(1) translateX(0) translateY(0);
    }
    50% {
        transform: scale(1.1) translateX(-20px) translateY(-10px);
    }
    100% {
        transform: scale(1.05) translateX(20px) translateY(10px);
    }
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.hero-content > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.cta-text {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
}

/* Domaines Section */
.domaines {
    padding: 80px 0;
    background: var(--bg-light);
}

.domaines h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.domaine-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.domaine-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.domaine-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.domaine-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Logiciels Section */
.logiciels {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.logiciels h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.logiciels-grid {
    display: grid;
    gap: 40px;
}

.logiciel-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.logiciel-card:hover {
    box-shadow: var(--shadow-hover);
}

.logiciel-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.logiciel-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.logiciel-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-light);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
}

/* Offres Section */
.offres {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.offres h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.offre-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.offre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.offre-card.featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.offre-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.offre-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.offre-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.offre-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.offre-actions .btn {
    flex: 1;
    min-width: 140px;
}

.offre-features li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.offre-features i {
    color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

/* Support Section */
.support {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.support h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.support-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.support-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.support-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.support-hours {
    list-style: none;
    margin-bottom: 30px;
}

.support-hours li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.support-hours i {
    color: var(--secondary-color);
}

.support-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-cta {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-cta:hover {
    background: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-top {
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .header-actions {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-end;
        margin-left: 0;
    }

    .anydesk-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .btn-devis,
    .btn-contact,
    .btn-login {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .cart {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .whatsapp-btn-header,
    .qr-header-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .submenu {
        position: static;
        box-shadow: none;
        margin-top: 10px;
        padding-left: 20px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .has-submenu:hover .submenu {
        display: none;
    }
    
    .submenu.show {
        display: block !important;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .phone-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .phone-btn-group .btn {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offres-grid {
        grid-template-columns: 1fr;
    }

    .offre-card.featured {
        transform: scale(1);
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .page-header {
        padding: 30px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .produit-card,
    .offre-card,
    .feature-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .header-top {
        padding: 8px 0;
    }

    .header-actions {
        gap: 5px;
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
    }

    .logo {
        gap: 3px;
        flex: 1;
    }

    .logo a {
        font-size: 18px;
    }

    .anydesk-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .btn-devis,
    .btn-contact,
    .btn-login {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .whatsapp-btn-header,
    .qr-header-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .qr-header-popup {
        min-width: 140px;
        padding: 12px;
        left: 50%;
        transform: translateX(-50%);
    }

    #qrcode-header {
        width: 100px !important;
        height: 100px !important;
    }

    .cart {
        padding: 5px 8px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 8px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .domaines,
    .logiciels,
    .how-it-works,
    .offres,
    .testimonials,
    .support {
        padding: 40px 0;
    }

    .domaines h2,
    .logiciels h2,
    .how-it-works h2,
    .offres h2,
    .testimonials h2,
    .support h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-header {
        padding: 25px 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .produit-card,
    .offre-card {
        padding: 15px;
    }

    .produit-card h3,
    .offre-card h3 {
        font-size: 1.1rem;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-links li,
    .footer-contact li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.5) 0%, rgba(52, 152, 219, 0.5) 100%), url('https://www.stephanealligne.com/wp-content/uploads/2020/06/ob_f8e147_paiement-site-ecommerce.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: backgroundZoom 20s ease-in-out infinite alternate;
    min-height: 300px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.stephanealligne.com/wp-content/uploads/2020/06/ob_f8e147_paiement-site-ecommerce.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    animation: backgroundMove 30s ease-in-out infinite alternate;
    z-index: -1;
    opacity: 0.5;
    filter: brightness(1.2);
}

.page-header-maintenance {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.25) 0%, rgba(52, 152, 219, 0.25) 100%), url('https://generationcloud.fr/wp-content/uploads/2025/08/Prestataire-de-maintenance-informatique-pour-TPE-a-Paris-scaled.jpg') center/120% no-repeat !important;
    padding: 120px 0 !important;
}

.page-header-maintenance::before {
    background: url('https://generationcloud.fr/wp-content/uploads/2025/08/Prestataire-de-maintenance-informatique-pour-TPE-a-Paris-scaled.jpg') center/120% no-repeat !important;
    opacity: 0.05 !important;
}

.page-header-downloads {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.4) 0%, rgba(52, 152, 219, 0.4) 100%), url('https://www.coderus.com/wp-content/uploads/fly-images/996776/different-types-of-software-coderus-branded-image-1400x9999.jpg') center/cover no-repeat !important;
    padding: 80px 0 !important;
}

.page-header-downloads::before {
    background: url('https://www.coderus.com/wp-content/uploads/fly-images/996776/different-types-of-software-coderus-branded-image-1400x9999.jpg') center/cover no-repeat !important;
    opacity: 0.1 !important;
}

.page-header-contact {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.4) 0%, rgba(52, 152, 219, 0.4) 100%), url('https://solutions-documentaires.reseau-canope.fr/wp-content/uploads/2016/10/contact.jpg') center/cover no-repeat !important;
    padding: 80px 0 !important;
}

.page-header-contact::before {
    background: url('https://solutions-documentaires.reseau-canope.fr/wp-content/uploads/2016/10/contact.jpg') center/cover no-repeat !important;
    opacity: 0.1 !important;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Image */
.hero-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Feature Images */
.feature-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
    background: var(--bg-light);
    padding: 10px;
}

/* Domaine Images */
.domaine-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Logiciel Images */
.logiciel-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.logiciel-image img {
    width: 100%;
    height: auto;
    display: block;
}

.logiciel-image-multiple {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.logiciel-image-multiple img {
    object-fit: cover;
    width: 100%;
    height: 300px;
    display: block;
}

/* Logiciel Detail */
.logiciel-detail {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.logiciel-detail.alt {
    background: var(--bg-light);
}

.logiciel-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.logiciel-detail-content.flexo6-layout {
    grid-template-columns: 1fr;
    gap: 30px;
}

.logiciel-cta-top {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    margin-top: 20px;
}

.logiciel-detail-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.logiciel-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logiciel-detail-image img {
    width: 100%;
    max-width: 700px;
    height: 450px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    display: block;
    background: var(--bg-light);
    padding: 10px;
}

@media (max-width: 768px) {
    .logiciel-detail-images {
        grid-template-columns: 1fr;
    }
}

.logiciel-detail-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.logiciel-price-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.logiciel-price {
    margin-bottom: 0;
    padding: 0;
}

.logiciel-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: inline-block;
    padding: 10px 25px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.logiciel-detail-text .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.logiciel-detail-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 20px 0 15px;
}

.features-sections-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 20px 0;
}

.features-section h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .features-sections-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.features-list li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.feature-box i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.logiciel-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp-logiciel {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-whatsapp-logiciel:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: var(--white);
}

.btn-whatsapp-logiciel i {
    font-size: 1.2rem;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Produits Section */
.produits-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.produit-category {
    margin-bottom: 60px;
}

.produit-category h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.produit-category h2 i {
    color: var(--secondary-color);
}

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

.produit-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.produit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.produit-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
    background: var(--bg-light);
    padding: 10px;
}

.produit-images-multiple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.produit-images-multiple img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--bg-light);
    padding: 10px;
    margin-bottom: 0;
}

.zoomable-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoomable-image:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    position: relative;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    animation: zoomIn 0.3s;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 30px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    transition: background 0.3s;
    z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 20px;
        padding: 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

.produit-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.produit-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.produit-actions .btn {
    flex: 1;
    min-width: 140px;
}

.produit-desc {
    color: var(--text-light);
    margin-bottom: 20px;
}

.produit-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.produit-price .price-period {
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-light);
    margin-left: 5px;
}

.produit-specs {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: left;
}

.produit-specs h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.service-icon-large {
    text-align: center;
    margin-bottom: 20px;
}

.service-icon-large i {
    font-size: 3rem;
    color: var(--secondary-color);
    padding: 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: inline-block;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features-list li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features-list i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    padding: 12px;
    background: var(--bg-light);
    border-radius: 5px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.spec-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.spec-item.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    min-width: 40px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.contact-form-container h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

/* Devis Section */
.devis-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.devis-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
}

.devis-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.devis-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p a {
    color: var(--secondary-color);
    text-decoration: none;
}

.info-card p a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .devis-grid {
        grid-template-columns: 1fr;
    }
}

.devis-form h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.devis-form h2:first-child {
    margin-top: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Login Section */
.login-section {
    padding: 80px 0;
    min-height: calc(100vh - 400px);
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    align-items: center;
}

.login-container {
    max-width: 500px;
    margin: 0 auto;
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.login-box h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.login-box h1 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.forgot-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-footer {
    margin-top: 20px;
    text-align: center;
}

.back-link {
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: var(--secondary-color);
}

/* Downloads Section */
.downloads-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

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

.download-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.download-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.download-desc {
    color: var(--text-light);
    margin-bottom: 20px;
}

.download-info {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: left;
}

.download-info p {
    margin: 5px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.download-info a {
    color: var(--secondary-color);
    text-decoration: none;
}

.download-info a:hover {
    text-decoration: underline;
}

.download-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Offre Card Images */
.offre-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 10px 10px 0 0;
    margin: -40px -30px 20px -30px;
    background: var(--bg-light);
    padding: 10px;
}

/* Formation Page Styles */
.formation-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
}

.formation-intro {
    text-align: center;
    margin-bottom: 60px;
}

.formation-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.formation-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.formation-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.formation-video-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.formation-video-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.formation-video-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.formation-video-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.formation-video-header h3 i {
    font-size: 2rem;
}

.formation-video-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.formation-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    background: #000;
    padding: 0;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.formation-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    z-index: 2;
}

.video-fallback {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 1;
    display: none;
}

.video-fallback a {
    color: #FF0000;
    text-decoration: underline;
    font-weight: 600;
}

.video-fallback a:hover {
    color: #CC0000;
}

.video-direct-link {
    margin-top: 20px;
    text-align: center;
}

.btn-youtube-direct {
    background: #FF0000;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-youtube-direct:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.formation-video-description {
    padding: 30px;
}

.formation-video-description p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.formation-youtube-channel {
    margin: 50px 0;
}

.youtube-channel-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.youtube-channel-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.youtube-channel-header {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: var(--white);
    padding: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.youtube-channel-header i {
    font-size: 2.5rem;
}

.youtube-channel-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.youtube-channel-content {
    padding: 40px;
    text-align: center;
}

.youtube-channel-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.youtube-channel-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-youtube {
    background: #FF0000;
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-youtube:hover {
    background: #CC0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.btn-youtube-channel {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-youtube-channel:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.formation-cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 15px;
    margin-top: 40px;
}

.formation-cta h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.formation-cta p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Responsive Formation Page */
@media (max-width: 768px) {
    .formation-intro h2 {
        font-size: 2rem;
    }

    .formation-intro p {
        font-size: 1.1rem;
    }

    .formation-video-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 5px;
    }

    .formation-video-header h3 i {
        font-size: 1.5rem;
    }

    .formation-video-header p {
        font-size: 1rem;
    }

    .formation-video-description {
        padding: 20px;
    }

    .formation-video-description p {
        font-size: 1rem;
    }

    .formation-cta {
        padding: 30px 20px;
    }

    .formation-cta h3 {
        font-size: 1.5rem;
    }

    .formation-cta p {
        font-size: 1.1rem;
    }
}

/* Boutique Logiciels Page Styles */
.boutique-header {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 152, 219, 0.85) 100%), url('https://wallpapercave.com/wp/wp7762312.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: backgroundZoom 20s ease-in-out infinite alternate;
}

.boutique-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://wallpapercave.com/wp/wp7762312.jpg') center/cover no-repeat;
    background-attachment: fixed;
    animation: backgroundMove 30s ease-in-out infinite alternate;
    z-index: -1;
    opacity: 0.3;
}

.boutique-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.boutique-header-content h1 i {
    font-size: 2rem;
}

.boutique-subtitle {
    font-size: 1.3rem;
    margin: 10px 0;
    opacity: 0.9;
    font-weight: 600;
}

.boutique-subtitle-2 {
    font-size: 1.1rem;
    margin-top: 5px;
    opacity: 0.8;
}

/* Boutique Filters */
.boutique-filters {
    background: var(--white);
    padding: 30px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--border-color);
}

.boutique-filters-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.boutique-search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.boutique-search-box i {
    position: absolute;
    left: 15px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.boutique-search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.boutique-search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.boutique-category-filter select {
    padding: 12px 40px 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.boutique-category-filter select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Boutique Categories */
.boutique-categories {
    padding: 40px 0;
    background: var(--bg-light);
}

.boutique-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.boutique-category-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: var(--shadow);
    position: relative;
}

.boutique-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.boutique-category-card.active {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.05);
}

.boutique-category-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.boutique-category-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.boutique-category-count {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Boutique Products */
.boutique-products {
    padding: 60px 0;
    background: var(--white);
}

.boutique-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.boutique-product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: block;
}

.boutique-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.boutique-product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.boutique-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.boutique-product-card:hover .boutique-product-image img {
    transform: scale(1.05);
}

.product-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #27ae60;
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.product-popular-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.boutique-product-content {
    padding: 25px;
}

.boutique-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
}

.boutique-product-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.boutique-product-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--secondary-color);
    color: var(--white);
}

.boutique-product-badge.restauration {
    background: #e67e22;
}

.boutique-product-badge.documentation {
    background: #27ae60;
}

.boutique-product-badge.licences {
    background: #9b59b6;
}

.boutique-product-badge.pilotes {
    background: #f39c12;
}

.boutique-product-badge.updates {
    background: #e74c3c;
}

.boutique-product-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 48px;
}

.boutique-product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.spec-item {
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.spec-item strong {
    color: var(--primary-color);
    margin-right: 10px;
}

.boutique-product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.boutique-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.boutique-info-item i {
    color: var(--secondary-color);
    width: 20px;
}

.boutique-product-price {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.price-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.price-info {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-info i {
    color: var(--secondary-color);
}

.boutique-product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-boutique-primary {
    flex: 1;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-boutique-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-boutique-secondary {
    padding: 12px 20px;
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-boutique-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-boutique-whatsapp {
    flex: 1;
    padding: 12px 20px;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-boutique-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-tag i {
    font-size: 0.7rem;
}

/* Responsive for new pages */
@media (max-width: 768px) {
    .logiciel-detail-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Boutique Logiciels Responsive */
    .boutique-header {
        padding: 40px 0;
    }

    .boutique-header-content h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }

    .boutique-subtitle {
        font-size: 1.1rem;
    }

    .boutique-subtitle-2 {
        font-size: 1rem;
    }

    .boutique-filters-wrapper {
        flex-direction: column;
    }

    .boutique-search-box {
        width: 100%;
        min-width: 100%;
    }

    .boutique-category-filter {
        width: 100%;
    }

    .boutique-category-filter select {
        width: 100%;
    }

    .boutique-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .boutique-category-card {
        padding: 20px 15px;
    }

    .boutique-category-card i {
        font-size: 2rem;
    }

    .boutique-category-card h3 {
        font-size: 1rem;
    }

    .boutique-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .boutique-product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .boutique-product-actions {
        flex-direction: column;
    }

    .btn-boutique-primary,
    .btn-boutique-secondary,
    .btn-boutique-whatsapp {
        width: 100%;
    }
    
    .produit-actions,
    .offre-actions {
        flex-direction: column;
    }
    
    .produit-actions .btn,
    .offre-actions .btn {
        width: 100%;
    }
}

/* Maintenance Page Styles */
.maintenance-hero {
    padding: 80px 0;
    background: var(--bg-light);
}

.maintenance-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.maintenance-hero-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.maintenance-hero-text .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.maintenance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.maintenance-hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

.maintenance-services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.maintenance-advantages {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.advantage-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.maintenance-pricing {
    padding: 80px 0;
}

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

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-period {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: var(--secondary-color);
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.pricing-actions .btn {
    width: 100%;
    text-align: center;
}

.pricing-actions .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.pricing-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-whatsapp-pricing {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-whatsapp-pricing:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-pricing i {
    font-size: 1.2rem;
}

.maintenance-request {
    padding: 80px 0;
    background: var(--bg-light);
}

.request-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.request-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.request-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.request-steps {
    margin-bottom: 40px;
}

.request-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.request-step .step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.request-contact {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.request-contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.request-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.request-form-container h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.maintenance-form .form-group {
    margin-bottom: 20px;
}

.maintenance-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.maintenance-form input,
.maintenance-form select,
.maintenance-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.maintenance-form textarea {
    resize: vertical;
}

/* Phone Labels */
.phone-label {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-left: 8px;
    font-style: italic;
}

.phone-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phone-buttons .btn {
    width: 100%;
    justify-content: center;
}

/* WhatsApp Buttons */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    margin-left: 10px;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.phone-btn-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-contact li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Hero Buttons - Multiple phone buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* QR Code Section */
.qr-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.qr-content {
    flex: 1;
}

.qr-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qr-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.qr-url {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.qr-url i {
    color: var(--primary-color);
}

.qr-code-wrapper {
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

#qrcode {
    display: inline-block;
    margin-bottom: 15px;
}

#qrcode img {
    border-radius: 10px;
    border: 3px solid var(--border-color);
}

.qr-instruction {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive Maintenance */
@media (max-width: 768px) {
    .maintenance-hero-content {
        grid-template-columns: 1fr;
    }

    .maintenance-stats {
        grid-template-columns: 1fr;
    }

    .request-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .qr-container {
        flex-direction: column;
        gap: 40px;
    }

    .qr-content {
        text-align: center;
    }
}

/* Shopping Cart Styles */
.cart-items-container {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.cart-empty-message {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 20px;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.cart-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--secondary-color);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.cart-item-category {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: capitalize;
}

.cart-item-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem;
}

.cart-item-quantity {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-item-remove {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Cart Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cart-item-details {
        width: 100%;
        justify-content: space-between;
    }
}

/* Cart Page Styles */
.cart-page-section {
    padding: 60px 0;
    min-height: 60vh;
    background: rgba(255, 255, 255, 0.95);
}

.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty-icon {
    font-size: 5rem;
    color: var(--border-color);
    margin-bottom: 30px;
}

.cart-empty-state h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cart-empty-state p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cart-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    background: var(--bg-light);
}

.cart-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.cart-table-row:last-child td {
    border-bottom: none;
}

.cart-product-info {
    min-width: 250px;
}

.cart-product-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.cart-product-category {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: capitalize;
}

.cart-product-price {
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
}

.cart-product-quantity {
    white-space: nowrap;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--primary-color);
}

.quantity-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.quantity-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-product-total {
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
}

.cart-product-remove {
    text-align: center;
}

.cart-remove-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.cart-remove-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cart-actions-left {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cart-summary {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 300px;
}

.cart-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
}

.cart-summary-total span:last-child {
    color: var(--secondary-color);
}

.btn-danger {
    background: var(--accent-color);
    color: var(--white);
    border: none;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-whatsapp-cart {
    background: #25D366;
    color: var(--white);
    border: none;
    width: 100%;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-whatsapp-cart:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-cart i {
    font-size: 1.2rem;
}

/* Payment Methods */
.payment-methods {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.payment-methods h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-paypal {
    background: #0070ba;
    color: var(--white);
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-paypal:hover {
    background: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 112, 186, 0.3);
    color: var(--white);
}

.btn-paypal i {
    font-size: 1.3rem;
}

.btn-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-card:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: var(--white);
}

.btn-card i {
    font-size: 1.2rem;
}

/* Responsive Cart Page */
@media (max-width: 768px) {
    .cart-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .cart-table thead {
        display: none;
    }
    
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }
    
    .cart-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        padding: 15px;
        background: var(--white);
    }
    
    .cart-table td {
        padding: 8px 0;
        text-align: left;
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    .cart-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        font-weight: 600;
        color: var(--primary-color);
    }
    
    .cart-table th:nth-child(2),
    .cart-table td:nth-child(2),
    .cart-table th:nth-child(4),
    .cart-table td:nth-child(4) {
        display: block;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-actions-left {
        width: 100%;
        flex-direction: column;
    }
    
    .cart-actions-left .btn {
        width: 100%;
    }
    
    .cart-summary {
        width: 100%;
        margin-top: 20px;
    }

    .payment-methods {
        margin: 20px 0;
        padding: 15px 0;
    }

    .payment-methods h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .payment-buttons {
        gap: 10px;
    }

    .btn-paypal,
    .btn-card {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cart-item-details {
        width: 100%;
        justify-content: space-between;
    }

    .quantity-controls {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cart-table td {
        font-size: 0.8rem;
    }

    .cart-item-info h4 {
        font-size: 0.95rem;
    }

    .cart-item-price {
        font-size: 1rem;
    }
}

/* Responsive Tables */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .produit-specs,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .produit-images-multiple {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .logiciel-detail-images {
        grid-template-columns: 1fr;
    }

    .logiciel-image-multiple {
        grid-template-columns: 1fr;
    }

    .features-sections-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logiciel-price-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .logiciel-cta-top {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .logiciel-cta-top .btn {
        width: 100%;
    }
}

/* Responsive Forms */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 1rem;
        padding: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .produits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .produit-card {
        padding: 20px;
    }

    .produit-actions {
        flex-direction: column;
        gap: 10px;
    }

    .produit-actions .btn {
        width: 100%;
    }
}

/* Responsive Pricing Cards */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        max-width: 100%;
    }

    .pricing-actions {
        flex-direction: column;
        gap: 10px;
    }

    .pricing-actions .btn {
        width: 100%;
    }
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding: 20px;
    }

    .phone-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .phone-buttons {
        flex-direction: column;
        width: 100%;
    }

    .phone-buttons .phone-btn-group {
        width: 100%;
    }
}

/* Responsive Footer Contact */
@media (max-width: 768px) {
    .footer-contact li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-contact .whatsapp-btn {
        align-self: flex-start;
    }
}

/* Responsive Video */
@media (max-width: 768px) {
    .formation-video-wrapper {
        padding-bottom: 56.25%;
    }

    .formation-video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    .btn,
    a.btn {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .menu-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .whatsapp-btn-header,
    .qr-header-icon {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Prevent horizontal scroll */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        background-attachment: scroll !important;
    }

    .page-header,
    .hero,
    .boutique-header {
        background-attachment: scroll !important;
    }

    * {
        max-width: 100%;
    }

    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
}

/* Masquer la catégorie IPTV et tous les produits IPTV */
.boutique-category-card[data-category="iptv"],
.boutique-product-card[data-category="iptv"],
option[value="iptv"] {
    display: none !important;
}

/* Web Templates Section */
.web-templates-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.templates-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-color);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.template-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.template-preview {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-card:hover .template-preview img {
    transform: scale(1.05);
}

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.template-overlay .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.template-info {
    padding: 20px;
}

.template-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.template-badge.popular {
    background: var(--accent-color);
}

.template-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.template-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.template-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.template-rating i {
    color: #ffc107;
    font-size: 0.85rem;
}

.template-rating .rating-count {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-left: 5px;
}

.template-author {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.template-description {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.template-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.template-tags .tag {
    background: var(--bg-light);
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.template-tags .tag:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.template-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.template-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.template-features i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.template-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

.template-actions-footer {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.template-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Responsive Templates */
@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .templates-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .template-preview {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .templates-grid {
        grid-template-columns: 1fr;
    }

    .web-templates-section {
        padding: 60px 0;
    }

    .template-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .template-rating {
        margin-top: 5px;
    }

    .template-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .template-actions-footer {
        flex-direction: column;
        width: 100%;
    }

    .template-footer .btn {
        width: 100%;
    }
}

/* Template Modal */
.template-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.template-modal-content {
    background-color: var(--white);
    margin: 20px auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.template-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.template-modal-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.template-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.template-modal-preview {
    position: relative;
    background: var(--bg-light);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.template-modal-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
}

.template-modal-badges {
    position: absolute;
    top: 20px;
    left: 20px;
}

.template-modal-info {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

.template-modal-header {
    margin-bottom: 15px;
}

.template-modal-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.template-modal-screenshots {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.template-modal-screenshots h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.template-modal-footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.template-modal-footer .template-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.template-modal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.template-modal-actions .btn {
    flex: 1;
    min-width: 150px;
}

@media (max-width: 968px) {
    .template-modal-body {
        grid-template-columns: 1fr;
    }

    .template-modal-preview {
        min-height: 300px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .template-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .template-modal-actions {
        flex-direction: column;
    }

    .template-modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .template-modal-content {
        width: 95%;
        margin: 10px auto;
    }

    .template-modal-info {
        padding: 20px;
    }

    .template-modal-preview {
        padding: 20px;
    }

    .template-modal-header h2 {
        font-size: 1.5rem;
    }
}
