/* ═══════════════════════════════════════════════════════════
   RETATRUTIDE — STYLES
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:       #0a0a14;
  --surface:  #12121f;
  --card:     #1a1a2e;
  --border:   rgba(255,255,255,0.08);
  --purple:   #8b5cf6;
  --purple-d: #7c3aed;
  --green:    #10b981;
  --cyan:     #22d3ee;
  --amber:    #f59e0b;
  --red:      #ef4444;
  --text:     #e2e8f0;
  --text-2:   #94a3b8;
  --text-3:   #64748b;
  --radius:   16px;
  --radius-s: 10px;
  --shadow:   0 4px 24px rgba(0,0,0,0.4);
  --p: 0;   /* scroll progress 0=fat → 1=thin */
  --badge-bg:     rgba(139,92,246,.15);
  --badge-border: rgba(139,92,246,.3);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: default;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 700; }
p  { line-height: 1.7; color: var(--text-2); }
.highlight {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.w-full { width: 100%; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 4px 24px rgba(139,92,246,.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,92,246,.65);
  filter: brightness(1.1);
}
.btn-primary:active { transform: translateY(0); }
.btn-xl { font-size: 1.2rem; padding: 18px 44px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid var(--purple);
  border-radius: 50px;
  color: var(--purple);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .2s;
}
.btn-outline:hover { background: var(--purple); color: #fff; }

/* ─── TOP BANNER ─────────────────────────────────────────── */
.top-banner {
  background: linear-gradient(90deg, var(--purple-d), #4f46e5);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: .02em;
  position: relative;
  z-index: 50;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(10,10,20,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform .3s, top .3s;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-icon { font-size: 1.5rem; }
.logo-accent { color: var(--purple); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-auth {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
}
.btn-auth:hover { border-color: var(--purple); color: var(--purple); }
.btn-cart {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.btn-cart:hover { border-color: var(--purple); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--purple);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.cart-badge.bump { transform: scale(1.4); }

/* ─── HERO SCROLL ────────────────────────────────────────── */
.hero-scroll {
  height: 220vh;
  position: relative;
}
.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 96px;
}
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: var(--purple); top: -200px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: var(--cyan); bottom: -200px; right: -100px; animation-delay: 3s; }
.orb-3 { width: 400px; height: 400px; background: var(--amber); top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: 6s; opacity: .08; }
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
@keyframes notif-pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.2); }
}
@keyframes notif-border-pulse {
  0%,100% { border-color: transparent; box-shadow: var(--shadow); }
  50%     { border-color: var(--purple); box-shadow: 0 0 32px rgba(139,92,246,.4); }
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-text { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-block;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--purple);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .03em;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; margin-bottom: 32px; }
.hero-cta-wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta { color: var(--text-3); font-size: .9rem; }
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-3);
  font-size: .85rem;
  animation: pulse-hint 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(5px); } }
@keyframes pulse-hint { 0%,100% { opacity:1; } 50% { opacity:.5; } }

/* ─── CHARACTER ──────────────────────────────────────────── */
.hero-character-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.weight-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 20px;
  font-family: 'Poppins', sans-serif;
}
.weight-icon { font-size: 1.4rem; }
.weight-num { font-size: 1.8rem; font-weight: 900; color: var(--text); line-height: 1; }
.weight-unit { font-size: .8rem; color: var(--text-2); }

.char-speech {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 0;
  padding: 10px 18px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  transition: all .3s;
  align-self: flex-start;
  margin-left: 40px;
}

/* THE CHARACTER */
.character {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 20px 50px rgba(139,92,246,.35));
  transition: filter .3s;
}

