/* ===== Self-hosted Fonts (latin subset) ===== */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/DM-Sans-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/DM-Sans-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/DM-Sans-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/DM-Sans-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/JetBrains-Mono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/JetBrains-Mono-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/JetBrains-Mono-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Outfit-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Outfit-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/Outfit-900.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-void: #060C14;
  --bg-deep: #0A0E1C;
  --bg-card: #0D1526;
  --bg-glass: rgba(255,255,255,0.04);
  --primary: #2D8CFF;
  --secondary: #00D2AA;
  --accent: #00D2AA;
  --success: #00D2AA;
  --danger: #FF3D71;
  --warning: #FFB300;
  --text-primary: #F5F8FF;
  --text-muted: #7B9CC8;
  --border: rgba(45,140,255,0.2);
  --border-light: rgba(0,210,170,0.35);
  --glow-primary: rgba(45,140,255,0.4);
  --glow-cyan: rgba(0,210,170,0.35);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ORBES */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  will-change: transform;
}
.orb-1 {
  width: 700px; height: 700px;
  top: -200px; left: -150px;
  background: radial-gradient(circle, rgba(45,140,255,0.35) 0%, transparent 70%);
  }
.orb-2 {
  width: 500px; height: 500px;
  top: 30%; right: -100px;
  background: radial-gradient(circle, rgba(0,210,170,0.25) 0%, transparent 70%);
  }
.orb-3 {
  width: 400px; height: 400px;
  bottom: 10%; left: 30%;
  background: radial-gradient(circle, rgba(45,140,255,0.2) 0%, transparent 70%);
  
}

@keyframes floatA { from { transform: translate(0,0); } to { transform: translate(30px,-40px); } }
@keyframes floatB { from { transform: translate(0,0); } to { transform: translate(-20px,20px); } }
@keyframes floatC { from { transform: translate(0,0); } to { transform: translate(25px,-30px); } }
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
@keyframes scanMove { from { transform: translateY(0); } to { transform: translateY(100px); } }
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-120px) translateX(30px); opacity: 0; }
}
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes shake {
  0%,100%{transform:translateX(0)} 20%{transform:translateX(-8px)} 40%{transform:translateX(8px)}
  60%{transform:translateX(-4px)} 80%{transform:translateX(4px)}
}
@keyframes rotateBorder {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}
@keyframes notifSlide {
  0%   { transform: translateX(calc(100% + 40px)); opacity:0; }
  10%  { transform: translateX(0); opacity:1; }
  80%  { transform: translateX(0); opacity:1; }
  90%  { transform: translateX(calc(100% + 40px)); opacity:0; }
  100% { transform: translateX(calc(100% + 40px)); opacity:0; }
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px var(--glow-primary); }
  50% { box-shadow: 0 0 50px var(--glow-primary), 0 0 80px var(--glow-cyan); }
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 10px rgba(45,140,255,0.5), 0 0 20px rgba(0,210,170,0.2); }
  50% { box-shadow: 0 0 25px rgba(45,140,255,0.8), 0 0 50px rgba(0,210,170,0.4); }
}

/* REVEAL */
.reveal { opacity:0; transform:translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal.reveal-left  { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.visible.reveal-left,
.reveal.visible.reveal-right { transform: none; }

/* GLASS */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
}

/* GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-animated {
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== NAVBAR ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(6,8,24,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; gap: 10px; align-items: center; justify-content: flex-end; }
.btn-ghost {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 20px var(--glow-cyan);
  color: var(--secondary);
}
.btn-primary {
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 30px rgba(45,140,255,0.5);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(45,140,255,0.7), 0 0 80px rgba(0,210,170,0.25);
}
.nav-hamburger { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; font-size: 24px; }
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(6,8,24,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu a { color: var(--text-muted); text-decoration: none; font-size: 16px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* ===================== HERO ===================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 160px 20px 80px;
  background: var(--bg-void);
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M 60 0 L 0 0 0 60' fill='none' stroke='rgba(45,140,255,0.07)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  z-index: 1;
}
#hero::after {
  content: '';
  position: absolute;
  inset: -100px 0 0 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(45,140,255,0.025) 2px, rgba(45,140,255,0.025) 4px);
  z-index: 1;
  will-change: transform;
  animation: scanMove 8s linear infinite;
}
#hero-particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.hero-content { position: relative; z-index: 3; max-width: 1100px; }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(0,210,170,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,210,170,0.3);
  border-radius: 50px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--secondary);
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

.hero-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.5s both;
}
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.6s ease 0.7s both;
}
.btn-cta-primary {
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 30px rgba(45,140,255,0.5);
  transition: all 0.3s;
  text-decoration: none;
}
.btn-cta-primary:hover { transform: scale(1.05); box-shadow: 0 0 60px rgba(45,140,255,0.7); }
.btn-cta-ghost {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-cta-ghost:hover { border-color: var(--secondary); color: var(--secondary); box-shadow: 0 0 20px var(--glow-cyan); }

.feature-pills {
  display: flex;
  column-gap: 12px;
  row-gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.9s both;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-muted);
  transition: all 0.3s;
  cursor: default;
}
.feature-pill:hover { border-color: var(--secondary); color: var(--text-primary); box-shadow: 0 0 15px var(--glow-cyan); }

/* ===================== SECTION STATS ===================== */
.section-stats {
  padding: 100px 40px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 0 40px var(--glow-primary); border-color: var(--border-light); }
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 52px;
  font-weight: 700;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; line-height: 1.5; margin-top: 4px; }

/* ===================== SECTION FEATURE ===================== */
.section {
  padding: 120px 40px;
  position: relative;
  z-index: 10;
  contain: layout style;
}
.section-inner { max-width: 1200px; margin: 0 auto; min-width: 0; position: relative; z-index: 1; }
.section-bg-card { background: var(--bg-card); }
#dashboard-feature { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(45,140,255,0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.section-h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(26px, 3.2vw, 44px);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.feature-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: box-shadow 0.3s ease;
}
.fi-blue { background: rgba(45,140,255,0.15); border: 1px solid rgba(45,140,255,0.3); }
.fi-cyan { background: rgba(0,210,170,0.1); border: 1px solid rgba(0,210,170,0.3); }
.fi-purple { background: rgba(0,210,170,0.15); border: 1px solid rgba(0,210,170,0.25); }
.fi-blue:hover { box-shadow: 0 0 40px rgba(45,140,255,0.4); }
.fi-cyan:hover { box-shadow: 0 0 40px rgba(0,210,170,0.35); }
.fi-purple:hover { box-shadow: 0 0 40px rgba(0,210,170,0.35); }
.feature-item-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feature-item-text p { font-size: 13px; color: var(--text-muted); }

/* MOCKUP */
.dashboard-mockup {
  background: rgba(14,21,53,0.8);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(45,140,255,0.3), 0 0 120px rgba(0,210,170,0.1);
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.6s ease;
  overflow: hidden;
}
.dashboard-mockup:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.mockup-bar {
  background: rgba(255,255,255,0.05);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.mockup-url {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--text-muted);
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
}
.mockup-body { padding: 20px; flex: 1; min-width: 0; }
.mini-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-kpi {
  background: rgba(45,140,255,0.07);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}
.mini-kpi-val { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; color: var(--secondary); }
.mini-kpi-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 11px; overflow: hidden; }
.mini-table th { color: var(--text-muted); padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--border); font-weight: 500; text-transform: uppercase; font-size: 10px; }
.mini-table td { padding: 7px 6px; border-bottom: 1px solid rgba(45,140,255,0.07); color: var(--text-primary); }
.mini-danger { color: var(--danger); font-weight: 600; }
.mini-success-badge { background: rgba(0,230,118,0.15); color: var(--success); border: 1px solid rgba(0,230,118,0.3); padding: 3px 8px; border-radius: 20px; font-size: 9px; }
.mini-danger-badge { background: rgba(255,61,113,0.15); color: var(--danger); border: 1px solid rgba(255,61,113,0.3); padding: 3px 8px; border-radius: 20px; font-size: 9px; }

