/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    --primary-color: #006064;
    --secondary-color: #f03d47;
    --accent-color: #e8a908;
    --light-bg: #f8f9fa;
    --dark-text: #2d3e50;
    --light-text: #ffffff;
    --gray-text: #707b8e;
}

/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-text);
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Lilita One', cursive;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===================================
   HEADER
   =================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.main-header.scrolled .logo img {
    height: 45px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--light-text);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.main-header.scrolled .main-nav a {
    color: var(--dark-text);
}

.main-nav a:hover {
    color: var(--accent-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    border: none;
}

.btn img,
.btn-icon {
    height: 18px;
    width: 18px;
    filter: brightness(0) invert(1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #004d50;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 96, 100, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.btn-secondary:hover {
    background-color: #d32f3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(240, 61, 71, 0.3);
}

.btn-outline {
    border: 2px solid var(--dark-text);
    background: transparent;
    color: var(--dark-text);
}

.btn-outline:hover {
    background: var(--dark-text);
    color: var(--light-text);
}

.btn-outline-light {
    border: 2px solid var(--light-text);
    background: transparent;
    color: var(--light-text);
}

.btn-outline-light:hover {
    background: var(--light-text);
    color: var(--primary-color);
}

.btn-outline-light i {
    filter: none;
}

.main-header.scrolled .btn-outline-light {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.main-header.scrolled .btn-outline-light:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

.btn-full {
    width: 100%;
}

/* ===================================
   LANGUAGE SELECTOR
   =================================== */
.language-selector {
    position: relative;
    z-index: 100;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-weight: 600;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.main-header.scrolled .language-toggle {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.language-icon {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

.lang-abbr {
    display: none;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    display: none;
    overflow: hidden;
}

.language-dropdown.active {
    display: block;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--dark-text);
    transition: background 0.2s ease;
}

.language-dropdown a:hover {
    background: var(--light-bg);
}

.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.main-header.scrolled .menu-toggle span {
    background: var(--dark-text);
}

/* Menu Toggle Active Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #006064 0%, #004d50 50%, #00363a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 56px;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.signup-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #f03d47 0%, #ff6b6b 50%, #9d0d14 100%);
    background-size: 200% 200%;
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(240, 61, 71, 0.4);
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.signup-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(240, 61, 71, 0.5);
}

.signup-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.signup-arrow img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.signup-cta:hover .signup-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.video-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.video-link:hover {
    color: var(--accent-color);
}

.play-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.play-circle svg {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

.video-link:hover .play-circle {
    background: var(--accent-color);
    transform: scale(1.1);
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.hero-social a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-down a {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-down a span {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: white;
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(20px); }
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-number {
    font-size: 60px;
    font-family: 'Lilita One', cursive;
    color: var(--primary-color);
    line-height: 1;
}

.stat-number span {
    font-size: 36px;
}

.stat-item h5 {
    font-size: 18px;
    color: var(--gray-text);
    margin-top: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

/* ===================================
   SECTION HEADER
   =================================== */
.section-header {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.section-header.centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-num {
    font-size: 80px;
    font-family: 'Lilita One', cursive;
    color: rgba(0, 96, 100, 0.1);
    line-height: 1;
}

/* Garder Lilita One pour les numéros en RTL */
[dir="rtl"] .section-num {
    font-family: 'Lilita One', cursive !important;
}

.section-title {
    font-size: 44px;
    color: var(--dark-text);
    margin-bottom: 20px;
}

.section-title.centered {
    text-align: center;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.8;
    max-width: 600px;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #00838f);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.feature-card p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* ===================================
   HOW TO SECTION
   =================================== */
.howto-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.howto-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.step-h {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-circle-h {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-family: 'Lilita One', cursive;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(240, 61, 71, 0.3);
    transition: transform 0.3s ease;
}

.step-h:hover .step-circle-h {
    transform: scale(1.1);
}

.step-h h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-text);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.step-h p {
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.6;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 40px;
    color: var(--primary-color);
    font-size: 24px;
}

.step-arrow img {
    height: 32px;
    width: auto;
}

/* ===================================
   APP PREVIEW / 3D CAROUSEL SECTION
   =================================== */
.app-preview-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f2 50%, #f5f7fa 100%);
    overflow: hidden;
    position: relative;
}

.app-preview-section .section-header {
    margin-bottom: 60px;
}

.app-preview-section .section-desc {
    max-width: 600px;
    margin: 15px auto 0;
    color: #666;
}

/* 3D Carousel */
.carousel-3d {
    position: relative;
    height: 500px;
    max-width: 100%;
    margin: 0 auto;
    perspective: 1200px;
}

.carousel-3d-container {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.carousel-3d-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.carousel-3d-slide .phone-frame {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 28px;
    padding: 4px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-3d-slide .phone-frame::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 16px;
    background: #1a1a1a;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.carousel-3d-slide .phone-frame::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(145deg, #333 0%, #444 100%);
    border-radius: 50%;
    z-index: 11;
}

.carousel-3d-slide .phone-frame img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
}

.slide-label {
    margin-top: 25px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

/* Active slide (center) */
.carousel-3d-slide.active {
    z-index: 10;
}

.carousel-3d-slide.active .phone-frame {
    width: 260px;
    box-shadow: 
        0 40px 80px rgba(0, 96, 100, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.2);
}

.carousel-3d-slide.active .slide-label {
    opacity: 1;
    transform: translateY(0);
    color: var(--primary-color);
}

/* Adjacent slides (left and right of center) */
.carousel-3d-slide.prev,
.carousel-3d-slide.next {
    z-index: 5;
}

.carousel-3d-slide.prev .phone-frame,
.carousel-3d-slide.next .phone-frame {
    width: 180px;
    opacity: 0.85;
}

/* Far slides */
.carousel-3d-slide.far-prev,
.carousel-3d-slide.far-next {
    z-index: 2;
}

.carousel-3d-slide.far-prev .phone-frame,
.carousel-3d-slide.far-next .phone-frame {
    width: 140px;
    opacity: 0.5;
}

/* Hidden slides */
.carousel-3d-slide.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/* Navigation Buttons */
.carousel-3d-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-3d-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 96, 100, 0.4);
}

.carousel-3d-btn.prev {
    left: 20px;
}

.carousel-3d-btn.next {
    right: 20px;
}

/* Dots */
.carousel-3d-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 80px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: var(--accent-color);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 2px 10px rgba(0, 96, 100, 0.4);
}

/* ===================================
   3D CAROUSEL RESPONSIVE
   =================================== */
@media screen and (max-width: 1024px) {
    .carousel-3d {
        height: 450px;
    }
    
    .carousel-3d-slide.active .phone-frame {
        width: 220px;
    }
    
    .carousel-3d-slide.prev .phone-frame,
    .carousel-3d-slide.next .phone-frame {
        width: 160px;
    }
    
    .carousel-3d-slide.far-prev .phone-frame,
    .carousel-3d-slide.far-next .phone-frame {
        width: 120px;
    }
    
    .carousel-3d-btn {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .carousel-3d-btn.prev { left: 10px; }
    .carousel-3d-btn.next { right: 10px; }
}

@media screen and (max-width: 768px) {
    .app-preview-section {
        padding: 70px 0 90px;
    }
    
    .carousel-3d {
        height: 400px;
    }
    
    .carousel-3d-slide .phone-frame {
        border-radius: 24px;
        padding: 3px;
    }
    
    .carousel-3d-slide .phone-frame::before {
        width: 50px;
        height: 14px;
        top: 3px;
        border-radius: 0 0 8px 8px;
    }
    
    .carousel-3d-slide .phone-frame::after {
        top: 6px;
        width: 6px;
        height: 6px;
    }
    
    .carousel-3d-slide .phone-frame img {
        border-radius: 21px;
    }
    
    .carousel-3d-slide.active .phone-frame {
        width: 200px;
    }
    
    .carousel-3d-slide.prev .phone-frame,
    .carousel-3d-slide.next .phone-frame {
        width: 130px;
    }
    
    .carousel-3d-slide.far-prev,
    .carousel-3d-slide.far-next {
        display: none;
    }
    
    .carousel-3d-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .slide-label {
        font-size: 14px;
        margin-top: 20px;
    }
    
    .carousel-3d-dots {
        margin-top: 30px;
        gap: 10px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

@media screen and (max-width: 480px) {
    .carousel-3d {
        height: 360px;
    }
    
    .carousel-3d-slide .phone-frame {
        border-radius: 20px;
        padding: 2px;
    }
    
    .carousel-3d-slide .phone-frame::before {
        width: 40px;
        height: 12px;
        top: 2px;
        border-radius: 0 0 6px 6px;
    }
    
    .carousel-3d-slide .phone-frame::after {
        top: 4px;
        width: 5px;
        height: 5px;
    }
    
    .carousel-3d-slide .phone-frame img {
        border-radius: 18px;
    }
    
    .carousel-3d-slide.active .phone-frame {
        width: 170px;
    }
    
    .carousel-3d-slide.prev .phone-frame,
    .carousel-3d-slide.next .phone-frame {
        width: 100px;
    }
    
    .carousel-3d-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .carousel-3d-btn.prev { left: 5px; }
    .carousel-3d-btn.next { right: 5px; }
    
    .slide-label {
        font-size: 13px;
        margin-top: 15px;
    }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info strong {
    display: block;
    font-size: 18px;
    color: var(--dark-text);
}

.testimonial-info span {
    font-size: 14px;
    color: var(--primary-color);
}

.testimonial-card > p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.7;
    font-style: italic;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    padding: 100px 20px;
    background: var(--light-bg);
}

.faq-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 50px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-title {
    flex: 1;
    min-width: 280px;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-color), #00838f);
    color: white;
    display: flex;
    align-items: center;
}

.faq-title h2 {
    font-size: 44px;
    line-height: 1.2;
}

.faq-content {
    flex: 2;
    padding: 40px;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Nunito', sans-serif;
    color: var(--dark-text);
    transition: color 0.3s ease;
}

.accordion-button:hover {
    color: var(--primary-color);
}

.accordion-button::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
}

.accordion-button[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 0 20px;
    display: none;
    color: var(--gray-text);
    font-size: 16px;
    line-height: 1.7;
}

.accordion-button[aria-expanded="true"] + .accordion-content {
    display: block;
}

/* Still Questions */
.questions-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.still-questions {
    display: flex;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    align-items: center;
    gap: 40px;
}

.bubbles {
    display: flex;
    flex-wrap: wrap;
    max-width: 300px;
    gap: 10px;
    justify-content: center;
}

.bubble {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.bubble-lg { width: 70px; height: 70px; }
.bubble-md { width: 55px; height: 55px; }
.bubble-sm { width: 40px; height: 40px; }

.questions-content {
    flex: 1;
}

.questions-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.questions-content p {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 16px;
}

.questions-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: center;
}

.pricing-header {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.pricing-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.pricing-header p {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 25px;
}

.coupon-code-display {
    background: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
}

.coupon-code-display span {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

.coupon-code-display strong {
    font-size: 24px;
    font-family: 'Lilita One', cursive;
    letter-spacing: 2px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card-header {
    background: linear-gradient(135deg, var(--secondary-color), #ff6b6b);
    color: white;
    padding: 40px;
    text-align: center;
}

.pricing-card-header h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
}

.pricing-amount {
    font-size: 80px;
    font-family: 'Lilita One', cursive;
    line-height: 1;
}

.pricing-amount sup {
    font-size: 36px;
    vertical-align: top;
}

.pricing-card-header > p {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 10px;
}

.pricing-card-body {
    padding: 40px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    color: var(--gray-text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li span {
    font-weight: 700;
    color: var(--dark-text);
}

/* ===================================
   B2B SECTION
   =================================== */
.b2b-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.b2b-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.b2b-image {
    flex: 1;
    position: relative;
}

.b2b-image-container {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.b2b-image-container img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.b2b-floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.b2b-floating-card i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #00838f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.b2b-floating-card span {
    font-weight: 700;
    color: var(--dark-text);
    font-size: 15px;
}

.b2b-floating-card.card-1 {
    top: 30px;
    right: -30px;
    animation-delay: 0s;
}

.b2b-floating-card.card-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.b2b-content {
    flex: 1;
}

.b2b-content .section-num {
    display: inline-block;
    font-family: 'Lilita One', cursive;
    font-size: 48px;
    color: rgba(0, 96, 100, 0.15);
    margin-bottom: 10px;
}

.b2b-content .section-title {
    font-size: 40px;
    margin-bottom: 20px;
}

.b2b-desc {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.b2b-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.b2b-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.b2b-benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 96, 100, 0.1);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(0, 96, 100, 0.1), rgba(0, 131, 143, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
    flex-shrink: 0;
}

.b2b-benefit:hover .benefit-icon {
    background: linear-gradient(135deg, var(--primary-color), #00838f);
    color: white;
}

.benefit-text strong {
    display: block;
    font-size: 16px;
    color: var(--dark-text);
    margin-bottom: 3px;
}

.benefit-text p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.b2b-cta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.b2b-cta .btn-primary {
    width: fit-content;
}

.b2b-note {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* B2B Responsive */
@media screen and (max-width: 1024px) {
    .b2b-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    
    .b2b-image {
        width: 100%;
        max-width: 500px;
    }
    
    .b2b-content .section-title {
        font-size: 34px;
    }
    
    .b2b-floating-card.card-1 {
        right: 10px;
    }
    
    .b2b-floating-card.card-2 {
        left: 10px;
    }
}

@media screen and (max-width: 768px) {
    .b2b-section {
        padding: 70px 0;
    }
    
    .b2b-image-container img {
        height: 350px;
    }
    
    .b2b-content .section-title {
        font-size: 28px;
    }
    
    .b2b-desc {
        font-size: 16px;
    }
    
    .b2b-benefits {
        grid-template-columns: 1fr;
    }
    
    .b2b-floating-card {
        padding: 12px 15px;
    }
    
    .b2b-floating-card i {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .b2b-floating-card span {
        font-size: 13px;
    }
    
    .b2b-floating-card.card-1 {
        top: 20px;
        right: 10px;
    }
    
    .b2b-floating-card.card-2 {
        bottom: 20px;
        left: 10px;
    }
}

@media screen and (max-width: 480px) {
    .b2b-image-container img {
        height: 280px;
    }
    
    .b2b-content .section-num {
        font-size: 36px;
    }
    
    .b2b-content .section-title {
        font-size: 24px;
    }
    
    .b2b-cta .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   DOWNLOAD SECTION
   =================================== */
.download-section {
    padding: 100px 0;
    text-align: center;
    background: white;
}

.download-section .section-title {
    margin-bottom: 20px;
}

.download-section .section-desc {
    max-width: 700px;
    margin: 0 auto 30px;
}

.coupon-reminder {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--dark-text);
}

.coupon-reminder strong {
    color: var(--secondary-color);
    font-size: 22px;
    font-family: 'Lilita One', cursive;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-btn {
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    height: 60px;
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */
.newsletter-section {
    padding: 80px 20px;
    background: var(--primary-color);
    text-align: center;
    color: white;
}

.newsletter-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-section > p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
}

.newsletter-form .btn {
    background: var(--secondary-color);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-text);
    color: white;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    flex: 1.5;
    min-width: 280px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-tagline {
    font-size: 24px;
    font-family: 'Lilita One', cursive;
    margin-bottom: 15px;
    line-height: 1.3;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 400px;
}

.footer-contact-section {
    flex: 1;
    min-width: 200px;
}

.footer-contact-section p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.footer-email {
    display: inline-block;
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.footer-email:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-nav {
    flex: 1;
    min-width: 150px;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: white;
    font-size: 15px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 5%;
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

.copyright a {
    color: var(--accent-color);
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: white;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
}

/* Go Top */
.go-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 96, 100, 0.3);
}

.go-top.visible {
    opacity: 1;
    visibility: visible;
}

.go-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===================================
   BOTTOM TAB BAR
   =================================== */
.bottom-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 12px 20px;
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
}

.bottom-tab-bar .nav-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.bottom-tab-bar .btn {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    font-size: 14px;
}

/* ===================================
   RTL SUPPORT - COMPLET ET CORRIGÉ
   =================================== */
[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] p, [dir="rtl"] a, [dir="rtl"] span,
[dir="rtl"] button, [dir="rtl"] input {
    font-family: 'Noto Sans Arabic', 'Nunito', sans-serif;
}

/* ===================================
   HEADER RTL
   =================================== */
[dir="rtl"] .header-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .main-nav ul {
    flex-direction: row-reverse;
}

[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .btn {
    flex-direction: row;
}

[dir="rtl"] .btn .btn-icon,
[dir="rtl"] .btn img {
    transform: rotate(180deg);
}

[dir="rtl"] .btn i.fa-arrow-right {
    transform: rotate(180deg);
}

[dir="rtl"] .language-toggle {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-dropdown a {
    flex-direction: row-reverse;
    text-align: right;
}

/* ===================================
   HERO RTL
   =================================== */
[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .signup-cta {
    flex-direction: row;
}

[dir="rtl"] .signup-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .signup-cta:hover .signup-arrow {
    transform: rotate(180deg) translateX(-5px);
}

[dir="rtl"] .video-link {
    flex-direction: row;
}

[dir="rtl"] .play-circle svg {
    margin-left: 0;
    margin-right: 3px;
}

[dir="rtl"] .hero-social {
    flex-direction: row-reverse;
}

/* ===================================
   STATS RTL
   =================================== */
[dir="rtl"] .stats-grid {
    flex-direction: row-reverse;
}

/* ===================================
   SECTION HEADER RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .section-header {
    flex-direction: row;
}

[dir="rtl"] .section-header-content {
    text-align: right;
}

[dir="rtl"] .section-title {
    text-align: right;
}

[dir="rtl"] .section-desc {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .section-header.centered {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .section-header.centered .section-title,
[dir="rtl"] .section-header.centered .section-desc {
    text-align: center;
}

[dir="rtl"] .section-title.centered {
    text-align: center;
}

/* ===================================
   FEATURES RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .features-section .section-header {
    flex-direction: row;
}

[dir="rtl"] .features-grid {
    direction: rtl;
}

[dir="rtl"] .feature-card {
    text-align: right;
}

[dir="rtl"] .feature-card .feature-icon {
    margin-left: auto;
    margin-right: 0;
}

/* ===================================
   HOW TO RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .howto-section .section-header.centered {
    text-align: center;
}

[dir="rtl"] .howto-steps {
    flex-direction: row;
}

[dir="rtl"] .step-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .step-arrow i {
    transform: scaleX(1);
}

[dir="rtl"] .step-h {
    text-align: center;
}

/* ===================================
   APP PREVIEW RTL
   =================================== */
[dir="rtl"] .app-preview-section .section-header {
    text-align: center;
}

[dir="rtl"] .carousel-3d-btn.prev {
    left: auto;
    right: 20px;
}

[dir="rtl"] .carousel-3d-btn.next {
    right: auto;
    left: 20px;
}

[dir="rtl"] .carousel-3d-btn.prev i,
[dir="rtl"] .carousel-3d-btn.next i {
    transform: rotate(180deg);
}

[dir="rtl"] .slide-label {
    font-family: 'Noto Sans Arabic', 'Nunito', sans-serif;
}

/* ===================================
   TESTIMONIALS RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .testimonials-section .section-title.centered {
    text-align: center;
}

[dir="rtl"] .testimonials-grid {
    direction: rtl;
}

[dir="rtl"] .testimonial-card {
    text-align: right;
}

[dir="rtl"] .testimonial-author {
    flex-direction: row;
}

[dir="rtl"] .testimonial-info {
    text-align: right;
}

[dir="rtl"] .testimonial-card > p {
    text-align: right;
}

/* ===================================
   FAQ RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .faq-container {
    flex-direction: row;
}

[dir="rtl"] .faq-title {
    text-align: right;
}

[dir="rtl"] .faq-title h2 {
    text-align: right;
}

[dir="rtl"] .faq-content {
    direction: rtl;
}

[dir="rtl"] .accordion-item {
    direction: rtl;
}

[dir="rtl"] .accordion-button {
    flex-direction: row-reverse;
    text-align: right;
    direction: rtl;
    justify-content: flex-end;
}

[dir="rtl"] .accordion-button::after {
    margin-left: 0;
    margin-right: 15px;
    position: absolute;
    left: 0;
    right: auto;
}

[dir="rtl"] .accordion-item {
    position: relative;
}

[dir="rtl"] .accordion-content {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .accordion-content p {
    text-align: right;
}

/* Still Questions RTL */
[dir="rtl"] .still-questions {
    flex-direction: row-reverse;
}

[dir="rtl"] .questions-content {
    text-align: right;
}

[dir="rtl"] .questions-content h2,
[dir="rtl"] .questions-content p {
    text-align: right;
}

[dir="rtl"] .questions-buttons {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .questions-buttons .btn {
    flex-direction: row;
}

[dir="rtl"] .questions-buttons .btn i {
    transform: rotate(180deg);
}

/* ===================================
   PRICING RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .pricing-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .pricing-header {
    text-align: right;
}

[dir="rtl"] .pricing-header h2,
[dir="rtl"] .pricing-header p {
    text-align: right;
}

[dir="rtl"] .coupon-code-display {
    text-align: right;
}

[dir="rtl"] .pricing-features li {
    text-align: right;
}

/* ===================================
   B2B RTL
   =================================== */
[dir="rtl"] .b2b-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] .b2b-content {
    text-align: right;
}

[dir="rtl"] .b2b-benefit {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .b2b-floating-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .b2b-floating-card.card-1 {
    right: auto;
    left: -30px;
}

[dir="rtl"] .b2b-floating-card.card-2 {
    left: auto;
    right: -30px;
}

[dir="rtl"] .b2b-cta .btn-primary {
    flex-direction: row-reverse;
}

[dir="rtl"] .b2b-cta .btn-primary .btn-icon {
    transform: rotate(180deg);
}

@media screen and (max-width: 1024px) {
    [dir="rtl"] .b2b-wrapper {
        flex-direction: column;
    }
    
    [dir="rtl"] .b2b-floating-card.card-1 {
        left: 10px;
    }
    
    [dir="rtl"] .b2b-floating-card.card-2 {
        right: 10px;
    }
}

/* ===================================
   DOWNLOAD RTL
   =================================== */
[dir="rtl"] .download-section {
    text-align: center;
}

[dir="rtl"] .download-section .section-title,
[dir="rtl"] .download-section .section-desc {
    text-align: center;
}

/* ===================================
   NEWSLETTER RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .newsletter-section {
    text-align: center;
}

[dir="rtl"] .newsletter-form {
    flex-direction: row-reverse;
}

[dir="rtl"] .newsletter-form input[type="email"] {
    text-align: right;
}

/* ===================================
   FOOTER RTL - CORRIGÉ
   =================================== */
[dir="rtl"] .footer-main {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-brand {
    text-align: right;
}

[dir="rtl"] .footer-tagline,
[dir="rtl"] .footer-desc {
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .footer-contact-section {
    text-align: right;
}

[dir="rtl"] .footer-contact-section p {
    text-align: right;
}

[dir="rtl"] .footer-nav {
    text-align: right;
}

[dir="rtl"] .footer-nav ul {
    text-align: right;
}

[dir="rtl"] .footer-nav li {
    text-align: right;
}

[dir="rtl"] .footer-social {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .footer-bottom-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-legal {
    flex-direction: row-reverse;
}

[dir="rtl"] .copyright {
    text-align: right;
}

/* Bottom Tab RTL */
[dir="rtl"] .bottom-tab-bar .nav-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .bottom-tab-bar .btn {
    flex-direction: row;
}

[dir="rtl"] .bottom-tab-bar .btn i {
    transform: rotate(180deg);
}

/* Go Top RTL */
[dir="rtl"] .go-top {
    right: auto;
    left: 30px;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (max-width: 1024px) {
    /* Mobile Navigation - Animated */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 96, 100, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        transition: all 0.4s ease;
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0;
    }
    
    .main-nav li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.4s ease;
    }
    
    /* Animation des liens - apparition en cascade */
    .main-nav.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .main-nav.active li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active li:nth-child(2) { transition-delay: 0.2s; }
    .main-nav.active li:nth-child(3) { transition-delay: 0.3s; }
    .main-nav.active li:nth-child(4) { transition-delay: 0.4s; }
    .main-nav.active li:nth-child(5) { transition-delay: 0.5s; }
    
    .main-nav a {
        color: white !important;
        font-size: 28px;
        font-weight: 700;
        padding: 15px 30px;
        display: inline-block;
        transition: all 0.3s ease;
        position: relative;
    }
    
    /* Effet hover - soulignement animé */
    .main-nav a::after {
        content: '';
        position: absolute;
        bottom: 10px;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--accent-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 2px;
    }
    
    .main-nav a:hover {
        color: var(--accent-color) !important;
        transform: scale(1.1);
    }
    
    .main-nav a:hover::after {
        width: 60%;
    }
    
    /* RTL Mobile Nav */
    [dir="rtl"] .main-nav ul {
        flex-direction: column;
    }
    
    [dir="rtl"] .main-nav a {
        text-align: center;
    }

    .menu-toggle { display: flex; }
    .logo img { height: 70px; }
    .main-header.scrolled .logo img { height: 40px; }
    .hero-title { font-size: 44px; }
    .section-title { font-size: 36px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-container { flex-direction: column; }
    .faq-title { min-width: 100%; padding: 40px; text-align: center; justify-content: center; }
    .faq-title h2 { font-size: 36px; }
    
    /* Footer Tablet */
    .footer-main { 
        gap: 40px; 
        flex-wrap: wrap;
    }
    .footer-contact-section {
        width: 100%;
        order: 3;
        text-align: center;
        margin-top: 20px;
    }
    .footer-social {
        justify-content: center;
    }

    /* RTL Tablet */
    [dir="rtl"] .faq-container { flex-direction: column; }
    [dir="rtl"] .faq-title { text-align: center; }
    [dir="rtl"] .faq-title h2 { text-align: center; }
    [dir="rtl"] .footer-contact-section { text-align: center; }
    [dir="rtl"] .footer-social { justify-content: center; }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 768px) {
    body { padding-bottom: 80px; }
    .header-container .nav-buttons { display: none; }
    .bottom-tab-bar { display: block; }
    .logo img { height: 60px; }
    .main-header.scrolled .logo img { height: 35px; }
    
    /* Go top au-dessus de la barre du bas */
    .go-top { bottom: 100px; }
    [dir="rtl"] .go-top { bottom: 100px; }

    .hero { padding: 100px 20px 80px; min-height: auto; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 18px; }
    .hero-description { font-size: 16px; margin-bottom: 30px; }
    .hero-actions { flex-direction: column; gap: 20px; margin-bottom: 40px; }
    .signup-cta { width: 100%; justify-content: center; padding: 16px 30px; font-size: 18px; }
    .video-link { justify-content: center; }
    .hero-social { gap: 10px; margin-bottom: 80px; }
    .hero-social a { width: 45px; height: 45px; font-size: 18px; }

    .stats-section { padding: 60px 0; }
    .stats-grid { gap: 30px; }
    .stat-item { flex: 1 1 40%; }
    .stat-number { font-size: 48px; }

    .section-header { flex-direction: column; text-align: center; }
    .section-num { font-size: 60px; }
    .section-title { font-size: 28px; text-align: center; }
    .section-desc { margin: 0 auto; text-align: center; }

    .features-section { padding: 60px 0; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { text-align: center; }
    .feature-icon { margin: 0 auto 25px; }

    .howto-section { padding: 60px 0; }
    .howto-steps { flex-direction: column; align-items: center; gap: 10px; }
    .step-h { max-width: 100%; }
    .step-arrow { transform: rotate(90deg); padding: 10px 0; }

    /* App Preview Mobile - handled in main section above */

    .testimonials-section { padding: 60px 0; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-author { flex-direction: column; text-align: center; }
    .testimonial-info { text-align: center; }
    .testimonial-card > p { text-align: center; }

    .faq-section { padding: 60px 20px; }
    .faq-title h2 { font-size: 28px; }
    .accordion-button { font-size: 16px; }

    .still-questions { flex-direction: column; text-align: center; padding: 30px; }
    .bubbles { max-width: 200px; }
    .questions-content { text-align: center; }
    .questions-buttons { flex-direction: column; width: 100%; }
    .questions-buttons .btn { width: 100%; }

    .pricing-section { padding: 60px 0; }
    .pricing-wrapper { flex-direction: column; }
    .pricing-header { text-align: center; max-width: 100%; }
    .pricing-header h2 { font-size: 28px; }

    .download-section { padding: 60px 0; }
    .download-buttons { flex-direction: column; align-items: center; }

    .newsletter-section { padding: 60px 20px; }
    .newsletter-section h2 { font-size: 28px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"] { min-width: 100%; }
    .newsletter-form .btn { width: 100%; }

    .footer-main { flex-direction: column; gap: 40px; padding: 60px 5%; }
    .footer-brand, .footer-contact-section, .footer-nav { text-align: center; min-width: 100%; }
    .footer-desc { margin: 0 auto; }
    .footer-social { justify-content: center; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .footer-legal { justify-content: center; }
    .footer { padding-bottom: 80px; }

    /* RTL Mobile */
    [dir="rtl"] .hero-actions { flex-direction: column; }
    
    [dir="rtl"] .section-header { flex-direction: column; text-align: center; justify-content: center; }
    [dir="rtl"] .section-title { text-align: center; }
    [dir="rtl"] .section-desc { text-align: center; margin: 0 auto; }
    
    [dir="rtl"] .feature-card { text-align: center; }
    [dir="rtl"] .feature-card .feature-icon { margin: 0 auto 25px; }
    
    [dir="rtl"] .howto-steps { flex-direction: column; }
    [dir="rtl"] .step-arrow { transform: rotate(90deg); }
    [dir="rtl"] .step-h { text-align: center; }
    
    [dir="rtl"] .testimonial-author { flex-direction: column; text-align: center; justify-content: center; }
    [dir="rtl"] .testimonial-info { text-align: center; }
    [dir="rtl"] .testimonial-card { text-align: center; }
    [dir="rtl"] .testimonial-card > p { text-align: center; }
    
    [dir="rtl"] .still-questions { flex-direction: column; text-align: center; }
    [dir="rtl"] .questions-content { text-align: center; }
    [dir="rtl"] .questions-content h2,
    [dir="rtl"] .questions-content p { text-align: center; }
    [dir="rtl"] .questions-buttons { flex-direction: column; align-items: center; }
    
    [dir="rtl"] .pricing-wrapper { flex-direction: column; }
    [dir="rtl"] .pricing-header { text-align: center; }
    [dir="rtl"] .pricing-header h2,
    [dir="rtl"] .pricing-header p { text-align: center; }
    
    [dir="rtl"] .faq-container { flex-direction: column; }
    [dir="rtl"] .faq-title { text-align: center; }
    [dir="rtl"] .faq-title h2 { text-align: center; }
    
    [dir="rtl"] .footer-main { flex-direction: column; }
    [dir="rtl"] .footer-brand,
    [dir="rtl"] .footer-contact-section,
    [dir="rtl"] .footer-nav { text-align: center; }
    [dir="rtl"] .footer-tagline,
    [dir="rtl"] .footer-desc { text-align: center; margin: 0 auto; }
    [dir="rtl"] .footer-contact-section p { text-align: center; }
    [dir="rtl"] .footer-nav li { text-align: center; }
    [dir="rtl"] .footer-social { justify-content: center; }
    [dir="rtl"] .footer-bottom-content { flex-direction: column; text-align: center; }
    [dir="rtl"] .copyright { text-align: center; }
    
    [dir="rtl"] .go-top { left: 15px; }
}

/* ===================================
   RESPONSIVE - SMALL MOBILE
   =================================== */
@media (max-width: 576px) {
    .language-toggle .current-language { display: none; }
    .lang-abbr { display: inline; }
    .logo img { height: 50px; }
    .main-header.scrolled .logo img { height: 30px; }
    .header-container { padding: 10px 15px; }

    .hero { padding: 90px 15px 60px; }
    .hero-title { font-size: 26px; }
    .hero-subtitle { font-size: 16px; }
    .hero-description { font-size: 14px; }
    .signup-cta { padding: 14px 24px; font-size: 16px; }
    .signup-arrow { width: 35px; height: 35px; }
    .hero-social a { width: 40px; height: 40px; font-size: 16px; }

    .stat-number { font-size: 40px; }
    .stat-item h5 { font-size: 14px; }
    .section-title { font-size: 24px; }

    .feature-card { padding: 30px 20px; }
    .feature-icon { width: 60px; height: 60px; font-size: 24px; }
    .step-circle-h { width: 80px; height: 80px; font-size: 32px; }

    .faq-title { padding: 30px; }
    .faq-title h2 { font-size: 24px; }
    .faq-content { padding: 30px 20px; }
    .accordion-button { font-size: 15px; padding: 15px 0; }

    .still-questions { padding: 25px 20px; }
    .bubble-lg { width: 55px; height: 55px; }
    .bubble-md { width: 45px; height: 45px; }
    .bubble-sm { width: 35px; height: 35px; }

    .pricing-card-header { padding: 30px; }
    .pricing-amount { font-size: 60px; }
    .pricing-card-body { padding: 30px; }

    .footer-tagline { font-size: 20px; }
    .footer-main { padding: 40px 5%; }

    .go-top { bottom: 90px; width: 45px; height: 45px; font-size: 16px; }
    [dir="rtl"] .go-top { left: 15px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 14px; }
    .stat-item { flex: 1 1 100%; }
    .stats-grid { gap: 20px; }
    .section-num { font-size: 50px; }
    .section-title { font-size: 22px; }
    .questions-content h2 { font-size: 22px; }
    .pricing-header h2 { font-size: 24px; }
    .newsletter-section h2 { font-size: 22px; }
}