/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --color-bg-primary: #080810;
  --color-bg-secondary: #0d0d18;
  --color-bg-tertiary: #121220;
  --color-bg-elevated: rgba(255, 255, 255, 0.03);
  --color-bg-hover: rgba(255, 255, 255, 0.06);

  --color-text-primary: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.72);
  --color-text-tertiary: rgba(255, 255, 255, 0.52);
  --color-text-muted: rgba(255, 255, 255, 0.42);
  
  /* Kicker (pill) */
    --kicker-bg: rgba(255,255,255,0.04);
    --kicker-border: rgba(255,255,255,0.10);

  /* ✅ Demasked Violet System */
  --dm-violet-1: #33196b;
  --dm-violet-2: #7b49ff;
  --dm-violet-3: #b79cff; /* highlight doux */
  --dm-violet-4: #4b2aae; /* mid */

  /* Accents */
  --color-accent-1: var(--dm-violet-1);
  --color-accent-2: var(--dm-violet-4);
  --color-accent-3: var(--dm-violet-2);
  --color-accent-4: var(--dm-violet-3);
  --color-accent-5: var(--dm-violet-2);

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.16);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #33196b 0%, #4b2aae 45%, #7b49ff 100%);
  --gradient-glow: linear-gradient(90deg, #33196b 0%, #7b49ff 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 42px rgba(123, 73, 255, 0.26);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass */
  --glass-bg: var(--color-bg-elevated);
  --glass-border: var(--color-border);
  --glass-blur: 18px;

  /* Semantic */
  --color-success: #10b981;
  --color-warning: #fbbf24;
  --color-danger: #ef4444;


  /* Typography */
  --font-family: "Lexend", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;

  /* Tabs fade vars */
  --twOpacity: 1;
  --twY: 0px;
  --twBlur: 0px;

  /* Hero portal vars */
  --dmSiteRevealOpacity: 0;
  --dmPortalWidth: 100vw;
  --dmPortalX: 0px;
  --dmPortalY: 0px;
  --dmPortalScale: 1;
  --dmPortalClipTop: 100vh;
  --dmPortalClipRight: 0px;
  --dmPortalClipBottom: 0px;
  --dmPortalClipLeft: 0px;
  --dmPortalRadius: 0px;
  --dmPortalStageOpacity: 1;
  --dmTabsScale: 1;
  --dmTabsX: 0px;
  --dmTabsY: 0px;
  --dmTabsClipTop: 0px;
  --dmTabsClipSide: 0px;
  --dmTabsClipBottom: 0px;
  --dmTabsRadius: 0px;

  /* Shared stage background */
  --dm-stage-base:
    linear-gradient(180deg, #100c21 0%, #191433 46%, #0f0c1f 100%);
  --dm-stage-bloom:
    radial-gradient(circle at 50% 36%, rgba(123, 73, 255, 0.24) 0%, rgba(123, 73, 255, 0.12) 24%, transparent 58%),
    radial-gradient(circle at 0% 86%, rgba(123, 73, 255, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 100% 86%, rgba(123, 73, 255, 0.18) 0%, transparent 32%);
  --dm-stage-grid:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
}

/* ============================= */
/* ☀️ LIGHT MODE OVERRIDES */
/* ============================= */

body.light-mode{

  /* Backgrounds */
  --color-bg-primary: #f7f5ff;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #f0ebff;
  --color-bg-elevated: rgba(0, 0, 0, 0.03);
  --color-bg-hover: rgba(0, 0, 0, 0.06);
  
  /* Kicker (pill) - light mode */
    --kicker-bg: rgba(27,18,53,0.06);
    --kicker-border: rgba(27,18,53,0.12);

  /* Text */
  --color-text-primary: #1b1235;
  --color-text-secondary: rgba(27, 18, 53, 0.72);
  --color-text-tertiary: rgba(27, 18, 53, 0.52);
  --color-text-muted: rgba(27, 18, 53, 0.42);

  /* Borders */
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(0, 0, 0, 0.16);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20, 12, 40, 0.08);
  --shadow-md: 0 8px 32px rgba(20, 12, 40, 0.12);
  --shadow-lg: 0 24px 64px rgba(20, 12, 40, 0.18);

  /* Gradient card light */
  --gradient-card: linear-gradient(
    145deg,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.02) 100%
  );

  /* Glass */
  --glass-bg: rgba(255,255,255,0.70);
  --glass-border: var(--color-border);

  /* Semantic */
  --color-success: #059669;
  --color-warning: #d97706;
  --color-danger: #dc2626;

}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

:focus-visible {
  outline: 2px solid var(--color-accent-1);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */
.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  opacity: var(--dmBackgroundFxOpacity, 1);
  transition: opacity 0.35s ease;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--dm-stage-bloom), var(--dm-stage-base);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: var(--dm-stage-grid);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 40%, transparent 100%);
}

body.light-mode .bg-grid {
  background-image:
    linear-gradient(rgba(27, 18, 53, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 18, 53, 0.05) 1px, transparent 1px);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: #33196b;
  top: -200px;
  left: -150px;
  animation: floatOrb 20s infinite ease-in-out;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: #7b49ff;
  opacity: 0.35;
  bottom: -150px;
  right: -100px;
  animation: floatOrb 25s infinite ease-in-out reverse;
}
.orb-3 {
  width: 300px;
  height: 300px;
  background: #b79cff;
  opacity: 0.18;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseOrb 15s infinite ease-in-out;
}

@keyframes floatOrb {
  0%,
  100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, 40px) scale(1.05); }
  50% { transform: translate(-20px, 60px) scale(0.95); }
  75% { transform: translate(-40px, 20px) scale(1.02); }
}
@keyframes pulseOrb {
  0%,
  100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.2); }
}

/* Aurora + Grain */
.bg-effects::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 20% 30%, rgba(123, 73, 255, 0.20), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(51, 25, 107, 0.22), transparent 55%),
    radial-gradient(circle at 55% 20%, rgba(183, 156, 255, 0.12), transparent 50%);
  filter: blur(22px) saturate(1.15);
  opacity: var(--dmFixedTitleOpacity, 0.85);
  animation: dmAurora 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes dmAurora {
  0%   { transform: translate3d(-2%, -1%, 0) rotate(-2deg) scale(1.02); }
  50%  { transform: translate3d( 2%,  2%, 0) rotate( 1deg) scale(1.05); }
  100% { transform: translate3d( 1%, -2%, 0) rotate( 2deg) scale(1.03); }
}

.bg-effects::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: dmGrain 6s steps(10) infinite;
}
@keyframes dmGrain {
  0%,
  100% { transform: translate3d(0,0,0); }
  20% { transform: translate3d(-1%, 1%, 0); }
  40% { transform: translate3d( 1%, -1%, 0); }
  60% { transform: translate3d(-1%, -1%, 0); }
  80% { transform: translate3d( 1%, 1%, 0); }
}

/* Sparkles optionnels */
.dm-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  mask-image: radial-gradient(circle at 50% 25%, black 0%, transparent 70%);
}
.dm-sparkles span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(183,156,255,0.9);
  box-shadow: 0 0 14px rgba(123,73,255,0.55);
  animation: dmTwinkle 3.8s ease-in-out infinite;
}
@keyframes dmTwinkle {
  0%,
  100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.6); }
}

/* ============================================
   HERO INTRO
   ============================================ */