/* ── Mockup layout (sidebar + body) ── */
.mockup-layout { display: flex; }
.mockup-sidebar {
  width: 42px;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 10px;
}
.msb-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-muted);
  transition: opacity 0.2s;
}
.msb-icon:hover { opacity: 0.8; }
.msb-logo {
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.msb-active {
  background: rgba(45,140,255,0.15);
  border-radius: 8px;
}

/* ── Mockup notification badge ── */
.mockup-notif {
  width: 18px; height: 18px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: notifPulse 2s ease-in-out infinite;
}
@keyframes notifPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ── Mockup filters ── */
.mk-filters { display: flex; gap: 5px; margin-bottom: 8px; }
.mk-filter-pill {
  font-size: 7px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
}
.mk-filter-active { border-color: rgba(45,140,255,0.4); color: var(--primary); background: rgba(45,140,255,0.08); }

/* ── Mockup pagination ── */
.mk-pagination {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; margin-top: 4px;
  font-size: 9px; color: var(--text-muted);
}
.mk-page-btns { display: flex; gap: 8px; font-size: 12px; color: var(--primary); }

/* ── Mockup charts row ── */
.mk-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mk-chart-card {
  background: rgba(45,140,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.mk-chart-title { font-size: 9px; color: var(--text-muted); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-sparkline { width: 100%; height: 36px; display: block; }

/* ── Mini bar chart ── */
.mini-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
}
.mc-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(45,140,255,0.3), rgba(45,140,255,0.6));
  border-radius: 3px 3px 0 0;
  transition: opacity 0.3s;
}
.mc-bar-today {
  background: linear-gradient(to top, #2D8CFF, #00D2AA);
}

/* ── Scan line animation on table row ── */
.mini-row-scan {
  position: relative;
}
.mini-row-scan::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45,140,255,0.12), transparent);
  animation: rowScan 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rowScan {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ── Mockup sidebar click animation ── */
.msb-icon {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.msb-icon.msb-click {
  animation: msbClick 0.5s ease;
}
@keyframes msbClick {
  0% { transform: scale(1); opacity: 1; }
  30% { transform: scale(0.8); opacity: 0.6; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.msb-icon.msb-click.msb-active-anim {
  background: rgba(45,140,255,0.15);
  border-radius: 8px;
}

/* ── Mockup float animation ── */
.mockup-float {
  animation: mockupFloat 4s ease-in-out infinite;
}
@keyframes mockupFloat {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateY(-8px); }
}
.mockup-float:hover {
  animation-play-state: paused;
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

/* ── Feature items stagger ── */
.feat-stagger {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.feat-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}
.feat-stagger:nth-child(2) { transition-delay: 0.1s; }
.feat-stagger:nth-child(3) { transition-delay: 0.2s; }
.feat-stagger:nth-child(4) { transition-delay: 0.3s; }
.feat-stagger:nth-child(5) { transition-delay: 0.4s; }

/* ===================== ALERTES ===================== */

/* ── Visual wrapper (email + notif) ── */
.alrt-visual {
  position: relative;
  padding-top: 30px;
}

/* ── Notification popup (repositioned) ── */
.notif-popup {
  background: rgba(14,21,53,0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,210,170,0.4);
  border-radius: 12px;
  padding: 14px 18px;
  width: 300px;
  box-shadow: 0 0 20px rgba(0,210,170,0.2);
  z-index: 10;
  pointer-events: none;
}
.alrt-notif {
  position: absolute;
  top: 0; right: -10px;
  animation: notifSlide 10s ease infinite;
}
.notif-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.notif-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; animation: pulse 1s infinite; }
.notif-title { font-size: 11px; font-weight: 600; color: var(--secondary); }
.notif-body { font-size: 11px; color: var(--text-muted); line-height: 1.4; }

/* ── Email mockup ── */
.alrt-email {
  background: rgba(14,21,53,0.8);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(45,140,255,0.15), 0 20px 60px rgba(0,0,0,0.3);
}
.alrt-email-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.alrt-email-from { display: flex; align-items: center; gap: 12px; }
.alrt-email-avatar {
  width: 36px; height: 36px;
  background: rgba(45,140,255,0.15);
  border: 1px solid rgba(45,140,255,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.alrt-email-sender { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.alrt-email-to { font-size: 11px; color: var(--text-muted); }
.alrt-email-time { font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.alrt-email-body { padding: 20px; text-align: center; }
.alrt-email-badge {
  display: inline-block;
  background: rgba(255,61,113,0.12);
  border: 1px solid rgba(255,61,113,0.3);
  color: var(--danger);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.alrt-email-product {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.alrt-email-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.alrt-email-price {
  flex: 1;
  background: rgba(45,140,255,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.alrt-price-label { display: block; font-size: 11px; color: var(--text-muted); margin-bottom: 4px; }
.alrt-price-val { display: block; font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; color: var(--text-primary); }
.alrt-price-danger { color: var(--danger); }
.alrt-email-vs {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.alrt-email-diff {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding: 10px 14px;
  background: rgba(255,61,113,0.06);
  border: 1px solid rgba(255,61,113,0.2);
  border-radius: 8px;
}
.alrt-email-cta {
  display: inline-block;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: default;
}
.alrt-email-footer {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--text-muted);
}

/* ── 3 KPI cards bottom ── */
.alrt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.alrt-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.alrt-card:hover { border-color: var(--border-light); box-shadow: 0 0 30px var(--glow-primary); }
.alrt-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}
.alrt-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.alrt-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ===================== HISTORIQUE ===================== */
.history-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-width: 0; }
.history-chart-container {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}
.history-chart-container:hover { border-color: var(--border-light); box-shadow: 0 0 40px var(--glow-primary); }
.chart-title { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text-muted); }

/* ===================== AVANTAGES ===================== */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.adv-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s;
}
.adv-card:hover { transform: translateY(-8px); border-color: var(--secondary); box-shadow: 0 0 40px var(--glow-cyan); }
.adv-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(45,140,255,0.1);
  border: 1px solid rgba(45,140,255,0.25);
  transition: box-shadow 0.3s ease;
}
.adv-card:hover .adv-icon { box-shadow: 0 0 40px rgba(0,210,170,0.35); }
.adv-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.adv-list { list-style: none; }
.adv-list li { font-size: 13px; color: var(--text-muted); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.adv-list li::before { content: '→'; color: var(--secondary); font-size: 11px; }

#pourquoi { min-height: 100vh; box-sizing: border-box; padding-top: 60px; padding-bottom: 60px; }
#pourquoi .adv-timeline { margin-top: 24px; padding: 16px 0; }
#pourquoi .adv-item { margin-bottom: 16px; }
#pourquoi .adv-card-new { padding: 36px 24px 20px; }
#pourquoi .adv-num { font-size: clamp(40px, 4.5vw, 60px); top: -28px; }

/* ===================== AVANTAGES — TIMELINE LAYOUT ===================== */
.adv-timeline { position: relative; margin-top: 56px; padding: 30px 0; }
.adv-tl-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent 0%, #2D8CFF 12%, #00D2AA 88%, transparent 100%);
  transform: translateX(-50%); pointer-events: none; z-index: 0;
}
.adv-item { display: flex; width: 100%; margin-bottom: 36px; position: relative; }
.adv-item:last-child { margin-bottom: 0; }
.adv-item-left  { justify-content: flex-start; padding-right: calc(50% + 60px); }
.adv-item-right { justify-content: flex-end;   padding-left:  calc(50% + 60px); }
.adv-item-left  .adv-card-new,
.adv-item-right .adv-card-new { width: 100%; }
.adv-card-new {
  background: var(--bg-glass); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 48px 28px 28px; position: relative; overflow: visible;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.adv-card-new:hover { border-color: var(--secondary); box-shadow: 0 0 32px var(--glow-cyan); }
.adv-card-left:hover  { transform: translateX(8px); }
.adv-card-right:hover { transform: translateX(-8px); }
.adv-tl-dot {
  position: absolute; top: 50%; width: 10px; height: 10px;
  border-radius: 50%; background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  box-shadow: 0 0 12px rgba(45,140,255,0.7); transform: translateY(-50%); z-index: 2;
  transition: right 0.3s ease, left 0.3s ease, box-shadow 0.3s ease;
}
.adv-card-left .adv-tl-dot  { right: -45px; }
.adv-card-right .adv-tl-dot { left: -45px; }
.adv-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  position: absolute; top: -34px; left: 20px;
  opacity: 0.9; pointer-events: none;
}
.adv-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.adv-card-header .adv-icon { margin: 0; flex-shrink: 0; }
.adv-card-new h3 { font-size: 17px; font-weight: 700; margin: 0; color: var(--text-primary); }
.adv-card-new .adv-list li { font-size: 14px; color: var(--text-secondary); line-height: 1.65; padding: 5px 0 5px 18px; }
.adv-card-new .adv-list li::before { font-size: 12px; }
.adv-card-left::after {
  content: ''; position: absolute; top: 50%; right: -40px;
  width: 40px; height: 1px; transform: translateY(-50%);
  background: linear-gradient(to right, rgba(45,140,255,0.15), rgba(45,140,255,0.5));
  transition: width 0.3s ease, right 0.3s ease;
}
.adv-card-right::after {
  content: ''; position: absolute; top: 50%; left: -40px;
  width: 40px; height: 1px; transform: translateY(-50%);
  background: linear-gradient(to left, rgba(45,140,255,0.15), rgba(45,140,255,0.5));
  transition: width 0.3s ease, left 0.3s ease;
}
.adv-card-left:hover .adv-tl-dot  { right: -57px; box-shadow: 0 0 18px rgba(45,140,255,0.95), 0 0 6px rgba(0,210,170,0.6); }
.adv-card-right:hover .adv-tl-dot { left: -57px;  box-shadow: 0 0 18px rgba(45,140,255,0.95), 0 0 6px rgba(0,210,170,0.6); }
.adv-card-left:hover::after  { right: -52px; width: 52px; }
.adv-card-right:hover::after { left: -52px;  width: 52px; }



/* ===================== CONNECTEURS / INTEGRATIONS ===================== */
#connecteurs { min-height: 100vh; box-sizing: border-box; padding-top: 60px !important; padding-bottom: 60px !important; display: flex; flex-direction: column; justify-content: center; }
.conn-section-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 56px;
  width: 100%;
}

/* Pipeline 3 colonnes */
.conn-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  flex: 1;
}
.conn-col { display: flex; flex-direction: column; gap: 36px; }
.conn-inputs { align-items: flex-end; }
.conn-outputs { align-items: flex-start; }

/* Groupe de logos */
.conn-group { display: flex; flex-direction: column; align-items: inherit; gap: 10px; }
.conn-group-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 2px; }
.conn-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.conn-group-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  line-height: 1.4;
}
.conn-group-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
  margin-top: 1px;
}

/* Flow indicator */
.conn-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto;
}
.conn-flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.conn-flow-center { color: var(--text-primary); font-weight: 700; }
.conn-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(45,140,255,0.15);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
}
.conn-flow-num-hub {
  background: linear-gradient(135deg, rgba(45,140,255,0.2), rgba(0,210,170,0.2));
  font-size: 11px;
}
.conn-flow-arrow { color: var(--text-muted); font-size: 12px; opacity: 0.5; }

/* Pills logos */
.conn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.conn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(45,140,255,0.25);
  border-color: rgba(45,140,255,0.5);
}
.conn-pill img { flex-shrink: 0; border-radius: 3px; }

/* Hub central */
.conn-hub-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.conn-svg {
  flex-shrink: 0;
  overflow: visible;
}
.conn-svg-left  { width: 130px; height: 320px; }
.conn-svg-right { width: 130px; height: 320px; }

.conn-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(45,140,255,0.4);
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 40px rgba(45,140,255,0.15);
  animation: hubPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}
.conn-hub-glow {
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(45,140,255,0.15), rgba(0,210,170,0.15));
  pointer-events: none;
}
.conn-hub-icon { font-size: 40px; margin-bottom: 8px; display: block; }
.conn-hub-name {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.conn-hub-sub { font-size: 10px; color: var(--text-muted); margin-top: 4px; line-height: 1.4; }

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(45,140,255,0.15); }
  50% { box-shadow: 0 0 60px rgba(45,140,255,0.30), 0 0 100px rgba(0,210,170,0.10); }
}

/* Chemins SVG avec animation stroke */
.conn-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s ease;
}
.conn-path.conn-path-delay  { transition-delay: 0.25s; }
.conn-path.conn-path-delay2 { transition-delay: 0.5s; }
.conn-path.drawn { stroke-dashoffset: 0; }

/* Dots voyageurs — opacity initiale dans le SVG (opacity="0"), contrôlée via style.opacity en JS */

/* No-code transversal */
.conn-nocode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(45,140,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  border-style: dashed;
  position: relative;
  overflow: hidden;
}
.conn-nocode::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #2D8CFF, #00D2AA);
  border-radius: 2px 2px 0 0;
}
.conn-nocode-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.conn-nocode-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.conn-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.conn-pill-sm:hover {
  transform: translateY(-2px);
  color: var(--text-primary);
  border-color: rgba(0,210,170,0.5);
}
.conn-pill-sm img { flex-shrink: 0; border-radius: 2px; }

/* Mobile */
@media (max-width: 768px) {
  #connecteurs { min-height: auto !important; }
  .conn-section-inner { gap: 32px; min-height: auto; }
  .conn-pipeline { grid-template-columns: 1fr; gap: 24px; }
  .conn-inputs, .conn-outputs { align-items: center; }
  .conn-group { align-items: center; }
  .conn-hub-wrap { justify-content: center; }
  .conn-svg { display: none; }
  .conn-hub { width: 140px; height: 140px; }
  .conn-inputs .conn-group, .conn-outputs .conn-group { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ===================== REPRICING ===================== */
#repricing { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding-top: 60px !important; padding-bottom: 60px !important; }
.repr-inner { display: flex; flex-direction: column; justify-content: center; gap: 52px; width: 100%; }

/* Header badges */
.repr-badges { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; }
.repr-plan-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 50px;
  background: linear-gradient(135deg, #FF8C00, #FF3D71);
  color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: 0.5px;
}

/* Flow animé */
.repr-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.repr-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 6px;
  background: var(--bg-glass); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 24px 28px; flex: 1;
}
.repr-step-center {
  border-color: rgba(45,140,255,0.4);
  box-shadow: 0 0 40px rgba(45,140,255,0.12);
  animation: hubPulse 3s ease-in-out infinite;
}
.repr-step-icon { font-size: 28px; }
.repr-step-title { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; color: var(--text-primary); }
.repr-step-detail { font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 700; color: var(--secondary); }
.repr-step-sub { font-size: 11px; color: var(--text-muted); }
.repr-price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; font-family: 'JetBrains Mono', monospace; }
.repr-price-new {
  font-size: 18px; font-weight: 700; font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, #FF3D71, #FF8C00);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.repr-applied {
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: reprPulse 1.5s ease-in-out infinite;
}
.repr-rule {
  font-size: 13px !important;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
@keyframes reprPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Flèches */
.repr-arrow { display: flex; align-items: center; flex-shrink: 0; padding: 0 8px; }
.repr-arrow-svg { overflow: visible; }
.repr-path {
  stroke-dasharray: 104; stroke-dashoffset: 104;
  transition: stroke-dashoffset 0.9s ease;
}
.repr-path.drawn { stroke-dashoffset: 0; }
.repr-arrowhead { transition: opacity 0.3s ease 0.8s; }

/* 3 stratégies — style horizontal numéroté */
.repr-strategies {
  display: flex; gap: 0;
  max-width: 100%; margin: 0 auto; width: 100%;
  background: var(--bg-glass); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden;
}
.repr-strat-item {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  transition: background 0.25s ease;
  position: relative;
  cursor: pointer;
  user-select: none;
}
.repr-strat-item:last-child { border-right: none; }
.repr-strat-item:hover { background: rgba(45,140,255,0.04); }
.repr-strat-item.active { background: rgba(45,140,255,0.07); }
.repr-strat-item.active::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #2D8CFF, #00D2AA);
  transition: opacity 0.4s ease;
}
.repr-strat-item:not(.active)::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: transparent;
}
.repr-strat-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  font-weight: 700; color: var(--primary); letter-spacing: 1px; opacity: 0.7;
}
.repr-strat-name { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 800; color: var(--text-primary); }
.repr-strat-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.repr-strat-formula {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  padding: 4px 10px; border-radius: 6px; display: inline-block;
  background: rgba(45,140,255,0.1); color: var(--primary);
  font-weight: 600; margin-top: 4px; align-self: flex-start;
}

