/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'Arabswell 1';
    src: url('fonts/arabswell-1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
    --color-bg: #FAF9F6; /* Blanc cassé / ivoire */
    --color-bg-alt: #FFFFFF;
    --color-primary: #C9A961; /* Sable doré luxueux */
    --color-primary-dark: #A68B5E; /* Sable foncé */
    --color-primary-light: #E5D9C7; /* Sable clair beige */
    --color-text: #1A1A1A; /* Noir charbon */
    --color-text-light: #4A4A4A;
    --color-text-muted: #6B6B6B;
    --color-dark: #2C2C2C; /* Gris très foncé */
    --color-border: #E5E5E5;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --color-shadow-gold: rgba(201, 169, 97, 0.2); /* Ombre sable */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-arabic: 'Arabswell 1', 'Noto Sans Arabic', 'Inter', sans-serif;
    --font-arabic-body: 'Noto Sans Arabic', 'Inter', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    --transition: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --border-radius: 8px;
    --border-radius-lg: 16px;
    
    /* Page transition variables */
    --page-transition-duration: 0.4s;
    --page-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-padding-top: 100px; /* Account for fixed header */
}

/* Page transition base */
body {
    position: relative;
    overflow-x: hidden;
}

/* Smooth section transitions */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--page-transition-duration) var(--page-transition-timing),
                transform var(--page-transition-duration) var(--page-transition-timing);
    will-change: opacity, transform;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CGU and Privacy pages should always be visible */
section.cgu-page,
section.privacy-page {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    display: block !important;
}

/* Mobile-optimized transitions */
@media (max-width: 768px) {
    section {
        transform: translateY(20px);
        transition-duration: 0.3s;
    }
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    section {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    section.visible > * {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Smooth page load transition */
@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: pageFadeIn 0.5s ease-in-out;
}

/* Smooth scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 4px rgba(201, 169, 97, 0.3);
}

/* Mobile scroll indicator */
@media (max-width: 768px) {
    .scroll-indicator {
        height: 2px;
    }
}

/* Optimize rendering - merged with body styles above */

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 1px 0 rgba(201, 169, 97, 0.08);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(201, 169, 97, 0.08);
}

.header.scrolled {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: 0 1px 0 rgba(201, 169, 97, 0.12), 0 4px 16px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(201, 169, 97, 0.12);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    min-height: 85px;
    position: relative;
}

/* Ensure menu toggle is always accessible */
.header-content .menu-toggle {
    flex-shrink: 0;
}

.logo {
    margin-left: -1rem;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    height: 100%;
    padding: 0;
    background: transparent;
}

.logo-img {
    display: block;
    height: 100px;
    width: auto;
    max-width: none;
    min-width: auto;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1)),
            drop-shadow(0 1px 3px rgba(201, 169, 97, 0.15));
    background: transparent;
    margin-left: -0.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    transition: var(--transition);
    display: none;
}

.logo a:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2)),
            drop-shadow(0 4px 8px rgba(201, 169, 97, 0.4));
}

.logo a:hover .logo-text {
    color: var(--color-primary-dark);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin-right: var(--spacing-xl);
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, transparent, rgba(201, 169, 97, 0.2), transparent);
    margin: 0 0.75rem;
    opacity: 0.5;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 300;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    z-index: -1;
}

.nav-link:hover {
    color: var(--color-primary);
    letter-spacing: 0.7px;
}

.nav-link:hover::before {
    width: calc(100% - 2rem);
}

.nav-link:hover::after {
    opacity: 1;
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 400;
}

.nav-link.active::before {
    width: calc(100% - 2rem);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: var(--spacing-lg);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-switcher::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
    filter: blur(6px);
    -webkit-filter: blur(6px);
}

.language-switcher:hover::before {
    left: 100%;
}

.lang-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    min-height: 32px;
}

.lang-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
    filter: blur(15px);
    -webkit-filter: blur(15px);
    opacity: 0;
}

.lang-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.lang-link:hover::before {
    left: 100%;
    opacity: 1;
}

.lang-link.active {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.9), rgba(166, 139, 94, 0.9));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(201, 169, 97, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lang-separator {
    color: var(--color-text-muted);
    font-weight: 300;
}

.btn-cta-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-top: 2px solid var(--color-primary);
}

.btn-cta-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.btn-cta-header span {
    position: relative;
    z-index: 1;
}

.btn-cta-header:hover {
    border-color: rgba(201, 169, 97, 0.5);
    border-top-color: var(--color-primary-dark);
    letter-spacing: 1.5px;
}

.btn-cta-header:hover::before {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.15);
    border-radius: 10px;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    position: relative;
    z-index: 10000;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(201, 169, 97, 0.25);
    transform: scale(1.05);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-text), var(--color-primary));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 15px var(--color-shadow-gold);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: blur(18px);
    -webkit-filter: blur(18px);
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--color-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.btn-primary:hover::before {
    left: 100%;
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    color: var(--color-text);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: blur(18px);
    -webkit-filter: blur(18px);
    opacity: 0;
}

.btn-secondary:hover {
    background: rgba(26, 26, 26, 0.9);
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.btn-secondary:hover::before {
    left: 100%;
    opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 140px 0 var(--spacing-xxl);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
    background: var(--color-bg);
    will-change: opacity;
}

.hero-video.active {
    opacity: 1;
    z-index: 2;
}

/* Fallback if videos don't load */
.hero-video-container:has(.hero-video:not([src]))::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg) 0%, #F5F3ED 100%);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 249, 246, 0.4) 0%, rgba(245, 243, 237, 0.5) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 4;
    /* Add subtle background for better text readability */
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    font-size: 1rem;
    color: var(--color-text);
}