.dm-hero-intro {
  --heroProgress: 0;
  --heroDeviceExpand: 0;
  --heroPhoneExit: 0;
  --heroDeviceScale: 1;
  --heroDeviceShiftY: 0px;
  --heroPortalPreviewOpacity: 0.32;
  --heroPortalPreviewScale: 0.84;
  --heroPortalPreviewBlur: 6px;
  --heroPortalPreviewY: 42px;
  --heroDeviceBaseWidth: 390px;
  --heroScreenRadiusMin: 14px;
  --heroFrameFade: clamp(0, calc((var(--heroProgress) - 0.74) * 4.8), 1);
  --heroTextFade: clamp(0, calc(1 - ((var(--heroProgress) - 0.02) * 3.1)), 1);
  --heroSiteReveal: var(--dmSiteRevealOpacity, 0);

  position: relative;
  width: 100%;
  align-self: stretch;
  height: 220vh;
  background-color: rgba(0, 0, 0, 0.09);
}

.dm-hero-intro__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.dm-hero-intro__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--dm-stage-base);
  opacity: calc(1 - (var(--heroSiteReveal) * 1.04));
  transform: scale(calc(1 + (var(--heroProgress) * 0.04)));
  transform-origin: center top;
}

.dm-hero-intro__backdrop::before,
.dm-hero-intro__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dm-hero-intro__backdrop::before {
  background: var(--dm-stage-bloom);
  opacity: calc(0.92 - (var(--heroProgress) * 0.22));
}

.dm-hero-intro__backdrop::after {
  background-image: var(--dm-stage-grid);
  background-size: 60px 60px;
  opacity: clamp(0.3, calc(0.38 + (var(--heroProgress) * 0.18)), 0.48);
}

.dm-hero-portal-preview {
  display: none;
}

.dm-hero-portal-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 30%, rgba(9, 9, 17, 0), rgba(9, 9, 17, 0.08) 34%, rgba(9, 9, 17, 0.2) 70%),
    linear-gradient(180deg, rgba(9, 9, 17, 0.08) 0%, rgba(9, 9, 17, 0.22) 46%, rgba(9, 9, 17, 0.42) 100%);
}

.dm-hero-portal-preview__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(var(--dmPortalWidth, 1100px), calc(100vw - 48px));
  transform:
    translate3d(-50%, calc(-50% + var(--heroPortalPreviewY, 42px)), 0)
    scale(var(--heroPortalPreviewScale, 0.84));
  transform-origin: center top;
  opacity: var(--heroPortalPreviewOpacity, 0.32);
  filter:
    blur(var(--heroPortalPreviewBlur, 6px))
    saturate(1.04);
  will-change: transform, opacity, filter;
}

.dm-hero-portal-stage {
  display: none;
}

.dm-hero-portal-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 16%, rgba(123, 73, 255, 0.22), transparent 22%),
    radial-gradient(circle at 24% 22%, rgba(123, 73, 255, 0.2), transparent 28%),
    radial-gradient(circle at 78% 74%, rgba(51, 25, 107, 0.28), transparent 26%),
    linear-gradient(180deg, #090911 0%, #0d0c18 34%, #130f24 58%, #090910 100%);
}

.dm-hero-portal-stage__inner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: var(--dmPortalWidth, 100vw);
  transform-origin: top left;
  transform:
    translate3d(var(--dmPortalX, 0px), var(--dmPortalY, 0px), 0)
    scale(var(--dmPortalScale, 1));
  will-change: transform;
}

.dm-portal-clone {
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.dm-portal-preview-clone {
  width: 100%;
  pointer-events: none;
  user-select: none;
}

.dm-portal-clone .dm-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.dm-portal-preview-clone .dm-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.dm-hero-intro__inner {
  position: relative;
  z-index: 4;
  min-height: 100%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(22px, 4vh, 34px);
  padding: clamp(128px, 16vh, 176px) 24px 44px;
  text-align: center;
}

.dm-hero-intro__copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
  opacity: var(--heroTextFade);
  transform: translate3d(0, calc(var(--heroProgress) * -168px), 0);
  filter: blur(calc(var(--heroProgress) * 18px));
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
}

.dm-hero-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(183, 156, 255, 0.18);
  background: rgba(16, 14, 28, 0.72);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 20px 48px rgba(40, 27, 85, 0.28);
}

.dm-hero-intro__title {
  margin: 18px 0 16px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow: 0 10px 38px rgba(16, 9, 38, 0.34);
}

.dm-hero-intro__subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
}

.dm-hero-intro__actions {
  margin-top: 24px;
}

