/* ==========================================================
   WebBoost — design system (noir & violet)
   ========================================================== */
:root {
  --bg: #07060d;
  --bg-2: #0d0b18;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(167, 139, 250, 0.35);
  --text: #f4f2fb;
  --muted: #a49fbd;
  --faint: #6f6a88;
  --violet: #8b5cf6;
  --violet-2: #a855f7;
  --violet-3: #6d28d9;
  --pink: #e879f9;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --grad: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #e879f9 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(232, 121, 249, 0.08));
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px rgba(167, 139, 250, 0.25), 0 12px 50px -10px rgba(139, 92, 246, 0.45);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh;
  display: flex; flex-direction: column; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(168, 85, 247, 0.08), transparent 60%);
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
::selection { background: rgba(168, 85, 247, 0.4); }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.8em 1.4em; border-radius: 999px; border: 1px solid var(--border);
  background: var(--b); cursor: pointer; font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 30px -8px rgba(168, 85, 247, 0.7); background-size: 150% 150%; }
.btn-primary:hover { box-shadow: 0 12px 40px -6px rgba(168, 85, 247, 0.85); background-position: 100% 0; }
.btn-ghost { background: transparent; }
.btn-danger { background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.3); color: #fecaca; }
.btn-sm { padding: 0.5em 0.95em; font-size: 0.85rem; }
.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn .spinner { width: 1em; height: 1em; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(7, 6, 13, 0.7); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(7, 6, 13, 0.88); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 6px 24px -4px rgba(168, 85, 247, 0.7); position: relative;
}
.logo-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; gap: 6px; margin-right: auto; }
.nav-links a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.2s, background 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.icon-btn:hover { border-color: var(--border-strong); background: var(--surface-2); }
.icon-btn .badge {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--grad); font-size: 0.7rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg);
}
.menu-toggle { display: none; }
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 340px; max-height: 440px; overflow: auto;
  background: #120f20; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 8px;
  opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none; transition: 0.2s var(--ease);
}
.dropdown.open .dropdown-panel { opacity: 1; transform: none; pointer-events: auto; }
.dropdown-panel a, .dropdown-panel button.item {
  display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; text-align: left; cursor: pointer; color: var(--text); font-size: 0.93rem;
}
.dropdown-panel a:hover, .dropdown-panel button.item:hover { background: var(--surface-2); }
.dropdown-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-weight: 700; }
.notif { display: block !important; }
.notif.unread { background: rgba(139, 92, 246, 0.1); }
.notif strong { display: block; font-size: 0.9rem; }
.notif span { color: var(--muted); font-size: 0.83rem; display: block; }
.notif time { color: var(--faint); font-size: 0.75rem; }
.user-chip { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; flex: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(139, 92, 246, 0.08); font-size: 0.85rem; color: #ddd6fe; margin-bottom: 24px;
}
.eyebrow b { background: var(--grad); padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.6rem; font-weight: 800; }
.hero-trust span { color: var(--muted); font-size: 0.88rem; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; z-index: -1; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 480px; height: 480px; background: #6d28d9; top: -120px; right: -100px; }
.blob.b2 { width: 360px; height: 360px; background: #c026d3; bottom: -160px; left: 20%; opacity: 0.3; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 30px) scale(1.08); } }

.hero-visual { position: relative; height: 460px; }
.floating-card {
  position: absolute; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong);
  box-shadow: var(--glow); background: var(--bg-2); animation: bob 7s ease-in-out infinite;
}
.floating-card img { width: 100%; height: 100%; object-fit: cover; }
.floating-card.c1 { width: 62%; aspect-ratio: 4/3; top: 0; right: 0; }
.floating-card.c2 { width: 52%; aspect-ratio: 4/3; bottom: 10px; left: 0; animation-delay: -2.5s; }
.floating-pill {
  position: absolute; left: 30%; top: 46%; padding: 12px 16px; border-radius: 16px; background: rgba(18, 15, 32, 0.9);
  border: 1px solid var(--border-strong); backdrop-filter: blur(10px); display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; animation-delay: -1s; z-index: 2;
}
.floating-pill .dot { width: 38px; height: 38px; border-radius: 12px; background: rgba(52, 211, 153, 0.15); display: grid; place-items: center; color: var(--success); }
.floating-pill strong { display: block; font-size: 0.92rem; }
.floating-pill span { font-size: 0.8rem; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin: 0; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 540px; }
.kicker { color: var(--violet-2); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; display: block; }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(192, 132, 252, 0.6), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s;
}
.card.glow:hover::before { opacity: 1; }
.card.glow:hover { border-color: rgba(167, 139, 250, 0.2); box-shadow: 0 20px 60px -25px rgba(139, 92, 246, 0.6); }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; gap: 14px; padding: 22px; }
.cat-card:hover { transform: translateY(-4px); }
.cat-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-strong); color: #e9d5ff; }
.cat-card h3 { font-size: 1.02rem; margin: 0; }
.cat-card p { color: var(--muted); font-size: 0.86rem; margin: 0; }
.cat-card .count { font-size: 0.78rem; color: var(--violet-2); font-weight: 600; margin-top: auto; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); }
.product-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 14px; left: 14px; padding: 4px 11px; border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  background: rgba(7, 6, 13, 0.75); backdrop-filter: blur(8px); border: 1px solid var(--border);
}
.product-tag.right { left: auto; right: 14px; background: var(--grad); border: 0; }
.product-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 1.1rem; margin: 0; }
.product-body p { color: var(--muted); font-size: 0.9rem; margin: 0; flex: 1; }
.product-meta { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product-meta li { font-size: 0.75rem; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: #d6d0ea; }
.product-cat { font-size: 0.78rem; color: var(--violet-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.price { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.stars { color: #fbbf24; letter-spacing: 1px; font-size: 0.9rem; }
.stars .off { color: #3f3a55; }
.rating-line { display: flex; gap: 6px; align-items: center; font-size: 0.82rem; color: var(--muted); }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit h3 { font-size: 1.08rem; margin: 18px 0 8px; }
.benefit p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Testimonials */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card blockquote { margin: 14px 0 18px; color: #ddd8ef; font-size: 0.98rem; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author small { display: block; color: var(--muted); }
.verified { display: inline-flex; gap: 5px; align-items: center; color: var(--success); font-size: 0.78rem; font-weight: 600; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 48px; text-align: center;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.5), rgba(192, 38, 211, 0.25)), var(--bg-2);
  border: 1px solid var(--border-strong);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.cta-band p { color: #ddd6fe; max-width: 560px; margin: 0 auto 28px; }

/* Empty state */
.empty { text-align: center; padding: 50px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--muted); }
.empty h3 { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 64px 0 28px; background: linear-gradient(180deg, transparent, rgba(109, 40, 217, 0.06)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #cfcae3; font-size: 0.93rem; transition: color 0.2s; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: 0.85rem; }
.pay-badges { display: flex; gap: 8px; align-items: center; }
.pay-badges span { padding: 4px 10px; border-radius: 6px; border: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); }

/* ---------- Page header ---------- */
.page-hero { padding: 70px 0 40px; position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: var(--faint); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- Shop ---------- */
.shop-toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.search { position: relative; flex: 1; min-width: 240px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); width: 18px; height: 18px; }
.search input { padding-left: 46px !important; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 0.9rem; color: var(--muted); transition: 0.2s; }
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; }
.chip span { opacity: 0.7; margin-left: 4px; font-size: 0.8rem; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.88rem; font-weight: 600; color: #d8d3ea; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04); outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a49fbd' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select.input option { background: #120f20; }
textarea.input { min-height: 130px; resize: vertical; }
.input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.18); background: rgba(255, 255, 255, 0.06); }
.input::placeholder { color: var(--faint); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--violet); width: 16px; height: 16px; flex: none; }
.check a { color: #c4b5fd; text-decoration: underline; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3); color: #fecaca; padding: 12px 14px; border-radius: 12px; font-size: 0.9rem; margin-bottom: 16px; }
.form-success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: #a7f3d0; padding: 12px 14px; border-radius: 12px; font-size: 0.9rem; margin-bottom: 16px; }
.pw-meter { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.3s; }

/* Auth */
.auth-wrap { display: grid; place-items: center; padding: 70px 20px; }
.auth-card { width: min(460px, 100%); padding: 40px; }
.auth-card h1 { font-size: 1.9rem; }
.auth-card .switch { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 20px; }
.auth-card .switch a { color: #c4b5fd; font-weight: 600; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: start; }
.product-gallery { position: sticky; top: 100px; display: grid; gap: 12px; }
.gallery-main { border-radius: 26px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--glow); aspect-ratio: 4/3; background: var(--bg-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn 0.35s var(--ease); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--bg-2); aspect-ratio: 4/3; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumb.active { opacity: 1; border-color: var(--violet-2); }
@keyframes fadeIn { from { opacity: 0.4; } to { opacity: 1; } }
.includes-box { margin: 22px 0 6px; padding: 18px 20px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--border-strong); }
.includes-box h3 { display: flex; gap: 10px; align-items: center; font-size: 1rem; margin: 0 0 12px; }
.includes-box h3 svg { color: #c4b5fd; }
.includes-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.includes-box li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: #e4def5; }
.includes-box li svg { color: var(--success); flex: none; margin-top: 3px; width: 16px; height: 16px; }
.product-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.product-info .price { font-size: 2.2rem; }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: #ddd8ef; }
.feature-list svg { color: var(--success); margin-top: 3px; }
.buy-box { padding: 24px; margin: 24px 0; }
.buy-box .btn { width: 100%; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reviews-list { display: grid; gap: 14px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 1.8rem; color: #3f3a55; cursor: pointer; transition: color 0.15s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #fbbf24; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 30px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 16px; }
.cart-item img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; }
.cart-item h3 { font-size: 1.05rem; margin: 0 0 4px; }
.summary { position: sticky; top: 100px; padding: 28px; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--muted); }
.summary-line.total { color: var(--text); font-size: 1.3rem; font-weight: 800; padding-top: 14px; border-top: 1px solid var(--border); margin-top: 6px; }
.summary-line.discount { color: var(--success); }
.promo-row { display: flex; gap: 8px; margin: 18px 0; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--faint); font-size: 0.8rem; margin-top: 14px; }

/* ---------- Dashboard (account / admin) ---------- */
.dash { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding: 40px 0 20px; align-items: start; }
.dash-nav { position: sticky; top: 96px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.dash-nav button {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 0; background: none;
  cursor: pointer; color: var(--muted); font-weight: 500; text-align: left; transition: 0.2s;
}
.dash-nav button:hover { background: var(--surface-2); color: var(--text); }
.dash-nav button.active { background: var(--grad-soft); color: #fff; box-shadow: inset 0 0 0 1px var(--border-strong); }
.dash-nav .count { margin-left: auto; background: var(--grad); color: #fff; border-radius: 999px; font-size: 0.72rem; padding: 1px 8px; }
.dash-user { display: flex; gap: 12px; align-items: center; padding: 8px 8px 16px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.dash-user strong { display: block; font-size: 0.95rem; }
.dash-user small { color: var(--muted); font-size: 0.8rem; word-break: break-all; }
.dash-panel h2 { font-size: 1.6rem; margin-bottom: 6px; }
.dash-panel > .muted { margin-bottom: 26px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat { padding: 22px; }
.stat span { color: var(--muted); font-size: 0.85rem; }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 6px; }
.stat small { color: var(--faint); font-size: 0.8rem; }
.chart { height: 220px; display: flex; align-items: flex-end; gap: 4px; padding-top: 10px; }
.chart .bar { flex: 1; background: var(--grad); border-radius: 6px 6px 2px 2px; min-height: 3px; opacity: 0.85; position: relative; transition: opacity 0.2s; }
.chart .bar:hover { opacity: 1; }
.chart .bar:hover::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #1c1730; border: 1px solid var(--border); padding: 5px 9px; border-radius: 8px; font-size: 0.75rem; white-space: nowrap; z-index: 2;
}
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(255,255,255,0.02); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
td .thumb { width: 52px; height: 39px; border-radius: 8px; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-pending { background: rgba(251, 191, 36, 0.12); color: #fcd34d; }
.s-paid, .s-processing { background: rgba(96, 165, 250, 0.12); color: #93c5fd; }
.s-delivered, .s-succeeded, .s-active { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; }
.s-cancelled, .s-banned, .s-inactive { background: rgba(248, 113, 113, 0.12); color: #fca5a5; }
.s-refunded { background: rgba(167, 139, 250, 0.14); color: #c4b5fd; }
.s-admin { background: rgba(232, 121, 249, 0.14); color: #f0abfc; }
.s-new { background: rgba(139, 92, 246, 0.18); color: #ddd6fe; }
.inline-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.panel-toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; }

.order-card { padding: 20px; margin-bottom: 14px; }
.order-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.order-items { display: grid; gap: 10px; }
.order-item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255,255,255,0.02); }
.order-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.order-item .grow { flex: 1; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(4, 3, 10, 0.75); backdrop-filter: blur(6px); z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity 0.2s; }
.modal-backdrop.show { opacity: 1; }
.modal { width: min(640px, 100%); max-height: 90vh; overflow: auto; background: #110e1e; border: 1px solid var(--border-strong); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); transform: translateY(10px) scale(0.98); transition: transform 0.25s var(--ease); }
.modal-backdrop.show .modal { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-head h3 { margin: 0; font-size: 1.3rem; }

/* Toast */
.toasts { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; gap: 12px; align-items: center; min-width: 280px; max-width: 400px; padding: 14px 18px; border-radius: 14px;
  background: #16122a; border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 0.92rem;
  animation: toastIn 0.35s var(--ease);
}
.toast.error { border-color: rgba(248, 113, 113, 0.45); }
.toast.success { border-color: rgba(52, 211, 153, 0.45); }
.toast .t-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; background: rgba(139,92,246,0.2); }
.toast.error .t-ico { background: rgba(248,113,113,0.18); color: var(--danger); }
.toast.success .t-ico { background: rgba(52,211,153,0.18); color: var(--success); }
.toast.out { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* Legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: #cfcae3; }
.legal .notice { padding: 16px 18px; border-radius: 14px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); color: #fde68a; font-size: 0.92rem; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.03), rgba(255,255,255,0.08), rgba(255,255,255,0.03)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav-links a { padding: 8px 10px; font-size: 0.9rem; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 70px 0 60px; }
  .hero-inner, .product-detail, .cart-layout, .two-col { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash { grid-template-columns: 1fr; }
  .dash-nav { position: static; flex-direction: row; overflow-x: auto; }
  .dash-nav .dash-user { display: none; }
  .dash-nav button { white-space: nowrap; }
  .product-gallery, .summary { position: static; }
  .menu-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; padding: 16px 20px 24px; gap: 4px;
    background: rgba(7, 6, 13, 0.97); border-bottom: 1px solid var(--border); transform: translateY(-120%); transition: transform 0.35s var(--ease); z-index: -1;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 14px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 28px); }
  .section { padding: 64px 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid, .stat-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .nav-actions .btn-label { display: none; }
  .user-chip .name { display: none; }
  .user-chip { padding: 4px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item > :last-child { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .auth-card { padding: 28px 22px; }
  .cta-band { padding: 44px 22px; }
  .dropdown-panel { position: fixed; left: 12px; right: 12px; top: 80px; width: auto; }
  .toasts { left: 14px; right: 14px; bottom: 14px; }
  .toast { min-width: 0; max-width: none; }
  .hero-visual { height: 280px; }
  .buy-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Downloads (customer area) ---------- */
.dl-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.dl-summary > div { padding: 16px 18px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--border-strong); }
.dl-summary strong { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.dl-summary span { color: var(--muted); font-size: 0.85rem; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.dl-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.dl-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.dl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.dl-card:hover .dl-media img { transform: scale(1.04); }
.dl-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dl-body h3 { margin: 0; font-size: 1.08rem; }
.dl-body > p { margin: 0; }
.dl-includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; flex: 1; }
.dl-includes li { display: flex; gap: 8px; font-size: 0.86rem; color: #d9d3ec; }
.dl-includes svg { width: 15px; height: 15px; color: var(--success); flex: none; margin-top: 3px; }
.dl-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 0.8rem; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.dl-meta span:first-child { display: flex; gap: 6px; align-items: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-meta svg { width: 14px; height: 14px; flex: none; }
.dl-btn { width: 100%; padding-top: 0.95em; padding-bottom: 0.95em; font-size: 1rem; }
.dl-foot { margin: 0; text-align: center; font-size: 0.76rem; color: var(--faint); }
.dl-help { margin-top: 22px; padding: 22px 24px; }
.dl-help h3 { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; font-size: 1.05rem; }
.dl-help h3 svg { color: #c4b5fd; }
.dl-help ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; color: #ddd8ef; }
@media (max-width: 640px) { .dl-summary { grid-template-columns: 1fr; } }
.dl-meta span:last-child { white-space: nowrap; flex: none; }
.dash-user > div { min-width: 0; }
.dash-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Home: hero previews, steps, FAQ ---------- */
.floating-card.c1 { width: 64%; top: 0; right: 0; }
.floating-card.c2 { width: 54%; bottom: 0; left: 0; animation-delay: -2.5s; }
.floating-card.c3 { width: 34%; aspect-ratio: 4/3; bottom: 30px; right: 4%; animation-delay: -4s; z-index: 1; }
.floating-pill { left: 6%; top: 40%; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; position: relative; }
.step-n { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 18px; box-shadow: 0 8px 24px -8px rgba(168, 85, 247, 0.7); }
.step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }
.faq-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin: 0 0 12px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 0 20px; transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #c4b5fd; font-size: 1.3rem; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 900px) { .steps, .faq-wrap { grid-template-columns: 1fr; } .floating-card.c3 { display: none; } }
@media (max-width: 600px) {
  .nav-actions a.btn-ghost[href="/connexion.html"] .btn-label { display: inline; }
  .nav-actions a.btn-ghost[href="/connexion.html"] { padding-left: 0.9em; padding-right: 0.9em; }
}
@media (max-width: 360px) { .nav-actions a.btn-ghost[href="/connexion.html"] { display: none; } }
@media (max-width: 600px) { .nav-actions a[href="/inscription.html"] { display: none; } }