/* HEAD */
.char-head {
  width: 86px;
  height: 90px;
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(160deg, #FDBCB4, #F9A898);
  position: relative;
  z-index: 2;
  border: 2px solid rgba(0,0,0,.1);
}
.char-ear {
  position: absolute;
  top: 38%;
  width: 12px;
  height: 18px;
  background: #FDBCB4;
  border: 2px solid rgba(0,0,0,.1);
  border-radius: 50%;
}
.char-ear.left-ear  { left: -7px; }
.char-ear.right-ear { right: -7px; }
.char-hair {
  position: absolute;
  top: -5px;
  left: 10px;
  right: 10px;
  height: 38px;
  background: linear-gradient(160deg, #3D2314, #5C3317);
  border-radius: 50% 50% 0 0;
}
.char-face { position: absolute; inset: 0; }

.char-brows {
  position: absolute;
  top: 28%;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 18px;
}
.char-brow {
  width: 15px;
  height: 3px;
  background: #4A2C2A;
  border-radius: 3px;
  transition: transform .15s;
}
.char-brow:first-child { transform: rotate(calc(-12deg + var(--p) * 17deg)); }
.char-brow:last-child  { transform: rotate(calc(12deg  - var(--p) * 17deg)); }

.char-eyes {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0 16px;
}
.char-eye {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #2d2d2d;
  position: relative;
}
.char-pupil {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  right: 2px;
}

.char-nose {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 7px;
  border-radius: 0 0 8px 8px;
  border: 2px solid rgba(0,0,0,.18);
  border-top: none;
}

.char-mouth-wrap {
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 16px;
}
.char-frown, .char-smile {
  position: absolute;
  width: 28px;
  height: 14px;
  border: 3px solid #C07060;
  transition: opacity .2s;
}
.char-frown {
  border-radius: 0 0 14px 14px;
  border-top: none;
  top: 2px;
  transform: scaleY(-1);
  opacity: calc(1 - var(--p));
}
.char-smile {
  border-radius: 0 0 14px 14px;
  border-top: none;
  top: 0;
  opacity: var(--p);
}

.char-cheeks {
  position: absolute;
  bottom: 28%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
}
.char-cheek {
  width: 20px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255,130,130,.5);
  opacity: calc(1 - var(--p) * 1.5);
  transition: opacity .15s;
}
.char-sweat {
  position: absolute;
  right: 2px;
  top: 25%;
  width: 7px;
  height: 10px;
  background: #87CEEB;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  opacity: calc(1 - var(--p) * 2.5);
  transition: opacity .15s;
}

/* NECK */
.char-neck {
  width: calc(26px - 6px * var(--p));
  height: 14px;
  background: linear-gradient(180deg, #FDBCB4, #F0A898);
  border-left: 2px solid rgba(0,0,0,.08);
  border-right: 2px solid rgba(0,0,0,.08);
  border-radius: 3px;
  margin-top: -1px;
  z-index: 2;
  transition: width .08s;
}

/* TORSO */
.char-torso {
  display: flex;
  align-items: flex-start;
  margin-top: -4px;
}
.char-body {
  width: calc(148px - 64px * var(--p));
  height: calc(118px + 28px * var(--p));
  border-radius:
    calc(38% - 20% * var(--p))
    calc(38% - 20% * var(--p))
    calc(50% - 38% * var(--p))
    calc(50% - 38% * var(--p));
  background: linear-gradient(160deg, #8b5cf6 0%, #7c3aed 55%, #5b21b6 100%);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(109,40,217,.4);
  transition: width .08s, height .08s, border-radius .08s;
  overflow: hidden;
}
/* Bande de vêtement bas (pantalon) */
.char-body::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 32%;
  background: linear-gradient(180deg, #4c1d95, #3b0764);
  border-top: 1px solid rgba(255,255,255,.08);
}
/* Reflet haut */
.char-body::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 38%;
  background: rgba(255,255,255,.09);
  border-radius: inherit;
}
/* Ventre proéminent qui disparaît */
.char-belly {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: calc(90px - 90px * var(--p));
  height: calc(48px - 48px * var(--p));
  background: radial-gradient(ellipse at 50% 60%, #7c3aed, #6d28d9);
  border-radius: 50%;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.15);
  transition: width .08s, height .08s;
}

.char-arm {
  width: calc(26px - 8px * var(--p));
  height: calc(62px + 28px * var(--p));
  border-radius: 13px;
  background: linear-gradient(180deg, #FDBCB4, #F0A090);
  border: 2px solid rgba(0,0,0,.1);
  transition: width .08s, height .08s, transform .08s;
  margin-top: 10px;
  flex-shrink: 0;
}
.left-arm  { transform: rotate(calc(22deg  - var(--p) * 16deg)); margin-right: calc(-6px + 4px * var(--p)); }
.right-arm { transform: rotate(calc(-22deg + var(--p) * 16deg)); margin-left:  calc(-6px + 4px * var(--p)); }

/* LEGS */
.char-legs {
  display: flex;
  gap: calc(12px - 4px * var(--p));
  margin-top: -3px;
  z-index: 0;
}
.char-leg {
  width: calc(40px - 14px * var(--p));
  height: calc(58px + 32px * var(--p));
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #5b21b6, #4c1d95);
  border: 1px solid rgba(0,0,0,.1);
  transition: width .08s, height .08s;
}

/* FEET */
.char-feet {
  display: flex;
  gap: calc(14px - 4px * var(--p));
  margin-top: 2px;
}
.char-foot {
  width: calc(44px - 10px * var(--p));
  height: 18px;
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(180deg, #1e1e2e, #111);
  border: 1px solid rgba(255,255,255,.06);
  transition: width .08s;
}

/* SLIM PROGRESS BAR */
.slim-progress-wrap { width: 200px; text-align: center; }
.slim-bar {
  height: 8px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.slim-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 4px;
  transition: width .1s;
}
.slim-label { font-size: .85rem; color: var(--text-2); font-weight: 600; }

/* CHAR PARTICLES */
.char-particles {
  position: absolute;
  inset: -40px;
  pointer-events: none;
  overflow: visible;
}
.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-float 3s ease-in-out infinite;
  opacity: 0;
}
@keyframes particle-float {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(-80px) scale(0); opacity: 0; }
}

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, rgba(139,92,246,.15), rgba(34,211,238,.15));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.stat-item {
  flex: 1;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl { font-size: .85rem; color: var(--text-2); margin-top: 2px; }

/* ─── SECTIONS GENERIC ───────────────────────────────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-badge {
  display: inline-block;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--purple);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header p { margin-top: 12px; font-size: 1.1rem; }

/* ─── PRODUCTS ───────────────────────────────────────────── */
.products-section { max-width: 1200px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--product-color, var(--purple));
  opacity: 0;
  transition: opacity .3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  border-color: rgba(255,255,255,.15);
}
.product-card:hover::before { opacity: 1; }

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--product-color, var(--purple));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .04em;
}
.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--product-color-bg, rgba(139,92,246,.15));
}
.product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.product-desc {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}
.product-stock {
  font-size: .8rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.stock-dot.low { background: var(--amber); }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.product-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--text);
}
.product-price span { font-size: .9rem; color: var(--text-2); font-weight: 400; }
.btn-add-cart {
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(139,92,246,.4);
}
.btn-add-cart:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(139,92,246,.6); }
.btn-add-cart:active { transform: scale(.97); }