.dm-hero-intro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 236px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #33196b 0%, #4b2aae 46%, #7b49ff 100%);
  border: 1px solid rgba(183, 156, 255, 0.24);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    0 24px 58px rgba(62, 35, 140, 0.42),
    0 0 30px rgba(123, 73, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.28s cubic-bezier(.16,1,.3,1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.dm-hero-intro__button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 30px 64px rgba(62, 35, 140, 0.48),
    0 0 36px rgba(123, 73, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  border-color: rgba(183, 156, 255, 0.34);
}

.dm-hero-intro__device {
  position: relative;
  z-index: 6;
  width: min(var(--heroDeviceBaseWidth), calc(100vw - 34px));
  max-width: none;
  transform: translate3d(0, var(--heroDeviceShiftY, 0px), 0) scale(var(--heroDeviceScale, 1));
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

.dm-hero-intro__device::before {
  content: "";
  position: absolute;
  inset: 8% -2% -2%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 50%, rgba(123, 73, 255, 0.28), rgba(123, 73, 255, 0.08) 42%, transparent 72%);
  filter: blur(26px);
  opacity: clamp(0.18, calc(0.38 - (var(--heroProgress) * 0.16)), 0.38);
  z-index: -1;
}

.dm-hero-phone {
  position: relative;
  width: 100%;
  padding: 12px;
  border-radius: 54px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 28px 68px rgba(17, 10, 43, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -10px 24px rgba(132, 122, 181, 0.14);
  opacity: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.dm-hero-phone__frame {
  position: relative;
  aspect-ratio: 10 / 21;
  padding: 10px;
  border-radius: 46px;
  background: transparent;
  box-shadow:
    inset 0 0 0 10px rgba(241, 244, 250, 0.96),
    inset 0 1px 0 10px rgba(255, 255, 255, 0.88),
    inset 0 -8px 18px 10px rgba(132, 122, 181, 0.12);
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.dm-hero-phone__screen {
  position: relative;
  height: 100%;
  border-radius: clamp(
    var(--heroScreenRadiusMin, 14px),
    calc(38px - ((var(--heroDeviceExpand) + var(--heroPhoneExit)) * 28px)),
    38px
  );
  background: transparent;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 10px 34px rgba(255, 255, 255, 0.02);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.dm-hero-phone__screen::before,
.dm-hero-phone__screen::after {
  display: none;
}

.dm-hero-phone__island {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 148px;
  height: 38px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(3, 4, 8, 1), rgba(10, 11, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -3px 10px rgba(255, 255, 255, 0.03);
  opacity: 1;
  z-index: 12;
  pointer-events: none;
}

.dm-hero-phone__island::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 18px;
  width: 74px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  opacity: 0.9;
}

.dm-hero-phone__island::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.dm-hero-phone__island-camera {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 40% 35%, rgba(98, 142, 255, 0.82), rgba(20, 22, 36, 0.98) 72%);
  box-shadow:
    0 0 0 2px rgba(5, 6, 12, 0.92),
    0 0 18px rgba(90, 132, 255, 0.22);
}

.dm-hero-phone__edge {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(205, 212, 225, 0.92), rgba(242, 245, 250, 0.98), rgba(196, 203, 216, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56);
}

.dm-hero-phone__edge--volume {
  top: 122px;
  left: -4px;
  width: 4px;
  height: 110px;
}

.dm-hero-phone__edge--action {
  top: 162px;
  right: -4px;
  width: 4px;
  height: 72px;
}

.dm-hero-screen {
  display: none;
}

.dm-hero-screen::before,
.dm-hero-screen::after {
  display: none;
}

.dm-hero-phone__screen > .dm-hero-portal__badge {
  display: none;
}

.dm-hero-portal {
  width: min(1100px, calc(100vw - 48px));
  max-width: 1100px;
  flex: 0 0 auto;
  padding-bottom: 32px;
}

.dm-hero-portal__shell {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: 32px;
  padding: 34px 32px 32px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dm-hero-portal__header {
  text-align: center;
  margin-bottom: 22px;
}

.dm-hero-portal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(123, 73, 255, 0.1);
  border: 1px solid rgba(123, 73, 255, 0.18);
  color: var(--color-accent-4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dm-hero-portal__logo {
  display: block;
  width: min(320px, 52%);
  margin: 20px auto 16px;
  height: auto;
}

.dm-hero-portal__subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--color-text-tertiary);
  font-size: 18px;
  line-height: 1.55;
}

.dm-hero-portal__tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 8px;
  margin-bottom: 24px;
  background: rgba(0,0,0,0.4);
  border-radius: 18px;
}

.dm-hero-portal__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  color: var(--color-text-tertiary);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: transparent;
  border: 1px solid transparent;
}

.dm-hero-portal__tab.is-active {
  background: var(--gradient-glow);
  color: var(--color-bg-primary);
  box-shadow:
    0 10px 28px rgba(63, 24, 124, 0.34),
    0 0 34px rgba(123, 73, 255, 0.16);
}

.dm-hero-portal__panel {
  border-radius: 28px;
  padding: 32px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
}

.dm-hero-portal__kicker {
  display: inline-block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dm-hero-portal__title {
  margin: 18px 0 16px;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.dm-hero-portal__copy {
  max-width: 760px;
  color: var(--color-text-secondary);
  font-size: 19px;
  line-height: 1.7;
}

.dm-hero-portal__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.dm-hero-portal__stat {
  display: grid;
  gap: 6px;
  padding: 22px;
  text-align: center;
  border-radius: 22px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--color-border);
}

.dm-hero-portal__stat strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
}

.dm-hero-portal__stat span {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.dm-hero-intro__hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: clamp(0, calc(1 - (var(--heroProgress) * 1.75)), 1);
  transform: translate3d(0, calc(var(--heroProgress) * -18px), 0);
  position: relative;
  z-index: 3;
}

.dm-hero-intro__hint-line {
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(183, 156, 255, 0.42), rgba(255, 255, 255, 0));
}

.dm-header{
  backdrop-filter: none;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.main-container{
  margin: 130px auto 0 !important;   /* centre horizontalement */
  width: 100%;
  max-width: 1200px;
  position: relative;
}

.main-container--home {
  margin: calc(-100vh + 96px) auto 0 !important;
  padding-top: 0;
  z-index: 1;
}

.dm-app-stage-slot {
  position: relative;
  width: 100%;
}

.dm-app-stage {
  width: 100%;
  display: grid;
  gap: clamp(24px, 3.4vw, 42px);
  position: relative;
  will-change: transform;
  transform:
    translate3d(
      var(--dmTabsX, 0px),
      calc(var(--dmTabsY, 0px) + var(--twY)),
      0
    )
    scale(var(--dmTabsScale, 1));
  transform-origin: top left;
  opacity: var(--twOpacity);
  filter: blur(var(--twBlur));
  clip-path: inset(
    var(--dmTabsClipTop, 0px)
    var(--dmTabsClipSide, 0px)
    var(--dmTabsClipBottom, 0px)
    var(--dmTabsClipSide, 0px)
    round var(--dmTabsRadius, 0px)
  );
}

.dm-app-stage.is-hero-floating {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  margin: 0;
  max-width: none;
}

.dm-app-prelude {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  padding-inline: 10px;
}

.dm-app-prelude__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(183, 156, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(12, 11, 28, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 38px rgba(20, 10, 44, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  color: rgba(211, 194, 255, 0.88);
  text-transform: uppercase;
}

.dm-app-prelude__kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d7c8ff 0%, #7b49ff 100%);
  box-shadow: 0 0 18px rgba(123, 73, 255, 0.48);
}

.dm-app-prelude__title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 16px 44px rgba(11, 8, 28, 0.34);
}

.dm-app-prelude__title span {
  background: linear-gradient(135deg, #ffffff 0%, #dccdff 28%, #b79cff 62%, #7b49ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dm-app-prelude__copy {
  margin: 0;
  max-width: 620px;
  font-size: clamp(15px, 1.55vw, 19px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.66);
  text-wrap: balance;
}

@media (max-width: 980px) {
  .dm-app-stage {
    gap: 24px;
  }

  .dm-app-prelude {
    gap: 16px;
    padding-inline: 4px;
  }

  .dm-app-prelude__title {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .dm-app-stage {
    gap: 18px;
  }

  .dm-app-prelude__kicker {
    padding: 10px 14px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .dm-app-prelude__title {
    font-size: clamp(34px, 9vw, 46px);
    max-width: 10ch;
  }

  .dm-app-prelude__copy {
    font-size: 14px;
    line-height: 1.6;
  }
}

@media (max-width: 980px) {
  .dm-hero-intro {
    --heroDeviceBaseWidth: 320px;
    height: 175vh;
  }

  .dm-hero-intro__inner {
    padding-top: 132px;
    gap: 20px;
  }

  .dm-hero-intro__title {
    font-size: clamp(36px, 10vw, 62px);
  }

  .dm-hero-intro__subtitle {
    max-width: 540px;
    font-size: 16px;
  }

  .dm-hero-intro__device {
    width: min(var(--heroDeviceBaseWidth), calc(100vw - 28px));
  }

  .dm-hero-screen {
    inset: 0;
  }

  .dm-hero-portal {
    width: min(980px, calc(100vw - 28px));
    padding-bottom: 20px;
  }

  .dm-hero-portal__shell {
    padding: 24px 22px 22px;
    border-radius: 26px;
  }

  .dm-hero-portal__subtitle {
    font-size: 16px;
  }

  .dm-hero-portal__tabs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .dm-hero-portal__tab {
    width: 100%;
    min-width: 0;
  }

  .dm-hero-portal__panel {
    padding: 24px;
  }

  .dm-hero-portal__title {
    font-size: clamp(28px, 6vw, 42px);
  }

  .dm-hero-portal__copy {
    font-size: 16px;
  }

  .dm-hero-portal__stats {
    grid-template-columns: 1fr;
  }

  .main-container--home {
    margin-top: calc(-100vh + 88px) !important;
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .dm-hero-intro {
    --heroDeviceBaseWidth: 296px;
    height: 158vh;
  }

  .dm-hero-intro__inner {
    padding: 122px 18px 28px;
  }

  .dm-hero-intro__copy {
    max-width: 100%;
  }

  .dm-hero-intro__eyebrow {
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .dm-hero-intro__button {
    min-width: 100%;
  }

  .dm-hero-intro__hint {
    display: none;
  }

  .dm-hero-phone {
    padding: 10px;
    border-radius: 42px;
  }

  .dm-hero-phone__frame {
    border-radius: 34px;
    padding: 8px;
  }

  .dm-hero-phone__island {
    width: 110px;
    height: 30px;
  }

  .main-container--home {
    margin-top: calc(-100vh + 76px) !important;
    padding-top: 0;
  }
}

/* ============================================
   TABS WRAPPER (avec fade vars)
   ============================================ */
.tabs-wrapper {
  background: var(--gradient-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.tabs-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-4),
    var(--color-accent-1),
    var(--color-accent-3),
    transparent
  );
  opacity: 0.6;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(123, 73, 255, 0.10);
  border: 1px solid rgba(123, 73, 255, 0.18);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-accent-4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}

.section-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-accent-4);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.tab-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-logo {
  height: 80px;
  width: auto;
  display: block;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}
.tab-title:hover .tab-logo { transform: scale(1.05); }

.section-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-text-tertiary);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   TABS NAVIGATION
   ============================================ */
.tabs-nav {
  display: inline-flex;     /* garde inline */
  align-items: center;

  width: fit-content;
  max-width: 100%;

  margin-left: 50%;         /* 🔥 centrage propre */
  transform: translateX(-50%);

  padding: var(--space-sm);
  gap: var(--space-xs);

  background: rgba(0,0,0,0.4);
  border-radius: var(--radius-lg);

  position: relative;
  overflow-x: auto;
  position: relative;
  margin-bottom: var(--space-xl);

  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

/* WordPress-safe reset */
.tabs-nav .tab-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.tabs-nav .tab-btn[aria-selected="true"] {
  background: transparent !important;
  color: inherit !important;
}

/* Indicator */
.tab-indicator {
  position: absolute;
  left: 0;
  top: var(--space-sm);
  height: calc(100% - var(--space-md));
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  transition: var(--transition-slow);
  box-shadow:
    0 4px 24px rgba(63, 24, 124, 0.4),
    0 0 48px rgba(123, 73, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 1;
  pointer-events: none;
  will-change: transform, width;
}

#tabsNav{
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#tabIndicator{
  position: absolute;
  left: 0;              /* IMPORTANT: on part de 0 */
  will-change: transform, width;
  transform: translate3d(0,0,0);
}

#tabsNav{
  position: relative;
  overflow-x: auto;
  white-space: nowrap;
}

#tabsNav .tab-btn{
  flex: 0 0 auto; /* empêche le recalcul bizarre */
}

#tabIndicator{
  left: 0;
}

/* Buttons */
.tab-btn {
  flex: 1;
  min-width: 130px;
  padding: var(--space-md) var(--space-lg);
  color: var(--color-text-tertiary);
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover:not([aria-selected="true"]) {
  color: var(--color-text-secondary);
  background: var(--color-bg-hover);
}
.tab-btn[aria-selected="true"] { color: var(--color-bg-primary); }

.tab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.tab-btn:hover .tab-icon { transform: scale(1.1); }

/* ============================================
   TAB PANELS
   ============================================ */
.tabs-content {
  position: relative;
  min-height: 400px;
}

.tab-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-slow);
  pointer-events: none;
}

.tab-panel[aria-hidden="false"] {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Panel content */
.panel-content {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  height: 100%;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.panel-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--panel-color, var(--color-accent-1)),
    var(--panel-color-alt, var(--color-accent-2))
  );
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.panel-icon-wrapper svg { width: 28px; height: 28px; color: var(--color-text-primary); }

.panel-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text-primary);
}
.panel-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.panel-body {
  color: var(--color-text-secondary);
  line-height: 1.8;
}
.panel-body > p { margin-bottom: var(--space-md); }