.hero-features li {
    padding: 0.5rem 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px var(--color-shadow);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

/* Staggered animation for child elements */
section.visible > * {
    animation: fadeInUp 0.6s ease forwards;
}

section.visible > *:nth-child(1) { animation-delay: 0.1s; }
section.visible > *:nth-child(2) { animation-delay: 0.2s; }
section.visible > *:nth-child(3) { animation-delay: 0.3s; }
section.visible > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile-optimized animations */
@media (max-width: 768px) {
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    section.visible > * {
        animation-duration: 0.4s;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.8;
}

/* ============================================
   POUR QUI SECTION
   ============================================ */

.pour-qui {
    background: var(--color-bg-alt);
}

.targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.target-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--color-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: blur(20px);
    -webkit-filter: blur(20px);
    opacity: 0;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--color-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(45px) saturate(200%);
    -webkit-backdrop-filter: blur(45px) saturate(200%);
}

.target-card:hover::before {
    left: 100%;
    opacity: 0.9;
}

.target-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.target-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.target-list {
    list-style: none;
}

.target-list li {
    padding: 0.5rem 0;
    color: var(--color-text-light);
    position: relative;
    padding-left: 1.5rem;
}

.target-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* ============================================
   FONCTIONNALITÉS SECTION
   ============================================ */

.fonctionnalites {
    background: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--color-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border-top: 3px solid var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: blur(20px);
    -webkit-filter: blur(20px);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--color-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(45px) saturate(200%);
    -webkit-backdrop-filter: blur(45px) saturate(200%);
}

.feature-card:hover::before {
    left: 100%;
    opacity: 0.9;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   COMMENT ÇA MARCHE SECTION
   ============================================ */

.comment-ca-marche {
    background: var(--color-dark);
    color: white;
}

.comment-ca-marche .section-title {
    color: white;
}

.comment-ca-marche .section-title::after {
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.step-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px var(--color-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: blur(20px);
    -webkit-filter: blur(20px);
    opacity: 0;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--color-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(45px) saturate(200%);
    -webkit-backdrop-filter: blur(45px) saturate(200%);
}

.step-card:hover::before {
    left: 100%;
    opacity: 0.9;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 4px 15px var(--color-shadow-gold);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.step-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ============================================
   TARIFS SECTION
   ============================================ */

.tarifs {
    background: var(--color-bg-alt);
    overflow: visible;
    padding: var(--spacing-xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: 20px 0;
    overflow: visible;
    align-items: stretch;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--color-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    text-align: center;
    overflow: visible;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: blur(20px);
    -webkit-filter: blur(20px);
    opacity: 0;
    z-index: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--color-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(45px) saturate(200%);
    -webkit-backdrop-filter: blur(45px) saturate(200%);
}

.pricing-card:hover::before {
    left: 100%;
    opacity: 0.9;
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 6px 30px var(--color-shadow-gold);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured::before,
.pricing-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
    z-index: 1;
    opacity: 0.6;
}

.pricing-card.featured::before {
    left: 0;
}

.pricing-card.featured::after {
    right: 0;
}

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

.pricing-card.premium-card {
    border-color: #FFD700;
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, var(--color-bg) 0%, #FFFEF5 100%);
    position: relative;
}

.pricing-card.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
    z-index: 1;
    opacity: 0.6;
}

.pricing-card.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.pricing-card.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(255, 215, 0, 0.4);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--color-shadow-gold);
    z-index: 10;
    white-space: nowrap;
}

.badge-premium {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--color-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bundle Pricing - New Design */
.bundle-pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: var(--spacing-md) 0;
    padding: var(--spacing-sm) 0;
}

.pricing-currency-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.pricing-amount-large {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.pricing-amount-free {
    color: var(--color-text);
}

.bundle-duration {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Subscription Duration */
.subscription-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    margin: var(--spacing-sm) 0;
    background: rgba(201, 169, 97, 0.1);
    border: 2px solid rgba(201, 169, 97, 0.25);
    border-radius: 12px;
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.subscription-duration::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 97, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.subscription-duration:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.5);
    color: var(--color-primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.subscription-duration:hover::before {
    left: 100%;
}

.duration-icon {
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.subscription-duration:hover .duration-icon {
    transform: rotate(15deg) scale(1.1);
}

.duration-text {
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

/* Different styles for 1 year vs 2 years */
.subscription-duration[data-duration="1"] {
    background: rgba(201, 169, 97, 0.12);
    border-color: rgba(201, 169, 97, 0.3);
}

.subscription-duration[data-duration="1"]:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.6);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
}

.subscription-duration[data-duration="2"] {
    background: rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.35);
    border-width: 2.5px;
}

.subscription-duration[data-duration="2"]:hover {
    background: rgba(201, 169, 97, 0.3);
    border-color: rgba(201, 169, 97, 0.7);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.5);
    transform: translateY(-3px) scale(1.08);
}

/* Subscription Price */
.subscription-price {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    margin: var(--spacing-sm) 0;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15), rgba(201, 169, 97, 0.08));
    border: 2px solid rgba(201, 169, 97, 0.3);
    border-radius: 14px;
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(201, 169, 97, 0.15);
}

.subscription-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 97, 0.25),
        transparent
    );
    transition: left 0.6s ease;
}

.subscription-price:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.25), rgba(201, 169, 97, 0.15));
    border-color: rgba(201, 169, 97, 0.6);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.35);
}