/* Garde-fous */
.repr-guardrails { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.repr-guardrail-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.repr-guardrail-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.repr-guardrail-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  background: var(--bg-glass); border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; color: var(--text-secondary);
  transition: all 0.3s; cursor: default;
}
.repr-guardrail-pill:hover { border-color: var(--secondary); color: var(--text-primary); box-shadow: 0 0 15px var(--glow-cyan); }

/* Mobile */
@media (max-width: 768px) {
  #repricing { min-height: auto !important; }
  .repr-flow { flex-direction: column; gap: 8px; }
  .repr-arrow { transform: rotate(90deg); }
  .repr-strategies { flex-direction: column; }
  .repr-strat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .repr-strat-item:last-child { border-bottom: none; }
}

/* ===================== PRICING ===================== */
.pricing-toggle {
  display: flex; justify-content: center; gap: 0;
  background: var(--bg-glass); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 4px; width: fit-content; margin: 0 auto;
}
.pricing-toggle-btn {
  padding: 10px 28px; border: none; border-radius: 46px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--text-secondary); background: transparent;
  cursor: pointer; transition: all 0.3s ease; position: relative;
}
.pricing-toggle-btn.active {
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: #fff; box-shadow: 0 4px 16px rgba(45,140,255,0.3);
}
.pricing-toggle-btn:not(.active):hover { color: var(--text-primary); }
.pricing-toggle-badge {
  display: inline-block; background: rgba(0,210,170,0.15); color: var(--secondary);
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px;
  margin-left: 6px; vertical-align: middle;
}
.pricing-toggle-btn.active .pricing-toggle-badge {
  background: rgba(255,255,255,0.2); color: #fff;
}
.pricing-annual-note {
  font-size: 13px; color: var(--secondary); margin-top: 2px; font-weight: 500;
  opacity: 0; transition: opacity 0.3s ease;
}
.pricing-annual-note.visible { display: block !important; opacity: 1; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 32px; max-width: 1280px; margin: 60px auto 0; align-items: stretch; padding: 24px 0; }
.pricing-dots { display: none; justify-content: center; gap: 8px; margin-top: 12px; }
.pricing-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-light); transition: background 0.3s ease, transform 0.3s ease; }
.pricing-dot.active { background: var(--primary); transform: scale(1.3); }
.pricing-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.pricing-card:not(.featured):hover { transform: translateY(-4px); border-color: var(--border-light); }
.pricing-card.featured {
  border: none;
  box-shadow: 0 4px 48px rgba(0,0,0,0.6);
  background: rgba(8, 16, 36, 0.96);
  position: relative;
  z-index: 2;
  padding: 44px 32px;
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA, #2D8CFF);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
}
.pricing-card.featured:hover {
  box-shadow: 0 0 50px rgba(45,140,255,0.3), 0 0 100px rgba(0,210,170,0.15), 0 12px 50px rgba(0,0,0,0.7);
  transform: scale(1.03) translateY(-6px);
  transition: all 0.4s ease;
}
/* border-angle removed */
.recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: badgePulse 2s ease infinite;
  white-space: nowrap;
}
.pricing-icon { font-size: 28px; margin-bottom: 8px; display: block; }
.pricing-name { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; color: var(--text-primary); margin-bottom: 4px; }
.pricing-urls { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.pricing-price-old {
  display: none;
  font-size: 28px;
  font-weight: 500;
  -webkit-text-fill-color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  vertical-align: baseline;
}
.pricing-price-old.visible { display: inline; opacity: 1; }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.pricing-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); line-height: 1.6; }
.pricing-setup { font-size: 12px; color: var(--secondary); font-weight: 600; margin-bottom: 20px; }
.pricing-features { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-features li { font-size: 13px; color: var(--text-muted); padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; min-width: 14px; }
.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  border: none;
}
.btn-pricing-ghost {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-pricing-ghost:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-pricing-primary {
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: white;
  box-shadow: 0 0 30px rgba(45,140,255,0.5);
}
.btn-pricing-primary:hover { box-shadow: 0 0 50px rgba(45,140,255,0.7); transform: scale(1.02); }

/* ===================== COMPARE TABLE ===================== */
.compare-table tbody tr { transition: background 0.15s; }
.compare-table tbody tr:hover { background: rgba(45,140,255,0.04); }
.compare-table td { padding: 11px 16px; font-size: 13px; color: var(--text-secondary); border-bottom: 1px solid rgba(255,255,255,0.04); }
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
.compare-table td:not(:first-child) { text-align: center; }
.compare-check { color: var(--secondary); font-weight: 700; font-size: 16px; }
.compare-cross { color: var(--text-muted); opacity: 0.3; font-size: 14px; }
.compare-text { font-size: 12px; font-weight: 600; }
.compare-section-row td { padding-top: 18px !important; font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted) !important; border-bottom: 1px solid var(--border) !important; }
body.light .compare-table td { border-bottom-color: rgba(0,0,0,0.06); }
body.light .compare-table tbody tr:hover { background: rgba(45,140,255,0.03); }

/* ===================== MON COMPTE ===================== */
.login-section {
  padding: 120px 40px;
  background: var(--bg-deep);
  position: relative;
  z-index: 10;
}
.login-title-wrap { text-align: center; margin-bottom: 48px; }
.login-card {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 0 60px var(--glow-primary), 0 0 120px rgba(0,212,255,0.05);
}
.login-logo {
  text-align: center;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
}
.login-card-sub { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 36px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 20px rgba(45,140,255,0.2); }
.form-input::placeholder { color: var(--text-muted); opacity: 0.5; }
.password-wrap { position: relative; }
.password-toggle {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted); cursor: pointer; font-size: 16px;
}
.btn-login {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(45,140,255,0.5);
  transition: all 0.3s;
  margin-top: 8px;
}
.btn-login:hover { box-shadow: 0 0 50px rgba(45,140,255,0.7); transform: scale(1.02); }
.login-footer { text-align: center; margin-top: 20px; }
.login-footer a { color: var(--text-muted); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.login-footer a:hover { color: var(--secondary); }
.login-demo {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
  font-style: italic;
}
.error-msg {
  display: none;
  background: rgba(255,61,113,0.1);
  border: 1px solid rgba(255,61,113,0.3);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-top: 12px;
  text-align: center;
}
.shake { animation: shake 0.4s ease; }

/* ===================== FOOTER ===================== */
footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border);
  padding: 60px 40px 30px;
  position: relative;
  z-index: 10;
}
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 48px; max-width: 1100px; margin: 0 auto 40px; align-items: start; }
.footer-logo {
  margin-bottom: 12px;
}
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-muted); max-width: 1100px; margin: 0 auto; }

/* ===================== DASHBOARD ===================== */
#dashboard {
  display: none;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-void);
  font-family: 'DM Sans', sans-serif;
}