/* ============================================
   GRID COMPONENTS
   ============================================ */
.grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================
   STAT / FEATURE / TEAM
   ============================================ */
.stat-card,
.feature-card,
.team-card {
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}
.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
}
.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.feature-card {
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
}
.feature-card:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}
.feature-card h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.feature-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* Progress badge */
.progress-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  margin-top: var(--space-sm);
}
.progress-badge.in-progress { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.progress-badge.completed   { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.progress-badge.planning    { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.team-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
}
.team-card:hover {
  background: var(--color-bg-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.team-card h4 { font-weight: 600; margin-bottom: 2px; }
.team-card p { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; }

/* ============================================
   CTA
   ============================================ */
.cta-box {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: linear-gradient(
    135deg,
    rgba(123, 73, 255, 0.10) 0%,
    rgba(51, 25, 107, 0.10) 100%
  );
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 73, 255, 0.18);

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cta-text h4 { font-weight: 600; margin-bottom: 2px; }
.cta-text p { font-size: var(--font-size-sm); color: var(--color-text-muted); margin: 0; }

.cta-btn {
  position: relative;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.35s ease;
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 92, 255, 0.4);
  box-shadow:
    0 0 20px rgba(123, 73, 255, 0.35),
    inset 0 0 20px rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: all 0.7s ease;
}
.cta-btn:hover::before { left: 130%; }

.cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 0 10px rgba(123, 73, 255, 0.4);
}

/* ============================================
   TOGGLES
   ============================================ */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.setting-info h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 2px;
}
.setting-info p {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin: 0;
}

.toggle { position: relative; width: 48px; height: 26px; }
.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}
.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: var(--color-text-primary);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.toggle input:checked + .toggle-slider { background: var(--color-accent-1); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle input:focus-visible + .toggle-slider { box-shadow: 0 0 0 2px var(--color-accent-1); }

/* ============================================
   TOAST (unifié)
   ============================================ */
.toast-container {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  pointer-events: none;
}

.toast {
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-glow);
  color: var(--color-bg-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.removing { animation: toastOut 0.3s ease forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateX(100%) scale(0.9); }
}

/* ============================================
   ACCESSIBILITY HELPERS
   ============================================ */
.sr-only,
.live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.live-region { left: -9999px; }

/* ============================================
   DEMASKED — SHOWCASE (sous les tabs)
   ============================================ */
.dm-showcase {
  position: relative;
  padding: clamp(48px, 6vw, 96px) 0;
}

/* Reveal général (utilisé aussi pour le showcase) */
.dm-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
.dm-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* On garde ton reveal ciné spécifique au showcase (override léger) */
.dm-showcase.dm-reveal {
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(.22,1,.36,1),
    transform 0.9s cubic-bezier(.22,1,.36,1),
    filter 0.9s cubic-bezier(.22,1,.36,1);
}

.dm-showcase__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.dm-showcase__header {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.dm-showcase__kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 14px;

  color: var(--color-text-primary);
  background: var(--kicker-bg);
  border: 1px solid var(--kicker-border);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 9999px;
}

.dm-showcase__title {
  margin: 14px 0 8px;
  font-size: clamp(26px, 3.3vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.dm-showcase__subtitle {
  margin: 0 auto;
  max-width: 720px;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.6;
}

/* =========================================================
   Showcase appear on scroll (inverse du tabs-wrapper)
   ========================================================= */
#dmShowcase {
  /* Start hidden */
  --scOpacity: 0;
  --scY: 28px;
  --scBlur: 10px;

  will-change: transform, opacity, filter;
  transform: translate3d(0, var(--scY), 0);
  opacity: var(--scOpacity);
  filter: blur(var(--scBlur));
}

/* Grid */
.dm-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 980px) {
  .dm-showcase__grid { grid-template-columns: 1fr; }
}



/* ============================================
   SHOWCASE CARDS (dm-shot) — reveal + parallax + 3D
   ============================================ */
.dm-shot {
  /* Vars */
  --py: 0px;
  --ry: 18px;
  --ro: 0;
  --rb: 10px;

  opacity: var(--ro);
  filter: blur(var(--rb));
  transform: translate3d(0, calc(var(--ry) + var(--py)), 0);
  transition:
    opacity 0.9s cubic-bezier(.22,1,.36,1),
    filter 0.9s cubic-bezier(.22,1,.36,1),
    transform 0.9s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity, filter;

  perspective: 900px;
  transform-style: preserve-3d;
}

.dm-shot.is-inview {
  --ry: 0px;
  --ro: 1;
  --rb: 0px;
}

.dm-shot.is-inview .dm-shot__img {
  filter: saturate(1.02) contrast(1.02);
}

/* Shadow “base” sous la card */
.dm-shot::after {
  content: "";
  display: block;
  height: 18px;
  margin: 10px 18px 0;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(10px);
  opacity: 0.55;
  transform: translateZ(-1px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.dm-shot:hover::after {
  opacity: 0.75;
  transform: translateY(2px);
}

.dm-shot__glass {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 26px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.dm-shot__glass::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(123,73,255,0.22), transparent 55%),
    radial-gradient(700px 320px at 80% 0%, rgba(183,156,255,0.18), transparent 55%);
  pointer-events: none;
  opacity: 0.65;
}

/* Rim light */
.dm-shot__glass::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    rgba(167,92,255,0.22),
    rgba(255,255,255,0.08)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.dm-shot__glass:hover::before { opacity: 0.85; }

.dm-shot__glass:hover {
  transform: translateY(-6px);
  border-color: rgba(167,92,255,0.35);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.45),
    0 0 25px rgba(123,73,255,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* layers forward */
.dm-shot__top,
.dm-shot__frame,
.dm-shot__desc {
  position: relative;
  z-index: 1;
  transform: translateZ(18px);
}

.dm-shot__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dm-shot__title { font-size: 16px; margin: 0; }

.dm-shot__tag {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

/* frame */
.dm-shot__frame {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 18;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

/* image (une seule définition clean) */
.dm-shot__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: translateZ(26px) scale(1.02);
  will-change: transform;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.dm-shot__glass:hover .dm-shot__img {
  transform: translateZ(26px) scale(1.06);
}

/* shine (une seule définition) */
.dm-shot__shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-40%) rotate(12deg);
  transition: transform 1s ease;
  mix-blend-mode: screen;
  opacity: 0.85;
  pointer-events: none;
}
.dm-shot__glass:hover .dm-shot__shine {
  transform: translateX(40%) rotate(12deg);
}

.dm-shot__desc {
  margin: 12px 0 0;
  line-height: 1.55;
  font-size: 14px;
}

/* ============================================
   IMAGE ONLY CARD (no crop / no zoom)
   ============================================ */
.dm-shot--image-only {
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  position: relative;
  background: var(--color-bg-elevated);
  backdrop-filter: blur(12px);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.6),
    0 0 35px rgba(123,73,255,0.15);
}

/* Glow border */
.dm-shot--image-only::before {
  content:"";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.15),
    rgba(123,73,255,0.35),
    rgba(255,255,255,0.10)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.7;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.dm-shot--image-only:hover::before { opacity: 1; }

/* Image: contain + reset zoom */
.dm-shot--image-only .dm-shot__img {
  object-fit: contain;
  transform: none;
  transition: filter 0.6s ease, transform 0.6s ease;
}
.dm-shot--image-only:hover .dm-shot__img {
  filter: brightness(0.55) contrast(1.05);
  transform: scale(1.02); /* micro zoom subtil */
}

/* overlay cinematic */
.dm-shot__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.dm-shot__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.75) 0%,
      rgba(0,0,0,0.55) 30%,
      rgba(0,0,0,0.15) 65%,
      transparent 100%
    );
  transition: opacity 0.6s ease;
}