.subscription-price:hover::before {
    left: 100%;
}

.subscription-price .price-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    transition: all 0.3s ease;
}

.subscription-price:hover .price-amount {
    color: var(--color-primary-dark);
    transform: scale(1.1);
}

.subscription-price .price-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    vertical-align: baseline;
}

.subscription-price .price-period {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

/* Different styles for Premium vs Elite */
.subscription-price[data-price="450"] {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.12), rgba(201, 169, 97, 0.06));
    border-color: rgba(201, 169, 97, 0.25);
}

.subscription-price[data-price="450"]:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.22), rgba(201, 169, 97, 0.12));
    border-color: rgba(201, 169, 97, 0.55);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.3);
}

.subscription-price[data-price="600"] {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.18), rgba(201, 169, 97, 0.1));
    border-color: rgba(201, 169, 97, 0.35);
    border-width: 2.5px;
}

.subscription-price[data-price="600"]:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.3), rgba(201, 169, 97, 0.18));
    border-color: rgba(201, 169, 97, 0.7);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.45);
    transform: translateY(-4px) scale(1.08);
}

.pricing-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.pricing-price {
    margin-bottom: var(--spacing-lg);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.price-amount.free {
    font-size: 3.5rem;
    color: var(--color-text);
}

.price-currency {
    font-size: 1.5rem;
    color: var(--color-text-light);
    vertical-align: top;
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
    display: block;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-height: 0; /* Allow flexbox to work properly */
}

.pricing-features li strong {
    color: var(--color-primary);
    font-weight: 700;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Bundle Icon */
.bundle-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    line-height: 1;
}

/* Feature Section */
.feature-section {
    margin-bottom: var(--spacing-md);
    text-align: left;
    flex: 1;
    min-height: 0;
}

.feature-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(201, 169, 97, 0.2);
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features-list li {
    padding: 0.5rem 0;
    color: var(--color-text-light);
    border-bottom: none;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
    text-align: left;
}

.check-icon {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.feature-note {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 0.25rem;
    padding-left: 1.5rem;
}

/* Commission Section */
.commission-section {
    margin-top: auto; /* Push to bottom */
    padding-top: var(--spacing-md);
    border-top: 2px solid rgba(201, 169, 97, 0.2);
    text-align: left;
    width: 100%;
    flex-shrink: 0; /* Prevent shrinking */
}

.commission-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.commission-text {
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: rgba(201, 169, 97, 0.05);
    border: 2px solid rgba(201, 169, 97, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.commission-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 97, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.commission-text:hover::before {
    left: 100%;
}

/* Commission with fee (7%) */
.commission-with-fee {
    background: rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.3);
    color: var(--color-primary-dark);
}

.commission-with-fee:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.5);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.25);
}

.commission-with-fee::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 97, 0.2),
        transparent
    );
}

/* Commission zero (0%) */
.commission-zero {
    background: rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.3);
    color: var(--color-primary-dark);
}

.commission-zero:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.5);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.25);
}

.commission-zero::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 97, 0.2),
        transparent
    );
}

/* Marketplace fee */
.marketplace-fee {
    background: rgba(201, 169, 97, 0.08);
    border-color: rgba(201, 169, 97, 0.25);
    color: var(--color-primary);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.marketplace-fee:hover {
    background: rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.4);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2);
}

.marketplace-fee::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 97, 0.15),
        transparent
    );
}

/* Removed icon styles as icons are no longer used */

.marketplace-fee {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(201, 169, 97, 0.1);
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.pricing-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: var(--spacing-lg);
    font-style: italic;
}

/* ============================================
   À PROPOS SECTION
   ============================================ */

.a-propos {
    background: var(--color-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--color-text);
    font-weight: 600;
}

.about-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    min-height: 500px;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: 693px; /* iPhone 16 Pro Max ratio: 430x932 */
}

.mockup-phone {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
    border-radius: 55px; /* iPhone 16 Pro Max has more rounded corners */
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 
                0 0 0 10px rgba(201, 169, 97, 0.15),
                inset 0 0 0 3px rgba(255, 255, 255, 0.1);
    padding: 8px;
    transition: var(--transition);
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.mockup-phone:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 
                0 0 0 8px rgba(201, 169, 97, 0.2),
                inset 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.mockup-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 47px; /* Matches iPhone 16 Pro Max screen radius */
    overflow: hidden;
    overflow-y: auto;
    background: #FAF9F6;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 28px;
    background: #000000;
    border-radius: 16px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dynamic-island::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #1A1A1A;
    border-radius: 14px;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    padding-top: 50px;
    background: transparent;
    z-index: 10;
}

.time {
    font-family: 'SF Pro Display', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

.status-icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.signal, .wifi, .battery {
    width: 18px;
    height: 11px;
    background: #000;
    border-radius: 2px;
}

.battery {
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 5px;
    background: #000;
    border-radius: 0 1px 1px 0;
}

/* App Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: linear-gradient(135deg, #8B1538 0%, #6B0F2A 100%);
    z-index: 5;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-icon span {
    width: 20px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
}

.app-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-align: center;
    flex: 1;
}

.close-icon {
    font-size: 28px;
    color: white;
    opacity: 0.3;
    cursor: pointer;
    width: 28px;
    text-align: center;
    line-height: 1;
}

/* Services List */
.services-list {
    flex: 1;
    padding: 15px 20px;
    overflow-y: auto;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0.6),
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    filter: blur(18px);
    -webkit-filter: blur(18px);
    opacity: 0;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.7);
}