.product-skeleton {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 380px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
@keyframes skeleton-pulse {
  0%,100% { opacity: .5; }
  50%      { opacity: 1; }
}

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how-section { background: transparent; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform .3s;
}
.step-card:hover { transform: translateY(-4px); }
.step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(139,92,246,.12);
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}
.step-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.step-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.step-card p { font-size: .9rem; }

/* ─── WHY US ─────────────────────────────────────────────── */
.why-section {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.why-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-text .section-badge { margin-bottom: 16px; }
.why-text h2 { margin-bottom: 16px; }
.why-text p { margin-bottom: 28px; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.why-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.why-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16,185,129,.2);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 24px;
  transition: transform .3s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.feature-card h4 { margin-bottom: 8px; font-size: 1rem; }
.feature-card p { font-size: .85rem; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-section { background: transparent; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform .3s;
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card.featured {
  border-color: var(--purple);
  box-shadow: 0 0 32px rgba(139,92,246,.2);
}
.t-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--purple);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.t-stars { font-size: 1rem; }
.testimonial-card p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-card p::before { content: '"'; }
.testimonial-card p::after  { content: '"'; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.t-author strong { display: block; font-size: .95rem; }
.t-author span { color: var(--text-3); font-size: .82rem; }
.t-result {
  display: inline-block;
  background: rgba(16,185,129,.15);
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-top: 4px;
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-section { max-width: 800px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--purple); }
.faq-q {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--purple); }
.faq-q span {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--purple);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }

/* ─── CTA FINAL ──────────────────────────────────────────── */
.cta-final-section {
  background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(34,211,238,.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 24px;
  text-align: center;
}
.cta-final-content { max-width: 700px; margin: 0 auto; }
.cta-final-content h2 { margin-bottom: 16px; }
.cta-final-content p { margin-bottom: 36px; font-size: 1.1rem; }
.cta-guarantees {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 24px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: .9rem;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 24px 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-brand p { font-size: .9rem; max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: var(--text); font-size: .9rem; margin-bottom: 6px; }
.footer-links a { color: var(--text-3); font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--purple); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: var(--text-3); }

/* ─── STICKY BUY ─────────────────────────────────────────── */
.sticky-buy {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(139,92,246,.55);
  transform: translateY(100px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s;
  border: none;
  cursor: pointer;
}
.sticky-buy.visible { transform: translateY(0); opacity: 1; }
.sticky-buy.visible.near-footer { transform: translateY(100%); opacity: 0; pointer-events: none; }
.sticky-buy:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(139,92,246,.7); }

/* ─── CART SIDEBAR ───────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.overlay.active { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 95vw;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.15rem; }
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background .2s;
}
.cart-close:hover { background: var(--red); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-3); font-size: 1rem; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 14px;
}
.cart-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.cart-item-price { color: var(--text-2); font-size: .85rem; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.qty-btn:hover { background: var(--purple); border-color: var(--purple); }
.qty-num { font-weight: 700; font-size: .9rem; min-width: 20px; text-align: center; }
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.cart-note { text-align: center; font-size: .8rem; color: var(--text-3); }
.cart-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: .78rem;
  color: var(--text-3);
  padding-top: 2px;
}

/* ─── BARRE LIVRAISON GRATUITE ───────────────────────────── */
#shipping-bar {
  padding: 8px 16px 4px;
  border-top: 1px solid var(--border);
}
.shipping-bar-text {
  font-size: .8rem;
  color: var(--text-2);
  margin-bottom: 6px;
}
.shipping-track {
  height: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
}
.shipping-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--green));
  border-radius: 3px;
  transition: width .4s ease;
}