.dm-shot__overlay-inner {
  position: relative;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(.22,1,.36,1),
    opacity 0.6s ease;
}

.dm-shot__overlay-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.dm-shot__overlay-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.dm-shot--image-only:hover .dm-shot__overlay { opacity: 1; }
.dm-shot--image-only:hover .dm-shot__overlay-inner {
  transform: translateY(0);
  opacity: 1;
}
/* ============================================
   Fixed Vertical Title (left)
   ============================================ */
.dm-fixed-title {
  position: fixed;
  left: clamp(10px, 2vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;                 /* derrière la navbar si besoin (navbar = 999) */
  pointer-events: none;       /* ne bloque jamais les clics */
  user-select: none;
  opacity: 0.85;

  /* petit “fade” propre sur les bords */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 16%,
    black 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 16%,
    black 84%,
    transparent 100%
  );
}

.dm-fixed-title__text {
  display: inline-block;

  /* vertical */
  writing-mode: vertical-rl;
  text-orientation: mixed;

  /* typo */
  font-weight: 800;
  letter-spacing: 0.24em;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 1;

  /* gradient text */
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.16) 0%,
    rgba(183,156,255,0.55) 28%,
    rgba(123,73,255,0.75) 55%,
    rgba(51,25,107,0.28) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  filter: saturate(1.1);
}

/* Option: mode plus discret si tu veux */
.dm-fixed-title.is-soft { opacity: 0.55; }

/* Cache sur mobile (sinon ça peut gêner) */
@media (max-width: 900px) {
  .dm-fixed-title { display: none; }
}

/* =========================================================
   DEMASKED — SUITE HOME (bento / steps / pricing / faq / final)
========================================================= */

.dm-section { position: relative; padding: clamp(54px, 7vw, 108px) 0; }
.dm-wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }

.dm-head { text-align: center; margin-bottom: clamp(22px, 4vw, 44px); }

.dm-kicker{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 14px;

  color: var(--color-text-primary);
  background: var(--kicker-bg);
  border: 1px solid var(--kicker-border);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 9999px;
}
.dm-h2{
  margin: 14px 0 10px;
  font-size: clamp(26px, 3.3vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.dm-p{
  margin: 0 auto;
  max-width: 760px;
  color: var(--color-text-secondary);
  font-size: clamp(14px, 1.65vw, 18px);
  line-height: 1.65;
}

/* ---------- Base glass card ---------- */
.dm-card{
  position: relative;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 26px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  overflow: hidden;
}
.dm-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(700px 320px at 18% 0%, rgba(123,73,255,0.22), transparent 55%),
    radial-gradient(700px 320px at 82% 0%, rgba(183,156,255,0.16), transparent 55%);
  opacity:.7;
  pointer-events:none;
}
.dm-card > *{ position: relative; z-index: 1; }
.dm-card h3{ font-size: 20px; letter-spacing: -0.01em; margin: 8px 0 6px; }
.dm-card p{ color: var(--color-text-secondary); }

.dm-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 6px;
}
.dm-pill{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}
.dm-dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(123,73,255,0.9);
  box-shadow: 0 0 0 6px rgba(123,73,255,0.10);
}

.dm-mini{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 14px; }
.dm-mini__chip{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
}

.dm-card--muted{ background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)); }
.dm-card--accent::after{
  background:
    radial-gradient(720px 340px at 15% 0%, rgba(183,156,255,0.22), transparent 55%),
    radial-gradient(720px 340px at 85% 0%, rgba(123,73,255,0.22), transparent 55%);
}

.dm-shine{
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 45%);
  transform: translate3d(-10%, -10%, 0);
  opacity: .55;
  pointer-events:none;
}

/* ---------- Bento ---------- */
.dm-bento__grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 22px);
}
.dm-bento__item{ grid-column: span 4; }
.dm-bento__item--big{ grid-column: span 8; }
@media (max-width: 980px){
  .dm-bento__grid{ grid-template-columns: 1fr; }
  .dm-bento__item, .dm-bento__item--big{ grid-column: auto; }
}

/* ---------- Steps ---------- */
.dm-steps__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 980px){ .dm-steps__grid{ grid-template-columns: 1fr; } }

.dm-step{
  position:relative;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.48);
  overflow:hidden;
}
.dm-step::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(700px 300px at 20% 0%, rgba(123,73,255,0.20), transparent 55%);
  opacity:.7;
  pointer-events:none;
}
.dm-step > *{ position:relative; z-index:1; }
.dm-step__num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 56px; height: 56px;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: .08em;
  background: rgba(123,73,255,0.16);
  border: 1px solid rgba(123,73,255,0.26);
  box-shadow: 0 0 42px rgba(123,73,255,0.18);
  margin-bottom: 12px;
}
.dm-step h3{ margin: 0 0 6px; font-size: 20px; }
.dm-step p{ color: var(--color-text-secondary); }
.dm-step__line{
  margin-top: 16px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(123,73,255,0.38), rgba(255,255,255,0.10));
  opacity: .9;
}

.dm-note{
  margin-top: clamp(16px, 2.2vw, 22px);
  display:flex;
  align-items:flex-start;
  gap: 14px;
  border-radius: 22px;
  padding: 18px 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dm-note__icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(123,73,255,0.16);
  border: 1px solid rgba(123,73,255,0.26);
}
.dm-note__icon svg{ width: 22px; height: 22px; }
.dm-note__txt h4{ margin: 0 0 4px; font-size: 16px; }
.dm-note__txt p{ margin: 0; color: var(--color-text-secondary); }