.service-card:hover::before {
    left: 100%;
    opacity: 0.9;
}

/* Optimize hover effects for touch devices */
@media (hover: none) {
    .service-card:hover,
    .feature-card:hover,
    .target-card:hover,
    .pricing-card:hover {
        transform: none;
    }
}

/* ============================================
   RTL SUPPORT FOR ARABIC
   ============================================ */

html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
    font-family: var(--font-arabic-body);
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .target-title,
html[dir="rtl"] .feature-title,
html[dir="rtl"] .step-title,
html[dir="rtl"] .pricing-title,
html[dir="rtl"] .faq-question h3,
html[dir="rtl"] .footer-logo,
html[dir="rtl"] .app-title {
    font-family: var(--font-arabic);
    font-weight: 700;
}

html[dir="rtl"] .header-content {
    flex-direction: row-reverse;
}

/* Desktop RTL - nav-list stays horizontal */
html[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

html[dir="rtl"] .header-actions {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

html[dir="rtl"] .target-list li::before {
    content: '←';
    left: auto;
    right: 0;
}

html[dir="rtl"] .arrow {
    transform: scaleX(-1);
}

html[dir="rtl"] .section-title::after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .contact-content {
    grid-template-columns: 1.5fr 1fr;
}

html[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .contact-item > div:last-child {
    text-align: right;
}

html[dir="rtl"] .contact-item h3 {
    text-align: right;
    font-family: var(--font-arabic);
}

html[dir="rtl"] .contact-item p {
    text-align: right;
    direction: ltr;
    unicode-bidi: embed;
}

html[dir="rtl"] .contact-link,
html[dir="rtl"] .whatsapp-link {
    direction: ltr;
    text-align: left;
    unicode-bidi: embed;
    display: inline-block;
}

/* Dark theme styles for contact section */
[data-theme="dark"] .contact-item {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(201, 169, 97, 0.2);
}

[data-theme="dark"] .contact-item:hover {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(201, 169, 97, 0.4);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.2);
}

[data-theme="dark"] .contact-icon {
    background: rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
}

[data-theme="dark"] .whatsapp-icon {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
}

/* Dark theme styles for pricing bundles */
[data-theme="dark"] .feature-section-title,
[data-theme="dark"] .commission-title {
    color: var(--color-text-dark);
    border-bottom-color: rgba(201, 169, 97, 0.3);
}

[data-theme="dark"] .pricing-features-list li {
    color: var(--color-text-light-dark);
}

[data-theme="dark"] .commission-section {
    border-top-color: rgba(201, 169, 97, 0.3);
}

[data-theme="dark"] .commission-text {
    color: var(--color-text-light-dark);
}

[data-theme="dark"] .commission-with-fee {
    background: rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
    color: var(--color-primary-light);
}

[data-theme="dark"] .commission-with-fee:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.5);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

[data-theme="dark"] .commission-zero {
    background: rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
    color: var(--color-primary-light);
}

[data-theme="dark"] .commission-zero:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.5);
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

[data-theme="dark"] .marketplace-fee {
    background: rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
    color: var(--color-primary);
    border-top-color: rgba(201, 169, 97, 0.2);
}

[data-theme="dark"] .marketplace-fee:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.5);
    color: var(--color-primary-light);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

/* Dark theme for subscription duration */
[data-theme="dark"] .subscription-duration {
    background: rgba(201, 169, 97, 0.15);
    border-color: rgba(201, 169, 97, 0.3);
    color: var(--color-primary-light);
}

[data-theme="dark"] .subscription-duration:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: rgba(201, 169, 97, 0.6);
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
}

[data-theme="dark"] .subscription-duration[data-duration="1"] {
    background: rgba(201, 169, 97, 0.18);
    border-color: rgba(201, 169, 97, 0.35);
}

[data-theme="dark"] .subscription-duration[data-duration="1"]:hover {
    background: rgba(201, 169, 97, 0.3);
    border-color: rgba(201, 169, 97, 0.65);
    box-shadow: 0 4px 25px rgba(201, 169, 97, 0.5);
}

[data-theme="dark"] .subscription-duration[data-duration="2"] {
    background: rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.4);
}

[data-theme="dark"] .subscription-duration[data-duration="2"]:hover {
    background: rgba(201, 169, 97, 0.35);
    border-color: rgba(201, 169, 97, 0.75);
    box-shadow: 0 6px 30px rgba(201, 169, 97, 0.6);
}

/* Dark theme for subscription price */
[data-theme="dark"] .subscription-price {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.2), rgba(201, 169, 97, 0.12));
    border-color: rgba(201, 169, 97, 0.35);
    color: var(--color-primary-light);
    box-shadow: 0 2px 15px rgba(201, 169, 97, 0.2);
}

[data-theme="dark"] .subscription-price:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.3), rgba(201, 169, 97, 0.2));
    border-color: rgba(201, 169, 97, 0.65);
    color: var(--color-primary);
    box-shadow: 0 6px 30px rgba(201, 169, 97, 0.4);
}

[data-theme="dark"] .subscription-price .price-amount {
    color: var(--color-primary-light);
}

[data-theme="dark"] .subscription-price:hover .price-amount {
    color: var(--color-primary);
}

[data-theme="dark"] .subscription-price .price-currency {
    color: var(--color-primary-light);
}

[data-theme="dark"] .subscription-price[data-price="450"] {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.18), rgba(201, 169, 97, 0.1));
    border-color: rgba(201, 169, 97, 0.3);
}

