/* ═══════════════════════════════════════════════════════════════════
   WooScrape Pro — Modern Clean Light SaaS Theme (Pure White & Slate)
   Typography: Plus Jakarta Sans & Inter
   Designed for maximum legibility, sleek elegance & high performance
═══════════════════════════════════════════════════════════════════ */

:root {
    --sidebar-w:     250px;
    --bg-main:       #ffffff;
    --bg-body:       #f8fafc;
    --bg-card:       #ffffff;
    --bg-card-subtle:#f8fafc;
    --bg-dark:       #ffffff;
    
    --border:        #e2e8f0;
    --border-light:  #f1f5f9;
    --border-focus:  #6366f1;
    
    --primary:       #4f46e5;
    --primary-h:     #4338ca;
    --primary-dark:  #3730a3;
    --primary-g:     rgba(79, 70, 229, 0.15);
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    
    --cyan:          #0284c7;
    --purple:        #7c3aed;
    --green:         #059669;
    --gold:          #d97706;
    --rose:          #e11d48;
    --danger:        #dc2626;
    
    --text:          #0f172a;
    --text-body:     #334155;
    --muted:         #64748b;
    --dim:           #94a3b8;
    
    --shadow-xs:     0 1px 2px 0 rgba(16, 24, 40, 0.05);
    --shadow-sm:     0 1px 3px 0 rgba(16, 24, 40, 0.08), 0 1px 2px -1px rgba(16, 24, 40, 0.06);
    --shadow-md:     0 4px 6px -1px rgba(16, 24, 40, 0.07), 0 2px 4px -2px rgba(16, 24, 40, 0.04);
    --shadow-lg:     0 10px 15px -3px rgba(16, 24, 40, 0.08), 0 4px 6px -4px rgba(16, 24, 40, 0.03);
    --shadow-xl:     0 20px 25px -5px rgba(16, 24, 40, 0.10), 0 8px 10px -6px rgba(16, 24, 40, 0.04);
    
    --radius-sm:     6px;
    --radius:        10px;
    --radius-lg:     16px;
    --radius-xl:     24px;
    
    --font-h:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-b:        'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 120ms;
    --duration-base: 180ms;
    --duration-modal:220ms;
}

/* ── Global Utility: MUST override everything when hidden ─────────── */
.hidden,
.modal.hidden,
div.hidden,
section.hidden,
button.hidden,
span.hidden {
    display: none !important;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { font-size: 14px; scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-body);
    font-family: var(--font-b);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: 
        radial-gradient(at 10% 10%, rgba(99, 102, 241, 0.03) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(2, 132, 199, 0.02) 0px, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-h);
    color: var(--text);
    letter-spacing: -0.025em;
    font-weight: 700;
}

/* ── Layout ─────────────────────────────────── */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ─────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    background: #ffffff;
    border-right: 1px solid var(--border);
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 100;
    overflow-y: auto;
    box-shadow: 1px 0 3px rgba(16, 24, 40, 0.02);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; color: #ffffff;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.25);
    flex-shrink: 0;
}

.brand-text h2 {
    font-family: var(--font-h);
    font-size: 17px; font-weight: 800;
    letter-spacing: -0.4px;
    white-space: nowrap;
    color: var(--text);
}
.brand-text h2 span { color: var(--primary); font-weight: 800; }
.brand-text p { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 1px; font-weight: 600; }

.nav-menu { display: flex; flex-direction: column; gap: 4px; flex: 1; }

.nav-item {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 14px;
    color: var(--muted);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 500;
    font-family: var(--font-h);
    transition: all var(--duration-base) var(--ease-out);
    border: 1px solid transparent;
}
.nav-item:active {
    transform: scale(0.98);
}
.nav-item i { font-size: 14.5px; opacity: 0.8; transition: opacity 0.2s; }
.nav-item:hover {
    color: var(--text);
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.nav-item.active {
    color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
    font-weight: 600;
}
.nav-item.active i { opacity: 1; color: var(--primary); }

.admin-only {
    background: rgba(217, 119, 6, 0.08) !important;
    border-color: rgba(217, 119, 6, 0.25) !important;
    color: var(--gold) !important;
}
.admin-only:hover {
    background: rgba(217, 119, 6, 0.14) !important;
}

.user-sidebar-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 14px;
}
.user-avatar-mini {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.user-info-mini {
    display: flex; flex-direction: column; gap: 2px;
    min-width: 0;
}
.user-email-mini {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.user-plan-badge {
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}
.badge-free     { background: #f1f5f9; color: var(--muted); border: 1px solid #e2e8f0; }
.badge-starter  { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-pro      { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.badge-lifetime { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }

.system-status {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-top: 10px;
}
.status-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); flex-shrink: 0; }
.status-info { display: flex; flex-direction: column; }
.status-title { font-size: 11px; font-weight: 600; color: var(--text); }
.status-desc { font-size: 10px; color: var(--muted); }

/* ── Main Content ────────────────────────────── */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    padding: 32px 36px;
    min-width: 0;
    overflow-x: hidden;
}

/* ── Header ──────────────────────────────────── */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.header-title h1 {
    font-size: 24px; font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.2;
    color: var(--text);
}
.header-title p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.header-title strong { color: var(--text); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Sélecteur de langue */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 5px 12px;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.lang-selector:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}
.lang-selector i {
    color: var(--cyan);
    font-size: 13px;
}
.select-lang {
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-h);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding-right: 4px;
}
.select-lang option {
    background: #ffffff;
    color: var(--text);
    font-weight: 500;
}

/* Strategy badge */
.badge-strategy {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 20px;
    font-size: 11px; font-weight: 700; color: #6d28d9;
}

/* ── Cards ───────────────────────────────────── */
.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-base) ease, border-color var(--duration-base) ease;
}
.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.card-header i { color: var(--primary); font-size: 16px; }
.card-header h3 { font-size: 15px; font-weight: 700; color: var(--text); }
.card-header.border-0 { margin-bottom: 0; }

/* ── CMS Pills ───────────────────────────────── */
.cms-pills { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.cms-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px;
    border-radius: 20px; font-size: 10.5px; font-weight: 700;
    border: 1px solid;
}
.pill-woo     { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.pill-shopify { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.pill-prestashop { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.pill-wix     { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }

/* ── Form ────────────────────────────────────── */
.scrape-form { display: flex; flex-direction: column; gap: 0; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group.checkbox-group { justify-content: flex-end; padding-bottom: 4px; }

label {
    font-size: 12.5px; font-weight: 600; color: var(--text);
    display: flex; align-items: center; gap: 6px;
}
label i { color: var(--primary); }

input[type="url"],
input[type="number"],
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 13.5px;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
input::placeholder { color: var(--dim); font-size: 13px; }

.select-input {
    width: 100%;
    padding: 10px 32px 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 13.5px;
    cursor: pointer;
    outline: none;
    appearance: none;
    box-shadow: var(--shadow-xs);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.select-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.select-input option { background: #ffffff; color: var(--text); }

/* Checkbox */
.custom-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.custom-checkbox input { display: none; }
.checkmark {
    width: 18px; height: 18px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    transition: all 0.2s;
}
.custom-checkbox input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}
.custom-checkbox input:checked ~ .checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;
    font-size: 10px;
}
.label-text { font-size: 12.5px; color: var(--text-body); display: flex; align-items: center; gap: 6px; font-weight: 500; }
.label-text i { color: var(--cyan); }

/* ── Buttons ─────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-family: var(--font-h);
    font-size: 13px; font-weight: 600;
    cursor: pointer; border: 1px solid transparent;
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
}
.btn:active:not(:disabled) {
    transform: scale(0.98);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Primary — Indigo */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-h));
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    border: none;
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

/* Secondary */
.btn-secondary {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Bouton Extraire Thème */
.btn-theme {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.btn-theme:hover:not(:disabled) {
    background: #d1fae5;
    border-color: #6ee7b7;
    transform: translateY(-1px);
}

/* Glow shimmer */
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::after {
    content: '';
    position: absolute; top: -50%; left: -60%;
    width: 200%; height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: rotate(30deg);
    transition: left 0.45s ease;
}
.btn-glow:hover::after { left: 110%; }

.form-actions {
    display: flex; gap: 12px; align-items: stretch;
}
.form-actions .btn { flex: 1; }

/* ── Carte Thème Shopify ─────────────────────── */
.shopify-theme-result {
    margin-top: 16px;
    animation: slideDown 0.3s ease;
}

.theme-result-card {
    background: #ffffff;
    border: 1.5px solid #a7f3d0;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-md);
}

.theme-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.theme-badge-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-badge-title i {
    font-size: 28px;
    color: #059669;
}

.theme-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 700;
}

.theme-badge-title h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
}

.theme-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.theme-detail-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label {
    font-size: 10.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.theme-detail-item strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

/* Apps container */
.theme-apps-container {
    margin-bottom: 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
}

.apps-heading {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text);
    display: block;
    margin-bottom: 10px;
}
.apps-heading i { color: var(--cyan); margin-right: 4px; }

.theme-apps-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-body);
    box-shadow: var(--shadow-xs);
}
.app-badge i { color: var(--primary); font-size: 11px; }