/* ---------- Pricing ---------- */
.dm-pricing__grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(14px, 2vw, 22px);
}
@media (max-width: 980px){ .dm-pricing__grid{ grid-template-columns: 1fr; } }

.dm-price{
  position:relative;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.55);
  overflow:hidden;
}
.dm-price::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(720px 320px at 20% 0%, rgba(123,73,255,0.20), transparent 55%);
  opacity:.7; pointer-events:none;
}
.dm-price > *{ position:relative; z-index:1; }

.dm-price__top h3{ margin:0; font-size: 20px; }
.dm-price__top p{ margin: 6px 0 0; }

.dm-price__value{
  display:flex; align-items:baseline; gap: 6px;
  margin: 14px 0 12px;
}
.dm-price__big{
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.dm-price__unit{ font-size: 18px; opacity:.9; }
.dm-price__sub{ margin-left: 8px; font-size: 12px; letter-spacing: .12em; opacity:.65; text-transform: uppercase; }

.dm-list{ list-style:none; padding:0; margin: 0 0 16px; display:grid; gap: 10px; }
.dm-list li{
  color: var(--color-text-secondary);
  padding-left: 18px;
  position: relative;
}
.dm-list li::before{
  content:"";
  position:absolute; left:0; top:.55em;
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(183,156,255,0.9);
  box-shadow: 0 0 0 6px rgba(183,156,255,0.10);
}

.dm-badge{
  position:absolute;
  top: 14px; right: 14px;
  z-index:2;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(123,73,255,0.18);
  border: 1px solid rgba(123,73,255,0.30);
  box-shadow: 0 0 42px rgba(123,73,255,0.22);
}

.dm-price--featured{
  transform: translateY(-6px);
  border-color: rgba(123,73,255,0.34);
  box-shadow:
    0 30px 78px rgba(0,0,0,0.62),
    0 0 0 1px rgba(123,73,255,0.20) inset,
    0 0 52px rgba(123,73,255,0.18);
}
@media (max-width: 980px){ .dm-price--featured{ transform:none; } }

/* Buttons (suite) */
.dm-btn{
color: var(--color-text-secondary) !important;
  width: 100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--color-bg-hover);
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.dm-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}
.dm-btn--primary{
  background: linear-gradient(135deg, rgba(123,73,255,0.95), rgba(183,156,255,0.85));
  border-color: rgba(123,73,255,0.32);
  box-shadow: 0 0 52px rgba(123,73,255,0.20);
  color: #0b0714;
}
.dm-btn--ghost{ background: rgba(255,255,255,0.05); }
.dm-btn--soft{
  background: rgba(123,73,255,0.14);
  border-color: rgba(123,73,255,0.26);
}

.dm-cta{
  margin-top: clamp(16px, 2.2vw, 22px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dm-cta__txt h4{ margin: 0 0 4px; font-size: 16px; }
.dm-cta__txt p{ margin: 0; color: var(--color-text-secondary); }
@media (max-width: 980px){
  .dm-cta{ flex-direction: column; align-items: stretch; }
}

/* ---------- FAQ accordion ---------- */
.dm-accordion{ display:grid; gap: 12px; }

.dm-acc{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow:hidden;
}

.dm-acc summary{
  list-style:none;
  cursor:pointer;
  padding: 16px 18px;
  font-weight: 700;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.dm-acc summary::-webkit-details-marker{ display:none; }

.dm-acc__icon{
  width: 18px; height: 18px;
  position: relative;
  opacity: .9;
}
.dm-acc__icon::before,
.dm-acc__icon::after{
    background: var(--color-text-secondary) !important;
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width: 18px; height: 2px;
  border-radius: 999px;
  transition: transform .25s ease, opacity .25s ease;
}
.dm-acc__icon::after{
  transform: rotate(90deg);
}
.dm-acc[open] .dm-acc__icon::after{ transform: rotate(0deg); opacity: 0; }

.dm-acc__body{
  padding: 0 18px 16px;
  color: var(--color-text-secondary);
}

/* ---------- Final CTA ---------- */
.dm-final__card{
  position:relative;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 34px 90px rgba(0,0,0,0.60);
  overflow:hidden;
  padding: clamp(20px, 3vw, 30px);
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
@media (max-width: 980px){ .dm-final__card{ grid-template-columns: 1fr; } }

.dm-final__glow{
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(123,73,255,0.26), transparent 60%),
    radial-gradient(900px 420px at 80% 0%, rgba(183,156,255,0.18), transparent 60%);
  opacity:.9;
  pointer-events:none;
}

.dm-final__content{ position:relative; z-index:1; }

.dm-final__actions{
  margin-top: 16px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dm-store{
    
  min-width: 210px;
  flex: 1 1 210px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--color-bg-hover);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap: 2px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dm-store:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
}
.dm-store--primary{
  background: linear-gradient(135deg, rgba(123,73,255,0.95), rgba(183,156,255,0.80));
  color: var(--color-text-primary);
  border-color: rgba(123,73,255,0.32);
  box-shadow: 0 0 56px rgba(123,73,255,0.20);
}
.dm-store--ghost{ background: rgba(255,255,255,0.05); 
    color: var(--color-text-secondary) !important;
}

.dm-store__small{ font-size: 12px; letter-spacing: .10em; text-transform: uppercase; opacity: .85; }
.dm-store__big{ font-size: 18px; font-weight: 900; letter-spacing: -0.01em; }

.dm-trust{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.dm-trust__item{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.16);
}

.dm-final__side{
  position:relative;
  min-height: 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
}
.dm-final__ring{
  position:absolute;
  width: 220px; height: 220px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08), transparent 55%);
  animation: dmRing 8s ease-in-out infinite;
}
.dm-final__ring--2{ width: 160px; height: 160px; opacity: .75; animation-duration: 10s; }
.dm-final__ring--3{ width: 110px; height: 110px; opacity: .55; animation-duration: 12s; }

@keyframes dmRing{
  0%,100%{ transform: translate3d(0,0,0) rotate(0deg); }
  50%{ transform: translate3d(0,-8px,0) rotate(8deg); }
}

/* =========================================
   PREMIUM GLASS HOVER UPGRADE – DEMASKED
========================================= */

/* Base transition smooth */
.dm-card,
.dm-price,
.dm-step,
.dm-showcase__card {
  transition:
    transform .45s cubic-bezier(.16,.8,.24,1),
    box-shadow .45s ease,
    border-color .45s ease,
    background .45s ease,
    backdrop-filter .45s ease;
  position: relative;
  overflow: hidden;
}

/* Glass intensifié au hover */
.dm-card:hover,
.dm-price:hover,
.dm-step:hover,
.dm-showcase__card:hover {

  transform: translateY(-8px) scale(1.02);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border-color: rgba(183,156,255,0.55);

  box-shadow:
    0 30px 90px rgba(0,0,0,0.65),
    0 0 0 1px rgba(183,156,255,0.25) inset,
    0 0 60px rgba(123,73,255,0.25);
}

/* Light sweep premium */
.dm-card::before,
.dm-price::before,
.dm-step::before,
.dm-showcase__card::before {
  content:"";
  position:absolute;
  top:-100%;
  left:-60%;
  width:60%;
  height:300%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.25) 45%,
    transparent 60%
  );
  transform: rotate(25deg);
  opacity:0;
  transition: opacity .4s ease;
  pointer-events:none;
}

.dm-card:hover::before,
.dm-price:hover::before,
.dm-step:hover::before,
.dm-showcase__card:hover::before {
  opacity:1;
  animation: dmLightSweep 1.2s ease forwards;
}

