/**
 * Cart Recovery — Feuille de style principale
 */

/* ═══════════════════════════════════════════
   TOKENS & RESET
═══════════════════════════════════════════ */
:root {
    --bg:         #07070f;
    --bg-alt:     #0b0b18;
    --card:       #121222;
    --card2:      #161628;
    --border:     #1e1e32;
    --border-soft:#161628;

    --blue:       #4f8ef7;
    --blue-dim:   rgba(79,142,247,.10);
    --teal:       #00c9a7;
    --teal-dim:   rgba(0,201,167,.08);
    --gold:       #f5c842;
    --gold-dim:   rgba(245,200,66,.07);
    --red:        #ff5e6c;
    --red-dim:    rgba(255,94,108,.08);
    --purple:     #a78bfa;
    --purple-dim: rgba(167,139,250,.08);

    --text:       #e4e4f4;
    --text-soft:  #8888a8;
    --text-dim:   #44445a;
    --accent:     #4f8ef7;

    --font:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Syne', var(--font);
    --font-mono:    'DM Mono', monospace;

    --nav-h:    64px;
    --ease:     cubic-bezier(.4, 0, .2, 1);
    --dur:      .4s;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,.35);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.5);
}

[data-theme="light"] {
    --bg:         #f5f6fa;
    --bg-alt:     #ebedf5;
    --card:       #ffffff;
    --card2:      #f0f1f8;
    --border:     #d8dae5;
    --border-soft:#e2e4ee;

    --blue-dim:   rgba(79,142,247,.08);
    --teal-dim:   rgba(0,201,167,.06);
    --gold-dim:   rgba(245,200,66,.08);
    --red-dim:    rgba(255,94,108,.06);
    --purple-dim: rgba(167,139,250,.06);

    --text:       #1a1a2e;
    --text-soft:  #5a5a78;
    --text-dim:   #9898b0;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }


/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */
.wcr-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(7,7,15,.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.wcr-nav-inner {
    max-width: 1200px; margin: 0 auto;
    height: 100%; padding: 0 28px;
    display: flex; align-items: center; justify-content: space-between;
}
.wcr-logo {
    display: flex; align-items: center; gap: 10px;
}
.wcr-logo-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 12px var(--teal);
    flex-shrink: 0;
}
.wcr-logo-text {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 800;
    white-space: nowrap;
}
.wcr-nav-links {
    display: flex; gap: 6px;
}
.wcr-nav-link {
    padding: 6px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 500;
    color: var(--text-soft);
    transition: color var(--dur), background var(--dur);
}
.wcr-nav-link:hover { color: var(--text); background: var(--card); }
.wcr-nav-link.active { color: var(--accent); background: var(--blue-dim); }

.wcr-nav-actions {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}

/* Theme toggle */
.wcr-theme-switch { display: flex; align-items: center; cursor: pointer; }
.wcr-theme-switch input { display: none; }
.wcr-switch-track {
    width: 48px; height: 26px; border-radius: 13px;
    background: var(--card); border: 1px solid var(--border);
    position: relative;
    transition: background var(--dur), border-color var(--dur);
}
.wcr-switch-track:hover { border-color: var(--accent); }
.wcr-switch-thumb {
    position: absolute; top: 2px; left: 2px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s var(--ease);
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.wcr-switch-thumb i { font-size: 11px; color: #fff; position: absolute; transition: opacity .2s; }
.wcr-icon-dark  { opacity: 1; }
.wcr-icon-light { opacity: 0; }
.wcr-theme-switch input:checked + .wcr-switch-track .wcr-switch-thumb { transform: translateX(22px); }
.wcr-theme-switch input:checked + .wcr-switch-track .wcr-icon-dark  { opacity: 0; }
.wcr-theme-switch input:checked + .wcr-switch-track .wcr-icon-light { opacity: 1; }

/* Hamburger */
.wcr-hamburger {
    display: none; background: none; border: none;
    width: 28px; height: 20px; position: relative;
    flex-direction: column; justify-content: space-between;
}
.wcr-hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all .3s;
}

/* Mobile nav menu */
.wcr-nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 4px;
}

[data-theme="light"] .wcr-navbar  { background: rgba(245,246,250,.88); }
[data-theme="light"] .wcr-hamburger span { background: var(--text); }


/* ═══════════════════════════════════════════
   PAGE & SECTIONS
═══════════════════════════════════════════ */
.wcr-main { padding-top: var(--nav-h); }

.wcr-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 40px;
    scroll-margin-top: var(--nav-h);
}
.wcr-section:nth-child(even) { background: var(--bg-alt); }
.wcr-section-inner { width: 100%; max-width: 1000px; }