/* ── Progress Card ───────────────────────────── */
.progress-card { border-color: rgba(79, 70, 229, 0.25); background: #ffffff; }
.progress-percent-badge {
    margin-left: auto;
    background: #e0f2fe;
    color: #0369a1;
    padding: 3px 11px; border-radius: 20px;
    font-size: 12px; font-weight: 700;
}
.progress-bar-bg {
    width: 100%; height: 8px;
    background: #e2e8f0;
    border-radius: 8px; overflow: hidden;
    margin-bottom: 10px;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 8px;
    transition: width 320ms var(--ease-out);
}
.progress-details { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.progress-msg { font-size: 12px; color: var(--muted); flex: 1; }
.progress-counter { font-size: 12px; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ── Metrics Grid ────────────────────────────── */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}
.metric-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-xs);
    transition: all var(--duration-base) var(--ease-out);
}
.metric-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: var(--shadow-md);
}
.metric-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.metric-icon.purple { background: #f5f3ff; color: #7c3aed; }
.metric-icon.cyan   { background: #e0f2fe; color: #0284c7; }
.metric-icon.green  { background: #ecfdf5; color: #059669; }
.metric-icon.gold   { background: #fef3c7; color: #d97706; }
.metric-data { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.metric-value { font-family: var(--font-h); font-size: 22px; font-weight: 800; line-height: 1; color: var(--text); }
.metric-label { font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* ── Export Card ─────────────────────────────── */
.export-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-export {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text);
    font-size: 12px; padding: 9px 14px;
    box-shadow: var(--shadow-xs);
}
.btn-export:hover:not(:disabled) { background: #f8fafc; border-color: #94a3b8; }
.btn-highlight { background: #f5f3ff; border-color: #ddd6fe; color: #6d28d9; }
.btn-highlight:hover:not(:disabled) { background: #ede9fe; }
.btn-shopify  { background: #ecfdf5;  border-color: #a7f3d0;  color: #047857; }
.btn-shopify:hover:not(:disabled)  { background: #d1fae5; }
.btn-zip      { background: #fef3c7;  border-color: #fde68a;  color: #b45309; }
.btn-zip:hover:not(:disabled)      { background: #fde68a; }

/* ── Table Card ──────────────────────────────── */
.table-card { padding: 0; overflow: hidden; background: #ffffff; }
.table-header-tools {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; gap: 14px; flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}
.table-search {
    display: flex; align-items: center; gap: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius);
    padding: 8px 12px;
}
.table-search i { color: var(--muted); font-size: 12px; }
.table-search input {
    background: none; border: none; box-shadow: none;
    padding: 0; font-size: 12.5px; width: 200px; color: var(--text);
}
.table-search input:focus { box-shadow: none; border: none; }
.table-wrapper { overflow-x: auto; background: #ffffff; }
.data-table { width: 100%; border-collapse: collapse; background: #ffffff; }
.data-table th {
    padding: 12px 16px; text-align: left;
    font-size: 11px; font-weight: 700; color: #475569;
    text-transform: uppercase; letter-spacing: 0.05em;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.data-table td {
    padding: 12px 16px; font-size: 12.5px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
    color: var(--text-body);
}
.data-table tr:hover td { background: #f8fafc; }
.data-table tr:last-child td { border-bottom: none; }
.img-thumb {
    width: 48px; height: 48px;
    object-fit: cover; border-radius: 8px;
    cursor: pointer; border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}
.img-thumb:hover { transform: scale(1.08); border-color: var(--primary); }

/* Badges & Tags */
.badge-tag {
    display: inline-flex; align-items: center;
    padding: 2px 8px; border-radius: 8px;
    font-size: 10px; font-weight: 700;
    margin-left: 6px;
}
.badge-tag-rose   { background: #ffe4e6; color: #e11d48; border: 1px solid #fecdd3; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.badge-tag-cyan   { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.badge-tag-yellow { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.badge-sale       { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-stock      { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-outofstock { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* ── Stats Cards Grid (B2B Leads & Admin) ────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.stat-icon { font-size: 26px; }
.stat-info { display: flex; flex-direction: column; gap: 2px; }
.stat-value { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: var(--text); line-height: 1.1; }
.stat-label { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Admin KPI Grid */
.admin-kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.admin-kpi-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-sm);
}
.kpi-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.kpi-icon.purple { background: #f5f3ff; color: #7c3aed; }
.kpi-icon.gold   { background: #fef3c7; color: #d97706; }
.kpi-icon.cyan   { background: #e0f2fe; color: #0284c7; }
.kpi-icon.rose   { background: #ffe4e6; color: #e11d48; }
.kpi-info { display: flex; flex-direction: column; gap: 2px; }
.kpi-val { font-family: var(--font-h); font-size: 22px; font-weight: 800; color: var(--text); }
.kpi-lbl { font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* Empty state */
.empty-state {
    display: flex; flex-direction: column; align-items: center;
    padding: 48px 24px; gap: 14px; color: var(--muted);
    background: #ffffff;
}
.empty-state i { font-size: 38px; opacity: 0.4; color: var(--primary); }
.empty-state p { font-size: 13px; text-align: center; }

/* ── Modal (Strict display control) ───────────── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal.hidden {
    display: none !important;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    max-width: 90vw;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.modal-content img { max-width: 100%; max-height: 65vh; border-radius: var(--radius); object-fit: contain; }
.modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none;
    color: var(--muted); font-size: 24px; cursor: pointer;
    transition: all 0.2s;
}
.modal-close:hover { color: var(--text); transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════════════════
   SAAS AUTH & TARIFS (MODERN LIGHT)
═══════════════════════════════════════════════════════════════════ */

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-auth-login {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text);
    padding: 7px 14px;
    font-size: 12.5px;
    box-shadow: var(--shadow-xs);
}
.btn-auth-login:hover { background: #f8fafc; border-color: #94a3b8; }

.btn-auth-register {
    background: linear-gradient(135deg, var(--primary), var(--primary-h));
    color: #ffffff;
    padding: 7px 14px;
    font-size: 12.5px;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
    border: none;
}

.btn-upgrade-gold {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #b45309;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 700;
}
.btn-upgrade-gold:hover {
    background: #fde68a;
    transform: translateY(-1px);
}

.btn-auth-logout {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 7px 11px;
    font-size: 12px;
}
.btn-auth-logout:hover { background: #fca5a5; color: #991b1b; }

/* ── Modal Auth (Connexion / Inscription) ────── */
.auth-modal-box {
    width: 440px;
    max-width: 95vw;
    text-align: left;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-xl);
}

.auth-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--muted);
    font-family: var(--font-h);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 9px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.active {
    color: var(--primary);
    background: #ffffff;
    box-shadow: var(--shadow-xs);
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label { font-size: 12.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 7px; }
.auth-label i { color: var(--primary); }

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.auth-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.input-icon {
    position: absolute;
    left: 14px;
    color: var(--muted);
    font-size: 14px;
    pointer-events: none;
}
.auth-input-wrapper:focus-within .input-icon { color: var(--primary); }

.auth-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 13.5px;
    font-weight: 500;
    padding: 11px 40px 11px 40px;
    outline: none;
}
.btn-toggle-password {
    position: absolute; right: 12px;
    background: none; border: none;
    color: var(--muted); cursor: pointer;
    font-size: 14px;
}

/* ── Checkout Modal ──────────────────────────── */
.checkout-modal-box {
    width: 680px;
    max-width: 95vw;
    text-align: left;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px 30px;
}
.checkout-header { text-align: center; margin-bottom: 24px; }
.checkout-badge-secure {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
    padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700;
    margin-bottom: 10px;
}
.checkout-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.checkout-summary-card {
    background: #f8fafc; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px;
    display: flex; flex-direction: column;
}
.summary-plan-details { display: flex; align-items: center; gap: 12px; margin: 14px 0; }
.summary-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: #fef3c7; color: #d97706; display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.summary-features-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 16px 0; flex: 1; }
.summary-features-list li { font-size: 12px; color: var(--text-body); display: flex; align-items: center; gap: 6px; }
.summary-features-list li i { color: #059669; }
.summary-total-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }
.summary-price { font-size: 20px; font-weight: 800; color: var(--primary); }

.payment-methods-selector { margin-bottom: 16px; }
.payment-method {
    display: flex; align-items: center; justify-content: space-between;
    background: #ffffff; border: 1.5px solid var(--primary);
    border-radius: var(--radius); padding: 10px 14px; font-size: 13px; font-weight: 600;
}
.card-brands { display: flex; gap: 8px; font-size: 18px; color: var(--muted); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Support & Admin Ticket Modals ───────────── */
.support-modal-box, .admin-ticket-box {
    width: 540px;
    max-width: 95vw;
    text-align: left;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px;
}
.support-header { margin-bottom: 20px; }
.support-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
    padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 10px;
}
.support-textarea {
    width: 100%; background: #ffffff; border: 1.5px solid #cbd5e1;
    border-radius: var(--radius); padding: 10px 12px; font-family: var(--font-b);
    font-size: 13px; color: var(--text); resize: vertical; outline: none;
}
.support-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.15); }
.support-footer-note { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 10px; }

/* ── Floating Chat Widget 24/7 ───────────────── */
.floating-chat-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.floating-chat-trigger {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.floating-chat-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(79, 70, 229, 0.5);
}
.chat-trigger-badge {
    position: absolute; top: -2px; right: -2px;
    background: #ef4444; color: #ffffff;
    font-size: 10px; font-weight: 800;
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #ffffff;
}

.chat-teaser-bubble {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
    position: relative;
    max-width: 280px;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.chat-teaser-close {
    position: absolute; top: 4px; right: 6px;
    background: none; border: none; color: var(--muted);
    font-size: 16px; cursor: pointer;
}
.teaser-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: #ede9fe; color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.teaser-text strong { font-size: 12px; color: var(--text); display: block; }
.teaser-text p { font-size: 11.5px; color: var(--muted); margin-top: 1px; }

.floating-chat-window {
    width: 360px;
    max-width: 90vw;
    height: 480px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex; flex-direction: column;
    margin-bottom: 12px;
    overflow: hidden;
    animation: slideUp 0.25s ease;
}
.chat-window-header {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #ffffff; padding: 14px 16px;
    display: flex; justify-content: space-between; align-items: center;
}
.chat-header-agent { display: flex; align-items: center; gap: 10px; }
.chat-agent-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
    font-size: 14px; position: relative;
}
.chat-agent-online-dot {
    position: absolute; bottom: 0; right: 0;
    width: 8px; height: 8px; border-radius: 50%; background: #10b981; border: 1.5px solid #ffffff;
}
.chat-agent-info h4 { font-size: 13.5px; color: #ffffff; margin: 0; }
.chat-status-text { font-size: 10.5px; opacity: 0.9; }
.btn-chat-action { background: none; border: none; color: #ffffff; font-size: 14px; cursor: pointer; }

.chat-messages-container {
    flex: 1; padding: 14px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 12px; background: #f8fafc;
}
.chat-msg-row { display: flex; gap: 8px; }
.chat-msg-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: #ede9fe; color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.chat-msg-bubble {
    background: #ffffff; border: 1px solid var(--border);
    border-radius: 12px; border-top-left-radius: 2px;
    padding: 10px 12px; font-size: 12.5px; color: var(--text-body);
    box-shadow: var(--shadow-xs); max-width: 85%;
}
.chat-msg-sender { font-size: 10.5px; font-weight: 700; color: var(--primary); display: block; margin-bottom: 2px; }
.chat-msg-time { font-size: 9.5px; color: var(--muted); display: block; margin-top: 4px; text-align: right; }

.chat-quick-chips { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.quick-chip {
    background: #ffffff; border: 1px solid #cbd5e1; border-radius: 16px;
    padding: 6px 10px; font-size: 11.5px; color: var(--text); cursor: pointer; text-align: left;
    transition: all 0.2s;
}
.quick-chip:hover { background: #f1f5f9; border-color: var(--primary); }

.chat-input-area { padding: 10px 12px; background: #ffffff; border-top: 1px solid var(--border); }
.chat-visitor-email-row {
    display: flex; align-items: center; gap: 6px;
    background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 6px;
    padding: 4px 8px; margin-bottom: 6px;
}
.chat-visitor-email-row input { border: none; background: transparent; font-size: 11.5px; outline: none; width: 100%; }
.chat-input-bar { display: flex; gap: 6px; }
.chat-input-bar input {
    flex: 1; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 8px;
    padding: 8px 10px; font-size: 12.5px; outline: none;
}
.btn-send-chat {
    background: var(--primary); color: #ffffff; border: none; border-radius: 8px;
    padding: 0 12px; cursor: pointer;
}

/* ── Toast Notifications ─────────────────────── */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 10px;
    pointer-events: auto;
    animation: slideDown 0.25s ease;
}
.toast.toast-success i { color: #059669; }
.toast.toast-error i { color: #dc2626; }

/* ── Page Tarifs (Pricing) & Grille de Forfaits ── */
.pricing-container { 
    padding: 10px 0 40px; 
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-header-wrap { 
    text-align: center; 
    margin-bottom: 36px; 
}
.pricing-header-wrap h2 { 
    font-size: 30px; 
    font-weight: 800; 
    margin-bottom: 8px; 
    color: var(--text); 
    letter-spacing: -0.02em;
}
.pricing-header-wrap p { 
    color: var(--muted); 
    font-size: 15px; 
    max-width: 600px;
    margin: 0 auto;
}

.pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    background: #f1f5f9;
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
}
.toggle-label { 
    font-size: 13.5px; 
    font-weight: 600; 
    color: var(--text); 
}
.discount-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
}

.pricing-cards-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 28px;
    align-items: stretch;
}

.price-card, .pricing-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s var(--ease-out);
    position: relative;
}
.price-card:hover, .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.price-card.popular, .pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
    transform: scale(1.02);
    z-index: 2;
}
.price-card.popular:hover, .pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.popular-ribbon, .plan-badge-top {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    white-space: nowrap;
}

.price-card.lifetime {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.08);
}

.plan-header {
    margin-bottom: 18px;
    text-align: left;
}
.plan-header h3, .plan-name { 
    font-size: 20px; 
    font-weight: 800; 
    color: var(--text); 
    margin-bottom: 6px; 
}
.plan-desc { 
    font-size: 12.5px; 
    color: var(--muted); 
    min-height: 38px; 
    line-height: 1.45;
}
.plan-price-wrap { 
    margin: 16px 0; 
}
.plan-price { 
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-h); 
    margin-top: 10px;
}
.plan-price .currency { 
    font-size: 22px; 
    font-weight: 700; 
    color: var(--text); 
}
.plan-price .amount { 
    font-size: 36px; 
    font-weight: 900; 
    color: var(--text); 
    letter-spacing: -0.03em;
}
.plan-price .period, .plan-period { 
    font-size: 13px; 
    font-weight: 500;
    color: var(--muted); 
    margin-left: 2px;
}

.plan-features { 
    list-style: none; 
    padding: 0;
    margin: 0 0 28px 0;
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    flex: 1; 
}
.plan-features li { 
    font-size: 13px; 
    color: var(--text-body); 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    line-height: 1.4;
}
.plan-features li i.fa-check { 
    color: #059669; 
    margin-top: 3px;
    font-size: 13px;
    flex-shrink: 0;
}
.plan-features li i.fa-xmark { 
    color: #cbd5e1; 
    margin-top: 3px;
    font-size: 13px;
    flex-shrink: 0;
}
.plan-features li.disabled { 
    color: #94a3b8; 
    text-decoration: line-through; 
    opacity: 0.65;
}

.btn-plan-select {
    width: 100%;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text);
    transition: all 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-plan-select:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.btn-plan-select.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}
.btn-plan-select.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}
.btn-plan-select.btn-glow {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}
.btn-plan-select.btn-glow:hover {
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.55);
    transform: translateY(-2px);
}
.btn-plan-select.btn-lifetime {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-plan-select.btn-lifetime:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    transform: translateY(-1px);
}

.promo-box {
    margin-top: 36px;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.promo-box span {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
}
.promo-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.promo-input-wrap input {
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    width: 180px;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════
   LANDING PAGE — HIGH POLISH DESIGN & ANIMATION (Emil Kowalski Craft)
   - Apple-style springs & smooth cubic-bezier(0.23, 1, 0.32, 1) ease-out
   - GPU-accelerated transforms & opacity
   - Ambient floating gradient orbs & live scanner preview
   - Seamless 60fps marquee ticker
   - Tactile button press feedback & micro-interactions
   - Interactive smooth FAQ accordion
   - Full prefers-reduced-motion support
═══════════════════════════════════════════════════════════════════ */

#landing-page-view {
    background: #ffffff;
    min-height: 100vh;
}

/* Glassmorphism Navbar with Scroll Glow */
.landing-navbar {
    position: sticky;
    top: 0;
    z-index: 990;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.landing-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
.landing-nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.landing-nav-links { display: flex; align-items: center; gap: 28px; }
.landing-nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-h);
    transition: color 0.2s var(--ease-out);
}
.landing-nav-links a:hover { color: var(--primary); }
.landing-nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 5px 10px;
    color: var(--muted);
    font-size: 12px;
}
.select-lang {
    background: transparent;
    border: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    outline: none;
}
.btn-auth-login {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s var(--ease-out);
}
.btn-auth-login:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Landing Hero Container & Ambient Glow */
.landing-hero {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 85px 24px 90px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
    align-items: center;
    overflow: visible;
}

/* Ambient Floating Glow Orbs */
.hero-ambient-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1300px;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: floatAmbient 14s ease-in-out infinite alternate;
}
.orb-primary {
    top: 10%;
    left: 15%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0) 70%);
}
.orb-cyan {
    top: 25%;
    right: 10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(2, 132, 199, 0) 70%);
    animation-delay: -5s;
    animation-duration: 18s;
}
.orb-purple {
    bottom: 5%;
    left: 45%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(147, 51, 234, 0) 70%);
    animation-delay: -9s;
    animation-duration: 16s;
}

@keyframes floatAmbient {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(30px, -25px) scale(1.08); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.09) 0%, rgba(168, 85, 247, 0.09) 100%);
    border: 1px solid rgba(99, 102, 241, 0.28);
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.16);
}
.badge-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: beaconPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes beaconPulse {
    0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70%  { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Hero Typography */
.hero-content h1 {
    font-size: 47px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -1.4px;
    margin-bottom: 20px;
    color: #0f172a;
}
.hero-content h1 span {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 34px;
    max-width: 530px;
}

/* Hero CTA Group & Tactile Feedback */
.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: center;
}
.btn {
    transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background-color 0.18s ease;
    cursor: pointer;
    user-select: none;
}
.btn:active {
    transform: scale(0.97) !important;
}
.btn-arrow-icon {
    margin-left: 6px;
    transition: transform 0.22s var(--ease-out);
}
.btn:hover .btn-arrow-icon {
    transform: translateX(4px);
}
.btn-glow {
    position: relative;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
}
.btn-glow:hover {
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

/* CMS Platform Badges */
.hero-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.platform-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.platform-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.plat-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: #ffffff;
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s ease;
}
.plat-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}
.plat-woo         { color: #7c3aed; }
.plat-shopify     { color: #059669; }
.plat-wix         { color: #0284c7; }
.plat-prestashop  { color: #d97706; }

/* ── Hero Visual Mockup Window with Scanner ─────────────────── */
.hero-visual-preview {
    position: relative;
}
.preview-mockup-window {
    position: relative;
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.preview-mockup-window:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 70px -15px rgba(15, 23, 42, 0.16);
}

/* Laser Scanner Beam */
.mockup-scan-beam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 12px 2px rgba(99, 102, 241, 0.5);
    z-index: 20;
    pointer-events: none;
    animation: laserScan 4s ease-in-out infinite;
}
@keyframes laserScan {
    0%   { top: 0%; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.mockup-header {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 13px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.window-dots { display: flex; gap: 7px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red    { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green  { background: #34d399; }

.mockup-url-bar {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11.5px;
    color: var(--text-body);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 320px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mockup-tag {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 10.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Interactive Platform Tabs */
.mockup-platform-tabs {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border);
    padding: 4px;
    gap: 4px;
}
.mock-tab {
    flex: 1;
    padding: 7px 10px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}
.mock-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.6);
}
.mock-tab.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.mockup-body { padding: 22px; }

/* Live Extraction Progress Banner */
.mockup-live-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 9px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.live-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.live-dot-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    animation: beaconPulse 1.8s infinite;
}
.live-status-text {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text);
}
.live-progress-mini {
    flex: 1;
    max-width: 140px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}
.live-progress-bar {
    width: 82%;
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #0284c7);
    border-radius: 10px;
    animation: progressFill 3s ease-in-out infinite alternate;
}
@keyframes progressFill {
    0%   { width: 60%; }
    100% { width: 96%; }
}
.live-count-badge {
    font-size: 11px;
    font-weight: 800;
    font-family: ui-monospace, monospace;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
}

/* Stat Row */
.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
.mock-stat {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    transition: transform 0.2s var(--ease-out), border-color 0.2s ease;
}
.mock-stat:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}
.mock-stat .num {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    display: block;
    font-family: var(--font-h);
}
.mock-stat .lbl {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

/* Mockup Table Rows with Stagger Animation */
.mockup-table-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-row {
    display: grid;
    grid-template-columns: 36px 1fr 75px 85px;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid transparent;
    transition: all 0.2s var(--ease-out);
}
.mock-row:not(.header):hover {
    background: #ffffff;
    border-color: var(--border);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.mock-row.header {
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 12px;
}
.mock-img {
    width: 28px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 12px;
}
.mock-title {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-price {
    font-weight: 700;
    color: #059669;
    font-family: ui-monospace, monospace;
}
.mock-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
}
.badge-shopify     { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-woocommerce { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.badge-prestashop  { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.badge-wix         { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }

/* ── Live Trust & Feature Marquee Ticker ─────────────────────── */
.landing-ticker-wrap {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.landing-ticker-wrap::before,
.landing-ticker-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 90px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.landing-ticker-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}
.landing-ticker-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.landing-ticker {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    animation: marqueeScroll 28s linear infinite;
}
.landing-ticker:hover {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}
.ticker-dot {
    color: #cbd5e1;
    font-size: 16px;
}

/* ── Sections & Section Headers ─────────────────────────────── */
.landing-section {
    padding: 96px 24px;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}
.landing-section.bg-alt {
    max-width: 100%;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.landing-section.bg-alt .section-header,
.landing-section.bg-alt .steps-container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    padding: 5px 14px;
    border-radius: 9999px;
    margin-bottom: 14px;
    border: 1px solid rgba(99, 102, 241, 0.18);
}
.section-header h2 {
    font-size: 36px;
    font-weight: 850;
    letter-spacing: -0.8px;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 14px;
    font-family: var(--font-h);
}
.section-header p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── Features Cards with Modern Spotlight Glow ──────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: transform 0.25s var(--ease-out);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(4deg);
}
/* ═══════════════════════════════════════════════════════════════
   MOTEUR D'ANIMATIONS HAUTE DÉFINITION (ÉMIL KOWALSKI CRAFT)
   ═══════════════════════════════════════════════════════════════ */

/* 1. Entrée échelonnée de la section Hero (Staggered Entrance) */
@keyframes heroEntranceFadeUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroMockupPop {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-content .hero-badge {
    animation: heroEntranceFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-content h1 {
    animation: heroEntranceFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}
.hero-content .hero-sub {
    animation: heroEntranceFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
}
.hero-content .hero-cta-group {
    animation: heroEntranceFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}
.hero-content .hero-platforms {
    animation: heroEntranceFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}
.hero-visual-preview {
    animation: heroMockupPop 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

/* 2. Flottement doux du Mockup Window (Micro-motion) */
@keyframes mockupGentleFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-7px); }
    100% { transform: translateY(0); }
}

.preview-mockup-window {
    animation: mockupGentleFloat 7s ease-in-out infinite;
    transform-origin: center;
    will-change: transform;
}
.preview-mockup-window:hover {
    animation-play-state: paused;
}

/* 3. Balayage lumineux sur le bouton Call-To-Action (.btn-glow) */
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: rotate(25deg);
    animation: ctaShimmerSweep 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ctaShimmerSweep {
    0%, 72% { left: -70%; opacity: 0; }
    73%     { opacity: 1; }
    100%    { left: 140%; opacity: 0; }
}

/* 4. Apparition fluide au défilement (Scroll Reveal) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 5. Micro-interactions tactiles */
.btn:active {
    transform: scale(0.97) !important;
}
.mock-tab:active {
    transform: scale(0.96);
}
.feature-card {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}
.price-card {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card:hover {
    transform: translateY(-5px);
}

/* ─── 6. Flottement Staggeré des Badges CMS (plat-badge) ─────────────────── */
@keyframes platBadgeFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-5px); }
}

.plat-badge:nth-child(1) { animation: platBadgeFloat 4.2s ease-in-out infinite 0.0s; }
.plat-badge:nth-child(2) { animation: platBadgeFloat 4.2s ease-in-out infinite 0.5s; }
.plat-badge:nth-child(3) { animation: platBadgeFloat 4.2s ease-in-out infinite 1.0s; }
.plat-badge:nth-child(4) { animation: platBadgeFloat 4.2s ease-in-out infinite 1.5s; }

/* ─── 7. Lueur Pulsante sur les Icônes Feature au Survol ───────────────────── */
@keyframes featureIconGlowPulse {
    0%   { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70%  { box-shadow: 0 0 0 12px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
.feature-card:hover .feature-icon {
    animation: featureIconGlowPulse 1.2s ease-out infinite;
    transform: scale(1.1) rotate(4deg);
}

/* ─── 8. Gradient Animé sur le Title H1 Hero ─────────────────────────────── */
@keyframes heroGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-content h1 span {
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #0284c7, #4f46e5);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroGradientShift 6s ease infinite;
}

/* ─── 9. Pulsation Radar sur le Badge Hero (live dot) ─────────────────────── */
@keyframes radarRing {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2.8); opacity: 0; }
}
.badge-pulse-dot {
    position: relative;
}
.badge-pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.5);
    animation: radarRing 2s ease-out infinite;
    pointer-events: none;
}

/* ─── 10. Numéros d'Étapes Pulsants ───────────────────────────────────────── */
@keyframes stepNumberPop {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4); }
    50%       { transform: scale(1.15); box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6); }
}
.step-card:nth-child(1) .step-number { animation: stepNumberPop 3.5s ease-in-out infinite 0.0s; }
.step-card:nth-child(3) .step-number { animation: stepNumberPop 3.5s ease-in-out infinite 0.6s; }
.step-card:nth-child(5) .step-number { animation: stepNumberPop 3.5s ease-in-out infinite 1.2s; }

/* ─── 11. Ripple Effect au Click sur Boutons ──────────────────────────────── */
.btn-ripple-active::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.25);
    animation: rippleEffect 0.45s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleEffect {
    0%   { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ─── 12. Entrée Staggerée de la Grille Features (CSS Delay) ─────────────── */
.features-grid .feature-card:nth-child(1) { transition-delay: 0ms; }
.features-grid .feature-card:nth-child(2) { transition-delay: 80ms; }
.features-grid .feature-card:nth-child(3) { transition-delay: 160ms; }
.features-grid .feature-card:nth-child(4) { transition-delay: 240ms; }
.features-grid .feature-card:nth-child(5) { transition-delay: 320ms; }
.features-grid .feature-card:nth-child(6) { transition-delay: 400ms; }

/* Stagger pricing cards */
.pricing-cards-grid .price-card:nth-child(1) { transition-delay: 0ms; }
.pricing-cards-grid .price-card:nth-child(2) { transition-delay: 100ms; }
.pricing-cards-grid .price-card:nth-child(3) { transition-delay: 200ms; }
.pricing-cards-grid .price-card:nth-child(4) { transition-delay: 300ms; }

/* ─── 13. Glow Doux sur FAQ Item Actif ────────────────────────────────────── */
@keyframes faqActiveGlow {
    0%, 100% { box-shadow: 0 8px 26px -4px rgba(99, 102, 241, 0.12); }
    50%       { box-shadow: 0 8px 26px -4px rgba(99, 102, 241, 0.22); }
}
.faq-accordion-item.active {
    animation: faqActiveGlow 3s ease-in-out infinite;
}

/* ─── 14. Ticker sans overflow horizontal ─────────────────────────────────── */
.landing-ticker-wrap {
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* ─── 15. Pulsation Continue sur Pricing Card Populaire ─────────────────────── */
@keyframes popularCardPulse {
    0%, 100% { box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.20); }
    50%       { box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.35); }
}
.price-card.popular {
    animation: popularCardPulse 4s ease-in-out infinite;
}
.price-card.popular:hover {
    animation: none;
}

/* ─── 16. Section Tag Shimmer ──────────────────────────────────────────────── */
@keyframes sectionTagShimmer {
    0%, 100% { opacity: 1; letter-spacing: 0.1em; }
    50%       { opacity: 0.75; letter-spacing: 0.14em; }
}
.section-tag {
    animation: sectionTagShimmer 4s ease-in-out infinite;
}

/* ─── 17. Survol Icône Feature avec Couleur Amplifiée ────────────────────────  */
.feature-card:hover .feature-icon.purple { background: rgba(99, 102, 241, 0.18); }
.feature-card:hover .feature-icon.cyan   { background: rgba(2, 132, 199, 0.18); }
.feature-card:hover .feature-icon.gold   { background: rgba(217, 119, 6, 0.18); }
.feature-card:hover .feature-icon.blue   { background: rgba(37, 99, 235, 0.18); }
.feature-card:hover .feature-icon.rose   { background: rgba(225, 29, 72, 0.18); }

/* ─── 18. Live Progress Bar Pulse ─────────────────────────────────────────── */
@keyframes progressPulseGlow {
    0%, 100% { box-shadow: none; }
    50%       { box-shadow: 0 0 8px rgba(79, 70, 229, 0.6); }
}
.live-progress-bar {
    animation: progressFill 3s ease-in-out infinite alternate, progressPulseGlow 2s ease-in-out infinite;
}

/* ─── 19. Row Animation Stagger dans le Mockup Table ──────────────────────── */
@keyframes mockRowSlideIn {
    0%   { opacity: 0; transform: translateX(-8px); }
    100% { opacity: 1; transform: translateX(0); }
}
.mock-row.row-anim:nth-child(2) { animation: mockRowSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.mock-row.row-anim:nth-child(3) { animation: mockRowSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.70s both; }
.mock-row.row-anim:nth-child(4) { animation: mockRowSlideIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both; }

/* ─── 20. Orbes Ambiants : déjà définis, on optimise mobile ──────────────── */
.feature-icon.purple { background: rgba(99, 102, 241, 0.1); color: #4f46e5; }
.feature-icon.cyan   { background: rgba(2, 132, 199, 0.1); color: #0284c7; }
.feature-icon.gold   { background: rgba(217, 119, 6, 0.1); color: #d97706; }
.feature-icon.blue   { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.feature-icon.rose   { background: rgba(225, 29, 72, 0.1); color: #e11d48; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: var(--font-h);
}
.feature-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* ── Step Cards with Connecting Pulse ───────────────────────── */
.steps-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}
.step-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 26px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}
.step-number {
    position: absolute;
    top: -15px;
    left: 24px;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}
.step-icon {
    width: 62px;
    height: 62px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}
.step-card:hover .step-icon {
    transform: scale(1.12);
    background: rgba(79, 70, 229, 0.14);
}
.step-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: var(--font-h);
}
.step-card p {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.6;
}
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 22px;
    padding: 0 10px;
    animation: arrowNudge 2.5s ease-in-out infinite;
}
@keyframes arrowNudge {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(5px); color: var(--primary); }
}

/* ── Pricing Section ("Tarifs & Forfaits") ───────────────────── */
.pricing-container {
    max-width: 1240px;
    margin: 0 auto;
}
.pricing-header-wrap {
    text-align: center;
    margin-bottom: 48px;
}
.pricing-header-wrap h2 {
    font-size: 36px;
    font-weight: 850;
    letter-spacing: -0.8px;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 12px;
    font-family: var(--font-h);
}
.pricing-header-wrap p {
    font-size: 16px;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
}
.pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    background: #f1f5f9;
    padding: 6px 18px;
    border-radius: 9999px;
    border: 1px solid var(--border);
}
.toggle-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.discount-badge {
    background: #10b981;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 9999px;
    letter-spacing: 0.04em;
}
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .25s var(--ease-out);
    border-radius: 34px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .25s var(--ease-out);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
input:checked + .slider {
    background-color: var(--primary);
}
input:checked + .slider:before {
    transform: translateX(20px);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}
.price-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}
.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px -8px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}
.price-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
    z-index: 2;
}
.price-card.popular:hover {
    transform: scale(1.03) translateY(-6px);
    box-shadow: 0 24px 48px -10px rgba(99, 102, 241, 0.28);
}
.popular-ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    white-space: nowrap;
}
.price-card.lifetime {
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    border-color: #c084fc;
}
.price-card.lifetime:hover {
    border-color: #a855f7;
    box-shadow: 0 18px 36px -8px rgba(168, 85, 247, 0.18);
}

.plan-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 22px;
    margin-bottom: 22px;
}
.plan-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    font-family: var(--font-h);
}
.plan-desc {
    font-size: 13px;
    color: var(--muted);
    min-height: 38px;
    line-height: 1.45;
}
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 14px;
}
.plan-price .currency {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}
.plan-price .amount {
    font-size: 40px;
    font-weight: 850;
    letter-spacing: -1px;
    color: #0f172a;
    font-family: var(--font-h);
}
.plan-price .period {
    font-size: 13.5px;
    color: var(--muted);
    font-weight: 600;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text);
    line-height: 1.45;
}
.plan-features li i.fa-check {
    color: #10b981;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}
.plan-features li i.fa-xmark {
    color: #94a3b8;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}
.plan-features li.disabled {
    color: #94a3b8;
    text-decoration: line-through;
    opacity: 0.7;
}

.btn-plan-select {
    width: 100%;
    margin-top: auto;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}
.btn-plan-select:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}
.btn-plan-select.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}
.btn-plan-select.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}
.btn-plan-select.btn-lifetime {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}
.btn-plan-select.btn-lifetime:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7e22ce 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
    transform: translateY(-2px);
}