@keyframes dmLightSweep {
  0% { transform: translateX(-120%) rotate(25deg); }
  100% { transform: translateX(220%) rotate(25deg); }
}

/* Bordure glass animée */
.dm-card::after,
.dm-price::after,
.dm-step::after,
.dm-showcase__card::after {
  transition: opacity .4s ease;
}

.dm-card:hover::after,
.dm-price:hover::after,
.dm-step:hover::after,
.dm-showcase__card:hover::after {
  opacity: 1;
}

/* Button premium upgrade */
.dm-btn {
  position: relative;
  overflow: hidden;
  transition: all .35s cubic-bezier(.16,.8,.24,1);
}

.dm-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 50px rgba(0,0,0,0.5),
    0 0 40px rgba(123,73,255,0.35);
}

/* Subtle inner glass reflection */
.dm-btn::before {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    transparent 40%
  );
  opacity:0;
  transition: opacity .3s ease;
}

.dm-btn:hover::before {
  opacity:0.6;
}

/* =========================================================
   DEMASKED — PREMIUM GLASS HOVER (sans changer le style de base)
   Colle en FIN de dm-home.css
========================================================= */

/* On prépare juste les pseudo-elements (invisibles de base) */
.dm-btn{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  will-change: transform, filter;
}

/* Reflet glass (invisible par défaut) */
.dm-btn::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(255,255,255,0.28) 42%,
      rgba(255,255,255,0.06) 55%,
      transparent 70%
    );
  transform: translateX(-140%) skewX(-18deg);
  opacity: 0;
  pointer-events:none;
  z-index: 0;
}

/* Halo / glow doux (invisible par défaut) */
.dm-btn::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  background:
    radial-gradient(240px 90px at 50% 0%,
      rgba(183,156,255,0.35),
      transparent 70%
    );
  opacity: 0;
  pointer-events:none;
  z-index: 0;
}

/* Texte au-dessus */
.dm-btn > *{
  position: relative;
  z-index: 1;
}

/* ✅ HOVER PREMIUM — rapide, glass, sans changer le background de base */
.dm-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(183,156,255,0.55);
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 48px rgba(123,73,255,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  /* micro boost premium */
  filter: saturate(1.05) brightness(1.02);

  /* plus rapide que ton hover actuel */
  transition:
    transform .18s cubic-bezier(.16,.8,.24,1),
    box-shadow .18s ease,
    border-color .18s ease,
    filter .18s ease,
    backdrop-filter .18s ease;
}

/* Reflet + glow qui pop direct */
.dm-btn:hover::before{
  opacity: 1;
  animation: dmBtnSweepFast .65s ease forwards;
}
.dm-btn:hover::after{
  opacity: 1;
  transition: opacity .18s ease;
}

@keyframes dmBtnSweepFast{
  0%   { transform: translateX(-140%) skewX(-18deg); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateX(140%) skewX(-18deg); opacity: 0; }
}

/* ✅ Variante primary : même base, juste un peu plus “luxe” au hover */
.dm-btn--primary:hover{
  border-color: rgba(255,255,255,0.16);
  box-shadow:
    0 22px 70px rgba(0,0,0,0.60),
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 60px rgba(123,73,255,0.28);
  filter: saturate(1.08) brightness(1.03);
}

/* Accessibilité clean */
.dm-btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px rgba(183,156,255,0.25),
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 18px 55px rgba(0,0,0,0.55);
}

/* ================================
   PREMIUM HOVER BACKGROUND ONLY
================================ */

.dm-btn {
  transition: 
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.dm-btn:hover {

  /* Nouveau background premium */
  background: linear-gradient(
    135deg,
    #8E5BFF 0%,
    #B79CFF 45%,
    #E3D9FF 100%
  );

  /* Léger lift */
  transform: translateY(-2px);

  /* Glow doux cohérent Demasked */
  box-shadow:
    0 15px 40px rgba(0,0,0,0.5),
    0 0 40px rgba(123,73,255,0.35);
}

/* ================================
   FIX: main + footer côte à côte
   (force layout en colonne)
================================ */

/* 1) Le wrapper le plus courant en WP */
#page,
.site,
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 2) Le main prend la place, le footer reste en bas */
main.main-container {
  flex: 1 0 auto;
  width: 100%;
}

/* 3) Le footer ne peut plus se mettre à côté */
footer.dm-foot {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  clear: both;
}

/* ================================
   Scroll Reveal — Enter + Exit
================================ */

.dm-reveal{
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity .6s cubic-bezier(.22,.61,.36,1),
    transform .6s cubic-bezier(.22,.61,.36,1),
    filter .6s ease;
  will-change: opacity, transform, filter;
}

/* Quand visible */
.dm-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Quand sort vers le haut */
.dm-reveal.is-exit-up{
  opacity: 0;
  transform: translateY(-40px);
  filter: blur(6px);
}

/* Quand sort vers le bas */
.dm-reveal.is-exit-down{
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
}

/* CONTENEUR */
.dm-final_side {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* IMAGE JETON */
/* OPTIMISATION GPU */
.dm-coin-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
}

.dm-coin {
    width: 240px;
    max-width: 90%;
    height: auto;

    will-change: transform;
    transform: translate3d(0,0,0);
    backface-visibility: hidden;

    animation: floatSmooth 8s cubic-bezier(.45,.05,.55,.95) infinite;

    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.35))
            drop-shadow(0 0 30px rgba(123,73,255,0.25));
}

/* Animation plus douce */
@keyframes floatSmooth {
    0%   { transform: translate3d(0, 0px, 0); }
    25%  { transform: translate3d(4px, -10px, 0); }
    50%  { transform: translate3d(0px, -20px, 0); }
    75%  { transform: translate3d(-4px, -10px, 0); }
    100% { transform: translate3d(0, 0px, 0); }
}

.dm-final_side::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle,
        rgba(123,73,255,0.35) 0%,
        rgba(51,25,107,0.15) 40%,
        transparent 70%);
    filter: blur(40px);
    animation: pulseGlow 5s ease-in-out infinite;
    z-index: 0;
}

.dm-coin {
    position: relative;
    z-index: 2;
}

@keyframes pulseGlow {
    0%,100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* =========================
   DM UNIVERSE — Cards style "showcase"
   Scope: #dmUniverse only
========================= */

#dmUniverse{
  position: relative;
  padding: clamp(52px, 6vw, 92px) 0;
  isolation: isolate;
}

#dmUniverse .dm-wrap{
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
#dmUniverse .dm-universe-head{
  text-align:center;
  margin-bottom: 26px;
}

#dmUniverse .dm-kicker{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 14px;

  color: var(--color-text-primary);
  background: var(--kicker-bg);
  border: 1px solid var(--kicker-border);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 9999px;
}

#dmUniverse h2{
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.05;
  margin: 0 0 10px;
  color: var(--color-text-primary);
}

#dmUniverse p{
  margin: 0 auto;
  max-width: 760px;
}

/* Grid */
#dmUniverse .dm-universe-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 26px;
}

@media (max-width: 980px){
  #dmUniverse .dm-universe-grid{ grid-template-columns: 1fr; }
}

/* Card */
#dmUniverse .dm-u-card{
  position: relative;
  height: 420px;
  border-radius: 22px; /* ← Demasked style */
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(12,12,22,.35);
  box-shadow:
    0 20px 60px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 60px rgba(123,73,255,.12); /* glow subtil violet */
}

/* Image fond */
#dmUniverse .dm-u-media{
  position:absolute; inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05) brightness(.92);
  transition: transform .85s cubic-bezier(.2,.8,.2,1), filter .85s ease;
}

/* Overlay ciné */
#dmUniverse .dm-u-card::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.12) 100%),
    radial-gradient(520px 260px at 25% 20%, rgba(123,73,255,.18), transparent 60%);
  pointer-events:none;
}