/* ─── MODALS ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-large { max-width: 640px; }
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.modal-close:hover { background: var(--red); }

.modal-tabs { display: flex; gap: 4px; margin-bottom: 28px; background: var(--card); padding: 4px; border-radius: 12px; }
.tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-2);
  transition: all .2s;
}
.tab-btn.active { background: var(--purple); color: #fff; }
.auth-form h3 { margin-bottom: 24px; }

/* FORMS */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--purple); }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-error { color: var(--red); font-size: .85rem; margin-bottom: 12px; min-height: 20px; }
.promo-wrap { display: flex; gap: 8px; }
.promo-wrap input { flex: 1; }

/* CHECKOUT SUMMARY */
.checkout-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 16px;
  margin-bottom: 16px;
  font-size: .9rem;
}
.checkout-summary .sum-item { display: flex; justify-content: space-between; padding: 6px 0; }
.checkout-summary .sum-total { font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 10px; }
.checkout-summary .sum-discount { color: var(--green); }

/* SUCCESS */
.success-step { text-align: center; padding: 20px 0; }
.success-icon { font-size: 4rem; margin-bottom: 16px; animation: success-bounce .6s cubic-bezier(.34,1.56,.64,1); }
@keyframes success-bounce { 0% { transform:scale(0); } 100% { transform:scale(1); } }
.success-step h3 { margin-bottom: 12px; }
.success-step p { margin-bottom: 24px; }
.order-id-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 24px;
  font-size: 1rem;
}

/* ─── TOAST ──────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  z-index: 2000;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: var(--green); }
.toast.error   { border-color: var(--red); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-container { gap: 8px; padding: 0 14px; }
  .nav-logo { font-size: 1.1rem; }
  .logo-icon { font-size: 1.15rem; }
  .nav-actions { gap: 8px; }
  .btn-auth { padding: 6px 12px; font-size: .8rem; }
  .btn-cart { width: 38px; height: 38px; }
  .hero-container { flex-direction: column; text-align: center; padding-top: 20px; gap: 28px; }
  .hero-text { order: 2; }
  .hero-character-wrap { order: 1; transform: scale(.82); transform-origin: top center; }
  .hero-cta-wrap { justify-content: center; }
  .scroll-hint { justify-content: center; }
  .why-container { grid-template-columns: 1fr; gap: 40px; }
  .why-features { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 72px 20px; }
}
@media (max-width: 600px) {
  .stats-bar { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .hero-scroll { height: 210vh; }
  /* Modales plein écran sur mobile */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    padding: 24px 16px 32px;
  }
  .modal-large { max-width: 100%; }
  /* Sticky buy full-width sur mobile */
  .sticky-buy {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
    font-size: .9rem;
    padding: 14px 16px;
    border-radius: 14px;
  }
  /* Cart sidebar */
  .cart-sidebar { width: 100%; max-width: 100%; }
  /* Products grid */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  /* Steps */
  .steps-grid { grid-template-columns: 1fr; }
  /* Why features */
  .why-features { grid-template-columns: 1fr; }
  /* Checkout stepper compact sur mobile — labels masqués, cercles seuls */
  .checkout-steps { gap: 4px; margin-bottom: 20px; justify-content: center; }
  .co-label { display: none; }
  .co-step { padding: 4px 8px; gap: 0; }
  .co-step span { width: 28px; height: 28px; font-size: .8rem; }
  .co-step-sep { font-size: .8rem; padding: 0 2px; }
  /* Hero */
  .hero-text h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-badge { font-size: .78rem; }
  /* Réduire espace vide hero */
  .hero-sticky { padding-top: 72px; }
  .hero-character-wrap { margin-top: -10px; }
  /* Cookie banner */
  .cookie-banner { flex-direction: column; gap: 10px; text-align: center; }
  .cookie-actions { justify-content: center; }
}
@media (max-width: 400px) {
  .nav-container { padding: 0 16px; }
  .btn-auth { padding: 7px 14px; font-size: .82rem; }
  .hero-character-wrap { transform: scale(.72); }
}