/* ─── Sidebar ─── */
.dash-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  padding: 24px 16px;
  box-sizing: border-box;
  min-height: 100vh;
}
.dash-sidebar-logo {
  padding: 0 8px 16px;
  display: flex;
  align-items: center;
}
.dash-welcome {
  margin: 0 0 16px;
  padding: 12px 8px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.dash-welcome .welcome-greeting {
  font-weight: 400;
  opacity: 0.65;
}
.dash-welcome .welcome-name {
  font-weight: 600;
  font-size: 0.92rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 3px;
}
.dash-welcome:empty { display: none; }
.dash-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.dash-sidebar-footer {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.dash-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 4px 8px;
  overflow: hidden;
}
.dash-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.dash-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-user-email {
  font-size: 11px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
/* Onglets navigation — plats, style lien */
.dash-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  text-align: left;
  box-sizing: border-box;
}
.dash-tab.active {
  background: rgba(45,140,255,0.12);
  color: var(--text-primary);
  border-left: 3px solid var(--primary);
  font-weight: 600;
}
.dash-tab:hover:not(.active) {
  background: rgba(45,140,255,0.06);
  color: var(--text-primary);
}
.disc-badge {
  background: #FF3D71;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ─── Discovery — boutons action ──────────────────────────── */
.disc-btn-approve {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 14px; border-radius: 8px; font-size: 0.78rem; font-weight: 600;
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
  background: linear-gradient(135deg, #00D2AA, #00B894); color: #fff;
  box-shadow: 0 2px 8px rgba(0,210,170,0.25);
  transition: opacity 0.15s, box-shadow 0.2s; white-space: nowrap;
}
.disc-btn-approve:hover { box-shadow: 0 4px 14px rgba(0,210,170,0.35); opacity: 0.9; }
.disc-btn-reject {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 14px; border-radius: 8px; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap;
  background: rgba(255,255,255,0.05); color: var(--text-muted);
  border: 1px solid var(--border); transition: all 0.15s;
}
.disc-btn-reject:hover { background: rgba(255,61,113,0.1); color: #FF3D71; border-color: rgba(255,61,113,0.35); }

/* Boutons d'action — style bouton visible */
.dash-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  text-align: left;
  box-sizing: border-box;
}
.dash-action-btn:hover {
  color: var(--text-primary);
  background: rgba(45,140,255,0.08);
  border-color: rgba(45,140,255,0.2);
}

/* Quick-action cards grid (sidebar) */
.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.dash-quick-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  position: relative;
  font-size: 1.1rem;
  line-height: 1;
}
.dash-quick-card svg { transition: stroke 0.2s; }
.dash-quick-card.qc-alert svg { stroke: #FB923C; }
.dash-quick-card.qc-alert:hover { background: rgba(251,146,60,0.12); border-color: rgba(251,146,60,0.40); transform: translateY(-2px); }
.dash-quick-card.qc-notif svg { stroke: #00D2AA; }
.dash-quick-card.qc-notif:hover { background: rgba(0,210,170,0.12); border-color: rgba(0,210,170,0.40); transform: translateY(-2px); }
.dash-quick-card.qc-theme:hover { background: rgba(45,140,255,0.12); border-color: rgba(45,140,255,0.40); transform: translateY(-2px); }
.dash-quick-card.qc-freq svg { stroke: #A78BFA; }
.dash-quick-card.qc-freq:hover { background: rgba(167,139,250,0.12); border-color: rgba(167,139,250,0.40); transform: translateY(-2px); }
.dash-quick-card.qc-guide svg { stroke: #2D8CFF; }
.dash-quick-card.qc-guide:hover { background: rgba(45,140,255,0.12); border-color: rgba(45,140,255,0.40); transform: translateY(-2px); }
.alert-freq-opt.selected { background: rgba(167,139,250,0.15) !important; border-color: #A78BFA !important; color: #A78BFA !important; }
.alert-freq-opt:hover:not(.selected) { border-color: rgba(167,139,250,0.40); color: #A78BFA; }
.dash-quick-card:active { transform: translateY(0); }
.dash-quick-card[title] { position: relative; }
.dash-quick-card .qc-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}
.dash-quick-card:hover .qc-tooltip { opacity: 1; }

/* Push toggle switch */
.push-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.push-toggle input { opacity: 0; width: 0; height: 0; }
.push-toggle-slider {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid var(--border);
  transition: background 0.25s, border-color 0.25s;
}
.push-toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform 0.25s, background 0.25s;
}
.push-toggle input:checked + .push-toggle-slider {
  background: rgba(0,210,170,0.20);
  border-color: rgba(0,210,170,0.40);
}
.push-toggle input:checked + .push-toggle-slider::before {
  transform: translateX(20px);
  background: var(--secondary);
}

/* Bulk action bar */
.bulk-bar {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(15,15,35,0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
  z-index: 5;
  animation: bulkBarIn 0.2s ease-out;
}
@keyframes bulkBarIn { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.bulk-bar-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}
.bulk-bar-actions { display: flex; gap: 8px; margin-left: auto; }
.bulk-btn {
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid;
  transition: background 0.2s, border-color 0.2s;
}
.bulk-btn-danger {
  background: rgba(255,61,113,0.10);
  border-color: rgba(255,61,113,0.30);
  color: var(--danger);
}
.bulk-btn-danger:hover { background: rgba(255,61,113,0.20); border-color: rgba(255,61,113,0.50); }
.bulk-btn-warn {
  background: rgba(251,146,60,0.10);
  border-color: rgba(251,146,60,0.30);
  color: #FB923C;
}
.bulk-btn-warn:hover { background: rgba(251,146,60,0.20); border-color: rgba(251,146,60,0.50); }
.bulk-btn-ok {
  background: rgba(0,210,170,0.10);
  border-color: rgba(0,210,170,0.30);
  color: var(--secondary);
}
.bulk-btn-ok:hover { background: rgba(0,210,170,0.20); border-color: rgba(0,210,170,0.50); }
body.light .bulk-bar { background: rgba(245,247,250,0.90); }
/* Page size selector */
.cu-pg-select, .pg-select {
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card, #1a1a2e);
  color: var(--text-secondary);
  font-size: 0.78rem;
  cursor: pointer;
  margin-left: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.cu-pg-select option, .pg-select option {
  background: var(--bg-card, #1a1a2e);
  color: var(--text-primary);
}
.cu-pg-select:hover, .pg-select:hover { border-color: var(--primary); }
.cu-pg-select:focus, .pg-select:focus { border-color: var(--primary); }
body.light .cu-pg-select, body.light .pg-select {
  background: #fff;
}
body.light .cu-pg-select option, body.light .pg-select option {
  background: #fff;
  color: var(--text-primary);
}


.dash-sidebar-billing {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.dash-plan-badge {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  margin-bottom: 10px;
  background: rgba(45,140,255,0.07);
  border: 1px solid rgba(45,140,255,0.15);
  border-radius: 8px;
}
.dash-plan-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.dash-plan-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'DM Sans', sans-serif;
}
.dash-trial-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.dash-trial-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}
.dash-trial-days {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
}
.dash-trial-days.trial-expiring {
  color: var(--danger);
}
.dash-url-quota {
  margin-bottom: 10px;
}
.dash-url-quota-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.dash-url-quota-label span:last-child {
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
}
.dash-url-quota-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}
.dash-url-quota-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.dash-url-quota-fill.near-limit { background: var(--accent); }
.dash-url-quota-fill.at-limit   { background: var(--danger); }
.btn-manage-plan,
.btn-change-password,
.btn-report-problem,
.btn-delete-account {
  width: 100%;
  background: none;
  color: var(--text-muted);
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-align: center;
}
/* Sector select — onglet Découvertes */
.disc-sector-select {
  border: 1px solid rgba(0,210,170,0.4);
  background: rgba(0,210,170,0.08);
  color: var(--text-primary);
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.disc-sector-select:hover,
.disc-sector-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(0,210,170,0.2);
}
.btn-manage-plan { border: 1px solid rgba(0,210,170,0.25); }
.btn-change-password { border: 1px solid var(--border); margin-top: 6px; }
.btn-report-problem { border: 1px solid rgba(245,158,11,0.25); margin-top: 6px; }
.btn-delete-account { border: 1px solid rgba(255,61,113,0.2); margin-top: 6px; }
.btn-manage-plan:hover { border-color: var(--accent); color: var(--accent); }
.btn-change-password:hover { border-color: var(--primary); color: var(--primary); }
.btn-report-problem:hover { border-color: #f59e0b; color: #f59e0b; }
.btn-delete-account:hover { border-color: var(--danger); color: var(--danger); }
.btn-danger {
  padding: 12px 20px;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-danger:hover { opacity: 0.85; }
.btn-danger:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-logout {
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-logout:hover { border-color: var(--danger); color: var(--danger); }

/* ─── Main content ─── */
.dash-main {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}
.dash-body {
  flex: none;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  width: 100%;
  box-sizing: border-box;
}
.dash-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; flex-shrink: 0; }
.dash-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237B8CC8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.dash-select:hover, .dash-select:focus { border-color: var(--primary); }
.dash-select option { background: var(--bg-void, #0E1535); color: var(--text-primary); }

.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; flex-shrink: 0; }
.dash-kpi-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 20px;
  transition: all 0.3s;
}
.dash-kpi-card:hover { transform: translateY(-2px); }
.dash-kpi-card.danger:hover { box-shadow: 0 0 30px rgba(255,61,113,0.2); border-color: rgba(255,61,113,0.3); }
.dash-kpi-card.warning:hover { box-shadow: 0 0 30px rgba(255,179,0,0.2); border-color: rgba(255,179,0,0.3); }
.dash-kpi-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.dash-kpi-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.dash-kpi-val.neutral { background: linear-gradient(135deg, #2D8CFF, #00D2AA); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dash-kpi-val.danger-val { color: var(--danger); }
.dash-kpi-val.warning-val { color: var(--warning); }
.dash-kpi-row { display: flex; align-items: center; gap: 10px; }
.kpi-trend { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; letter-spacing: 0.01em; white-space: nowrap; }
.kpi-trend.trend-up { background: rgba(40,200,64,0.12); color: #28C840; }
.kpi-trend.trend-down { background: rgba(255,61,113,0.12); color: var(--danger); }
.kpi-trend.trend-stable { background: rgba(255,255,255,0.06); color: var(--text-muted); }
body.light .kpi-trend.trend-stable { background: rgba(0,0,0,0.05); }

/* CUSTOM DATE RANGE */
.dash-filter-custom-dates { display: flex; align-items: center; gap: 6px; grid-column: 1 / -1; }
.dash-filter-date {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text-primary); padding: 10px 14px; font-family: 'DM Sans', sans-serif; font-size: 14px;
  outline: none; cursor: pointer; transition: border-color 0.2s;
}
.dash-filter-date:focus { border-color: var(--primary); }
body.light .dash-select {
  background-color: #f5f7fa;
  border-color: #d0d5dd;
  color: #1a1a2e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
}
body.light .dash-select option { background: #fff; color: #1a1a2e; }
body.light .dash-filter-date { background: #f5f7fa; border-color: #d0d5dd; color: #1a1a2e; }

/* SORTABLE TH */
.th-sortable { cursor: pointer; user-select: none; transition: color 0.15s; }
.th-sortable:hover { color: var(--primary); }

/* TABLE */
.dash-table-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0;
}
.dash-table-title { padding: 20px 24px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--border); text-align: center; flex-shrink: 0; }
.dash-table-scroll { overflow-x: auto; }
/* Charts — compacts en bas du dashboard */
.dash-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; flex-shrink: 0; }
.dash-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.dash-table th {
  background: rgba(45,140,255,0.1);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.dash-table td {
  padding: 12px 16px;
  font-size: 13px;
  border-bottom: 1px solid rgba(45,140,255,0.07);
  color: var(--text-primary);
  transition: background 0.2s;
}
.dash-table tbody tr { cursor: pointer; }
.dash-table tr:hover td { background: rgba(255,255,255,0.02); }
.dash-table tr:last-child td { border-bottom: none; }
.td-product { font-weight: 500; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-sku { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); }
.td-concurrent { color: var(--secondary); font-size: 12px; font-weight: 500; }
.td-price { font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.dash-table td.td-ecart-neg { color: var(--danger); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.dash-table td.td-ecart-pos { color: var(--accent); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.dash-table td.td-ecart-zero { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.badge-stock { padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-ok { background: rgba(0,230,118,0.12); color: var(--success); border: 1px solid rgba(0,230,118,0.3); }
.badge-rupture { background: rgba(255,61,113,0.12); color: var(--danger); border: 1px solid rgba(255,61,113,0.3); }


/* ─── Detail produit — autocomplete search ────────────── */
.detail-search-wrap { position: relative; flex: 1; min-width: 220px; max-width: 400px; }
.detail-search-input { width: 100%; box-sizing: border-box; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; color: var(--text-primary); font-family: "DM Sans", sans-serif; font-size: 14px; outline: none; transition: border-color 0.2s; }
.detail-search-input:hover, .detail-search-input:focus { border-color: var(--primary); }
.detail-search-input::placeholder { color: var(--text-muted); opacity: 0.7; }
.detail-search-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
  background: var(--bg-card, #1a2332); border: 1px solid var(--border);
  border-radius: 12px; margin-top: 4px; max-height: 260px; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.detail-search-dropdown.open { display: block; }
.detail-search-item {
  padding: 10px 14px; cursor: pointer; font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s;
}
.detail-search-item:last-child { border-bottom: none; }
.detail-search-item:hover, .detail-search-item.active { background: rgba(45,140,255,0.12); }
.detail-search-item-name { font-weight: 600; color: var(--text-primary); }
.detail-search-item-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
body.light .detail-search-dropdown { background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }

/* ─── Detail produit — competitor badge toggle ───────────── */
.detail-comp-badge-click { opacity: 0.45; transform: scale(0.92); border-radius: 20px; }
.detail-comp-badge-click:hover { opacity: 0.8; transform: scale(1); }
.detail-comp-badge-click.active { opacity: 1; transform: scale(1.05); }

/* ─── Client URLs table ──────────────────────────────────── */
.cu-table-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.cu-url-cell {
  max-width: 200px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.82rem;
}
.cu-link { color: var(--primary); text-decoration: none; }
.cu-link:hover { text-decoration: underline; }
.cu-muted { color: var(--text-muted); }
.cu-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; white-space: nowrap;
}
.cu-badge-ok      { background: rgba(0,210,170,0.12); color: var(--accent); border: 1px solid rgba(0,210,170,0.3); }
.cu-badge-error   { background: rgba(255,61,113,0.12); color: var(--danger); border: 1px solid rgba(255,61,113,0.3); }
.cu-badge-source  { background: rgba(123,156,200,0.1);  color: var(--text-muted); border: 1px solid rgba(123,156,200,0.25); }
.cu-badge-inactive { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border); }
.tag-badge { display:inline-block; padding:2px 8px; border-radius:10px; font-size:0.72rem; font-weight:600; background:rgba(45,140,255,0.08); border:1px solid rgba(45,140,255,0.18); color:var(--primary); }
.cu-actions { display: flex; gap: 4px; }
.cu-btn {
  min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border); background: none;
  cursor: pointer; font-size: 0.9rem; transition: background 0.15s, border-color 0.15s;
}
.cu-btn-ghost { color: var(--text-primary); }
.cu-btn-ghost:hover { background: rgba(45,140,255,0.1); border-color: rgba(45,140,255,0.4); }
.cu-btn-danger { color: var(--danger); }
.cu-btn-danger:hover { background: rgba(255,61,113,0.12); border-color: rgba(255,61,113,0.4); }
.cu-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 16px;
}
.cu-pg-btn {
  min-width: 34px; height: 34px; padding: 0 8px;
  border: 1px solid var(--border); border-radius: 8px;
  background: none; color: var(--text-muted); font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
}
.cu-pg-btn:hover:not(:disabled) {
  background: rgba(45,140,255,0.1); border-color: rgba(45,140,255,0.4); color: var(--text-primary);
}
.cu-pg-active {
  background: rgba(45,140,255,0.18) !important; border-color: var(--primary) !important; color: var(--primary) !important;
}
.cu-pg-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.cu-pg-info { font-size: 0.78rem; color: var(--text-muted); }

/* ─── Mobile dashboard : éléments cachés par défaut (desktop) ─── */
.dash-mobile-topbar { display: none; }
.dash-hamburger { display: none; }
.dash-mobile-logo { display: none; }
.dash-avatar-mobile { display: none; }
.dash-sidebar-close { display: none; }
.dash-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 150;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.dash-sidebar-backdrop.open { display: block; }

.dash-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.page-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn:disabled { opacity: 0.3; cursor: default; }

.chart-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.chart-card:hover { border-color: var(--border-light); }
.chart-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.chart-card-title { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.chart-range-toggle { display: flex; gap: 2px; background: rgba(255,255,255,0.06); border-radius: 6px; padding: 2px; }
.chart-range-btn { background: none; border: none; color: var(--text-muted); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; cursor: pointer; transition: all 0.2s; letter-spacing: 0.02em; }
.chart-range-btn:hover { color: var(--text-primary); }
.chart-range-btn.active { background: var(--primary); color: #fff; }
.chart-empty-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(14,21,53,0.35); z-index: 2; padding: 24px;
}
body.light .chart-empty-overlay { background: rgba(255,255,255,0.45); }
.chart-empty-text {
  color: var(--text-primary); font-family: 'DM Sans', sans-serif; font-size: 14px;
  text-align: center; line-height: 1.6; max-width: 320px; font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .history-two-col { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .alrt-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  nav { padding: 0 24px; }
}
@media (max-width: 768px) {
  /* NAV */
  .nav-links { display: none; }
  .nav-hamburger { display: block; margin-left: 8px; }
  .nav-actions .btn-primary { display: none; }
  .nav-actions .btn-ghost { padding: 8px 14px; font-size: 13px; }
  nav { padding: 0 16px; height: 60px; justify-content: flex-start; }
  .nav-actions { margin-left: auto; gap: 6px; }
  .mobile-menu { top: 60px; }

  /* HERO */
  #hero { padding: 100px 16px 60px; min-height: auto; }
  .hero-h1 { font-size: clamp(26px, 8vw, 38px); letter-spacing: -0.5px; line-height: 1.1; }
  .hero-subtitle { font-size: 15px; margin-bottom: 32px; }
  .cta-row { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
  .btn-cta-primary, .btn-cta-ghost { width: 100%; max-width: 300px; text-align: center; }
  .feature-pills { gap: 8px; }
  .feature-pill { font-size: 12px; padding: 8px 14px; }
  .live-pill { font-size: 11px; padding: 6px 14px; }

  /* SECTIONS */
  .section { padding: 60px 16px; }
  .section-stats { padding: 48px 16px; }
  .section-inner { padding: 0; }
  .section-h2 { font-size: clamp(26px, 7vw, 38px); }

  /* STATS */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 24px 16px; }
  .stat-value { font-size: 38px; }
  .stat-label { font-size: 11px; }

  /* TWO COL */
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .history-two-col { grid-template-columns: 1fr; gap: 24px; }
  .history-chart-container { padding: 18px; min-width: 0; overflow: hidden; }
  .history-chart-container canvas { max-width: 100%; height: auto !important; }
  .dashboard-mockup { transform: none !important; width: 100%; max-width: 100%; overflow: hidden; }
  .mockup-float { animation: none; }
  .mockup-sidebar { display: none; }
  .mk-charts { display: none; }
  .mk-filters { display: none; }
  .mk-pagination { display: none; }
  .mini-row-scan::after { animation: none; }
  #dashboard-feature { overflow: hidden; min-height: auto; }
  #dashboard-feature .section-inner { padding: 0; }
  #dashboard-feature .two-col > div:first-child { text-align: center; }
  #dashboard-feature .feature-item { text-align: left; }

  /* ALERTS */
  .alrt-notif { display: none; }
  .alrt-cards { grid-template-columns: 1fr; gap: 14px; }
  .alrt-card { padding: 20px 18px; }
  .alrt-card-num { font-size: 28px; }
  .alrt-email-row { flex-direction: column; gap: 10px; }
  .alrt-price-val { font-size: 18px; }
  #alertes { min-height: auto !important; }
  #historique { min-height: auto !important; }
  #tarifs { min-height: auto !important; }
  #contact { min-height: auto !important; }
  #pourquoi { min-height: auto !important; }

  /* ADVANTAGES */
  .advantages-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .adv-card { padding: 20px 16px; }
  .adv-icon { font-size: 20px; margin-bottom: 12px; }
  .adv-card h3 { font-size: 14px; }
  .adv-list li { font-size: 12px; }
  .adv-tl-line { display: none; }
  .adv-tl-dot { display: none; }
  .adv-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
  .adv-item { padding-right: 0 !important; padding-left: 0 !important; margin-bottom: 40px; }
  .adv-card-new { padding: 22px 18px; }
  .adv-card-new h3 { font-size: 15px; }
  .adv-card-new .adv-list li { font-size: 13px; }
  .reveal.reveal-left, .reveal.reveal-right { transform: translateY(40px); }

  /* PRICING — slider horizontal sur mobile */
  #tarifs .section-inner { padding-left: 0; padding-right: 0; overflow: visible; }
  .pricing-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 24px 20px 32px;
    max-width: 100%;
    align-items: stretch;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-grid::after { content: ''; flex: 0 0 4px; }
  .pricing-dots { display: flex; }
  .pricing-card {
    flex: 0 0 82vw;
    max-width: 320px;
    min-width: 260px;
    scroll-snap-align: center;
    padding: 28px 22px;
  }
  .pricing-card.featured {
    transform: none;
    flex: 0 0 82vw;
    max-width: 320px;
    min-width: 260px;
    margin-top: 0;
    padding: 32px 22px;
  }
  .pricing-price { font-size: 40px; }

  /* LOGIN */
  .login-section { padding: 60px 16px; }
  .login-card { padding: 28px 20px; margin: 0 auto; }
  .btn-login { padding: 14px; font-size: 15px; }

  /* CONTACT */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 16px 24px; }

  /* DASHBOARD MOBILE */
  #dashboard { flex-direction: column; }

  /* Topbar mobile */
  .dash-mobile-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    height: 56px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    position: relative;
    z-index: 99;
  }
  .dash-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    line-height: 1;
    font-family: 'DM Sans', sans-serif;
  }
  .dash-hamburger:hover { background: rgba(255,255,255,0.07); }
  .dash-mobile-logo {
    display: block;
    flex: 1;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2D8CFF, #00D2AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .dash-avatar-mobile {
    display: flex;
    width: 32px;
    height: 32px;
    font-size: 11px;
    flex-shrink: 0;
  }

  /* Sidebar : drawer overlay */
  .dash-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    min-height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    z-index: 200;
    box-shadow: none;
  }
  .dash-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(0,0,0,0.4);
  }
  .dash-sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    margin-left: auto;
    flex-shrink: 0;
    font-family: 'DM Sans', sans-serif;
    line-height: 1;
  }
  .dash-sidebar-close:hover { border-color: var(--danger); color: var(--danger); }

  /* Main scrollable */
  .dash-main { overflow-y: auto; height: calc(100vh - 56px); overflow-x: hidden; padding-bottom: 32px; }

  /* Contenu */
  .dash-body { flex: none; padding: 14px 16px 0; }
  .dash-filters { grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
  .dash-kpi-card { padding: 14px 12px; }
  .dash-kpi-val { font-size: 26px; }
  .dash-kpi-label { font-size: 11px; }
  .dash-charts { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }

  /* Tableau → Cards */
  .dash-table-title { font-size: 14px; padding: 14px 16px; }
  .dash-table-scroll { overflow-x: visible; }
  .dash-table { min-width: 0; width: 100%; border-collapse: separate; }
  .dash-table thead { display: none; }
  .dash-table tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin: 0 12px 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
  }
  .dash-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-right: none;
  }
  .dash-table td:first-child { display: none; }
  .dash-table td:last-child { border-bottom: none; }
  .dash-table tr:last-child td { border-bottom: 1px solid rgba(255,255,255,0.05) !important; }
  .dash-table tr:last-child td:last-child { border-bottom: none !important; }
  .dash-table td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    margin-right: 8px;
  }
  .dash-table tr:hover td { background: transparent; }
  .td-product { max-width: none; white-space: normal; text-align: right; }
  .dash-table-wrap { overflow: visible; }
  .dash-pagination { padding: 10px 16px; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .feature-pills { justify-content: flex-start; }
  .hero-h1 { font-size: 34px; }
  .stat-value { font-size: 34px; }
  .pricing-price { font-size: 36px; }
  .pricing-price-old { font-size: 22px; margin-right: 6px; }
}
@media (max-width: 768px) {
  .orb-1 { width: 350px; height: 350px; top: -100px; left: -80px; }
  .orb-1 { animation: floatA 12s ease-in-out infinite alternate; }
  .orb-2 { width: 280px; height: 280px; animation: floatB 9s ease-in-out infinite alternate-reverse; }
  .orb-3 { animation: floatC 15s ease-in-out infinite alternate; }
  .orb-3 { width: 220px; height: 220px; }
}

/* ===================== LOGIN SECTION REDESIGN ===================== */
.login-section {
  padding: 100px 48px;
  background: var(--bg-deep);
  position: relative;
  z-index: 10;
  overflow: hidden;
}
.login-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
}
.login-left { display: flex; flex-direction: column; }
.login-card-inner {
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 0 40px rgba(45,140,255,0.1);
}
.login-title-wrap { display: none; } /* replaced by inline title in login-left */

/* PREVIEW PANEL */
.login-preview {
  position: relative;
  min-height: 540px;
}
.preview-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 16px;
}
.preview-dash {
  background: rgba(10,14,28,0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(45,140,255,0.18), 0 0 120px rgba(0,210,170,0.07);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transition: transform 0.6s ease;
}
.preview-dash:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 0 80px rgba(45,140,255,0.25), 0 0 160px rgba(0,210,170,0.1);
}

/* Topbar */
.preview-topbar {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
}
.preview-tabs { display: flex; gap: 4px; }
.ptab {
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.ptab.active {
  background: rgba(45,140,255,0.15);
  color: var(--text-primary);
}

/* Filters */
.preview-filters {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.preview-filter-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* KPIs */
.preview-kpis {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.preview-kpi {
  background: rgba(45,140,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.pkpi-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.pkpi-label { font-size: 9px; color: var(--text-muted); }

/* Table */
.preview-table-wrap { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.preview-table-title {
  font-size: 11px; font-weight: 700;
  text-align: center; margin-bottom: 8px;
  color: var(--text-muted);
}
.preview-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.preview-table th {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 6px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: rgba(45,140,255,0.06);
}
.preview-table td {
  padding: 6px 6px;
  border-bottom: 1px solid rgba(45,140,255,0.05);
  color: var(--text-primary);
  font-size: 10px;
}
.preview-table tr:last-child td { border-bottom: none; }
.preview-table tr:hover td { background: rgba(255,255,255,0.02); }
.pmono { font-family: 'JetBrains Mono', monospace; }
.pconcurrent { color: var(--secondary); font-size: 9px; font-weight: 500; }
.pneg { color: var(--danger); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.pzero { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.pbadge {
  padding: 2px 6px;
  border-radius: 20px;
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
}
.pok { background: rgba(0,210,170,0.12); color: var(--success); border: 1px solid rgba(0,210,170,0.3); }
.prup { background: rgba(255,61,113,0.12); color: var(--danger); border: 1px solid rgba(255,61,113,0.3); }

/* Mini charts */
.preview-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 16px;
}
.preview-chart-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.pcharts-title { font-size: 9px; color: var(--text-muted); font-weight: 600; margin-bottom: 8px; }

/* INFO BUBBLES */
.bubble {
  position: absolute;
  background: rgba(10,14,28,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 220px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 20px rgba(45,140,255,0.15);
  animation-fill-mode: both;
  z-index: 10;
  pointer-events: none;
}
.bubble::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  top: -4px; left: 20px;
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse 2s infinite;
}
.bub-icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.bub-text { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.bub-text strong { color: var(--text-primary); font-size: 12px; display: block; margin-bottom: 2px; }

/* Bubble positions & staggered animation */
.bubble-1 { top: -20px;  right: -10px;  animation: bubbleFloat1 5s ease-in-out 0.2s infinite alternate; }
.bubble-2 { bottom: 120px; left: -30px;  animation: bubbleFloat2 6s ease-in-out 0.8s infinite alternate; }
.bubble-3 { bottom: -20px; right: 20px;  animation: bubbleFloat3 5.5s ease-in-out 1.4s infinite alternate; }
.bubble-4 { top: 48%;   right: -30px;  animation: bubbleFloat4 4.5s ease-in-out 0s infinite alternate; }

@keyframes bubbleFloat1 { from { transform: translateY(0) translateX(0); } to { transform: translateY(-10px) translateX(4px); } }
@keyframes bubbleFloat2 { from { transform: translateY(0) translateX(0); } to { transform: translateY(8px) translateX(-6px); } }
@keyframes bubbleFloat3 { from { transform: translateY(0) translateX(0); } to { transform: translateY(-6px) translateX(8px); } }
@keyframes bubbleFloat4 { from { transform: translateY(0) translateX(0); } to { transform: translateY(10px) translateX(-4px); } }

/* Login section mobile */
@media (max-width: 1024px) {
  .login-inner { grid-template-columns: 1fr; gap: 48px; }
  .login-preview { min-height: auto; }
  .bubble { display: none; }
  .preview-dash { transform: none !important; }
}
@media (max-width: 768px) {
  .login-section { padding: 60px 16px; }
  .login-inner { gap: 32px; }
  .login-card-inner { padding: 24px 18px; }
  .preview-kpis { grid-template-columns: repeat(2,1fr); }
  .preview-charts { grid-template-columns: 1fr; }
  .preview-filters { gap: 6px; }
}

/* ===================== END LOGIN SECTION ===================== */


/* ===================== DASHBOARD PREVIEW SECTION ===================== */
.dashboard-preview-section {
  padding: 80px 40px;
  background: var(--bg-deep);
  position: relative;
  z-index: 10;
  min-height: 100vh;
  overflow: hidden;
}

/* Wrapper handles the bubble positioning */
.dp-wrapper {
  position: relative;
  padding: 20px 50px;
}

/* BUBBLES */
.dp-bubble {
  position: absolute;
  background: rgba(10,14,28,0.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 230px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 20px rgba(45,140,255,0.12);
  z-index: 20;
  pointer-events: none;
}
.dp-bubble::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse 2s infinite;
}
/* Bub-1 (left card) — dot on RIGHT side pointing toward KPIs */
.dp-bub-1::before { right: -4px; top: 50%; transform: translateY(-50%); }
/* Bub-2 (right card) — dot on LEFT side pointing toward stock column */
.dp-bub-2::before { left: -4px; top: 50%; transform: translateY(-50%); }
/* Bub-3 (left card) — dot on RIGHT side pointing toward chart */
.dp-bub-3::before { right: -4px; top: 50%; transform: translateY(-50%); }
/* Bub-4 (right card) — dot on LEFT side pointing toward export tab */
.dp-bub-4::before { left: -4px; top: 50%; transform: translateY(-50%); }
.bub-icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.bub-text { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.bub-text strong { color: var(--text-primary); font-size: 12px; display: block; margin-bottom: 2px; }

.dp-bub-1 { top: 220px;  left: -60px;  animation: dpFloat1 5s   ease-in-out 0s   infinite alternate; }
.dp-bub-2 { top: 340px;  right: -60px; animation: dpFloat2 6s   ease-in-out 0.6s infinite alternate; }
.dp-bub-3 { bottom: 60px; left: -30px;  animation: dpFloat3 5.5s ease-in-out 1.2s infinite alternate; }
.dp-bub-4 { top: 14px;   right: -30px; animation: dpFloat4 4.8s ease-in-out 1.8s infinite alternate; }

@keyframes dpFloat1 { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes dpFloat2 { from { transform: translateY(0); } to { transform: translateY(10px); } }
@keyframes dpFloat3 { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes dpFloat4 { from { transform: translateY(0); } to { transform: translateY(12px); } }

/* MAIN MOCKUP */
.dp-mockup {
  background: rgba(8,13,26,0.98);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 0 80px rgba(45,140,255,0.2), 0 0 160px rgba(0,210,170,0.07), 0 24px 64px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex;
}
.dp-main {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(45,140,255,0.3) transparent;
}
.dp-main::-webkit-scrollbar { width: 4px; }
.dp-main::-webkit-scrollbar-track { background: transparent; }
.dp-main::-webkit-scrollbar-thumb { background: rgba(45,140,255,0.3); border-radius: 2px; }

/* Sidebar */
.dp-sidebar {
  width: 190px;
  flex-shrink: 0;
  background: rgba(10,15,35,0.98);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.dp-sidebar-logo {
  padding: 16px 14px 12px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.dp-tabs { display: flex; flex-direction: column; gap: 3px; padding: 10px 8px; flex: 1; }
.dptab {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-align: left;
  display: block;
}
.dptab.active { background: rgba(45,140,255,0.15); color: var(--text-primary); }
.dptab.dp-action-btn { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); font-size: 10px; padding: 6px 10px; margin-bottom: 4px; }
.dp-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2D8CFF, #00D2AA);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white;
  flex-shrink: 0;
}
.dp-logout-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  text-align: center;
}
.dp-sidebar-billing {
  padding: 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.dp-plan-badge {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; margin-bottom: 6px;
  background: rgba(45,140,255,0.07);
  border: 1px solid rgba(45,140,255,0.15); border-radius: 6px;
}
.dp-plan-label { font-size: 10px; color: var(--text-muted); font-weight: 500; }
.dp-plan-name { font-size: 11px; font-weight: 700; color: var(--primary); }
.dp-quick-actions {
  display: flex; justify-content: center; gap: 6px; padding: 8px 10px;
  border-top: 1px solid var(--border);
}
.dp-qa {
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 12px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  cursor: default;
}
.dp-url-quota { margin-top: 8px; }
.dp-url-quota-header { display: flex; justify-content: space-between; font-size: 9px; color: var(--text-muted); margin-bottom: 4px; }
.dp-url-quota-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.dp-url-quota-fill { height: 100%; background: linear-gradient(90deg, #2D8CFF, #00D2AA); border-radius: 4px; }
.dp-manage-btn {
  width: 100%; background: none; border: 1px solid rgba(0,210,170,0.25);
  color: var(--text-muted); padding: 7px 8px; border-radius: 6px; font-size: 10px;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 8px;
}
.dp-sidebar-footer {
  padding: 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.dp-user-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px; min-width: 0;
}
.dp-user-info {
  display: flex; flex-direction: column; gap: 1px; overflow: hidden; flex: 1; min-width: 0;
}
.dp-user-name { font-size: 11px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-user-email { font-size: 10px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Filters */
.dp-filters {
  display: flex;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
}
.dp-filter-sel {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: border-color 0.2s;
}
.dp-filter-sel:hover { border-color: var(--primary); }

/* KPIs */
.dp-kpis {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.dp-kpi {
  background: rgba(45,140,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  transition: all 0.3s;
}
.dp-kpi.danger:hover { box-shadow: 0 0 20px rgba(255,61,113,0.15); border-color: rgba(255,61,113,0.3); }
.dp-kpi.warn:hover { box-shadow: 0 0 20px rgba(255,179,0,0.15); border-color: rgba(255,179,0,0.3); }
.dpkpi-label { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.dpkpi-val { font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 700; line-height: 1; }
.dpkpi-val.neutral { background: linear-gradient(135deg,#2D8CFF,#00D2AA); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.dpkpi-val.dang { color: var(--danger); }
.dpkpi-val.warn-v { color: var(--warning); }

/* Table */
.dp-table-wrap {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.dp-table-wrap::-webkit-scrollbar { width: 3px; }
.dp-table-wrap::-webkit-scrollbar-thumb { background: rgba(45,140,255,0.2); border-radius: 2px; }
.dp-table-title { font-size: 13px; font-weight: 700; text-align: center; margin-bottom: 8px; flex-shrink: 0; }
.dp-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.dp-table th {
  background: rgba(45,140,255,0.08);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 9px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.dp-table td {
  padding: 7px 10px;
  font-size: 12px;
  border-bottom: 1px solid rgba(45,140,255,0.06);
  color: var(--text-primary);
}
.dp-table tr:hover td { background: rgba(255,255,255,0.02); }
.dp-table tr:last-child td { border-bottom: none; }
.dp-sku { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); }
.dp-conc { font-size: 11px; font-weight: 500; }
.dp-comp-badge {
  display: inline-block; padding: 2px 8px; border-radius: 8px;
  font-size: 10px; font-weight: 600; white-space: nowrap;
}
.dp-mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.dp-neg { color: var(--danger); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.dp-zero { color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.dp-badge { padding: 3px 8px; border-radius: 20px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.dp-ok { background: rgba(0,210,170,0.12); color: var(--success); border: 1px solid rgba(0,210,170,0.3); }
.dp-rup { background: rgba(255,61,113,0.12); color: var(--danger); border: 1px solid rgba(255,61,113,0.3); }
.dp-pagination {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; padding: 10px 20px; border-top: 1px solid var(--border);
  font-size: 11px; color: var(--text-muted);
}
.dp-pg-btn {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-muted); width: 26px; height: 26px;
  border-radius: 6px; cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
}
.dp-pg-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Charts */
.dp-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 20px 16px;
}
.dp-chart-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  max-height: 200px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dp-chart-card canvas {
  flex: 1;
  min-height: 0;
  max-height: 150px;
}
.dp-chart-title { font-size: 11px; color: var(--text-muted); font-weight: 600; margin-bottom: 10px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .dp-wrapper { padding: 0 20px; }
  .dp-bubble { display: none; }
  .dp-kpis { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .dashboard-preview-section { padding: 60px 16px 80px; min-height: auto; max-height: none; }
  .dp-wrapper { padding: 0; }
  .dp-mockup { border-radius: 12px; max-height: none; overflow: visible; }
  .dp-sidebar { display: none; }
  .dp-main { overflow-y: visible; }
  .dp-kpis { grid-template-columns: repeat(2,1fr); gap: 8px; padding: 12px; }
  .dpkpi-val { font-size: 20px; }
  .dp-filters { padding: 10px 12px; gap: 6px; }
  .dp-filter-sel { font-size: 10px; padding: 5px 10px; }
  .dp-table-wrap { padding: 12px; max-height: 200px; overflow-y: auto; }
  .dp-charts { grid-template-columns: 1fr; padding: 12px; }
  .dp-chart-card { max-height: 160px; }
}



/* ===================== END DASHBOARD PREVIEW ===================== */


/* ===================== FAQ ===================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover {
  border-color: rgba(45,140,255,0.4);
}
.faq-item.open {
  border-color: rgba(0,210,170,0.4);
  box-shadow: 0 0 20px rgba(0,210,170,0.06);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--secondary); }
.faq-item.open .faq-q { color: var(--secondary); }
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.35s ease, color 0.2s;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 24px 20px;
}
.faq-a p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-a p + p { border-top: none; padding-top: 0; margin-top: 8px; }
.faq-a ul { margin: 10px 0 10px 16px; padding: 0; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.faq-a ul li { margin-bottom: 4px; list-style: disc; }
.faq-a ul li strong { color: var(--text-secondary); font-weight: 600; }
.faq-a p:last-child { margin-top: 10px; }
/* ===================== END FAQ ===================== */


/* ===================== THEME TOGGLE ===================== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(0,210,170,0.25);
  transform: rotate(15deg);
}
.theme-icon-light { display: none; }
.theme-icon-dark  { display: flex; }

/* Account icon button */
.btn-account {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  text-decoration: none;
}
.btn-account:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 12px rgba(45,140,255,0.2);
}
/* ===================== CONTACT GRID ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .faq-grid { grid-template-columns: 1fr; gap: 12px; }
  #faq .section-inner > .reveal { margin-bottom: 32px !important; }
}

/* ===================== END THEME TOGGLE ===================== */

/* ============================================================
   JETBRAINS MONO — badges & données numériques uniquement
   Règle : uniquement sur les badges status/stock, les chiffres
   KPI, prix, SKU et code technique. Jamais sur labels texte,
   navigation, titres de section ou corps de texte.
   ============================================================ */

/* Nav links — DM Sans (already inherited, explicit override) */
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

/* Stat labels under big numbers — DM Sans */
.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

/* Chart title — DM Sans */
.chart-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* Pricing period — DM Sans */
.pricing-period {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

/* Alert item text — DM Sans */
.alert-item p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

/* Adv card h3 labels — DM Sans */
.adv-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

/* Feature item h4 labels — DM Sans */
.feature-item-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

/* KPI labels — DM Sans */
.dash-kpi-label, .dpkpi-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

/* Notif title — DM Sans */
.notif-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

/* Contact form labels — DM Sans */
.contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Light mode overrides */
body.light .nav-links a { color: var(--text-muted); }
body.light .stat-label { color: var(--text-muted); }
body.light .chart-title { color: var(--primary); }
body.light .pricing-period { color: var(--text-muted); }
body.light .pricing-setup { color: var(--primary); }
body.light .alert-item p { color: var(--text-muted); }
body.light .adv-card h3 { color: var(--text-primary); }
body.light .feature-item-text h4 { color: var(--text-primary); }
body.light .notif-title { color: var(--primary); }

/* ============================================================
   LIGHT MODE — overrides via body.light
   ============================================================ */
body.light {
  --bg-void:    #F0F4FB;
  --bg-deep:    #F5F8FF;
  --bg-card:    #EAEFF9;
  --bg-glass:   rgba(255,255,255,0.7);
  --text-primary: #0A1628;
  --text-muted:   #4A6080;
  --border:       rgba(45,140,255,0.18);
  --border-light: rgba(0,210,170,0.3);
  background: var(--bg-void);
  color: var(--text-primary);
}

/* Nav scrolled in light */
body.light nav.scrolled {
  background: rgba(240,244,251,0.92);
  border-bottom-color: rgba(45,140,255,0.15);
}

/* Orbs less visible in light */
body.light .orb { opacity: 0.12; }

/* Hero background */
body.light #hero { background: linear-gradient(135deg, #F0F4FB 0%, #E8EFFE 100%); }

/* Particles lighter */
body.light #hero-particles { opacity: 0.6; }
body.light #hero-particles > div {
  filter: saturate(1.4) brightness(0.85);
}

/* Sections */
body.light .section-stats { background: var(--bg-deep); border-color: rgba(45,140,255,0.1); }
body.light .section-bg-card { background: var(--bg-card); }
body.light .dashboard-preview-section { background: var(--bg-card); }

/* Cards */
body.light .stat-card,
body.light .alrt-card,
body.light .history-chart-container,
body.light .pricing-card,
body.light .adv-card-new {
  background: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.08);
}
body.light .adv-card-new h3 { color: var(--text-primary); }
body.light .adv-card-new .adv-list li { color: var(--text-muted); }
body.light .adv-card,
body.light .faq-item {
  background: rgba(255,255,255,0.85);
  border-color: rgba(45,140,255,0.15);
  box-shadow: 0 2px 16px rgba(45,140,255,0.08);
}

/* Nav ghost btn */
body.light .btn-ghost {
  background: rgba(255,255,255,0.8);
  border-color: rgba(45,140,255,0.2);
  color: var(--text-primary);
}

/* Account btn */
body.light .btn-account {
  color: var(--text-muted);
  border-color: rgba(45,140,255,0.2);
  background: rgba(255,255,255,0.7);
}
body.light .btn-account:hover { color: var(--primary); }

/* Tag pill */
body.light .tag-pill {
  background: rgba(45,140,255,0.1);
  border-color: rgba(45,140,255,0.25);
  color: var(--primary);
}

/* Hero live-pill badge in light mode */
body.light .live-pill {
  background: rgba(45,140,255,0.08);
  border-color: rgba(45,140,255,0.3);
  color: var(--primary);
}
body.light .live-dot { background: var(--primary); }

/* Section sub text */
body.light .section-sub { color: var(--text-muted); }

/* Feature pills in hero */
body.light .feature-pill {
  background: rgba(255,255,255,0.75);
  border-color: rgba(45,140,255,0.2);
  color: var(--text-primary);
}

/* Dashboard mockup in preview */
body.light .dp-mockup,
body.light .preview-dash {
  background: rgba(255,255,255,0.92);
  border-color: rgba(45,140,255,0.2);
}
body.light .dp-sidebar { background: rgba(230,238,255,0.98); border-color: rgba(45,140,255,0.15); }
body.light .dp-kpi { background: rgba(45,140,255,0.06); border-color: rgba(45,140,255,0.15); }
body.light .dp-chart-card,
body.light .preview-chart-box { background: rgba(255,255,255,0.9); border-color: rgba(45,140,255,0.15); }
body.light .dp-table th { background: rgba(45,140,255,0.08); }
body.light .dp-table td,
body.light .dp-table tr:hover td { color: var(--text-primary); }
body.light .dp-qa { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); }
body.light .dp-url-quota-bar { background: rgba(0,0,0,0.08); }

/* Pricing featured card */
body.light .pricing-card.featured { background: rgba(255,255,255,0.96); }

/* Pricing price */
body.light .pricing-price { color: var(--primary); }
body.light .pricing-price-old { -webkit-text-fill-color: #999; }
body.light .pricing-toggle { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.1); }
body.light .pricing-toggle-btn { color: var(--text-muted); }
body.light .pricing-toggle-btn.active { color: #fff; }
body.light .pricing-toggle-badge { background: rgba(0,210,170,0.12); }

/* Nav scrolled background */
body.light nav { color: var(--text-primary); }
body.light .nav-links a { color: var(--text-muted); }
body.light .nav-links a:hover { color: var(--text-primary); }

/* Dashboard mockup (feature section) */
body.light .dashboard-mockup {
  background: rgba(255,255,255,0.9);
  border-color: rgba(45,140,255,0.2);
}

/* Mini table in mockup */
body.light .mini-table-inner { background: rgba(255,255,255,0.95); }
body.light .mockup-sidebar { background: rgba(0,0,0,0.03); border-right-color: rgba(0,0,0,0.1); }
body.light .mk-chart-card { background: rgba(45,140,255,0.05); border-color: rgba(0,0,0,0.1); }
body.light .mk-filter-pill { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.1); }
body.light .mk-filter-active { background: rgba(45,140,255,0.08); border-color: rgba(45,140,255,0.3); }

/* Adv list items */
body.light .adv-list li { color: var(--text-muted); }
body.light .adv-card h3 { color: var(--text-primary); }

/* FAQ */
body.light .faq-q { color: var(--text-primary); }
body.light .faq-a p { color: var(--text-muted); border-top-color: rgba(45,140,255,0.12); }

/* Footer */
body.light footer { background: var(--bg-card); border-top-color: rgba(45,140,255,0.1); }
body.light .footer-bottom { border-top-color: rgba(45,140,255,0.1); }

/* Mobile menu */
body.light .mobile-menu { background: rgba(240,244,251,0.98); border-color: rgba(45,140,255,0.15); }
body.light .mobile-menu a { color: var(--text-muted); }

/* Theme toggle active state in light */
body.light .theme-icon-dark { display: none; }
body.light .theme-icon-light { display: flex; }

/* Notification popup */
body.light .notif-popup { background: rgba(255,255,255,0.96); border-color: rgba(45,140,255,0.4); box-shadow: 0 0 20px rgba(45,140,255,0.15); }
body.light .alrt-email { background: rgba(255,255,255,0.95); border-color: rgba(45,140,255,0.2); box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
body.light .alrt-email-header { background: rgba(0,0,0,0.02); }
body.light .alrt-email-price { background: rgba(45,140,255,0.04); }
body.light .alrt-email-diff { background: rgba(255,61,113,0.04); }
body.light .notif-dot { background: var(--primary); }
/* Contact section labels — blue in light mode */
body.light #contact { --secondary: #2D8CFF; }

/* Contact select light mode */
body.light .contact-select {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(45,140,255,0.2) !important;
  color: var(--text-primary) !important;
}
body.light .contact-select option { background: #ffffff; color: var(--text-primary); }

/* History chart */
body.light .history-chart-container { background: rgba(255,255,255,0.85); }

/* Login section bg */
body.light .login-section { background: var(--bg-card); }

/* Dashboard preview bubbles */
body.light .dp-bubble {
  background: rgba(255,255,255,0.95);
  border-color: rgba(45,140,255,0.2);
  box-shadow: 0 4px 20px rgba(45,140,255,0.12), 0 1px 4px rgba(0,0,0,0.08);
}
body.light .dp-bubble .bub-text { color: #4A6080; }
body.light .dp-bubble .bub-text strong { color: #0A1628; }

/* Also cover the old bubble classes from the login preview section */
body.light .bubble {
  background: rgba(255,255,255,0.95);
  border-color: rgba(45,140,255,0.2);
  box-shadow: 0 4px 20px rgba(45,140,255,0.12), 0 1px 4px rgba(0,0,0,0.08);
}
body.light .bubble .bub-text { color: #4A6080; }
body.light .bubble .bub-text strong { color: #0A1628; }

/* dp-bubble dot */
body.light .dp-bubble::before {
  box-shadow: 0 0 6px var(--secondary);
}

/* dashboard-preview section wrapper */
body.light .dp-wrapper { }

/* dp-filter selectors */
body.light .dp-filter-sel {
  background: rgba(255,255,255,0.8);
  border-color: rgba(45,140,255,0.15);
  color: #4A6080;
}
body.light .dp-filter-sel:hover { border-color: var(--primary); }

/* dp-table rows */
body.light .dp-table { color: #0A1628; }
body.light .dp-table td { color: #0A1628; border-bottom-color: rgba(45,140,255,0.08); }
body.light .dp-table tr:hover td { background: rgba(45,140,255,0.04); }
body.light .dp-conc { color: var(--secondary); }
body.light .dp-sku { color: #4A6080; }
body.light .dp-zero { color: #4A6080; }
body.light .dp-pg-btn { background: rgba(255,255,255,0.8); border-color: rgba(45,140,255,0.15); color: #4A6080; }
body.light .dp-logout-btn { border-color: rgba(45,140,255,0.2); color: #4A6080; }


/* dp-tabs */
body.light .dptab { color: #4A6080; }
body.light .dptab.active { background: rgba(45,140,255,0.12); color: #0A1628; }
body.light .dptab.dp-action-btn { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }

/* dp kpi values - keep gradient / danger / warning colors, they work on light */
body.light .dpkpi-label { color: #4A6080; }

/* Chart title */
body.light .dp-chart-title { color: #4A6080; }
body.light .chart-range-toggle { background: rgba(0,0,0,0.06); }
body.light .chart-range-btn { color: #6B7A8D; }
body.light .chart-range-btn:hover { color: #2D3A4A; }
body.light .chart-range-btn.active { background: var(--primary); color: #fff; }

/* Table title */
body.light .dp-table-title { color: #0A1628; }

/* Pagination text */
body.light .dp-pagination { color: #4A6080; }

/* dp-badge colors unchanged (already colorful) */

/* Preview section label */
body.light .preview-label { color: var(--secondary); }



body.light nav {
  background: rgba(240,244,251,0.0);
}
body.light nav.scrolled {
  background: rgba(240,244,251,0.96);
}
/* ===================== END LIGHT MODE ===================== */


/* ===================== LOGO THEME SWAP ===================== */
.logo-swap { display: inline-flex; align-items: center; }
.logo-d { display: block; }
.logo-l { display: none; }
body.light .logo-d { display: none; }
body.light .logo-l { display: block; }
/* ===================== END LOGO SWAP ===================== */

/* ============================================================
   LOGIN MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  position: relative;
  width: min(440px, 92vw);
  padding: 48px 40px 40px;
  border-radius: 24px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}
.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}
.modal-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.modal-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.modal-error {
  display: none;
  background: rgba(255, 61, 113, 0.1);
  border: 1px solid rgba(255, 61, 113, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: #FF3D71;
  margin-bottom: 16px;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.modal-field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 140, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}
.modal-field input:focus {
  border-color: rgba(45, 140, 255, 0.55);
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-muted);
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}
.password-toggle:hover { color: var(--text-primary); }
.modal-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 14px 28px;
  margin-top: 4px;
  gap: 8px;
  display: flex;
  align-items: center;
}
.modal-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-demo-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.modal-demo-link button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  padding: 0 0 0 2px;
  transition: opacity 0.2s;
}
.modal-demo-link button:hover { opacity: 0.75; }

/* Light mode overrides */
.light .modal-field input {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(45, 140, 255, 0.25);
  color: var(--text-primary);
}
.light .modal-field input:focus {
  border-color: rgba(45, 140, 255, 0.6);
}
.light .modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ─── COOKIE CONSENT ─────────────────────────────────────────── */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(12, 14, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 14px 24px;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner.visible {
  display: flex;
  animation: cookieSlideUp 0.3s ease;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  min-width: 180px;
}
.cookie-link { color: var(--primary); text-decoration: none; }
.cookie-link:hover { text-decoration: underline; }
.cookie-banner-btns { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}
.cookie-btn-settings {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.cookie-btn-settings:hover { border-color: var(--primary); color: var(--primary); }
.cookie-btn-reject {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.cookie-btn-reject:hover { border-color: var(--danger); color: var(--danger); }
.cookie-btn-accept {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
}
.cookie-btn-accept:hover { opacity: 0.85; }

/* Panel overlay */
.cookie-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-panel-overlay.open { opacity: 1; pointer-events: auto; }
.cookie-panel-card { width: 100%; max-width: 480px; padding: 28px; border-radius: 20px; }
.cookie-panel-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-primary);
}
.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.cookie-cat + .cookie-cat { border-top: 1px solid var(--border); }
.cookie-cat-info { flex: 1; }
.cookie-cat-name { display: block; font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.cookie-cat-desc { display: block; font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.cookie-always-on {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 2px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  top: 2px; left: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-track { background: var(--primary); border-color: var(--primary); }
.cookie-toggle input:checked + .cookie-toggle-track::after { transform: translateX(20px); background: #fff; }

.cookie-panel-btns { display: flex; gap: 10px; margin-top: 20px; }
.cookie-panel-btns .cookie-btn { flex: 1; text-align: center; }

/* Footer link */
.cookie-manage-link {
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
}
.cookie-manage-link:hover { color: var(--primary); }

/* Light theme */
.light .cookie-banner { background: rgba(240,242,255,0.97); border-color: rgba(0,0,0,0.07); }
.light .cookie-toggle-track { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.15); }
.light .cookie-toggle-track::after { background: #999; }

/* Mobile */
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 12px; }
  .cookie-banner-btns { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ── Integrations onglet ───────────────────────────────── */
.integ-category { margin-bottom: 28px; }
.integ-category-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.integ-subtab {
  padding: 7px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.integ-subtab:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.integ-subtab.active {
  background: var(--primary);
  color: #fff;
}
html.light .integ-subtab:hover { background: rgba(0,0,0,0.06); }
html.light .integ-subtab.active { background: var(--primary); color: #fff; }

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

.integ-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color 0.2s, transform 0.15s;
  cursor: pointer;
}
.integ-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.integ-card.integ-card-gated {
  border-style: dashed;
  border-color: rgba(255,255,255,0.08);
  cursor: pointer;
}
.integ-card.integ-card-gated:hover { border-color: rgba(255,255,255,0.15); transform: none; }
.integ-card.integ-active { border-color: var(--accent); }

.integ-card-logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.integ-card-logo svg { width: 40px; height: 40px; }

.integ-card-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.integ-card-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: -4px;
}
.integ-card-status {
  font-size: 0.72rem;
  font-weight: 600;
}
.integ-card-status > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
}
.integ-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.integ-status-active {
  background: rgba(0,210,170,0.12);
  color: var(--accent);
}
.integ-status-active .integ-status-dot {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 1.5s ease infinite;
}
.integ-status-inactive {
  background: rgba(255,176,32,0.10);
  color: #FFB020;
}
.integ-status-inactive .integ-status-dot {
  background: #FFB020;
}
.integ-status-locked {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.integ-status-locked.badge-pro {
  background: linear-gradient(135deg, #2D8CFF, #6C5CE7);
}
.integ-status-locked.badge-business {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
}

/* Webhooks table dans onglet integrations */
#webhooksTable .wh-event-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(45,140,255,0.1);
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}
#webhooksTable .wh-url {
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#webhooksTable .wh-actions {
  display: flex;
  gap: 6px;
}
.wh-action-btn {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.wh-action-btn:hover { border-color: var(--primary); background: rgba(45,140,255,0.08); color: var(--primary); }
.wh-action-btn.wh-btn-danger { color: var(--text-muted); }
.wh-action-btn.wh-btn-danger:hover { border-color: var(--danger); background: rgba(255,61,113,0.08); color: var(--danger); }

/* Webhook modals — select style identique a .modal-field input */
.modal-field-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(45, 140, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal-field-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.15);
}
.modal-field-select option {
  background: #0d1025;
  color: #e0e0e0;
  padding: 8px;
}
.light .modal-field-select option {
  background: #fff;
  color: #1a1a2e;
}

/* Webhook secret modal */
.wh-secret-box {
  position: relative;
  margin-bottom: 12px;
}
.wh-secret-code {
  display: block;
  background: rgba(45,140,255,0.06);
  border: 1px solid rgba(45,140,255,0.2);
  border-radius: 12px;
  padding: 14px 80px 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  word-break: break-all;
  color: var(--primary);
}
.wh-secret-copy {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(45,140,255,0.3);
  background: rgba(45,140,255,0.08);
  color: var(--primary);
  cursor: pointer;
  transition: background 0.15s;
}
.wh-secret-copy:hover { background: rgba(45,140,255,0.15); }
.wh-secret-warning {
  font-size: 0.78rem;
  color: var(--danger);
  margin: 8px 0 0;
}

/* Webhook deliveries modal */
.wh-deliveries-scroll {
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

/* Integ card lock icon for gated cards */
.integ-lock-icon {
  font-size: 0.7rem;
  opacity: 0.4;
  margin-top: -2px;
}

/* Light mode overrides */
.light .integ-card { background: #fff; }
.light .integ-card.integ-card-gated { border-color: rgba(0,0,0,0.1); }
.light .integ-card.integ-card-gated:hover { border-color: rgba(0,0,0,0.2); }
.light .wh-action-btn { background: #f8f9fa; }
.light .modal-field-select { background: #f8f9fa; border-color: #ddd; color: #1a1a2e; }
.light .wh-secret-code { background: rgba(45,140,255,0.04); }
.light .wh-secret-copy { background: rgba(45,140,255,0.06); }

/* Responsive */
@media (max-width: 1024px) {
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .integ-grid { grid-template-columns: 1fr; }
  .integ-card { padding: 16px; }
  #webhooksTable .wh-url { max-width: 160px; }
}

/* ── Overlay maintenance ─────────────────────────────────── */
.maintenance-overlay{position:fixed;inset:0;z-index:99999;background:#0a0e1a;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .3s}
.maintenance-overlay.open{opacity:1;pointer-events:auto}
/* ─── Modal tabs (Connexion / Essai gratuit) ─────────────── */
.modal-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.modal-tab {
  flex: 1;
  padding: 10px 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.modal-tab.active {
  background: rgba(45,140,255,0.15);
  color: #2D8CFF;
}
.modal-tab:hover:not(.active) {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

/* ─── Trial banner (sidebar dashboard) ───────────────────── */
.trial-banner {
  margin: 0 0 8px 0;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(0,210,170,0.12), rgba(45,140,255,0.12));
  border: 1px solid rgba(0,210,170,0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.trial-banner-icon {
  font-size: 1.4rem;
}
.trial-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trial-banner-text strong {
  font-size: 0.82rem;
  color: var(--text-primary);
}
.trial-banner-text span {
  font-size: 0.75rem;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}
.trial-banner-cta {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #00D2AA, #2D8CFF);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.trial-banner-cta:hover {
  opacity: 0.85;
}
.trial-banner.trial-expiring {
  border-color: rgba(255,61,113,0.4);
  background: linear-gradient(135deg, rgba(255,61,113,0.12), rgba(255,140,45,0.12));
}
.trial-banner.trial-expiring .trial-banner-text span {
  color: #FF3D71;
}


/* ════════════════════════════════════════════════════════════
   Inline handlers extracted — CSS hover/focus (2026-03-10)
   ════════════════════════════════════════════════════════════ */

/* Contact info cards hover */
.contact-info-card:hover {
  border-color: rgba(45,140,255,0.4) !important;
  box-shadow: 0 0 24px rgba(45,140,255,0.15) !important;
}
.contact-info-card--cyan:hover {
  border-color: rgba(0,210,170,0.4) !important;
  box-shadow: 0 0 24px rgba(0,210,170,0.12) !important;
}

/* Contact info icons hover */
.contact-info-icon:hover {
  box-shadow: 0 0 40px rgba(45,140,255,0.4) !important;
}
.contact-info-icon--cyan:hover {
  box-shadow: 0 0 40px rgba(0,210,170,0.35) !important;
}

/* Contact form inputs/select/textarea focus */
.contact-field:focus,
.contact-select:focus {
  border-color: rgba(45,140,255,0.5) !important;
}

/* Reset filters button hover */
#resetFiltersBtn:hover {
  background: rgba(255,61,113,0.15) !important;
  border-color: rgba(255,61,113,0.5) !important;
}

/* ═══════════════════════════════════════════
   ONBOARDING GUIDE
   ═══════════════════════════════════════════ */

.onb-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  opacity: 0;
  pointer-events: none;
}
.onb-overlay.active {
  opacity: 1;
}

[data-onb-highlight] {
  position: relative !important;
  z-index: 8001 !important;
  outline: 2px solid var(--primary) !important;
  outline-offset: 6px !important;
  border-radius: 12px;
}
[data-onb-highlight]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.6);
  z-index: -1;
  pointer-events: none;
}

.onb-popover {
  position: fixed;
  z-index: 8002;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  max-width: 380px;
  width: max-content;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.onb-popover.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.onb-title {
  font-family: Outfit, DM Sans, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.onb-message {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.onb-hint {
  font-size: 0.75rem;
  color: var(--accent);
  margin: 4px 0 0;
  font-style: italic;
}

.onb-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}
.onb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background 0.2s ease;
}
.onb-dot.completed { background: var(--accent); }
.onb-dot.active { background: var(--primary); transform: scale(1.2); }

.onb-step-label {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.onb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.onb-btn {
  border: none;
  cursor: pointer;
  font-family: DM Sans, sans-serif;
  font-size: 0.82rem;
  border-radius: 10px;
  padding: 8px 16px;
  transition: opacity 0.15s ease;
}
.onb-btn:hover { opacity: 0.85; }
.onb-btn-next {
  background: var(--primary);
  color: #fff;
}
.onb-btn-prev {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.onb-btn-skip {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 8px 10px;
  margin-right: auto;
}

/* Light mode */
body.light .onb-dot { background: rgba(0,0,0,0.1); }

/* Mobile */
@media (max-width: 768px) {
  .onb-popover {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto !important;
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px;
  }
  .onb-message { font-size: 0.8rem; }
  .onb-dot { width: 8px; height: 8px; }
}