/* Highlight gloss au hover */
#dmUniverse .dm-u-card::after{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(420px 220px at 20% 15%, rgba(255,255,255,.16), transparent 60%);
  opacity: 0;
  transition: opacity .65s ease;
  pointer-events:none;
}

/* Bloc glass bas */
#dmUniverse .dm-u-glass{
  position:absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px; /* cohérent Demasked */
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(18,18,30,.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 12px 30px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.06) inset;
}

#dmUniverse .dm-u-mini{
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
}

#dmUniverse .dm-u-glass h3{
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
  letter-spacing: .02em;
}

#dmUniverse .dm-u-glass p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.70);
  font-size: 13.5px;
  line-height: 1.35;
  max-width: 54ch;
}

/* Bouton style "Entrer dans ..." */
#dmUniverse .dm-u-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(123,73,255,.18);
  color: #fff;
  text-decoration:none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  transition: all .35s ease;
}

#dmUniverse .dm-u-btn:hover{
  background: rgba(123,73,255,.28);
  box-shadow: 0 10px 28px rgba(123,73,255,.35);
  transform: translateY(-2px);
}

#dmUniverse .dm-u-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(123,73,255,.55);
  background: rgba(123,73,255,.18);
  box-shadow: 0 12px 28px rgba(123,73,255,.18);
}

/* Hover card */
#dmUniverse .dm-u-card:hover{
  transform: translate3d(0,-6px,0);
  border-color: rgba(123,73,255,.35);
  box-shadow:
    0 26px 70px rgba(0,0,0,.65),
    0 0 0 1px rgba(123,73,255,.25) inset,
    0 0 80px rgba(123,73,255,.18);
}
#dmUniverse .dm-u-card:hover::after{
  opacity: 1;
}

#dmUniverse .dm-u-card:hover .dm-u-media{
  transform: scale(1.10);
  filter: saturate(1.12) contrast(1.08) brightness(.98);
}

/* Mobile height */
@media (max-width: 980px){
  #dmUniverse .dm-u-card{ height: 380px; }
}


/* ============================= */
/* THEME SAFETY NET (light/dark) */
/* ============================= */

/* Text */
.dm-home, .dm-home *{
  color: inherit;
}


/* Inputs */
.dm-home input,
.dm-home textarea,
.dm-home select{
  background: var(--color-bg-secondary) !important;
  color: var(--color-text-primary) !important;
  border: 1px solid var(--color-border) !important;
}

/* Titles / paragraphs helpers */
.dm-home h1, .dm-home h2, .dm-home h3, .dm-home h4{
  color: var(--color-text-primary) !important;
}
.dm-home p, .dm-home .muted, .dm-home .subtitle{
  color: var(--color-text-secondary) !important;
}

/* =========================================
   LOCK UNIVERSE CARDS VISUALS (no theme swap)
   ========================================= */

#dmUniverse .dm-u-media{
  /* garde le rendu image identique en dark & light */
  filter: saturate(1.05) contrast(1.05) brightness(.92) !important;
}

/* Si tu as un overlay sur la card / image, on le fixe */
#dmUniverse .dm-u-card::before{
  /* overlay constant, indépendant du mode */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 100% at 50% 10%,
    rgba(123,73,255,.18) 0%,
    rgba(0,0,0,.35) 55%,
    rgba(0,0,0,.55) 100%
  ) !important;
}

/* Glass constant sur le texte (sinon il devient trop clair en light-mode) */
#dmUniverse .dm-u-glass{
  background: rgba(15, 12, 32, .58) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  backdrop-filter: blur(18px) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
  body { padding: var(--space-md); }
  .tabs-wrapper { padding: var(--space-md); }

  .tab-btn {
    min-width: 110px;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-xs);
  }

  .panel-content { padding: var(--space-md); }
  .panel-header { flex-direction: column; text-align: center; }
  .cta-box { flex-direction: column; text-align: center; }
  .stat-value { font-size: var(--font-size-2xl); }
}

/* Mobile: pas de 3D trop agressif + moins de blur */
@media (max-width: 980px) {
  .dm-shot { perspective: none; }
  .dm-shot__top,
  .dm-shot__frame,
  .dm-shot__desc,
  .dm-shot__img { transform: none; }
  .dm-shot { filter: none; }
}



/* ============================================
   REDUCED MOTION (single block)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bg-effects::before,
  .bg-effects::after,
  .dm-sparkles span,
  .orb-1,
  .orb-2,
  .orb-3 { animation: none !important; }
}

/* ============================================
   THEME BASE (uses tokens)
   ============================================ */
body{
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
}

.dm-home p, .dm-home .muted{ color: var(--color-text-secondary); }
.dm-home .small, .dm-home .hint{ color: var(--color-text-tertiary); }

/* Generic glass surface helper */
.glass{
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-xl);
}

@media (max-width: 980px), (pointer: coarse) {
  .cmplz-cookiebanner {
    position: fixed !important;
    left: 16px !important;
    right: 16px !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: 430px !important;
  }
}

/* ============================================
   MOBILE PERFORMANCE GUARDRAILS
   ============================================ */
@media (max-width: 980px), (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  :root {
    --glass-blur: 0px;
    --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 20px rgba(123, 73, 255, 0.14);
  }

  .bg-grid,
  .dm-sparkles,
  .dm-shot__shine,
  .dm-shine,
  .dm-final__glow,
  .dm-final__ring,
  .dm-fixed-title {
    display: none !important;
  }

  .orb-1,
  .orb-2,
  .orb-3,
  .dm-coin,
  .dm-final_side::before,
  .dm-final__ring {
    animation: none !important;
  }

  .bg-orb {
    filter: blur(28px);
    opacity: 0.16;
  }

  .dm-app-stage,
  .tabs-wrapper,
  .panel-content,
  .dm-shot__glass,
  .dm-shot--image-only,
  .dm-card,
  .dm-note,
  .dm-price,
  .dm-cta,
  .dm-acc,
  .dm-final__card,
  .dm-store,
  #dmUniverse .dm-u-glass,
  .dm-hero-intro__button {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22) !important;
  }

  .dm-reveal,
  #dmShowcase,
  .dm-app-stage,
  .tabs-wrapper,
  .dm-shot,
  .dm-shot__img,
  .dm-card,
  .dm-price,
  .dm-step,
  .dm-btn,
  .dm-coin,
  .dm-hero-intro__copy,
  .dm-hero-intro__device {
    will-change: auto !important;
  }

  .dm-reveal,
  .dm-shot,
  #dmShowcase,
  .dm-app-stage,
  .tabs-wrapper,
  .dm-hero-intro__copy {
    filter: none !important;
  }

  .dm-card,
  .dm-price,
  .dm-step,
  .dm-showcase__card,
  .dm-shot__glass,
  .dm-store,
  .dm-btn {
    transition-property: opacity, transform, border-color, background-color, color, box-shadow !important;
  }

  .dm-card:hover,
  .dm-price:hover,
  .dm-step:hover,
  .dm-showcase__card:hover,
  .dm-store:hover,
  .dm-btn:hover,
  .dm-shot__glass:hover .dm-shot__img,
  .dm-shot__glass:hover .dm-shot__shine {
    transform: none !important;
  }

  .dm-shot::after,
  .dm-shot__overlay,
  .dm-shot__overlay::before {
    display: none !important;
  }

  .dm-shot--image-only .dm-shot__img,
  .dm-shot.is-inview .dm-shot__img {
    filter: none !important;
    transform: none !important;
  }

  .dm-hero-intro__copy,
  .dm-hero-intro__hint {
    transform: none !important;
  }

  .dm-hero-intro__device {
    filter: drop-shadow(0 18px 34px rgba(28, 34, 48, 0.14));
  }

  .dm-hero-phone {
    box-shadow:
      0 18px 34px rgba(125, 137, 165, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }
}