[data-theme="dark"] .subscription-price[data-price="450"]:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.28), rgba(201, 169, 97, 0.18));
    border-color: rgba(201, 169, 97, 0.6);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.4);
}

[data-theme="dark"] .subscription-price[data-price="600"] {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.22), rgba(201, 169, 97, 0.14));
    border-color: rgba(201, 169, 97, 0.4);
}

[data-theme="dark"] .subscription-price[data-price="600"]:hover {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.35), rgba(201, 169, 97, 0.22));
    border-color: rgba(201, 169, 97, 0.75);
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.5);
}

/* Dark theme for bundle pricing */
[data-theme="dark"] .pricing-amount-large {
    color: var(--color-primary-light);
}

[data-theme="dark"] .pricing-amount-free {
    color: var(--color-text-dark);
}

[data-theme="dark"] .pricing-currency-label {
    color: var(--color-text-dark);
}

[data-theme="dark"] .bundle-duration {
    color: var(--color-text-muted-dark);
}

[data-theme="dark"] .feature-note {
    color: var(--color-text-muted-dark);
}

html[dir="rtl"] .form-group {
    text-align: right;
}

html[dir="rtl"] .footer-content {
    direction: rtl;
}

html[dir="rtl"] .footer-links {
    text-align: right;
}

html[dir="rtl"] .service-card {
    flex-direction: row-reverse;
}

html[dir="rtl"] .service-info {
    text-align: right;
}

html[dir="rtl"] .about-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

html[dir="rtl"] .about-text {
    text-align: right;
}

html[dir="rtl"] .pricing-features {
    text-align: right;
}

