/* ========================
   CSS Variables & Reset
======================== */
:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --primary-light: #A29BFE;
    --accent: #00D2FF;
    --accent-2: #7C3AED;
    --bg-dark: #0A0A1A;
    --bg-card: #12122A;
    --bg-card-hover: #1A1A3E;
    --bg-section: #080818;
    --text-white: #FFFFFF;
    --text-light: #B8B8D0;
    --text-muted: #6B6B8D;
    --border: rgba(108, 92, 231, 0.15);
    --border-hover: rgba(108, 92, 231, 0.4);
    --gradient: linear-gradient(135deg, #6C5CE7, #00D2FF);
    --gradient-2: linear-gradient(135deg, #7C3AED, #6C5CE7, #00D2FF);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 8px 32px rgba(108, 92, 231, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================
   Buttons
======================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ========================
   Navbar
======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-r {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-meed {
    color: var(--text-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ========================
   Hero Section
======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
}

.stat-plus, .stat-percent {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Dashboard Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.dashboard-mockup {
    width: 100%;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 60px rgba(108, 92, 231, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }

.mockup-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-body {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 50px;
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 12px;
}

.sidebar-item {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-light);
}

.mockup-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 140px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.chart-bar {
    flex: 1;
    background: rgba(108, 92, 231, 0.3);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    animation: grow 1.5s ease-out forwards;
}

.chart-bar.highlight {
    background: var(--gradient);
}

@keyframes grow {
    from { height: 0 !important; }
}

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

.mini-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.mini-card-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.mini-card-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.mini-card-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.mini-card-trend.up { color: #28C840; }

/* ========================
   Section Headers
======================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ========================
   Services Section
======================== */
.services {
    padding: 100px 0;
    background: var(--bg-section);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: var(--border-hover);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.08), rgba(0, 210, 255, 0.04));
}

.service-card.featured::before {
    opacity: 1;
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 14px;
    background: var(--gradient);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
}

/* ========================
   Secteurs Section
======================== */
.secteurs {
    padding: 100px 0;
}

.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.secteur-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.secteur-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.secteur-icon {
    width: 70px;
    height: 70px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.secteur-card:hover .secteur-icon {
    background: rgba(108, 92, 231, 0.15);
    border-color: var(--border-hover);
    transform: scale(1.05);
}

.secteur-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.secteur-card > p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

.secteur-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.secteur-tags span {
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-light);
}

.secteur-card-cta {
    border-style: dashed;
    border-color: var(--border-hover);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.secteur-cta-btn {
    margin-top: 8px;
    padding: 8px 20px;
    background: var(--gradient);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: white;
}

.secteur-cta-btn:hover {
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

/* ========================
   Processus Section
======================== */
.processus {
    padding: 100px 0;
    background: var(--bg-section);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.process-step {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 0;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.1);
    box-shadow: 0 0 30px rgba(108, 92, 231, 0.2);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-visual {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    opacity: 0.5;
}

/* ========================
   Pourquoi Section
======================== */
.pourquoi {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================
   CTA Section
======================== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-section);
}

.cta-box {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 210, 255, 0.08));
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.deco-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -80px;
}

.deco-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -40px;
}

.deco-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 10%;
    border-color: rgba(0, 210, 255, 0.08);
}

/* ========================
   Footer
======================== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
}

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

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-contact p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================
   WhatsApp Float
======================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ========================
   Scroll Animations
======================== */
.service-card,
.secteur-card,
.process-step,
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.visible,
.secteur-card.visible,
.process-step.visible,
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   Responsive Design
======================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .dashboard-mockup {
        max-width: 400px;
    }

    .secteurs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 998;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 999;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

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

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

    .process-timeline::before {
        left: 28px;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }

    .step-visual {
        display: none;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .dashboard-mockup {
        max-width: 100%;
    }

    .lang-switcher {
        order: -1;
    }
}

/* ========================
   Language Switcher
======================== */
.lang-switcher {
    position: relative;
    margin-left: 16px;
    margin-right: 8px;
    z-index: 1001;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 14px;
    color: var(--text-white);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--border-hover);
    background: rgba(108, 92, 231, 0.2);
}

.lang-current .lang-flag {
    font-weight: 700;
    font-size: 0.8rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px;
    min-width: 160px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background: rgba(108, 92, 231, 0.1);
    color: var(--text-white);
}

.lang-option.active {
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-light);
}

.lang-option .lang-flag {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.7rem;
}

/* ========================
   RTL Support (Arabic)
======================== */
html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}

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

html[dir="rtl"] .hero-container {
    direction: rtl;
}

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

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

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

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

html[dir="rtl"] .service-badge {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .process-timeline::before {
    left: auto;
    right: 40px;
}

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

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

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

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

html[dir="rtl"] .footer-contact a {
    flex-direction: row-reverse;
}

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

html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

html[dir="rtl"] .lang-switcher {
    margin-left: 8px;
    margin-right: 16px;
}

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

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

@media (max-width: 768px) {
    html[dir="rtl"] .hero-actions {
        flex-direction: column;
    }

    html[dir="rtl"] .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    html[dir="rtl"] .process-timeline::before {
        right: 28px;
    }

    html[dir="rtl"] .nav-links {
        flex-direction: column;
    }
}