.wcr-section-hero {
    min-height: calc(100vh - var(--nav-h));
    padding: 80px 40px;
}
#slide-footer { padding: 60px 40px; }


/* ═══════════════════════════════════════════
   CONTENU DES SECTIONS
═══════════════════════════════════════════ */
.slide-content  { width: 100%; }
.slide-centered { text-align: center; }
.slide-header   { margin-bottom: 28px; }

.slide-title {
    font-family: var(--font-display);
    font-size: 32px; font-weight: 800;
    line-height: 1.2; margin-bottom: 14px;
}
.slide-desc {
    color: var(--text-soft);
    font-size: 15px; line-height: 1.7;
    margin-bottom: 28px;
    max-width: 600px;
}
.slide-centered .slide-desc { margin-left: auto; margin-right: auto; }

/* Hero */
.slide-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge   { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-title   { font-family: var(--font-display); font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero-gradient {
    background: linear-gradient(135deg, var(--accent), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="light"] .hero-gradient {
    background: linear-gradient(135deg, #3570d4, #009b82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc         { font-size: 16px; line-height: 1.7; color: var(--text-soft); margin-bottom: 28px; }
.hero-desc strong  { color: var(--text); }
.hero-actions      { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust        { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item   { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-dim); }
.hero-trust-item i { font-size: 14px; }

.hero-visual  { display: flex; justify-content: center; }
.hero-mockup  {
    width: 100%; max-width: 400px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: mockup-float 6s ease-in-out infinite;
}
@keyframes mockup-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
.mockup-bar  { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.mockup-dot  { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot.red  { background: var(--red); }
.mockup-dot.gold { background: var(--gold); }
.mockup-dot.teal { background: var(--teal); }
.mockup-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px 16px; }
.mockup-stat { text-align: center; }
.mockup-stat-icon  { font-size: 22px; margin-bottom: 8px; }
.mockup-stat-val   { font-family: var(--font-display); font-size: 28px; font-weight: 800; }
.mockup-stat-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }


/* ═══════════════════════════════════════════
   COMPOSANTS
═══════════════════════════════════════════ */

/* Boutons */
.wcr-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    border: none; cursor: pointer;
    transition: all .25s var(--ease);
    text-decoration: none;
}
.wcr-btn-sm  { padding: 7px 16px; font-size: 12px; border-radius: 8px; }
.wcr-btn-lg  { padding: 14px 32px; font-size: 15px; border-radius: 12px; }
.wcr-btn-primary { background: var(--accent); color: #fff; }
.wcr-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(79,142,247,.3); }
.wcr-btn-ghost { background: transparent; color: var(--text-soft); border: 1px solid var(--border); }
.wcr-btn-ghost:hover { border-color: var(--text-soft); color: var(--text); }
.wcr-btn-teal { background: var(--teal); color: #fff; }
.wcr-btn-teal:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,201,167,.3); }

/* Badges */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .3px; text-transform: uppercase;
}
.badge-xs     { padding: 2px 8px; font-size: 10px; }
.badge-teal   { background: var(--teal-dim);   color: var(--teal); }
.badge-blue   { background: var(--blue-dim);   color: var(--blue); }
.badge-gold   { background: var(--gold-dim);   color: var(--gold); }
.badge-red    { background: var(--red-dim);    color: var(--red); }
.badge-purple { background: var(--purple-dim); color: var(--purple); }
.badge-dim    { background: rgba(255,255,255,.05); color: var(--text-dim); }

/* Feature cards */
.features-list    { display: flex; flex-direction: column; gap: 14px; }
.features-compact { gap: 10px; }
.features-compact .feature-card { padding: 14px; }
.feature-card {
    display: flex; align-items: flex-start; gap: 16px;
    background: var(--card); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px;
    transition: border-color .25s, transform .25s;
}
.feature-card:hover { border-color: rgba(79,142,247,.3); transform: translateY(-2px); }
.feature-icon  { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.feature-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.feature-desc  { font-size: 13px; color: var(--text-soft); line-height: 1.6; }

/* Channel cards */
.channels-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 12px;
}
.channel-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 20px; text-align: center;
    transition: border-color .3s, transform .3s;
}
.channel-card:hover { transform: translateY(-4px); }
.channel-whatsapp:hover { border-color: var(--teal); }
.channel-sms:hover      { border-color: var(--blue); }
.channel-email:hover    { border-color: var(--gold); }
.channel-icon          { font-size: 36px; margin-bottom: 14px; }
.channel-whatsapp .channel-icon { color: var(--teal); }
.channel-sms .channel-icon      { color: var(--blue); }
.channel-email .channel-icon    { color: var(--gold); }
.channel-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.channel-stat { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.channel-desc { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 14px; }

/* Problem cards */
.problem-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin: 28px 0;
}
.problem-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; padding: 28px 20px; text-align: center;
    transition: border-color .3s, transform .3s;
}
.problem-card:hover  { border-color: var(--red); transform: translateY(-3px); }
.problem-number { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.problem-label  { font-size: 13px; color: var(--text-soft); line-height: 1.5; }

/* Dashboard mockup */
.dash-mockup {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
}
.dash-topbar       { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.dash-topbar-dot   { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.dash-topbar-title { font-size: 12px; color: var(--text-dim); font-weight: 500; }
.dash-kpis  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 16px; }
.dash-kpi   { text-align: center; padding: 12px 8px; }
.dash-kpi i { font-size: 18px; margin-bottom: 6px; }
.dash-kpi-val   { font-family: var(--font-display); font-size: 22px; font-weight: 800; display: block; }
.dash-kpi-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.dash-table-preview { padding: 0 16px 16px; }
.dash-row {
    display: grid; grid-template-columns: 1fr 1fr 1fr 40px;
    align-items: center; gap: 8px;
    padding: 10px 12px; border-radius: 8px; font-size: 12px;
}
.dash-row-header { font-weight: 600; font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border); border-radius: 0; }
.dash-row:not(.dash-row-header):hover { background: var(--blue-dim); }

/* Pricing */
.pricing-card {
    background: var(--card); border: 2px solid var(--accent);
    border-radius: 24px; padding: 40px 36px;
    max-width: 520px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.pricing-card::before { content: ''; position: absolute; top: -80px; right: -80px; width: 200px; height: 200px; background: var(--accent); opacity: .04; border-radius: 50%; }
.pricing-header   { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 4px; }
.pricing-price    { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: var(--accent); }
.pricing-period   { font-size: 18px; color: var(--text-soft); }
.pricing-subtitle { font-size: 13px; color: var(--text-dim); text-align: center; margin-bottom: 28px; }
.pricing-features { text-align: left; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feat     { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pricing-feat i   { color: var(--teal); font-size: 13px; width: 20px; text-align: center; }
.pricing-trial    { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; background: var(--teal-dim); border-radius: 12px; font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 24px; }
.pricing-cta      { width: 100%; justify-content: center; }

/* Footer */
.slide-footer-wrap { width: 100%; }
.wcr-page-footer   { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; border-top: 1px solid var(--border); background: var(--bg-alt); border-radius: 16px; }
.wcr-page-footer-inner { padding: 32px 28px 24px; }
.wcr-footer-top    { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.wcr-footer-logo   { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wcr-footer-name   { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.wcr-footer-tagline { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.wcr-footer-heading { font-size: 11px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
.wcr-footer-col    { display: flex; flex-direction: column; gap: 8px; }
.wcr-footer-col a  { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-soft); transition: color .2s; }
.wcr-footer-col a:hover { color: var(--accent); }
.wcr-footer-col a i { font-size: 11px; width: 14px; text-align: center; }
.wcr-footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: var(--text-dim); }
.wcr-footer-sep    { color: var(--border); }
.wcr-footer-bottom a { color: var(--accent); font-weight: 600; transition: opacity .2s; }
.wcr-footer-bottom a:hover { opacity: .8; }


/* ═══════════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Navbar */
    .wcr-nav-links  { display: none; }
    .wcr-hamburger  { display: flex; }
    .wcr-nav-inner  { padding: 0 14px; }
    .wcr-logo-text  { font-size: 15px; }
    .wcr-nav-actions .wcr-btn-sm { padding: 6px 12px; font-size: 11px; }

    /* Sections */
    .wcr-section      { padding: 64px 20px; }
    .wcr-section-hero { padding: 48px 20px; min-height: calc(100svh - var(--nav-h)); }
    #slide-footer     { padding: 40px 16px; }

    /* Hero */
    .slide-hero   { grid-template-columns: 1fr; gap: 24px; text-align: center; overflow: hidden; }
    .hero-content { max-width: 100%; overflow: hidden; }
    .hero-title   { font-size: 26px; word-break: break-word; overflow-wrap: break-word; }
    .hero-desc    { font-size: 14px; margin-bottom: 20px; word-break: break-word; overflow-wrap: break-word; }
    .hero-actions { justify-content: center; flex-direction: column; align-items: center; gap: 10px; }
    .hero-actions .wcr-btn-primary { width: 100%; justify-content: center; padding: 14px 18px; font-size: 14px; }
    .hero-actions .wcr-btn-ghost   { width: auto; padding: 11px 22px; font-size: 13px; }
    .hero-trust      { justify-content: center; gap: 8px; flex-wrap: wrap; }
    .hero-trust-item { font-size: 11px; }
    .hero-trust-item i { font-size: 12px; }
    .hero-badge      { justify-content: center; }
    .hero-badge .badge { font-size: 10px; padding: 4px 10px; }
    .hero-visual     { display: none; }

    /* Contenu */
    .slide-title  { font-size: 22px; word-break: break-word; }
    .slide-desc   { font-size: 14px; word-break: break-word; }
    .slide-header { margin-bottom: 20px; }

    /* Cards */
    .channels-grid  { grid-template-columns: 1fr; gap: 12px; }
    .channel-card   { padding: 20px 16px; }
    .channel-icon   { font-size: 28px; margin-bottom: 10px; }
    .channel-name   { font-size: 16px; }
    .problem-grid   { grid-template-columns: 1fr; gap: 12px; }
    .problem-card   { padding: 20px 16px; }
    .problem-number { font-size: 32px; }
    .feature-card   { padding: 14px; gap: 12px; }
    .feature-icon   { width: 38px; height: 38px; font-size: 16px; border-radius: 10px; }
    .feature-title  { font-size: 13px; }
    .feature-desc   { font-size: 12px; }

    /* Dashboard */
    .dash-kpis    { grid-template-columns: repeat(2, 1fr); }
    .dash-kpi-val { font-size: 18px; }
    .dash-kpi i   { font-size: 16px; }
    .dash-row     { font-size: 11px; gap: 4px; padding: 8px 10px; }

    /* Pricing */
    .pricing-card     { padding: 24px 16px; }
    .pricing-price    { font-size: 36px; }
    .pricing-period   { font-size: 16px; }
    .pricing-subtitle { font-size: 12px; margin-bottom: 20px; }
    .pricing-feat     { font-size: 13px; }
    .pricing-trial    { padding: 10px 14px; font-size: 12px; }

    /* Footer */
    .wcr-footer-top        { grid-template-columns: 1fr; gap: 20px; text-align: center; margin-bottom: 20px; }
    .wcr-footer-logo       { justify-content: center; }
    .wcr-footer-col        { align-items: center; }
    .wcr-page-footer       { border-radius: 12px 12px 0 0; padding: 0 12px; }
    .wcr-page-footer-inner { padding: 20px 12px 16px; }
}


/* ═══════════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Navbar */
    .wcr-nav-actions .wcr-btn { display: none; }
    .wcr-logo-text { font-size: 14px; }

    /* Sections */
    .wcr-section      { padding: 48px 16px; }
    .wcr-section-hero { padding: 32px 16px; }

    /* Hero */
    .hero-title      { font-size: 30px !important; }
    .hero-desc       { font-size: 15px !important; }
    .hero-trust      { flex-wrap: wrap; justify-content: center; gap: 6px; }
    .hero-trust-item { font-size: 10px; gap: 5px; }

    /* Contenu */
    .slide-title { font-size: 20px; }
    .slide-desc  { font-size: 13px; }

    /* Dashboard */
    .dash-kpis          { grid-template-columns: repeat(2, 1fr); padding: 10px; }
    .dash-kpi           { padding: 8px 4px; }
    .dash-kpi-val       { font-size: 16px; }
    .dash-table-preview { padding: 0 10px 10px; }
    .dash-row           { grid-template-columns: 1fr 1fr 1fr 30px; font-size: 10px; }

    /* Pricing */
    .pricing-price { font-size: 30px; }
    .pricing-card  { padding: 20px 14px; }
}