/* RTL Styles for Pricing Bundles */
html[dir="rtl"] .pricing-card {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .feature-section,
html[dir="rtl"] .commission-section {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .feature-section-title,
html[dir="rtl"] .commission-title {
    text-align: right;
    font-family: var(--font-arabic);
    direction: rtl;
}

html[dir="rtl"] .pricing-features {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .pricing-features-list {
    text-align: right;
    direction: rtl;
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .pricing-features-list li {
    flex-direction: row-reverse;
    text-align: right;
    direction: rtl;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .check-icon {
    order: 2;
    margin-left: 0;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

html[dir="rtl"] .pricing-features-list li > span:not(.check-icon) {
    order: 1;
    flex: 1;
    text-align: right;
    direction: rtl;
    word-spacing: 0.1em;
    letter-spacing: 0.01em;
}

html[dir="rtl"] .feature-note {
    padding-left: 0;
    padding-right: 1.5rem;
    text-align: right;
    direction: rtl;
    display: block;
    margin-top: 0.5rem;
}

html[dir="rtl"] .commission-section {
    border-top: 2px solid rgba(201, 169, 97, 0.2);
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .commission-text {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .commission-text > span {
    text-align: right;
    direction: rtl;
    word-spacing: 0.1em;
    letter-spacing: 0.01em;
}

html[dir="rtl"] .pricing-description {
    text-align: right;
    direction: rtl;
    line-height: 1.8;
}

html[dir="rtl"] .pricing-subtitle {
    text-align: center;
    direction: rtl;
    font-family: var(--font-arabic);
}

html[dir="rtl"] .subscription-duration {
    direction: rtl;
    text-align: center;
}

html[dir="rtl"] .duration-text {
    font-family: var(--font-arabic);
}

html[dir="rtl"] .subscription-price {
    direction: rtl;
    text-align: center;
}

html[dir="rtl"] .subscription-price .price-amount {
    font-family: var(--font-arabic);
}

html[dir="rtl"] .subscription-price .price-period {
    margin-left: 0;
    margin-right: 0.25rem;
}

html[dir="rtl"] .bundle-pricing {
    direction: ltr;
    text-align: center;
}

html[dir="rtl"] .pricing-currency-label {
    font-family: var(--font-arabic);
}

html[dir="rtl"] .pricing-amount-large {
    font-family: var(--font-arabic);
}

html[dir="rtl"] .bundle-duration {
    direction: rtl;
    font-family: var(--font-arabic);
}

html[dir="rtl"] .pricing-subtitle {
    font-family: var(--font-arabic);
}

html[dir="rtl"] .pricing-title {
    text-align: center;
    direction: rtl;
}

html[dir="rtl"] .bundle-icon {
    direction: ltr;
    text-align: center;
}

html[dir="rtl"] .marketplace-fee {
    text-align: right;
    direction: rtl;
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

html[dir="rtl"] .faq-answer {
    text-align: right;
}

html[dir="rtl"] .hero-content {
    text-align: center;
}

html[dir="rtl"] .section-description {
    text-align: center;
}

html[dir="rtl"] .pricing-note {
    text-align: center;
}

html[dir="rtl"] .footer-bottom {
    text-align: center;
}

/* Mobile RTL adjustments */
@media (max-width: 968px) {
    html[dir="rtl"] .header-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    html[dir="rtl"] .language-switcher {
        order: 2;
    }
    
    html[dir="rtl"] .btn-cta-header {
        order: 1;
    }
}

.service-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #E8E5DD;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.service-image img:hover {
    transform: scale(1.05);
}

/* Loading state for images */
.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #E8E5DD 0%, #F5F3ED 50%, #E8E5DD 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
    opacity: 0.5;
}

.service-image img[src]:not([src=""]) {
    position: relative;
    z-index: 2;
}

.service-image img[src]:not([src=""]) ~ .service-image::before {
    display: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.service-info {
    flex: 1;
    min-width: 0;
}

.service-info h3 {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 5px 0;
}

.service-info p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #6B6B6B;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.service-info .price {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.arrow {
    font-size: 28px;
    color: var(--color-primary);
    font-weight: 300;
    flex-shrink: 0;
}

/* Dynamic Island simulation (iPhone 16 Pro Max) */
.mockup-phone::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 28px;
    background: #000000;
    border-radius: 16px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.mockup-phone::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 25px;
    background: #1A1A1A;
    border-radius: 14px;
    z-index: 11;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.stat-item {
    background: var(--color-bg-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 15px var(--color-shadow);
    border-top: 3px solid var(--color-primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

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

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    background: var(--color-bg-alt);
}

.faq-container {
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.faq-item {
    background: var(--color-bg);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 2px 10px var(--color-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 20px var(--color-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 300;
    transition: var(--transition);
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--color-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 169, 97, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(201, 169, 97, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.15);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item .contact-icon {
    margin-top: 0;
    align-self: flex-start;
    flex-shrink: 0;
}

.contact-icon {
    font-size: 2rem;
    min-width: 56px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: rgba(201, 169, 97, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

/* Ensure emoji icons are properly sized and aligned */
.contact-icon:not(.whatsapp-icon) {
    font-size: 2rem;
    line-height: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon {
    color: #25D366; /* WhatsApp green */
    font-size: 2rem;
    min-width: 56px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    line-height: 1;
    box-sizing: border-box;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-icon svg {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.whatsapp-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
    unicode-bidi: embed;
}

.whatsapp-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

/* Force LTR direction for phone numbers in RTL context */
html[dir="rtl"] .whatsapp-link {
    direction: ltr;
    text-align: left;
    unicode-bidi: embed;
}

.contact-item > div:last-child {
    flex: 1;
    min-width: 0;
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.contact-item p {
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
    word-break: break-word;
}

.contact-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.contact-form {
    background: var(--color-bg-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--color-shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-shadow-gold);
}

.form-group textarea {
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-dark);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-logo-container {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-sm);
    min-height: 50px;
}

.footer-logo-img {
    display: block !important;
    height: 120px;
    width: auto;
    max-width: 500px;
    min-width: 280px;
    object-fit: contain;
    object-position: left center;
    opacity: 1;
    transition: var(--transition);
    visibility: visible;
    background: transparent;
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
}

.footer-logo-img:hover {
    opacity: 1;
    transform: scale(1.08);
    filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(255, 255, 255, 0.3)),
            drop-shadow(0 4px 8px rgba(201, 169, 97, 0.6));
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.footer-company {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--spacing-sm);
}

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: white;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
    /* Hide desktop nav, show mobile menu toggle */
    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: linear-gradient(180deg, rgba(250, 249, 246, 0.98) 0%, rgba(250, 249, 246, 0.95) 100%);
        backdrop-filter: blur(30px) saturate(180%);
        -webkit-backdrop-filter: blur(30px) saturate(180%);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(201, 169, 97, 0.1);
        overflow-y: auto;
        z-index: 9998;
        border-top: 1px solid rgba(201, 169, 97, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    /* RTL support for Arabic */
    html[dir="rtl"] .nav {
        left: auto;
        right: -100%;
        box-shadow: -2px 0 20px var(--color-shadow);
    }
    
    html[dir="rtl"] .nav.active {
        right: 0;
        left: auto;
    }
    
    .nav-list {
        flex-direction: column;
        padding: var(--spacing-xl) var(--spacing-lg);
        gap: 0.5rem;
        align-items: stretch;
        list-style: none;
        margin: 0;
        width: 100%;
    }
    
    html[dir="rtl"] .nav-list {
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right;
        padding-right: var(--spacing-lg);
        padding-left: var(--spacing-lg);
    }
    
    .nav-list li {
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    html[dir="rtl"] .nav-list li {
        text-align: right;
        direction: rtl;
        width: 100%;
    }
    
    .nav-divider {
        display: none;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 1.25rem 1.5rem;
        display: block;
        width: 100%;
        text-align: left;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
        margin: 0;
        border-bottom: 1px solid rgba(201, 169, 97, 0.05);
        text-transform: uppercase;
        letter-spacing: 0.8px;
    }
    
    .nav-link:hover {
        padding-left: 2rem;
        background: linear-gradient(90deg, rgba(201, 169, 97, 0.05), transparent);
        border-left: 2px solid var(--color-primary);
    }
    
    .nav-link::before {
        left: 1.5rem;
        transform: none;
        width: 0;
    }
    
    .nav-link:hover::before {
        width: 40px;
    }
    
    .nav-link.active::before {
        width: 40px;
    }
    
    html[dir="rtl"] .nav-link {
        text-align: right !important;
        direction: rtl !important;
        padding-right: var(--spacing-md);
        padding-left: var(--spacing-md);
    }
    
    html[dir="rtl"] .nav-link:hover {
        padding-right: var(--spacing-lg);
        padding-left: var(--spacing-md);
    }
    
    /* Hide CTA button on mobile */
    .btn-cta-header {
        display: none;
    }
    
    /* Show menu toggle button */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 10000;
        position: relative;
        min-width: 44px;
        min-height: 44px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 2px;
        background-color: var(--color-text);
        transition: all 0.3s ease;
        display: block;
    }
    
    .menu-toggle.active {
        background: rgba(201, 169, 97, 0.15);
        border-color: rgba(201, 169, 97, 0.3);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
        background: var(--color-primary);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--color-primary);
    }
    
    /* RTL positioning for menu toggle */
    html[dir="rtl"] .menu-toggle {
        order: -1 !important;
        margin-right: 0 !important;
        margin-left: var(--spacing-sm) !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10000 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        background: transparent !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    
    /* Force menu toggle to be on top in RTL */
    html[dir="rtl"] .header-content {
        position: relative;
    }
    
    html[dir="rtl"] .header-content > .menu-toggle {
        position: relative !important;
        z-index: 10002 !important;
    }
    
    /* Ensure header content is properly reversed in RTL */
    html[dir="rtl"] .header-content {
        flex-direction: row-reverse !important;
    }
    
    /* Make sure menu toggle is visible in RTL */
    html[dir="rtl"] .header-content .menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10001 !important;
        order: -1 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        background: transparent !important;
        border: none !important;
    }
    
    /* Ensure menu toggle spans are visible in RTL */
    html[dir="rtl"] .menu-toggle span {
        background-color: var(--color-text) !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        width: 25px !important;
        height: 2px !important;
    }
    
    /* Dark theme support for menu toggle in RTL */
    html[dir="rtl"][data-theme="dark"] .menu-toggle span {
        background-color: var(--color-text-dark) !important;
    }
    
    html[dir="rtl"] .header-actions {
        flex-direction: row-reverse;
        margin-left: 0;
        margin-right: var(--spacing-lg);
    }
    
    /* Ensure nav container is properly positioned in RTL */
    html[dir="rtl"] .nav {
        direction: rtl;
    }
    
    html[dir="rtl"] .nav ul {
        direction: rtl;
        text-align: right;
    }
    
    /* Fix any text alignment issues in RTL menu */
    html[dir="rtl"] .nav-list {
        direction: rtl;
    }
    
    html[dir="rtl"] .nav-list li {
        direction: rtl;
        text-align: right;
    }
    
    html[dir="rtl"] .nav-list li a {
        direction: rtl;
        text-align: right;
        unicode-bidi: embed;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-mockup {
        order: 2;
        margin: var(--spacing-lg) 0;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        order: 3;
    }
    
    .mockup-container {
        max-width: 250px;
        height: 542px; /* Scaled down proportionally */
    }
    
    .mockup-phone {
        border-radius: 43px;
    }
    
    .mockup-screen {
        border-radius: 37px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-features {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
        --transition: all 0.2s ease; /* Faster transitions on mobile */
    }
    
    .logo-img {
        height: 75px;
        max-width: none;
        min-width: auto;
    }
    
    .header-content {
        min-height: 80px;
        padding: 0.75rem 0;
    }
    
    .footer-logo-img {
        height: 75px;
        max-width: 350px;
        min-width: 200px;
    }
    
    /* Ensure footer content is visible on mobile */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-md);
        overflow: visible;
        position: relative;
        z-index: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        display: grid;
        width: 100%;
    }
    
    .footer-section {
        width: 100%;
        display: block;
        visibility: visible;
        opacity: 1;
        margin-bottom: var(--spacing-md);
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .footer-links {
        display: block;
        visibility: visible;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        display: block;
        visibility: visible;
        margin-bottom: 0.75rem;
        width: 100%;
    }
    
    .footer-links a {
        display: inline-block;
        visibility: visible;
        opacity: 1;
        font-size: 0.95rem;
        padding: 0.25rem 0;
        width: auto;
    }
    
    /* Reduce animations on mobile for better performance */
    @media (prefers-reduced-motion: no-preference) {
        * {
            animation-duration: 0.3s !important;
            transition-duration: 0.2s !important;
        }
    }
    
    .hero {
        padding: 100px 0 var(--spacing-xl);
        min-height: 80vh;
    }
    
    .hero-content {
        padding: var(--spacing-md);
        background: rgba(255, 255, 255, 0.4);
    }
    
    .hero-video {
        /* Optimize video for mobile */
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .hero-overlay {
        /* Slightly stronger overlay on mobile for better text readability */
        background: linear-gradient(135deg, rgba(250, 249, 246, 0.5) 0%, rgba(245, 243, 237, 0.6) 100%);
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .targets-grid,
    .features-grid,
    .steps-container,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .stat-item {
        padding: var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mockup-container {
        max-width: 200px;
        height: 433px;
    }
    
    .mockup-phone {
        border-radius: 35px;
    }
    
    .mockup-screen {
        border-radius: 30px;
    }
    
    .dynamic-island {
        width: 75px;
        height: 22px;
        border-radius: 12px;
    }
    
    .dynamic-island::after {
        width: 70px;
        height: 20px;
        border-radius: 11px;
    }
    
    .mockup-phone::before {
        width: 75px;
        height: 22px;
        top: 6px;
        border-radius: 12px;
    }
    
    .mockup-phone::after {
        width: 70px;
        height: 20px;
        top: 8px;
        border-radius: 11px;
    }
    
    /* Touch-friendly buttons */
    .btn, .btn-cta-header, .nav-link {
        min-height: 44px; /* iOS touch target minimum */
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Optimize service cards for mobile */
    .service-card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .service-image {
        width: 80px;
        height: 80px;
    }
    
    .service-info h3 {
        font-size: 16px;
    }
    
    .service-info p {
        font-size: 13px;
    }
    
    .service-info .price {
        font-size: 14px;
    }
    
    /* Optimize forms for mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.9rem;
    }
    
    /* RTL Mobile Fixes */
    html[dir="rtl"] .nav {
        left: auto;
        right: -100%;
    }
    
    html[dir="rtl"] .nav.active {
        right: 0;
        left: auto;
    }
    
    html[dir="rtl"] .header-content {
        flex-direction: row-reverse;
    }
    
    html[dir="rtl"] .logo {
        margin-right: 0;
        margin-left: -1rem;
    }
    
    html[dir="rtl"] .menu-toggle {
        order: -1 !important;
        margin-right: 0 !important;
        margin-left: var(--spacing-sm) !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10000 !important;
    }
    
    html[dir="rtl"] .contact-content {
        grid-template-columns: 1fr;
        direction: rtl;
    }
    
    html[dir="rtl"] .contact-item {
        flex-direction: row-reverse;
        text-align: right;
    }
    
    html[dir="rtl"] .contact-item > div:last-child {
        text-align: right;
    }
    
    html[dir="rtl"] .pricing-card {
        direction: rtl;
        text-align: right;
    }
    
    html[dir="rtl"] .pricing-features-list {
        direction: rtl;
        text-align: right;
        padding-right: 0;
        padding-left: 0;
    }
    
    html[dir="rtl"] .pricing-features-list li {
        flex-direction: row-reverse;
        justify-content: flex-start;
        text-align: right;
    }
    
    html[dir="rtl"] .check-icon {
        order: 2;
        margin-left: 0;
        margin-right: 0.75rem;
    }
    
    html[dir="rtl"] .service-card {
        flex-direction: row-reverse;
    }
    
    html[dir="rtl"] .service-info {
        text-align: right;
    }
    
    html[dir="rtl"] .about-content {
        grid-template-columns: 1fr;
        direction: rtl;
    }
    
    html[dir="rtl"] .about-text {
        text-align: right;
    }
    
    html[dir="rtl"] .form-group {
        text-align: right;
    }
    
    html[dir="rtl"] .form-group input,
    html[dir="rtl"] .form-group select,
    html[dir="rtl"] .form-group textarea {
        text-align: right;
        direction: rtl;
    }
    
    html[dir="rtl"] .footer-content {
        direction: rtl;
    }
    
    html[dir="rtl"] .footer-links {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo-img {
        height: 65px;
        max-width: none;
        min-width: auto;
    }
    
    .footer-logo-img {
        height: 65px;
        max-width: 280px;
        min-width: 160px;
    }
    
    /* Ensure footer links are visible on small screens */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-section {
        width: 100%;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .footer-links {
        display: block !important;
        visibility: visible !important;
        list-style: none;
    }
    
    .footer-links li {
        display: list-item !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-bottom: 0.75rem;
    }
    
    .footer-links a {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 0.9rem;
        padding: 0.25rem 0;
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* Smaller spacing on very small screens */
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
    }
    
    /* Optimize header for small screens */
    .header-content {
        min-height: 75px;
        padding: 0.75rem 0;
    }
    
    .nav {
        top: 75px;
        height: calc(100vh - 75px);
    }
    
    /* Smaller pricing cards */
    .pricing-card {
        padding: var(--spacing-md);
    }
    
    .pricing-title {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    /* Optimize FAQ */
    .faq-question h3 {
        font-size: 1rem;
    }
    
    /* Better touch targets */
    .faq-question {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    /* RTL Mobile Fixes for Small Screens */
    html[dir="rtl"] .hero-content {
        text-align: center;
        direction: rtl;
    }
    
    html[dir="rtl"] .hero-buttons {
        flex-direction: column;
        direction: rtl;
    }
    
    html[dir="rtl"] .section-title {
        text-align: center;
        direction: rtl;
    }
    
    html[dir="rtl"] .section-description {
        text-align: center;
        direction: rtl;
    }
    
    html[dir="rtl"] .pricing-title {
        text-align: center;
        direction: rtl;
    }
    
    html[dir="rtl"] .pricing-subtitle {
        text-align: center;
        direction: rtl;
    }
    
    html[dir="rtl"] .bundle-pricing {
        direction: ltr;
        text-align: center;
    }
    
    html[dir="rtl"] .bundle-duration {
        text-align: center;
        direction: rtl;
    }
    
    html[dir="rtl"] .commission-text {
        text-align: right;
        direction: rtl;
    }
    
    html[dir="rtl"] .marketplace-fee {
        text-align: right;
        direction: rtl;
    }
    
    html[dir="rtl"] .contact-item h3 {
        text-align: right;
        direction: rtl;
    }
    
    html[dir="rtl"] .contact-item p {
        text-align: right;
        direction: rtl;
    }
    
    html[dir="rtl"] .footer-bottom {
        text-align: center;
        direction: rtl;
    }
}

/* ============================================
   THANK YOU MODAL
   ============================================ */

.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.thank-you-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.thank-you-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.thank-you-modal-content {
    position: relative;
    background: var(--color-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.thank-you-modal.active .thank-you-modal-content {
    transform: scale(1) translateY(0);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
    animation: checkmarkAnimation 0.6s ease;
}

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

.thank-you-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.thank-you-message {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.thank-you-close {
    min-width: 150px;
    margin-top: var(--spacing-sm);
}

/* RTL Support for Arabic */
html[dir="rtl"] .thank-you-modal-content {
    direction: rtl;
}

/* Responsive */
@media (max-width: 768px) {
    .thank-you-modal-content {
        padding: var(--spacing-lg);
        max-width: 90%;
    }
    
    .thank-you-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .thank-you-title {
        font-size: 1.5rem;
    }
    
    .thank-you-message {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .thank-you-modal-content {
        padding: var(--spacing-md);
    }
    
    .thank-you-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .thank-you-title {
        font-size: 1.3rem;
    }
}