/* ─── CHECKOUT MULTI-STEP ────────────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: .82rem;
  font-weight: 600;
}
.co-step {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all .2s;
}
.co-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
}
.co-step.active { color: var(--purple); }
.co-step.active span { background: var(--purple); border-color: var(--purple); color: #fff; }
.co-step.done span { background: var(--green); border-color: var(--green); color: #fff; }
.co-step.done { color: var(--green); }
.co-step-sep { color: var(--text-3); font-size: .8rem; }

.co-back-btn {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.co-back-btn:hover { color: var(--purple); }

/* ─── PAYMENT METHODS ────────────────────────────────────── */
.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.pm-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all .2s;
}
.pm-card:hover { border-color: var(--purple); }
.pm-card.selected { border-color: var(--purple); background: rgba(139,92,246,.08); }
.pm-card-icon { font-size: 1.6rem; flex-shrink: 0; }
.pm-card-info { flex: 1; }
.pm-card-label { font-weight: 700; font-size: .95rem; }
.pm-card-desc { font-size: .8rem; color: var(--text-3); margin-top: 2px; }
.pm-card-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: transparent;
  transition: all .2s;
  flex-shrink: 0;
}
.pm-card.selected .pm-card-check { background: var(--purple); border-color: var(--purple); color: #fff; }

.payment-loading { text-align: center; padding: 20px; color: var(--text-3); font-size: .9rem; }

/* ─── PAYMENT DETAILS PANEL ──────────────────────────────── */
.payment-details-panel { margin-bottom: 16px; }
.payment-info-box {
  background: rgba(139,92,246,.06);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pib-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.pib-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.pib-row:last-of-type { border-bottom: none; }
.pib-row span { color: var(--text-2); flex-shrink: 0; }
.pib-row strong { text-align: right; word-break: break-all; }
.pib-note { font-size: .82rem; color: var(--text-2); font-style: italic; padding-top: 4px; }
.mono-text { font-family: 'Courier New', monospace; font-size: .85rem; letter-spacing: .02em; }

/* ─── CRYPTO SPECIFIC ────────────────────────────────────── */
.crypto-addr-wrap { display: flex; align-items: center; gap: 8px; }
.crypto-addr { word-break: break-all; font-size: .8rem; }
.copy-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: .9rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}
.copy-btn:hover { background: var(--purple); }
.crypto-amount-val { font-size: 1.1rem; font-weight: 800; color: var(--cyan); }
.crypto-verified {
  background: rgba(16,185,129,.12);
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.payment-pending-info {
  background: rgba(245,158,11,.1);
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .9rem;
  margin-bottom: 16px;
}

/* ─── HAMBURGER NAV ──────────────────────────────────────── */
.nav-hamburger {
  display: none; /* affiché via media queries ci-dessous */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background .2s;
}
.nav-hamburger:hover { background: var(--card); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Visible sur mobile/tablette — placé APRÈS la définition de base pour override correct */
@media (max-width: 900px) { .nav-hamburger { display: flex; } }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
}
.mobile-nav-overlay.active { display: flex; }

.mobile-nav-panel {
  width: min(300px, 85vw);
  height: 100%;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: slideInLeft .25s ease;
}
@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.mobile-nav-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.mobile-nav-link {
  display: block;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background .15s, color .15s;
}
.mobile-nav-link:hover { background: var(--card); color: var(--purple); }

/* ─── USER MENU POPUP ────────────────────────────────────── */
.user-menu-popup {
  position: fixed;
  top: 70px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  z-index: 9999;
  min-width: 200px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  animation: fadeInDown .15s ease;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.user-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.user-menu-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-d));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.user-menu-name { font-weight: 700; font-size: .9rem; }
.user-menu-email { color: var(--text-3); font-size: .78rem; }
.user-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background .15s;
}
.user-menu-item:hover { background: var(--card); }
.user-menu-item.admin { color: var(--purple); }
.user-menu-item.danger { color: var(--red); }
.user-menu-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ─── MY ORDERS MODAL ────────────────────────────────────── */
.order-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: border-color .2s;
}
.order-card:hover { border-color: rgba(139,92,246,.35); }
.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.order-card-id { font-weight: 800; font-size: .95rem; margin-right: 10px; }
.order-card-date { color: var(--text-3); font-size: .8rem; }
.order-status-badge {
  font-size: .76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.st-pending  { background: rgba(245,158,11,.15); color: var(--amber); }
.st-wait     { background: rgba(139,92,246,.15); color: var(--purple); }
.st-confirmed{ background: rgba(34,211,238,.15); color: var(--cyan); }
.st-shipped  { background: rgba(139,92,246,.2);  color: var(--purple); }
.st-delivered{ background: rgba(16,185,129,.15); color: var(--green); }
.st-cancelled{ background: rgba(239,68,68,.15);  color: var(--red); }
.order-card-items { border-top: 1px solid var(--border); padding-top: 10px; margin-bottom: 10px; }
.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: 3px 0;
  color: var(--text-2);
}
.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  font-size: .85rem;
}
.order-promo-tag { color: var(--green); font-size: .8rem; }
.order-tracking  { color: var(--cyan); font-size: .8rem; }
.order-card-total { font-weight: 700; margin-left: auto; }
.orders-empty, .orders-loading {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-3);
  font-size: 1rem;
}

