/********** Template CSS **********/
:root {
    --primary: #1565C0;
    --secondary: #42A5F5;
    --light: #E3F2FD;
    --dark: #0D47A1;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.2);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Phone Mockup ***/
.phone-mockup {
    position: relative;
    display: inline-block;
    padding: 20px;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 2px #333,
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(5deg); }
    50% { transform: translateY(-15px) rotateY(-5deg) rotateX(5deg); }
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 25px;
}

.app-header i {
    font-size: 22px;
}

.app-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 5px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.menu-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: scale(1.05);
    background: white;
}

.menu-item i {
    font-size: 24px;
    color: var(--primary);
}

.menu-item span {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.recent-sales {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sale-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

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

.sale-amount {
    font-weight: 700;
    color: var(--success);
}

.phone-home-bar {
    height: 4px;
    width: 120px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    margin: 8px auto;
}

.phone-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(15px);
    animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes shadowPulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.2; }
    50% { transform: translateX(-50%) scale(0.8); opacity: 0.1; }
}

@media (max-width: 991px) {
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .stat-value {
        font-size: 18px;
    }
    
    .menu-item i {
        font-size: 20px;
    }
}

/*** Tablet Mockup (About Section) ***/
.phone-mockup-small {
    margin-left: 40px;
}

.phone-mockup-small .phone-frame {
    width: 480px;
    height: 320px;
    border-radius: 20px;
    padding: 15px;
}

.phone-mockup-small .phone-notch {
    width: 80px;
    height: 6px;
    border-radius: 3px;
    top: 8px;
}

.phone-mockup-small .phone-screen {
    border-radius: 12px;
}

.phone-mockup-small .app-header {
    margin-top: 15px;
    padding: 10px;
    font-size: 16px;
}

.phone-mockup-small .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
    gap: 8px;
    justify-content: center;
    align-content: flex-start;
}

.phone-mockup-small .feature-item {
    width: calc(50% - 4px);
    font-size: 12px;
    padding: 8px 10px;
}

.phone-mockup-small .phone-home-bar {
    width: 80px;
    height: 3px;
    margin: 6px auto;
}

@media (max-width: 991px) {
    .phone-mockup-small {
        margin-left: 20px;
    }
    
    .phone-mockup-small .phone-frame {
        width: 400px;
        height: 280px;
    }
}

@media (max-width: 767px) {
    .phone-mockup-small {
        margin-left: 0;
        display: flex;
        justify-content: center;
    }
    
    .phone-mockup-small .phone-frame {
        width: 340px;
        height: 240px;
    }
    
    .phone-mockup-small .feature-item {
        font-size: 11px;
        padding: 6px 8px;
    }
}