/* ── Interactive Smooth FAQ Accordion ───────────────────────── */
.faq-accordion-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-accordion-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
}
.faq-accordion-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}
.faq-accordion-item.active {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 8px 26px -4px rgba(99, 102, 241, 0.12);
}
.faq-accordion-btn {
    width: 100%;
    padding: 22px 26px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    transition: color 0.18s ease;
}
.faq-accordion-btn:hover {
    color: var(--primary);
}
.faq-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}
.faq-icon-q {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}
.faq-chevron {
    font-size: 14px;
    color: var(--muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
}
.faq-accordion-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 26px;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.3s ease;
}
.faq-accordion-item.active .faq-accordion-content {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    padding: 0 26px 24px;
}
.faq-accordion-content p {
    margin: 0;
    font-size: 14.5px;
    color: var(--text-body);
    line-height: 1.7;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

/* ── Accessibility: Reduced Motion Support ───────────────────── */
@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;
    }
    .mockup-scan-beam,
    .ambient-orb,
    .badge-pulse-dot,
    .live-dot-pulse,
    .live-progress-bar,
    .landing-ticker {
        animation: none !important;
    }
}

/* ── Footer ─────────────────────────────────────────────────── */
.landing-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 64px 24px 32px;
    border-top: 1px solid #1e293b;
}
.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr;
    gap: 40px;
}
.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-brand .brand h2 {
    color: #ffffff;
}
.footer-brand .brand p {
    color: #64748b;
}
.footer-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 360px;
}
.footer-links h4,
.footer-security h4,
.footer-legal h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    font-family: var(--font-h);
}
.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a,
.footer-legal a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    cursor: pointer;
    transition: color 0.2s var(--ease-out);
}
.footer-links a:hover,
.footer-legal a:hover {
    color: #38bdf8;
}
.security-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.security-badges span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #cbd5e1;
}
.security-badges span i {
    color: #38bdf8;
}
.footer-bottom {
    max-width: 1240px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
}
.footer-bottom-links {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
}
.footer-bottom-links a {
    color: #94a3b8;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════
   CENTRE JURIDIQUE & CONFORMITÉ LÉGALE (Legal Documentation Hub)
═══════════════════════════════════════════════════════════════════ */
.legal-modal-box {
    max-width: 980px;
    width: 95vw;
    max-height: 90vh;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4);
    overflow: hidden;
}
.legal-modal-header {
    padding: 22px 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    position: relative;
    border-bottom: 1px solid #334155;
    flex-shrink: 0;
}
.legal-modal-header h2 {
    font-size: 20px;
    font-weight: 850;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-family: var(--font-h);
}
.legal-modal-header h2 i {
    color: #38bdf8;
}
.legal-header-sub {
    font-size: 12.5px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.legal-compliance-badge {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.legal-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: scale(1.08);
}

/* Legal Segmented Tabs */
.legal-tabs-bar {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px;
    gap: 8px;
    overflow-x: auto;
    flex-shrink: 0;
}
.legal-tab-btn {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s var(--ease-out);
    font-family: var(--font-h);
}
.legal-tab-btn:hover {
    color: var(--text);
    background: rgba(241, 245, 249, 0.85);
}
.legal-tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    border-color: var(--border);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Legal Body Scrollable */
.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px 32px;
    max-height: calc(90vh - 180px);
    line-height: 1.7;
    color: #334155;
    background: #ffffff;
}
.legal-tab-pane {
    display: none;
}
.legal-tab-pane.active {
    display: block;
    animation: fadeIn 0.22s ease;
}
.legal-pane-title {
    font-size: 22px;
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 6px;
    font-family: var(--font-h);
}
.legal-pane-meta {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.legal-article {
    margin-bottom: 26px;
}
.legal-article h4 {
    font-size: 15.5px;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 10px;
    font-family: var(--font-h);
    display: flex;
    align-items: center;
    gap: 8px;
}
.legal-article p {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 10px;
    line-height: 1.65;
}
.legal-article ul {
    margin: 8px 0 12px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13.5px;
    color: #475569;
}
.legal-notice-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.legal-notice-box.warning {
    background: #fffbeb;
    border-color: #fde68a;
}
.legal-notice-box.info {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.legal-notice-box i {
    font-size: 17px;
    margin-top: 2px;
    flex-shrink: 0;
}
.legal-notice-box.info i { color: #2563eb; }
.legal-notice-box.warning i { color: #d97706; }
.legal-notice-box.success i { color: #059669; }
.legal-notice-box p {
    margin: 0;
    font-size: 12.5px;
    color: #1e293b;
    line-height: 1.55;
}

/* Legal Footer */
.legal-modal-footer {
    padding: 14px 28px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.legal-footer-info {
    font-size: 12px;
    color: var(--muted);
}
.legal-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Responsive Mobile ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .pricing-cards-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-hero { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-kpis-grid { grid-template-columns: repeat(2, 1fr); }
    .price-card.popular, .pricing-card.featured { transform: none; }
    .price-card.popular:hover, .pricing-card.featured:hover { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .main-content { margin-left: 0; padding: 20px 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-cards-grid, .pricing-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-container { flex-direction: column; gap: 24px; }
    .step-arrow { transform: rotate(90deg); margin: -4px 0; }
    .faq-grid { grid-template-columns: 1fr; }
    .landing-nav-links { display: none; }
    .checkout-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Category Selection & Discovery ─────────── */
.category-config-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-top: 6px;
}
.category-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.category-header-row label {
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.category-header-row label i {
    color: var(--primary);
}
.btn-xs-detect {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--text) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-xs-detect:hover {
    background: #f1f5f9 !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}
.btn-xs-detect i {
    color: var(--cyan);
}
.category-inputs-flex {
    display: flex;
    gap: 10px;
    align-items: center;
}
.category-select-control {
    flex: 2;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text) !important;
}
.category-custom-field {
    flex: 1;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
    font-size: 12.5px !important;
    color: var(--text) !important;
}
.category-status-hint {
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 5px;
    min-height: 16px;
}

/* ── DUAL PAYMENT GATEWAYS (STRIPE + PAYSTACK) ───────────────── */
.payment-tabs-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.payment-tab-btn {
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.payment-tab-btn:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}
.payment-tab-btn.active {
    border-color: var(--primary);
    background: #f8faff;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.14);
}
.pay-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}
.pay-tab-badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary);
}
.pay-badge-africa {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}
.pay-tab-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}
.payment-tab-btn strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.payment-tab-btn small {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.4;
}
.momo-pill {
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 4px;
}
.momo-wave {
    background: #1da1f2;
    color: #ffffff;
}
.momo-om {
    background: #ff7900;
    color: #ffffff;
}
.momo-mtn {
    background: #ffcc00;
    color: #000000;
}
.gateway-info-box {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.gateway-info-box i {
    font-size: 18px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.btn-manage-sub {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.btn-manage-sub:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

/* ═══════════════════════════════════════════════════════════════
   OPTIMISATIONS MOBILES & TIROIR DE NAVIGATION RESPONSIVE (2026)
   ═══════════════════════════════════════════════════════════════ */

/* Header Mobile Burger & Close Buttons */
.top-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-mobile-burger {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-mobile-burger:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
}

.sidebar-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.btn-close-sidebar {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-close-sidebar:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: #ef4444;
}

/* Mobile Sidebar Backdrop */
.mobile-sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 1;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-sidebar-backdrop.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Landing Page Mobile Toggle */
.btn-landing-mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-landing-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   SÉCURITÉ SUPER-ADMIN & ALERTES
   ═══════════════════════════════════════════════════════════════ */
.security-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.5;
}

.security-alert-box.warning {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.security-alert-box.warning .alert-icon {
    color: #dc2626;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.security-alert-box code {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-family: monospace;
}

.badge-tag-green {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.security-table th {
    background: #f8fafc;
    padding: 8px 12px;
    font-size: 11.5px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.security-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-light);
    font-size: 12px;
}

.security-status-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.security-status-pill.success {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.security-status-pill.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.security-status-pill.locked {
    background: #dc2626;
    color: #ffffff;
    animation: pulse 1.5s infinite;
}

/* ═══════════════════════════════════════════════════════════════
   TIROIR MOBILE DÉROULANT ET NAVIGATION VITRINE (LANDING)
   ═══════════════════════════════════════════════════════════════ */
.landing-mobile-bar-actions {
    display: none;
}

.landing-mobile-drawer {
    display: none;
}

.btn-mobile-quick-app {
    padding: 6px 13px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* ═══════════════════════════════════════════════════════════════
   OPTIMISATION MOBILE TOTALE (≤ 768px TABLETTES & MOBILES)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Fluidité totale : aucun débordement horizontal possible */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
    }

    /* Barre de navigation landing mobile */
    .landing-navbar {
        padding: 10px 0 !important;
    }
    .landing-nav-container {
        padding: 0 16px !important;
        width: 100% !important;
    }
    .landing-nav-links {
        display: none !important;
    }
    .landing-nav-actions {
        display: none !important;
    }
    .landing-mobile-bar-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .btn-landing-mobile-toggle {
        display: inline-flex !important;
        background: #f1f5f9 !important;
        border: 1px solid var(--border) !important;
        color: var(--text) !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        font-size: 16px !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
    }
    .btn-landing-mobile-toggle:hover {
        background: #e2e8f0 !important;
    }

    /* Tiroir Déroulant Plein Écran Élégant */
    .landing-mobile-drawer {
        display: flex !important;
        position: fixed !important;
        top: 61px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: calc(100vh - 61px) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 20px 16px 28px !important;
        z-index: 998 !important;
        transform: translateY(-105%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .landing-navbar.mobile-menu-active .landing-mobile-drawer {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .drawer-nav-item {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        padding: 14px 16px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 12px !important;
        font-size: 15.5px !important;
        font-weight: 600 !important;
        color: var(--text) !important;
        text-decoration: none !important;
        margin-bottom: 10px !important;
        transition: all 0.15s ease !important;
    }
    .drawer-nav-item i {
        color: var(--primary) !important;
        font-size: 18px !important;
        width: 24px !important;
        text-align: center !important;
    }
    .drawer-nav-item:active {
        background: #f1f5f9 !important;
        transform: scale(0.98) !important;
    }

    .drawer-footer-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 20px !important;
        padding-top: 18px !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .lang-selector-drawer {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: var(--text) !important;
    }

    .btn-block {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 18px !important;
        font-size: 14.5px !important;
        border-radius: 10px !important;
    }

    /* Hero Section Mobile */
    .landing-hero {
        grid-template-columns: 1fr !important;
        padding: 32px 16px 44px !important;
        gap: 36px !important;
    }
    .hero-badge {
        font-size: 11.5px !important;
        padding: 6px 12px !important;
        margin-bottom: 16px !important;
    }
    .hero-content h1 {
        font-size: 27px !important;
        line-height: 1.22 !important;
        letter-spacing: -0.6px !important;
        margin-bottom: 14px !important;
    }
    .hero-content h1 br {
        display: none !important;
    }
    .hero-sub {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 24px !important;
    }
    .hero-cta-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 28px !important;
    }
    .hero-cta-group .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
    .hero-platforms {
        align-items: center !important;
        text-align: center !important;
    }
    .platform-badges {
        justify-content: center !important;
        gap: 8px !important;
    }
    .plat-badge {
        padding: 6px 10px !important;
        font-size: 11.5px !important;
    }

    /* Mockup Preview Mobile */
    .preview-mockup-window {
        border-radius: 16px !important;
        box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12) !important;
    }
    .mockup-header {
        padding: 10px 12px !important;
        gap: 8px !important;
    }
    .window-dots {
        display: none !important;
    }
    .mockup-url-bar {
        font-size: 10.5px !important;
        padding: 4px 10px !important;
        max-width: 100% !important;
    }
    .mockup-tag span {
        display: none !important;
    }
    .mockup-tag {
        padding: 4px 8px !important;
    }
    .mockup-platform-tabs {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .mockup-platform-tabs::-webkit-scrollbar {
        display: none !important;
    }
    .mock-tab {
        font-size: 11px !important;
        padding: 7px 10px !important;
        white-space: nowrap !important;
    }
    .mockup-body {
        padding: 14px 12px !important;
    }
    .mockup-live-indicator {
        padding: 8px 10px !important;
        gap: 8px !important;
    }
    .live-status-text {
        font-size: 10.5px !important;
    }
    .live-count-badge {
        font-size: 10.5px !important;
        padding: 2px 6px !important;
    }
    .mockup-stat-row {
        gap: 6px !important;
    }
    .mock-stat {
        padding: 8px 4px !important;
    }
    .mock-stat .num {
        font-size: 15px !important;
    }
    .mock-stat .lbl {
        font-size: 9px !important;
    }
    .mock-row {
        grid-template-columns: 24px 1fr auto !important;
        padding: 6px 8px !important;
        font-size: 11.5px !important;
        gap: 8px !important;
    }
    .mock-row.header span:nth-child(4),
    .mock-row .mock-badge {
        display: none !important;
    }
    .mock-row .mock-title {
        font-size: 11.5px !important;
    }
    .mock-row .mock-price {
        font-size: 11.5px !important;
    }

    /* Sections Padding & Headers */
    .landing-section {
        padding: 48px 16px !important;
    }
    .section-header {
        margin-bottom: 32px !important;
    }
    .section-header h2 {
        font-size: 24px !important;
        line-height: 1.25 !important;
    }
    .section-header p {
        font-size: 13.5px !important;
    }
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .feature-card {
        padding: 20px 18px !important;
    }
    .pricing-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .price-card {
        padding: 24px 20px !important;
    }
    .steps-container {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .step-card {
        padding: 22px 18px !important;
    }
    .step-arrow {
        transform: rotate(90deg) !important;
        margin: -6px auto !important;
    }

    /* Application Dashboard sur Mobile */
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        z-index: 1000 !important;
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: none;
    }
    .sidebar.mobile-open {
        transform: translateX(0) !important;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.55) !important;
    }
    .main-content {
        margin-left: 0 !important;
        padding: 16px 12px 32px !important;
        width: 100% !important;
    }
    .top-header {
        padding: 12px 14px !important;
        border-radius: 12px !important;
        margin-bottom: 16px !important;
    }
    .top-header-left {
        gap: 10px !important;
    }
    .header-title h1 {
        font-size: 18px !important;
    }
    .header-title p {
        font-size: 11.5px !important;
    }
    .metrics-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .metric-card {
        padding: 14px 12px !important;
    }
    .metric-val {
        font-size: 18px !important;
    }
    .export-buttons-group {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .export-buttons-group .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Entrées de formulaire : Prévention du zoom auto sur iPhone (iOS Safari) */
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Tableaux : Défilement tactile fluide */
    .table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 8px;
    }

    /* Modales en plein écran / pleine largeur */
    .modal-content {
        width: 95% !important;
        max-width: 100% !important;
        padding: 20px 16px !important;
        margin: 10px auto !important;
    }

    /* Grilles Admin sur mobile */
    .form-grid-2 {
        grid-template-columns: 1fr !important;
    }
    .admin-kpis-grid {
        grid-template-columns: 1fr !important;
    }
    .payment-tabs-selector {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   OPTIMISATION ULTRA-COMPACTE (≤ 480px PETITS SMARTPHONES)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .brand-text h2 {
        font-size: 18px;
    }
    .header-title h1 {
        font-size: 18px;
    }
    .header-title p {
        font-size: 12px;
    }
    .btn {
        padding: 10px 14px;
        font-size: 13.5px;
    }
    .hero-content h1 {
        font-size: 25px !important;
    }
    .mockup-stat-row {
        flex-direction: row !important;
    }
}



/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS MOBILE : OPTIMISATIONS GPU ET PERFORMANCE
   Désactiver les effets lourds sur smartphone pour 60fps fluide
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Désactiver flottement du mockup sur mobile (trop lourd) */
    .preview-mockup-window {
        animation: none !important;
        will-change: auto !important;
    }

    /* Orbes ambiants : réduire drastiquement le blur pour 60fps */
    .ambient-orb {
        filter: blur(30px) !important;
        opacity: 0.35 !important;
    }
    .orb-primary {
        width: 200px !important;
        height: 200px !important;
    }
    .orb-cyan {
        width: 180px !important;
        height: 180px !important;
    }
    .orb-purple {
        width: 160px !important;
        height: 160px !important;
    }

    /* Badges CMS : désactiver le float staggeré sur mobile */
    .plat-badge:nth-child(1),
    .plat-badge:nth-child(2),
    .plat-badge:nth-child(3),
    .plat-badge:nth-child(4) {
        animation: none !important;
    }

    /* Section tag : animation légère uniquement */
    .section-tag {
        animation: none !important;
    }

    /* Popular card : pas de pulse sur mobile */
    .price-card.popular {
        animation: none !important;
    }

    /* Step number pop : désactiver sur mobile */
    .step-card:nth-child(1) .step-number,
    .step-card:nth-child(3) .step-number,
    .step-card:nth-child(5) .step-number {
        animation: none !important;
    }

    /* FAQ active glow : désactiver sur mobile */
    .faq-accordion-item.active {
        animation: none !important;
    }

    /* Gradient hero title : statique sur mobile pour perf */
    .hero-content h1 span {
        animation: none !important;
        background-position: 0% 50% !important;
    }

    /* Laser scan beam : conserver mais simplifié */
    .mockup-scan-beam {
        animation: laserScan 5s ease-in-out infinite !important;
    }

    /* Assurer que le hero visual ne monte pas trop */
    .hero-visual-preview {
        margin-top: 0 !important;
    }

    /* Transition hover cards : désactiver transformations lourdes */
    .feature-card:hover {
        transform: none !important;
    }
    .step-card:hover {
        transform: none !important;
    }
    .price-card:hover {
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   BOUTONS POSITION RELATIVE pour ripple effect JS
   ═══════════════════════════════════════════════════════════════ */
.btn {
    position: relative;
    overflow: hidden;
}