/* ─── COOKIE BANNER ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 3000;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { font-size: .88rem; color: var(--text-2); margin: 0; flex: 1; min-width: 200px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-outline-sm {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-size: .85rem;
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-outline-sm:hover { border-color: var(--purple); color: var(--text); }
.btn-cookie-accept {
  padding: 8px 20px;
  background: var(--purple);
  color: #fff;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: filter .2s;
}
.btn-cookie-accept:hover { filter: brightness(1.15); }

/* ─── SECTION REVEAL ANIMATION ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.step-card.reveal  { transition-delay: calc(var(--i, 0) * 0.1s); }
.feature-card.reveal { transition-delay: calc(var(--i, 0) * 0.08s); }
.testimonial-card.reveal { transition-delay: calc(var(--i, 0) * 0.1s); }

/* ─── PRODUCT CARD IMPROVEMENTS ─────────────────────────── */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 30px var(--product-color-bg);
  border-color: var(--product-color) !important;
}

/* ─── IMPROVED TOAST ─────────────────────────────────────── */
.toast {
  transition: opacity .3s, transform .3s, bottom .3s;
}
.toast.show {
  animation: toastIn .3s ease forwards;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── CHAT WIDGET ────────────────────────────────────────── */
#chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(139,92,246,.5);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  flex-shrink: 0;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(139,92,246,.7); }
.chat-fab-icon { font-size: 1.5rem; }
.chat-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: notif-pulse 1.5s ease-in-out infinite;
}
.chat-panel {
  width: 340px;
  max-height: 480px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.chat-panel.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  flex-shrink: 0;
}
.chat-panel-close {
  background: none;
  border: none;
  color: var(--text-2);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1;
}
.chat-panel-close:hover { background: rgba(255,255,255,.07); color: var(--text); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }
.chat-welcome {
  text-align: center;
  color: var(--text-2);
  font-size: .88rem;
  padding: 24px 8px;
}
.chat-bubble {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.4;
  word-break: break-word;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--purple);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.admin {
  align-self: flex-start;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-bubble-time {
  font-size: .7rem;
  opacity: .55;
  margin-top: 3px;
  text-align: right;
}
.chat-bubble.admin .chat-bubble-time { text-align: left; }
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--text);
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
}
.chat-input:focus { border-color: var(--purple); }
.chat-input::placeholder { color: var(--text-3); }
.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s, transform .1s;
  flex-shrink: 0;
}
.chat-send-btn:hover { background: var(--purple-d); transform: scale(1.06); }
.chat-login-prompt {
  padding: 20px 16px;
  text-align: center;
  color: var(--text-2);
  font-size: .88rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  #chat-widget { bottom: 16px; right: 16px; }
  .chat-panel { width: calc(100vw - 32px); max-height: 70vh; }
}