.phone-screen-list {
    background: linear-gradient(145deg, #1e3c72 0%, #2a5298 100%) !important;
}

.feature-list {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    animation: featureSlide 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }
.feature-item:nth-child(7) { animation-delay: 0.7s; }
.feature-item:nth-child(8) { animation-delay: 0.8s; }
.feature-item:nth-child(9) { animation-delay: 0.9s; }
.feature-item:nth-child(10) { animation-delay: 1s; }

@keyframes featureSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item i {
    color: var(--success);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.feature-item:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .phone-mockup-small .phone-frame {
        width: 220px;
        height: 440px;
    }
    
    .feature-item {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/*** Navbar Logo ***/
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.navbar-brand img {
    height: 120px;
    width: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: logoPulse 3s ease-in-out infinite;
}

.navbar-brand:hover img {
    transform: scale(1.1);
    animation-play-state: paused;
}

.sticky-top .navbar-brand img {
    max-height: 55px;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.sticky-top.navbar-light .navbar-nav .nav-link::after {
    bottom: 10px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
    transform: translateY(-1px);
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Hero Buttons ***/
.hero-header .d-flex .btn-hero-primary,
.hero-header .d-flex .btn-hero-secondary {
    white-space: nowrap !important;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .hero-header .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px;
    }
    
    .hero-header .d-flex .btn-hero-primary,
    .hero-header .d-flex .btn-hero-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 15px !important;
        font-size: 14px;
    }
}

.hero-header a.btn-hero-primary,
a.btn-hero-primary {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    color: var(--primary) !important;
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    overflow: hidden !important;
    z-index: 1 !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.4s ease !important;
    text-decoration: none !important;
    padding: 12px 30px !important;
}

.hero-header a.btn-hero-primary::before,
a.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 50px;
    z-index: -1;
    transition: left 0.4s ease;
}

.hero-header a.btn-hero-primary:hover,
a.btn-hero-primary:hover {
    color: #ffffff !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 12px 35px rgba(21, 101, 192, 0.5) !important;
    transform: translateY(-2px);
}

.hero-header a.btn-hero-primary:hover::before,
a.btn-hero-primary:hover::before {
    left: 0;
}

.hero-header a.btn-hero-secondary,
a.btn-hero-secondary {
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    color: #ffffff !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    overflow: hidden !important;
    z-index: 1 !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.4s ease !important;
    text-decoration: none !important;
    padding: 12px 30px !important;
}

.hero-header a.btn-hero-secondary::before,
a.btn-hero-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    z-index: -1;
    transition: left 0.4s ease;
}

.hero-header a.btn-hero-secondary:hover,
a.btn-hero-secondary:hover {
    color: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.hero-header a.btn-hero-secondary:hover::before,
a.btn-hero-secondary:hover::before {
    left: 0;
}

/*** Client Items ***/
.client-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.client-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(21, 101, 192, 0.2);
}

.client-item i {
    transition: all 0.4s ease;
}

.client-item:hover i {
    transform: scale(1.2);
    color: var(--secondary);
}

/*** Hero Header ***/
.hero-header {
    background:
        url(../img/bg-dot.png),
        url(../img/bg-dot.png),
        url(../img/bg-round.png),
        url(../img/bg-tree.png),
        url(../img/bg-bottom-hero.png);
    background-position:
        10px 10px,
        bottom 190px right 10px,
        left 55% top -1px,
        left 45% bottom -1px,
        center bottom -1px;
    background-repeat: no-repeat;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 2px;
    animation: lineGrow 0.6s ease-out;
}

@keyframes lineGrow {
    0% { width: 0; }
    100% { width: 45px; }
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** Service ***/
.service-item {
    position: relative;
    height: 350px;
    padding: 30px 25px;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-item:hover {
    background: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(21, 101, 192, 0.3);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: var(--primary);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 2rem;
}

.service-item:hover .service-icon {
    color: var(--primary);
    background: var(--light);
    transform: rotate(360deg) scale(1.1);
}

.service-item h5,
.service-item p {
    transition: all 0.4s ease;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--light);
    transform: translateY(-2px);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: all 0.3s ease;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
}

.service-item:hover a.btn {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: #DDDDDD;
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Testimonial ***/
.newsletter,
.testimonial {
    background:
        url(../img/bg-top.png),
        url(../img/bg-bottom.png);
    background-position:
        left top,
        right bottom;
    background-repeat: no-repeat;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--light) !important;
    border-color: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #888888;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}


/*** Team ***/
.team-item {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.team-item::after {
    position: absolute;
    content: "";
    top: 3rem;
    right: 3rem;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    background: var(--primary);
}

.team-item h5,
.team-item small {
    transition: .5s;
}

.team-item:hover h5,
.team-item:hover small {
    color: var(--light);
}


/*** Animations avancées ***/
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
    0% { transform: translateY(30px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/*** Footer animations ***/
.footer .text-white h5 {
    position: relative;
    display: inline-block;
}

.footer .text-white h5::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.footer .text-white h5:hover::after {
    width: 100%;
}

/*** Newsletter animation ***/
.newsletter {
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*** Project Portfolio ***/
#portfolio-flters .btn {
    position: relative;
    display: inline-block;
    margin: 10px 4px 0 4px;
    transition: all 0.3s ease;
    border-radius: 25px;
}

#portfolio-flters .btn::after {
    position: absolute;
    content: "";
    right: -1px;
    bottom: -1px;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 50px solid #FFFFFF;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
    color: var(--light);
    background: var(--primary);
}

.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background: var(--primary);
    transition: .5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: .5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: .15s;
}


/*** Common Features - Modules communs ***/
.common-features {
    border: 2px solid #e9ecef;
    transition: all 0.4s ease;
}

.common-features:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.1);
}

.module-item {
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    cursor: pointer;
    position: relative;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.15);
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.module-item::after {
    content: '\f29c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 10px;
    color: var(--primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.module-item:hover::after {
    opacity: 1;
}

.module-item i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.module-item:hover i {
    transform: scale(1.2);
    color: var(--primary);
}

.module-item p {
    transition: all 0.3s ease;
}

.module-item:hover p {
    color: var(--primary);
    font-weight: 600;
}

/*** Modal Styles ***/
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-radius: 15px 15px 0 0;
    padding: 20px 25px;
}

.modal-body {
    padding: 25px;
}

.modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.modal-body ul li {
    padding: 8px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.modal-body ul li:last-child {
    border-bottom: none;
}

.modal-body ul li i {
    color: var(--success);
    font-size: 1.1rem;
}

/*** Logo Animation ***/
.logo-container {
    position: relative;
    display: inline-block;
}

.logo-animated {
    transition: all 0.4s ease;
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-animated:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.3) !important;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    opacity: 0;
    transition: all 0.4s ease;
    animation: logoBorderPulse 2s ease-in-out infinite;
}

.logo-container:hover::before {
    opacity: 0.3;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
}

@keyframes logoBorderPulse {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.02);
    }
}

/*** Video Demo Section ***/
.video-demo {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid #dee2e6;
}

.video-demo .ratio {
    background: #000;
    border-radius: 10px;
}

.video-demo .tiktok-embed {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.video-demo a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-demo a:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

/*** Pricing Cards - Nos Offres ***/
.pricing-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(21, 101, 192, 0.2);
}

.pricing-card.featured {
    border: 3px solid var(--success);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--success);
    color: white;
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.pricing-header {
    border-radius: 20px 20px 0 0;
}

.pricing-header i {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.price-tag {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin: 0 -10px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-card.featured .price {
    color: var(--dark);
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

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

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    font-size: 1rem;
}

/*** Stats Section ***/
.stats-item {
    padding: 30px 20px;
    transition: all 0.4s ease;
}

.stats-item:hover {
    transform: translateY(-10px);
}

.stats-item i {
    transition: all 0.4s ease;
}

.stats-item:hover i {
    transform: scale(1.2);
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.stats-item h2 {
    font-size: 3rem;
    font-weight: 700;
}

/*** Map Section - Positionnée entre Stats et Footer ***/
.map-container {
    box-shadow: 0 -10px 40px rgba(21, 101, 192, 0.3), 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 20;
}

.map-container:hover {
    box-shadow: 0 -15px 50px rgba(21, 101, 192, 0.4), 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/*** POS Demo Device - Section Newsletter ***/
.pos-demo-device {
    position: relative;
    display: inline-block;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.pos-demo-device:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(0deg);
}

.pos-screen {
    width: 220px;
    height: 280px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 20px;
    padding: 15px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pos-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 10px;
}

.pos-header i {
    color: var(--primary);
    font-size: 18px;
}

.pos-header span {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.pos-cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(21, 101, 192, 0.08);
    border-radius: 8px;
    font-size: 13px;
    color: #333;
}

.cart-item span:last-child {
    font-weight: 600;
    color: var(--primary);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 10px;
    background: var(--primary);
    border-radius: 10px;
    color: white;
    font-weight: 700;
    margin-top: auto;
}

.pos-actions {
    margin-top: 12px;
}

.pos-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pos-btn-pay {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.pos-btn-pay:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.pos-btn-pay i {
    font-size: 18px;
}

.pos-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(21, 101, 192, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: posGlow 3s ease-in-out infinite;
}

@keyframes posGlow {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

/*** Footer - Intégration avec la carte ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 5;
    padding-top: 40px !important;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}