/* ============================================================
   DIGI-TECH — Design System Premium v3.0
   ============================================================
   Brand: Digital Transformation Core
   Polices: Hanken Grotesk (corps) + Sora (titres)
   Composants: .dt-* (Design Tokens)
   Version: 3.1 — Creative Edition
   ============================================================ */

/* Note: Google Fonts sont chargés via <link> dans le HTML pour éviter le blocage du rendu */
/* ============================================================
   1. DESIGN TOKENS (Extended)
   ============================================================ */
html { transition: background 0.3s ease, color 0.3s ease; }

body { background: var(--obsidian); color: var(--white-90); }

:root {
  /* --- Palette --- */
  --obsidian:       #0D1117;
  --surface-dim:    #10141A;
  --surface:        #161B22;
  --surface-light:  #1C2128;
  --surface-high:   #21262D;

  --electric:       rgba(0, 195, 255, 0.3);
  --electric-light: #93DAFF;
  --electric-solid: #00C3FF;

  --cobalt:         #0453CD;
  --cobalt-light:   #B2C5FF;

  --white:          #FFFFFF;
  --white-90:       rgba(255, 255, 255, 0.9);
  --white-80:       rgba(255, 255, 255, 0.8);
  --white-70:       rgba(255, 255, 255, 0.7);
  --white-60:       rgba(255, 255, 255, 0.6);
  --white-50:       rgba(255, 255, 255, 0.5);
  --white-40:       rgba(255, 255, 255, 0.4);
  --white-30:       rgba(255, 255, 255, 0.3);
  --white-20:       rgba(255, 255, 255, 0.2);
  --white-10:       rgba(255, 255, 255, 0.1);
  --white-08:       rgba(255, 255, 255, 0.08);
  --white-06:       rgba(255, 255, 255, 0.06);
  --white-04:       rgba(255, 255, 255, 0.04);
  --white-05:       rgba(255, 255, 255, 0.05);
  --white-15:       rgba(255, 255, 255, 0.15);
  --white-35:       rgba(255, 255, 255, 0.35);

  --success:        #22C55E;
  --success-bg:     rgba(34, 197, 94, 0.1);
  --warning:        #EAB308;
  --warning-bg:     rgba(234, 179, 8, 0.1);
  --error:          #EF4444;
  --error-bg:       rgba(239, 68, 68, 0.1);
  --info:           #3B82F6;
  --info-bg:        rgba(59, 130, 246, 0.1);
  --electric-10:    rgba(0, 195, 255, 0.1);
  --electric-15:    rgba(0, 195, 255, 0.15);
  --electric-25:    rgba(0, 195, 255, 0.25);
  --electric-30:    rgba(0, 195, 255, 0.3);
  --electric-80:    rgba(0, 195, 255, 0.8);
  --electric-solid-50: rgba(0, 195, 255, 0.5);
  --overlay:        rgba(0,0,0,0.45);
  --overlay-light:  rgba(0,0,0,0.4);

  /* --- Typography Scale --- */
  --font-body:      'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-heading:   'Sora', system-ui, -apple-system, sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  --leading-tight:  1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose:  2;

  --tracking-tight:  -0.025em;
  --tracking-normal: 0;
  --tracking-wide:   0.025em;
  --tracking-wider:  0.05em;

  /* --- Spacing (4px base) --- */
  --space-0:   0;
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-14:  56px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;
  --space-28:  112px;
  --space-32:  128px;

  /* --- Border Radius --- */
  --radius-none: 0;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-3xl:  32px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg:   0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-xl:   0 15px 45px rgba(0, 0, 0, 0.35);
  --shadow-2xl:  0 25px 50px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 195, 255, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(0, 195, 255, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);

  /* --- Z-Index Scale --- */
  --z-base:      0;
  --z-dropdown:  50;
  --z-sticky:    60;
  --z-navbar:    60;
  --z-overlay:   100;
  --z-modal:     110;
  --z-toast:     200;
  --z-tooltip:   300;
  --z-command:   400;

  /* --- Layout --- */
  --max-width:    1280px;
  --max-width-sm: 768px;
  --max-width-lg: 1440px;
  --navbar-height: 64px;

  /* --- Motion --- */
  --motion-fast:    0.15s;
  --motion-base:    0.3s;
  --motion-slow:    0.5s;
  --motion-spring:  0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --motion-bounce:  0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Transitions (legacy) --- */
  --transition-fast:   0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Light Mode --- */
html.light {
  --obsidian:       #FFFFFF;
  --surface-dim:    #F1F5F9;
  --surface:        #F8FAFC;
  --surface-light:  #FFFFFF;
  --surface-high:   #E2E8F0;
  --white:          #0F172A;
  --white-90:       rgba(15, 23, 42, 0.9);
  --white-80:       rgba(15, 23, 42, 0.8);
  --white-70:       rgba(15, 23, 42, 0.7);
  --white-60:       rgba(15, 23, 42, 0.6);
  --white-50:       rgba(15, 23, 42, 0.5);
  --white-40:       rgba(15, 23, 42, 0.4);
  --white-30:       rgba(15, 23, 42, 0.3);
  --white-20:       rgba(15, 23, 42, 0.2);
  --white-10:       rgba(15, 23, 42, 0.1);
  --white-08:       rgba(15, 23, 42, 0.08);
  --white-06:       rgba(15, 23, 42, 0.06);
  --white-04:       rgba(15, 23, 42, 0.04);
  --white-05:       rgba(15, 23, 42, 0.05);
  --white-15:       rgba(15, 23, 42, 0.15);
  --white-35:       rgba(15, 23, 42, 0.35);
  --obsidian-rgb:   #FFFFFF;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg:      0 8px 24px rgba(0,0,0,0.08);
  --shadow-xl:      0 12px 40px rgba(0,0,0,0.1);
  --shadow-2xl:     0 20px 50px rgba(0,0,0,0.12);
  --shadow-glow:    0 0 20px rgba(0, 195, 255, 0.15);
  --shadow-glow-lg: 0 0 40px rgba(0, 195, 255, 0.1);
  --shadow-inner:   inset 0 2px 4px rgba(0,0,0,0.04);
  --overlay:        rgba(0,0,0,0.25);
  --overlay-light:  rgba(0,0,0,0.2);
}

/* --- The light mode styles are injected via JS/script.js --- */

/* ============================================================
   2. BASE / RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: var(--navbar-height) 0 0;
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  margin-top: 0;
  color: var(--white);
}

p { margin-top: 0; }

a {
  color: var(--electric-light);
  text-decoration: none;
  transition: color var(--motion-fast) ease;
}
a:hover { color: var(--white); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Form elements visibility fix --- */
input, textarea, select {
  color: var(--white);
  caret-color: var(--electric-solid);
  background-color: var(--surface);
}
input::placeholder, textarea::placeholder {
  color: var(--white-50) !important;
  opacity: 1;
}
input:focus, textarea:focus, select:focus { color: var(--white); }
body input, body textarea, body select { color: var(--white) !important; }
body input::placeholder, body textarea::placeholder {
  color: var(--white-50) !important;
  opacity: 1 !important;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb {
  background: var(--surface-high);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover { background: var(--electric-solid); }

/* --- Selection --- */
::selection {
  background: var(--electric);
  color: var(--white);
}

/* ============================================================
   3. SURFACE & UTILITY CLASSES
   ============================================================ */
.bg-obsidian        { background-color: var(--obsidian) !important; }
.bg-surface-dim     { background-color: var(--surface-dim) !important; }
.bg-surface         { background-color: var(--surface) !important; }
.bg-surface-light   { background-color: var(--surface-light) !important; }
.bg-surface-high    { background-color: var(--surface-high) !important; }
.bg-electric        { background-color: var(--electric) !important; }
.bg-electric-solid  { background-color: var(--electric-solid) !important; }
.bg-success         { background-color: var(--success-bg) !important; }

.text-white         { color: var(--white) !important; }
.text-white\/70     { color: var(--white-70) !important; }
.text-white\/60     { color: var(--white-60) !important; }
.text-white\/50     { color: var(--white-50) !important; }
.text-electric      { color: var(--electric-light) !important; }
.text-electric-solid { color: var(--electric-solid) !important; }
.border-surface-high { border-color: var(--surface-high) !important; }

.font-body    { font-family: var(--font-body) !important; }
.font-heading { font-family: var(--font-heading) !important; }
.font-mono    { font-family: var(--font-mono) !important; }

/* ============================================================
   4. HERO (legacy)
   ============================================================ */
.hero-bg {
  background: linear-gradient(135deg, #0D1117 0%, #10141A 50%, #00050A 100%);
  position: relative;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: heroDrift 12s ease-in-out infinite alternate;
}
.hero-glow.orbe-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.06), transparent);
  top: -10%; left: -10%;
  animation-duration: 14s;
}
.hero-glow.orbe-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(4, 83, 205, 0.05), transparent);
  bottom: -15%; right: -5%;
  animation-duration: 10s;
  animation-delay: -3s;
}
.hero-glow.orbe-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.04), transparent);
  top: 40%; right: 20%;
  animation-duration: 16s;
  animation-delay: -6s;
}
@keyframes heroDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(15px, -10px) scale(1.02); }
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(4, 83, 205, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   5. DESIGN SYSTEM — COMPOSANTS .dt-*
   ============================================================ */

/* --- 5.1 .dt-btn — Button System --- */
.dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.4;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.dt-btn:focus-visible {
  outline: 2px solid var(--electric-light);
  outline-offset: 2px;
}

/* Ripple effect */
.dt-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--motion-base) ease;
  pointer-events: none;
}
.dt-btn:active::after {
  opacity: 1;
}

/* Sizes */
.dt-btn-sm  { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.dt-btn-lg  { padding: var(--space-5) var(--space-10); font-size: var(--text-lg); }
.dt-btn-xl  { padding: var(--space-6) var(--space-12); font-size: var(--text-xl); }

/* Variants */
.dt-btn-primary {
  background: var(--electric);
  color: #000;
}
.dt-btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px) scale(1.02);
  color: #000;
}
.dt-btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.dt-btn-secondary {
  background: transparent;
  border: 1.5px solid var(--electric);
  color: var(--electric-light);
}
.dt-btn-secondary:hover {
  background: rgba(0, 195, 255, 0.08);
  box-shadow: var(--shadow-glow);
  color: var(--electric-light);
  transform: translateY(-2px);
}
.dt-btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.dt-btn-ghost {
  background: transparent;
  color: var(--white-70);
  border-radius: var(--radius-lg);
}
.dt-btn-ghost:hover {
  background: var(--white-10);
  color: var(--white);
  transform: translateY(-1px);
}
.dt-btn-ghost:active {
  background: var(--white-20);
  transform: scale(0.98);
}

.dt-btn-white {
  background: var(--white-08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dt-btn-white:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  transform: translateY(-1px);
}
.dt-btn-white:active { transform: scale(0.98); }

.dt-btn-success {
  background: var(--success);
  color: #000;
}
.dt-btn-success:hover {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.dt-btn-error {
  background: var(--error);
  color: #fff;
}
.dt-btn-error:hover {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.dt-btn-icon { padding: var(--space-3); border-radius: var(--radius-full); min-width: unset; min-height: unset; }
.dt-btn:disabled, .dt-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.dt-btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.dt-btn-loading::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: dtSpin 0.6s linear infinite;
}

/* --- 5.2 .dt-card — Card System --- */
.dt-card {
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  transition: all var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1);
}
.dt-card-hover:hover {
  border-color: rgba(0, 195, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.08);
  transform: translateY(-4px);
}
.dt-card-clickable { cursor: pointer; }
.dt-card-body { padding: var(--space-6); }
.dt-card-image { width: 100%; object-fit: cover; display: block; }
.dt-card-title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-lg); margin: 0 0 var(--space-2) 0;
  color: var(--white);
}
.dt-card-text { color: var(--white-70); font-size: var(--text-sm); line-height: var(--leading-relaxed); margin: 0; }
.dt-card-elevated { box-shadow: var(--shadow-md); }
.dt-card-flat { background: transparent; border: none; }
.dt-card-surface-light { background: var(--surface-light); }

/* --- 5.3 .dt-input — Input System --- */
.dt-input {
  display: block; width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.5;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
  -webkit-appearance: none; appearance: none;
}
.dt-input::placeholder { color: var(--white-50); }
.dt-input:hover { border-color: var(--white-20); }
.dt-input:focus, .dt-input:focus-visible {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.15);
  outline: none;
}
.dt-input:disabled { opacity: 0.5; cursor: not-allowed; }
.dt-input-error { border-color: var(--error); }
.dt-input-error:focus { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15); }
.dt-input-success { border-color: var(--success); }
.dt-input-success:focus { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15); }
.dt-input-sm  { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.dt-input-lg  { padding: var(--space-5) var(--space-6); font-size: var(--text-base); }

/* --- 5.4 .dt-select --- */
.dt-select {
  display: block; width: 100%;
  padding: var(--space-4) var(--space-5); padding-right: var(--space-10);
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm); line-height: 1.5;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 12px;
}
.dt-select:hover { border-color: var(--white-20); }
.dt-select:focus, .dt-select:focus-visible {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.15);
  outline: none;
}
.dt-select option { background: var(--surface); color: var(--white); }

/* --- 5.5 .dt-textarea --- */
.dt-textarea {
  display: block; width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  resize: vertical; min-height: 120px;
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.dt-textarea::placeholder { color: var(--white-50); }
.dt-textarea:focus, .dt-textarea:focus-visible {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.15);
  outline: none;
}

/* --- 5.6 .dt-badge --- */
.dt-badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 195, 255, 0.1);
  color: var(--electric-light);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  font-family: var(--font-body); white-space: nowrap;
}
.dt-badge-success { background: var(--success-bg); color: var(--success); }
.dt-badge-warning { background: var(--warning-bg); color: var(--warning); }
.dt-badge-error   { background: var(--error-bg); color: var(--error); }
.dt-badge-info    { background: var(--info-bg); color: var(--info); }
.dt-badge-sm { font-size: 0.625rem; padding: 2px var(--space-2); }
.dt-badge-lg { font-size: var(--text-sm); padding: var(--space-2) var(--space-4); }

/* --- 5.7 .dt-navbar --- */
.dt-navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-navbar);
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--white-08);
  height: var(--navbar-height);
  transition: transform 0.3s ease;
}
.dt-navbar.nav-hidden { transform: translateY(-100%); }
.dt-navbar-link {
  color: var(--white-80);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--motion-fast) ease;
  padding: var(--space-2) 0;
  position: relative;
}
.dt-navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-light);
  transition: width var(--motion-base) ease;
}
.dt-navbar-link:hover::after,
.dt-navbar-link.active::after { width: 100%; }
.dt-navbar-link:hover, .dt-navbar-link:focus-visible { color: var(--white); }
.dt-navbar-link.active { color: var(--electric-light); font-weight: 600; }

/* --- 5.8 .dt-section --- */
.dt-section { padding: var(--space-20) 0; }
.dt-section-sm { padding: var(--space-12) 0; }
.dt-section-lg { padding: var(--space-28) 0; }
.dt-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-4);
  color: var(--white);
}
.dt-section-subtitle {
  text-align: center;
  color: var(--white-70);
  margin-bottom: var(--space-12);
  font-size: var(--text-lg);
}

/* --- 5.9 .dt-container --- */
.dt-container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-6); }
.dt-container-sm { max-width: var(--max-width-sm); }
.dt-container-lg { max-width: var(--max-width-lg); }

/* --- 5.10 .dt-grid --- */
.dt-grid { display: grid; gap: var(--space-6); }
.dt-grid-cols-2  { grid-template-columns: repeat(2, 1fr); }
.dt-grid-cols-3  { grid-template-columns: repeat(3, 1fr); }
.dt-grid-cols-4  { grid-template-columns: repeat(4, 1fr); }
.dt-grid-cols-5  { grid-template-columns: repeat(5, 1fr); }
.dt-grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
@media (max-width: 768px) {
  .dt-grid-cols-2, .dt-grid-cols-3, .dt-grid-cols-4, .dt-grid-cols-5, .dt-grid-cols-12 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .dt-grid-cols-3, .dt-grid-cols-4, .dt-grid-cols-5 { grid-template-columns: repeat(2, 1fr); }
}

/* --- 5.11 .dt-modal --- */
.dt-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: dtFadeIn var(--motion-fast) ease-out;
}
.dt-modal-overlay.closing { animation: dtFadeOut var(--motion-fast) ease-out forwards; }
.dt-modal {
  background: var(--surface-light);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; margin: var(--space-4);
  animation: dtSlideUp var(--motion-base) ease-out;
}
.dt-modal.closing { animation: dtSlideDown var(--motion-fast) ease-out forwards; }
.dt-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-6); border-bottom: 1px solid var(--white-10);
}
.dt-modal-title { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; margin: 0; }
.dt-modal-close {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  background: transparent; border: none; border-radius: var(--radius-full);
  color: var(--white-60); cursor: pointer;
  transition: all var(--motion-fast) ease; font-size: var(--text-xl);
}
.dt-modal-close:hover { background: var(--white-10); color: var(--white); }
.dt-modal-close:focus-visible { outline: 2px solid var(--electric-light); outline-offset: 2px; }
.dt-modal-body { padding: var(--space-6); overflow-y: auto; }
.dt-modal-footer {
  display: flex; align-items: center; justify-content: flex-end;
  gap: var(--space-3); padding: var(--space-6);
  border-top: 1px solid var(--white-10);
}

/* --- 5.12 .dt-toast --- */
.toast-container {
  position: fixed; top: var(--space-6); right: var(--space-6);
  z-index: var(--z-toast);
  display: flex; flex-direction: column; gap: var(--space-3);
  pointer-events: none;
}
@media (max-width: 640px) {
  .toast-container { top: auto; bottom: 1.5rem; left: 50%; transform: translateX(-50%); align-items: center; }
  .dt-toast { max-width: 90vw; min-width: 200px; }
}
.dt-toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: var(--surface-light);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  font-size: var(--text-sm); font-weight: 500;
  animation: dtSlideInRight var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 400px;
}
.dt-toast.closing { animation: dtSlideOutRight var(--motion-fast) ease-out forwards; }
.dt-toast-icon { font-size: var(--text-xl); flex-shrink: 0; }
.dt-toast-success .dt-toast-icon { color: var(--success); }
.dt-toast-error   .dt-toast-icon { color: var(--error); }
.dt-toast-info    .dt-toast-icon { color: var(--info); }
.dt-toast-warning .dt-toast-icon { color: var(--warning); }

/* --- 5.13 .dt-divider --- */
.dt-divider { border: none; border-top: 1px solid var(--surface-high); margin: var(--space-8) 0; }
.dt-footer { background: var(--surface-dim); border-top: 1px solid var(--surface-high); }

/* --- 5.14 .dt-list --- */
.dt-list { list-style: none; padding: 0; margin: 0; }
.dt-list-item { padding: var(--space-3) 0; color: var(--white-70); font-size: var(--text-sm); }
.dt-list-item:not(:last-child) { border-bottom: 1px solid var(--white-06); }

/* --- 5.15 .dt-avatar --- */
.dt-avatar {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--surface-high);
  color: var(--white-50);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  flex-shrink: 0; overflow: hidden;
}
.dt-avatar-sm { width: 32px; height: 32px; font-size: var(--text-sm); }
.dt-avatar-lg { width: 64px; height: 64px; font-size: var(--text-2xl); }
.dt-avatar-xl { width: 112px; height: 112px; font-size: var(--text-4xl); }
.dt-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* --- 5.16 .dt-rating --- */
.dt-rating { display: inline-flex; align-items: center; gap: 2px; color: var(--warning); font-size: var(--text-base); }
.dt-rating-star { cursor: pointer; transition: color var(--motion-fast) ease; }
.dt-rating-star:hover, .dt-rating-star.active { color: var(--warning); }
.dt-rating-star.inactive { color: var(--white-20); }

/* --- 5.17 .dt-skeleton --- */


/* ============================================================
   6. MOTION SYSTEM (Extended — Creative Effects)
   ============================================================ */

/* --- Gradient Text --- */
@keyframes dtGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-gradient {
  background: linear-gradient(135deg, var(--electric-solid), var(--cobalt-light), var(--electric-light));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: dtGradientShift 4s ease infinite;
}

/* --- Scroll Reveal --- */
.dt-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.dt-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Keyframes --- */
@keyframes dtFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes dtFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes dtSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dtSlideDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(20px); }
}
@keyframes dtSlideInRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dtSlideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}
@keyframes dtScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes dtScaleOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.95); }
}
@keyframes dtSpin {
  to { transform: rotate(360deg); }
}
@keyframes dtPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes dtBounceIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}
@keyframes dtSlideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dtSlideInBottom {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dtCountUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes dtFadeSlide {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes dtFloatParticle {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  20%  { opacity: 0.6; }
  80%  { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(50px) scale(0); opacity: 0; }
}

/* --- Animation Utility Classes --- */
.dt-anim-fade-in    { animation: dtFadeIn var(--motion-slow) cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.dt-anim-slide-up   { animation: dtSlideUp var(--motion-slow) cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.dt-anim-scale-in   { animation: dtScaleIn var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.dt-anim-bounce-in  { animation: dtBounceIn var(--motion-spring) forwards; }
.dt-anim-slide-left { animation: dtSlideInLeft var(--motion-slow) cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.dt-anim-slide-bottom { animation: dtSlideInBottom var(--motion-slow) cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.dt-anim-pulse      { animation: dtPulse 2s ease-in-out infinite; }
.dt-anim-spin       { animation: dtSpin 0.6s linear infinite; }

/* --- Typing indicator --- */
@keyframes dtBounceDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}
.dt-bounce-1 { animation: dtBounceDot 1.4s ease-in-out infinite; }
.dt-bounce-2 { animation: dtBounceDot 1.4s ease-in-out infinite 0.2s; }
.dt-bounce-3 { animation: dtBounceDot 1.4s ease-in-out infinite 0.4s; }

/* --- Stagger delays (for grid children) --- */
.dt-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.dt-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.dt-stagger > *:nth-child(3) { animation-delay: 0.15s; }
.dt-stagger > *:nth-child(4) { animation-delay: 0.2s; }
.dt-stagger > *:nth-child(5) { animation-delay: 0.25s; }
.dt-stagger > *:nth-child(6) { animation-delay: 0.3s; }
.dt-stagger > *:nth-child(7) { animation-delay: 0.35s; }
.dt-stagger > *:nth-child(8) { animation-delay: 0.4s; }
.dt-stagger > *:nth-child(9) { animation-delay: 0.45s; }
.dt-stagger > *:nth-child(10) { animation-delay: 0.5s; }
.dt-stagger > *:nth-child(11) { animation-delay: 0.55s; }
.dt-stagger > *:nth-child(12) { animation-delay: 0.6s; }

/* Chained delays */
.dt-delay-1  { animation-delay: 0.1s; }
.dt-delay-2  { animation-delay: 0.2s; }
.dt-delay-3  { animation-delay: 0.3s; }
.dt-delay-4  { animation-delay: 0.4s; }
.dt-delay-5  { animation-delay: 0.5s; }
.dt-delay-6  { animation-delay: 0.6s; }
.dt-delay-7  { animation-delay: 0.7s; }
.dt-delay-8  { animation-delay: 0.8s; }

/* Hover micro-interactions */
.dt-hover-lift {
  transition: transform var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1), box-shadow var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1);
}
.dt-hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dt-hover-glow:hover { box-shadow: var(--shadow-glow); }
.dt-hover-scale:hover { transform: scale(1.05); }
.dt-hover-bright:hover { filter: brightness(1.2); }

/* --- NEW: Tilt 3D Card Effect --- */
.dt-tilt {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.dt-tilt-inner {
  transition: transform var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

/* --- NEW: Reading Progress Bar --- */
.dt-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--electric-solid));
  z-index: var(--z-tooltip);
  width: 0%;
  transition: width 0.1s linear;
}

/* --- Legacy fade-in (IntersectionObserver) --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  .fade-in.visible { opacity: 1; transform: none; }
  .dt-toast, .dt-modal, .dt-modal-overlay { animation: none !important; }
}

/* --- Chatbot (legacy) --- */
#naomie-popup { animation: dtSlideUp var(--motion-base) ease-out; }
#naomie-popup.hidden { display: none; }

/* ============================================================
   7. ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 2px solid var(--electric-light); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

@media (prefers-contrast: less) {
  :root { --white-70: rgba(255, 255, 255, 0.75); --white-50: rgba(255, 255, 255, 0.55); }
}
@media (prefers-contrast: more) {
  :root { --electric-light: #7AC8FF; --white-70: rgba(255, 255, 255, 0.85); --white-50: rgba(255, 255, 255, 0.7); }
  .dt-btn-primary { border: 1px solid var(--electric-light); }
  .dt-card, .dt-input, .dt-select, .dt-textarea { border-width: 2px; }
}

/* ============================================================
   8. PREMIUM COMPONENTS
   ============================================================ */

/* --- 8.1 .dt-faq --- */
.dt-faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--motion-fast) ease;
}
.dt-faq-item:hover { border-color: var(--white-20); }
.dt-faq-item.open { border-color: rgba(0, 195, 255, 0.3); }
.dt-faq-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: transparent; border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer; text-align: left;
  transition: color var(--motion-fast) ease;
  gap: var(--space-4);
}
.dt-faq-trigger:hover { color: var(--electric-light); }
.dt-faq-trigger:focus-visible { outline: 2px solid var(--electric-light); outline-offset: -2px; }
.dt-faq-icon {
  flex-shrink: 0; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white-50);
  transition: transform var(--motion-base) ease;
}
.dt-faq-item.open .dt-faq-icon { transform: rotate(180deg); color: var(--electric-light); }
.dt-faq-content {
  max-height: 0; overflow: hidden;
  transition: max-height var(--motion-base) ease, padding var(--motion-base) ease;
}
.dt-faq-item.open .dt-faq-content { max-height: 500px; }
.dt-faq-answer {
  padding: 0 var(--space-6) var(--space-5) var(--space-6);
  color: var(--white-70);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* --- 8.6 .dt-testimonial --- */
.dt-testimonial {
  background: var(--surface-light);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: all var(--motion-base) cubic-bezier(0.4, 0, 0.2, 1);
}
.dt-testimonial:hover {
  border-color: rgba(0, 195, 255, 0.3);
  box-shadow: var(--shadow-glow-lg);
  transform: translateY(-2px);
}
.dt-testimonial-stars { display: flex; gap: 2px; color: var(--warning); margin-bottom: var(--space-4); font-size: var(--text-sm); }
.dt-testimonial-text {
  color: var(--white-80); font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-style: italic;
}
.dt-testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.dt-testimonial-name { font-weight: 600; font-size: var(--text-sm); }
.dt-testimonial-role { color: var(--white-50); font-size: var(--text-xs); }

/* --- 8.7 .dt-cta --- */
.dt-cta {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-light) 100%);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-3xl);
  padding: var(--space-16) var(--space-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dt-cta::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.dt-cta-title { font-family: var(--font-heading); font-size: var(--text-3xl); font-weight: 800; margin-bottom: var(--space-4); position: relative; }
.dt-cta-text { color: var(--white-70); font-size: var(--text-lg); margin-bottom: var(--space-8); max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }
.dt-cta-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; position: relative; }

/* --- 8.8 .dt-search --- */
.dt-search-bar { position: relative; }
.dt-search-icon { position: absolute; left: var(--space-4); top: 50%; transform: translateY(-50%); color: var(--white-50); pointer-events: none; font-size: var(--text-sm); }
.dt-search-input {
  width: 100%;
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-10);
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}
.dt-search-input::placeholder { color: var(--white-50); }
.dt-search-input:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0, 195, 255, 0.15); outline: none; }
.dt-search-suggestions {
  position: absolute; top: calc(100% + var(--space-2)); left: 0; right: 0;
  background: var(--surface-light);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-dropdown);
  overflow: hidden;
  animation: dtScaleIn var(--motion-fast) ease-out;
}
.dt-search-suggestion { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); cursor: pointer; transition: background var(--motion-fast) ease; font-size: var(--text-sm); }
.dt-search-suggestion:hover { background: var(--white-10); }
.dt-search-suggestion img { width: 32px; height: 32px; border-radius: var(--radius-md); object-fit: cover; }
.dt-search-empty { padding: var(--space-8); text-align: center; color: var(--white-50); font-size: var(--text-sm); }


/* ============================================================
   9. COMPATIBILITY LAYER (classes Tailwind surchargées)
   ============================================================ */
body .bg-white         { background-color: var(--surface); }
body .bg-gray-50       { background-color: var(--surface-dim); }
body .bg-gray-100      { background-color: var(--white-06); }
body .bg-gray-200      { background-color: var(--white-08); }
body .text-gray-900, body .text-gray-800, body .text-gray-700 { color: var(--white-90); }
body .text-gray-600, body .text-gray-500, body .text-gray-400, body .text-gray-300 { color: var(--white-70); }
body .border-gray-200, body .border-gray-300, body .border-gray-400 { border-color: var(--surface-high); }
body .shadow-xl, body .shadow-2xl, body .shadow-lg { box-shadow: var(--shadow-xl); }

/* --- Legacy glass-nav --- */
.glass-nav {
  position: sticky; top: 0; z-index: var(--z-navbar);
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--white-08);
}

/* Navbar responsive helpers (replacing Tailwind classes in JS template) */
@media (min-width: 768px) {
  .md-nav-links { display: flex !important; }
  .md-hide-btn { display: none !important; }
}
.mobile-nav-hidden { display: none !important; }
.nav-dropdown-group:hover .nav-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
}
.nav-dropdown-group:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
}

/* Legacy brand classes */
.brand-card, .product-card, .service-card, .blog-card {
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  color: var(--white);
  transition: all var(--transition-base);
}
.brand-card:hover, .product-card:hover, .service-card:hover, .blog-card:hover {
  border-color: rgba(0, 195, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.08);
  transform: translateY(-4px);
}
.details-panel {
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-2xl);
  color: var(--white);
  position: sticky; top: 100px;
  height: fit-content;
}

/* Legacy buttons */
.btn-primary, .btn-secondary, .btn-white {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-body); font-weight: 600; cursor: pointer;
  transition: all var(--transition-base);
}
.btn-primary { background: var(--electric); color: #000; border: none; }
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); color: #000; }
.btn-secondary { background: transparent; border: 1.5px solid var(--electric); color: var(--electric-light); }
.btn-secondary:hover { background: rgba(0, 195, 255, 0.08); box-shadow: var(--shadow-glow); color: var(--electric-light); }
.btn-white { background: var(--white-08); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.12); }
.btn-white:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }

#toast-container .transition-all { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

/* ============================================================
   10. MOBILE RESPONSIVE — Premium Edition
   ============================================================ */

/* --- Tiny screens (≤ 480px) --- */
@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem !important; }
  .hero-subtitle { font-size: 0.95rem !important; }
  .hero-buttons .dt-btn { padding: 14px 24px; font-size: 0.85rem; width: 100%; }
  .dt-section { padding: 2.5rem 0; }
  .dt-section-title { font-size: 1.6rem !important; }
  .dt-container { padding: 0 1rem; }

  #shared-cart-popup .dt-card { max-width: 100vw; margin: 0; border-radius: 1.25rem 1.25rem 0 0; }
  #shared-cart-popup { align-items: flex-end; }
  .toast-container { top: auto; bottom: 1.5rem; left: 50%; transform: translateX(-50%); align-items: center; }
  .dt-toast { max-width: 90vw; min-width: 200px; }
  .dt-chat-popup { width: calc(100vw - 32px); max-width: 360px; right: 16px; }

  .product-card { border-radius: 1.25rem; }
  .product-card img { height: 180px; }

  .skill-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }

  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .admin-stat-card { padding: 1rem; }
  .admin-stat-value { font-size: 1.5rem; }
  .admin-tabs { gap: 0.5rem; }
  .admin-tab { padding: 8px 14px; font-size: 0.8rem; }

  .auth-card { padding: 1.5rem 1.25rem; }
  .mobile-full-width { width: 100%; }

  .cart-item-qty-btn { width: 44px; height: 44px; }
}

/* --- Small screens (≤ 640px) --- */
@media (max-width: 640px) {
  .hero-title { font-size: 2.75rem !important; }
  #shared-cart-popup .max-w-xl { margin: 0; max-height: 90vh; border-radius: 1.25rem 1.25rem 0 0; width: 100%; }
  #shared-cart-popup { align-items: flex-end; }
  #mobile-nav-menu { overflow-y: auto; overscroll-behavior: contain; }
  #mobile-nav-menu a, #mobile-nav-menu button { touch-action: manipulation; }
  #mobile-nav-menu .mobile-nav-link { transition: background-color 0.2s ease; }
  .dt-section { padding: var(--space-12) 0; }
  .dt-section-lg { padding: var(--space-16) 0; }
  .dt-container { padding: 0 var(--space-4); }

  .skill-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .contact-grid { grid-template-columns: 1fr !important; }

  .detail-panel img { height: 200px !important; }
  .search-input { width: 100% !important; max-width: none !important; }
  .carousel-item { width: 240px; flex-shrink: 0; }

  /* --- Bottom Sheet Gesture --- */
  .cart-handle-bar { display: block; width: 36px; height: 4px; background: var(--white-30); border-radius: 4px; margin: 0 auto 12px; }
}

/* --- Touch screen refinements --- */
@media (pointer: coarse) {
  .group:hover .group-hover\:opacity-100 { opacity: 1; visibility: visible; }
  .dt-navbar a, .dt-navbar button, .dt-btn, .admin-tab, .dt-modal-close, .dt-chat-btn, .dt-chat-send, .dt-chat-close { touch-action: manipulation; }
  .dt-cursor-dot, .dt-cursor-ring, .dt-cursor-trail { display: none; }
}

/* --- Large screens (≥ 1024px) --- */
@media (min-width: 1024px) {
  .skill-grid { grid-template-columns: repeat(5, 1fr) !important; }
  .contact-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .admin-stats { grid-template-columns: repeat(4, 1fr); }
}

/* --- Touch target sizing (44px minimum) --- */
.dt-modal-close,
.dt-chat-close,
.dt-chat-send,
.dt-wishlist-btn,
.cart-qty-btn,
.admin-tab,
.review-star-btn,
.auth-logout-btn,
.dt-close-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   11. CUSTOM CURSOR
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor { cursor: none; }
}

.dt-cursor-dot,
.dt-cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform, left, top, width, height, opacity;
  border-radius: 50%;
}

.dt-cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--electric-solid);
  transition: opacity 0.3s ease;
  z-index: 10001;
}

.dt-cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--electric-light);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              opacity 0.3s ease;
  z-index: 10000;
  background: rgba(0, 195, 255, 0.02);
  box-shadow: 0 0 12px rgba(0, 195, 255, 0.04);
}

.dt-cursor-ring.is-hovering {
  width: 60px;
  height: 60px;
  background: rgba(0, 195, 255, 0.06);
  border-color: var(--electric-solid);
  box-shadow: 0 0 30px rgba(0, 195, 255, 0.12);
}

.dt-cursor-ring.is-clicking {
  width: 28px;
  height: 28px;
  background: rgba(0, 195, 255, 0.15);
  border-color: var(--electric-solid);
}

.dt-cursor-trail {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9998;
  will-change: transform, opacity;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.dt-cursor-ring.magnetic {
  width: 48px;
  height: 48px;
  background: rgba(0, 195, 255, 0.08);
  border-color: var(--electric-solid);
  box-shadow: 0 0 25px rgba(0, 195, 255, 0.1);
}

@media (pointer: coarse) {
  .dt-cursor-dot,
  .dt-cursor-ring,
  .dt-cursor-trail { display: none !important; }
}

/* ============================================================
   12. CHATBOT NAOMIE — Premium
   ============================================================ */
.dt-chat-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--electric-solid), #0090C0);
  color: #000;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  cursor: pointer; z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 195, 255, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dt-chat-btn:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(0, 195, 255, 0.5); }
.dt-chat-btn:active { transform: scale(0.95); }

.dt-chat-popup {
  position: fixed; bottom: 100px; right: 28px;
  width: 360px; max-height: 580px;
  background: rgba(22, 27, 34, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(0,195,255,0.06);
  z-index: 50;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: dtChatOpen 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dt-chat-popup.hidden { display: none; }

@keyframes dtChatOpen {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.dt-chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.dt-chat-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--electric-solid), #0090C0);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.2);
}

.dt-chat-close {
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: none; border-radius: 50%;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}
.dt-chat-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.dt-chat-body {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.dt-chat-body::-webkit-scrollbar { width: 4px; }
.dt-chat-body::-webkit-scrollbar-track { background: transparent; }
.dt-chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.dt-msg { display: flex; flex-direction: column; gap: 4px; max-width: 85%; }
.dt-msg-bot { align-self: flex-start; }
.dt-msg-user { align-self: flex-end; }

.dt-msg-content {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.dt-msg-bot .dt-msg-content {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.04);
  border-bottom-left-radius: 6px;
  color: var(--white-90);
}
.dt-msg-user .dt-msg-content {
  background: linear-gradient(135deg, var(--electric) 0%, rgba(0, 195, 255, 0.15) 100%);
  border: 1px solid rgba(0, 195, 255, 0.15);
  border-bottom-right-radius: 6px;
  color: var(--white);
}

.dt-msg-time {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  padding: 0 6px;
  letter-spacing: 0.02em;
}

.dt-msg-enter {
  animation: dtMsgIn 0.3s ease-out;
}
@keyframes dtMsgIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.dt-typing {
  display: flex; align-items: center; gap: 5px;
  padding: 12px 18px !important;
  min-width: 60px;
}
.dt-typing-dot {
  width: 7px; height: 7px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
}

.dt-chat-footer {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.dt-chat-input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dt-chat-input-wrap:focus-within {
  border-color: rgba(0, 195, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.06);
}
.dt-chat-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-size: 0.8125rem;
  color: var(--white-90);
  outline: none;
  font-family: var(--font-body);
}
.dt-chat-input::placeholder { color: rgba(255,255,255,0.25); }
.dt-chat-send {
  min-width: 44px; min-height: 44px;
  background: linear-gradient(135deg, var(--electric-solid), #0090C0);
  border: none; border-radius: 12px;
  color: #000;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}
.dt-chat-send:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(0, 195, 255, 0.2); }

.dt-chat-chip {
  font-size: 0.75rem;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.dt-chat-chip:hover {
  background: rgba(0, 195, 255, 0.08);
  border-color: rgba(0, 195, 255, 0.2);
  color: var(--electric-light);
}

.dt-chat-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.dt-chat-wa-btn:hover {
  background: #1DA851;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* ============================================================
   12. SERVICE CARDS — Premium Glass
   ============================================================ */
/* --- Service Category Premium --- */
.dt-service-category {
  margin-bottom: 56px;
  position: relative;
}
.dt-service-category:last-child { margin-bottom: 0; }
.dt-cat-glow {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.12;
}
.dt-cat-glow--blue { background: #00C3FF; }
.dt-cat-glow--emerald { background: #10B981; }
.dt-cat-glow--violet { background: #8B5CF6; }

.dt-cat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
}
.dt-cat-accent {
  width: 5px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
}
.dt-cat-accent--blue { background: linear-gradient(180deg, #00C3FF, rgba(0,195,255,0.15)); }
.dt-cat-accent--emerald { background: linear-gradient(180deg, #10B981, rgba(16,185,129,0.15)); }
.dt-cat-accent--violet { background: linear-gradient(180deg, #8B5CF6, rgba(139,92,246,0.15)); }

.dt-cat-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.dt-cat-icon-circle--blue { background: linear-gradient(135deg, rgba(0,195,255,0.2), rgba(0,195,255,0.05)); color: #00C3FF; }
.dt-cat-icon-circle--emerald { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); color: #10B981; }
.dt-cat-icon-circle--violet { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(139,92,246,0.05)); color: #8B5CF6; }

.dt-cat-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white-90);
  margin: 0;
  letter-spacing: -0.01em;
}
.dt-cat-subtitle {
  font-size: 13px;
  color: var(--white-50);
  margin: 2px 0 0 0;
}

/* --- Service Cards Premium Glass --- */
.dt-service-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 24px 22px 22px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  text-align: left;
  width: 100%;
  backdrop-filter: blur(12px);
}
.dt-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(0,195,255,0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.dt-service-card:hover::before { opacity: 1; }
.dt-service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(0,195,255,0.2), transparent 40%, transparent 60%, rgba(0,195,255,0.08));
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
}
.dt-service-card:hover::after { opacity: 1; }
.dt-service-card:hover {
  border-color: transparent;
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,195,255,0.08);
}

.dt-service-icon-wrap { margin-bottom: 18px; }
.dt-service-icon-bg {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,195,255,0.18), rgba(0,195,255,0.04));
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}
.dt-service-icon-bg::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(0,195,255,0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.dt-service-card:hover .dt-service-icon-bg::before { opacity: 1; }
.dt-service-card:hover .dt-service-icon-bg {
  background: linear-gradient(135deg, rgba(0,195,255,0.3), rgba(0,195,255,0.08));
  transform: scale(1.06);
}
.dt-service-icon {
  font-size: 22px;
  color: var(--electric-light);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
}
.dt-service-card:hover .dt-service-icon { transform: scale(1.2) rotate(-6deg); }

.dt-service-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white-90);
  margin-bottom: 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.dt-service-price {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 3px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, #00C3FF, #0086B3);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(0,195,255,0.25);
}
.dt-service-desc {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.65;
  margin-bottom: 0;
}
.dt-service-cta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.dt-service-cta-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--white-30);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.dt-service-card:hover .dt-service-cta-text { color: #00C3FF; }
.dt-service-arrow {
  font-size: 10px;
  color: var(--white-30);
  transition: transform 0.4s ease, color 0.3s ease;
}
.dt-service-card:hover .dt-service-arrow {
  transform: translateX(6px);
  color: #00C3FF;
}

/* Special card "Projet specifique" */
.dt-service-card--special {
  border: 1px dashed rgba(0,195,255,0.15);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.dt-service-card--special::after { display: none; }
.dt-service-card--special:hover {
  border-color: rgba(0,195,255,0.35) !important;
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(0,195,255,0.08);
}
.dt-icon-bg--special { background: rgba(255,255,255,0.04) !important; }
.dt-icon-bg--special::before { display: none; }
.dt-service-card--special:hover .dt-icon-bg--special { background: rgba(255,255,255,0.08) !important; }
.dt-service-cta-special {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #00C3FF;
  transition: transform 0.4s ease;
}
.dt-service-card--special:hover .dt-service-cta-special { transform: translateX(6px); }

/* --- Service Modal Premium --- */
#service-modal { animation: dtModalFadeIn 0.3s ease-out; }
#service-modal.hidden { display: none !important; }
#service-modal.flex { display: flex !important; }

.dt-modal-container {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 16px;
  max-height: 90vh;
}
.dt-modal-content {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 28px;
  padding: 0;
  background: linear-gradient(160deg, #1a1f2e, #0f1220);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: dtModalSlideIn 0.4s ease-out;
}
.dt-modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  background: #1a1f2e;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}
.dt-modal-close:hover { color: #fff; transform: scale(1.1); background: #252b3d; }

.dt-modal-inner { padding: 32px 28px; }
.dt-modal-icon-row { text-align: center; margin-bottom: 24px; }
.dt-modal-icon-bg {
  display: inline-flex;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,195,255,0.25), rgba(0,195,255,0.05));
  font-size: 36px;
  color: #00C3FF;
  box-shadow: 0 8px 32px rgba(0,195,255,0.15);
}
.dt-modal-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: -0.02em;
}
.dt-modal-price {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  padding: 6px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #00C3FF, #0086B3);
  box-shadow: 0 4px 20px rgba(0,195,255,0.25);
}
  color: var(--electric-light);
  margin-bottom: 20px;
  padding: 4px 16px;
  border-radius: 20px;
  background: rgba(0,195,255,0.08);
}
.dt-modal-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 28px;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.dt-modal-features {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 28px;
}
.dt-modal-feat-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.dt-modal-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dt-modal-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  transition: background 0.2s ease;
}
.dt-modal-feat-item i {
  color: #10B981;
  font-size: 11px;
  flex-shrink: 0;
}
.dt-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dt-modal-btn {
  flex: 1;
  min-width: 140px;
  padding: 16px 24px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.01em;
}
.dt-modal-btn-primary {
  background: linear-gradient(135deg, #00C3FF, #0086B3);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,195,255,0.2);
}
.dt-modal-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,195,255,0.35);
}
.dt-modal-btn-secondary {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.dt-modal-btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

@media (min-width: 768px) {
  .dt-modal-container { max-width: 700px; }
  .dt-modal-content { padding: 0; border-radius: 28px; }
  .dt-modal-inner { padding: 40px 36px; }
  .dt-modal-title { font-size: 32px; }
  .dt-modal-icon-bg { width: 88px; height: 88px; font-size: 40px; border-radius: 26px; }
  .dt-modal-feat-grid { grid-template-columns: 1fr 1fr; }
  .dt-modal-desc { font-size: 15px; }
}

@keyframes dtModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes dtModalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

html.light #service-modal-content { background: linear-gradient(160deg, #f8fafc, #eef2f6) !important; border-color: rgba(0,0,0,0.08) !important; }
html.light .dt-modal-title { color: #0F172A !important; }
html.light .dt-modal-desc { color: rgba(15,23,42,0.55) !important; }
html.light .dt-modal-features { background: rgba(255,255,255,0.6) !important; border-color: rgba(0,0,0,0.06) !important; }
html.light .dt-modal-feat-item { background: rgba(255,255,255,0.5) !important; color: rgba(15,23,42,0.7) !important; }
html.light .dt-modal-feat-title { color: rgba(15,23,42,0.35) !important; }
html.light .dt-modal-btn-secondary { background: rgba(0,0,0,0.04) !important; color: #1E293B !important; border-color: rgba(0,0,0,0.08) !important; }
html.light .dt-modal-close { background: #f1f5f9 !important; border-color: rgba(0,0,0,0.08) !important; color: #64748B !important; }
html.light .dt-modal-close:hover { color: #0F172A !important; }

/* ============================================================
   12A. SKILL CARDS — Premium Glass
   ============================================================ */
.dt-skill-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 28px 20px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.dt-skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(0,195,255,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.dt-skill-card:hover::before { opacity: 1; }
.dt-skill-card:hover {
  border-color: rgba(0, 195, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.25),
    0 0 30px rgba(0,195,255,0.06);
}
.dt-skill-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dt-skill-icon {
  font-size: 22px;
  color: var(--electric-light);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}
.dt-skill-card:hover .dt-skill-icon {
  transform: scale(1.25);
  color: #fff;
}
.dt-skill-icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(0,195,255,0.08);
  border: 1px solid rgba(0,195,255,0.12);
  transition: all 0.4s ease;
}
.dt-skill-card:hover .dt-skill-icon-glow {
  background: rgba(0,195,255,0.18);
  border-color: rgba(0,195,255,0.3);
  box-shadow: 0 0 20px rgba(0,195,255,0.15);
  transform: scale(1.15) rotate(10deg);
  border-radius: 50%;
}
.dt-skill-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 4px;
}
.dt-skill-item i {
  font-size: 0.5rem;
  color: var(--electric-light);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.dt-skill-card:hover .dt-skill-item {
  color: rgba(255,255,255,0.75);
}
.dt-skill-card:hover .dt-skill-item i {
  transform: scale(1.4);
  color: #25d366;
}
.dt-skill-card li::marker { display: none; font-size: 0; }

/* ============================================================
   13. TEAM CARDS — Premium
   ============================================================ */
.dt-team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 22px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dt-team-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(0, 195, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.dt-team-avatar-wrap {
  position: relative;
  width: 100px; height: 100px;
  margin: 0 auto 20px;
}
.dt-team-avatar-ring {
  position: absolute; inset: -4px;
  border: 2px solid rgba(0, 195, 255, 0.15);
  border-radius: 50%;
  transition: border-color 0.3s ease;
}
.dt-team-card:hover .dt-team-avatar-ring {
  border-color: rgba(0, 195, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 195, 255, 0.08);
}
.dt-team-avatar {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface);
}
.dt-team-role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--electric-light);
  background: rgba(0, 195, 255, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ============================================================
   14. AUTH SECTION — Premium 3D
   ============================================================ */
/* ============================================================
   PROFILE — Premium Tech Design
   ============================================================ */
/* Section */
.pf-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--obsidian);
}
.pf-canvas {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
}
.pf-card-wrap {
  width: 100%; max-width: 440px; padding: 20px 16px;
  position: relative; z-index: 2;
}
.pf-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 32px 28px;
  transform: perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform 0.1s ease;
}
.pf-card-header { text-align: center; margin-bottom: 24px; }
.pf-logo { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; color: #fff; }
.pf-subtitle { font-size: 0.8125rem; color: rgba(255,255,255,0.4); margin-top: 4px; }
.pf-tabs {
  display: flex; gap: 4px; padding: 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 14px; margin-bottom: 24px;
}
.pf-tab {
  flex: 1; padding: 10px; border: none; border-radius: 11px;
  background: transparent; color: rgba(255,255,255,0.5);
  font-size: 0.8125rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all 0.3s ease;
}
.pf-tab.active { background: rgba(0,195,255,0.1); color: #fff; }
.pf-tab i { font-size: 0.75rem; }
/* Forms */
.pf-forms { margin-bottom: 4px; }
.pf-form { display: flex; flex-direction: column; gap: 14px; }
.pf-field { position: relative; }
.pf-field input {
  width: 100%; padding: 14px 14px 14px 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  color: #fff; font-size: 0.875rem; font-family: inherit;
  outline: none; transition: all 0.3s ease; box-sizing: border-box;
}
.pf-field input:focus { border-color: rgba(0,195,255,0.4); box-shadow: 0 0 0 3px rgba(0,195,255,0.06); }
.pf-field label {
  position: absolute; left: 42px; top: 50%; transform: translateY(-50%);
  font-size: 0.8125rem; color: rgba(255,255,255,0.35);
  transition: all 0.2s ease; pointer-events: none;
}
.pf-field input:focus + label,
.pf-field input:not(:placeholder-shown) + label {
  top: -10px; left: 14px; font-size: 0.6rem;
  background: #0D1117; padding: 0 6px; color: rgba(0,195,255,0.8);
}
.pf-fi {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.2); font-size: 0.85rem; z-index: 1;
}
.pf-btn {
  width: 100%; padding: 14px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, #00C3FF, #2563EB);
  color: #fff; font-weight: 700; font-size: 0.875rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.3s ease;
}
.pf-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,195,255,0.15); }
.pf-forgot { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: center; text-decoration: none; }
.pf-forgot:hover { color: rgba(0,195,255,0.8); }
.pf-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 20px 0; color: rgba(255,255,255,0.2); font-size: 0.75rem;
}
.pf-divider::before, .pf-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.06);
}
.pf-google-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.7); font-size: 0.8125rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.pf-google-btn:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
.pf-google-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pf-footer-text {
  text-align: center; margin-top: 16px;
  font-size: 0.6875rem; color: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* --- Connected Dashboard (Desktop-first) --- */
.dash-bg {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 0% 50%, rgba(0,195,255,0.02), transparent),
              radial-gradient(ellipse 60% 50% at 100% 50%, rgba(37,99,235,0.015), transparent);
  pointer-events: none; z-index: 0;
}
.dash-container {
  display: flex; max-width: 1200px; margin: 0 auto;
  padding: 40px 32px 80px; gap: 40px;
  position: relative; z-index: 1;
  min-height: calc(100vh - 80px);
}
/* Sidebar */
.dash-sidebar {
  width: 280px; flex-shrink: 0;
}
.dash-profile {
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 24px; padding: 32px 28px;
  text-align: center; margin-bottom: 16px;
}
.dash-avatar {
  width: 72px; height: 72px; border-radius: 24px;
  background: linear-gradient(135deg, #2563EB, #00C3FF);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #fff; font-size: 1.75rem; font-weight: 800;
  box-shadow: 0 4px 24px rgba(37,99,235,0.12);
}
.dash-name {
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem; font-weight: 700; color: var(--white-90);
  margin: 0 0 4px;
}
.dash-email { font-size: 0.75rem; color: var(--white-40); margin: 0 0 20px; overflow: hidden; text-overflow: ellipsis; }
.dash-logout {
  width: 100%; padding: 12px; border: 1px solid rgba(239,68,68,0.1);
  border-radius: 14px; background: rgba(239,68,68,0.04);
  color: #F87171; font-size: 0.8125rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.3s ease;
}
.dash-logout:hover { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); }
.dash-stats { display: flex; flex-direction: column; gap: 8px; }
.dash-stat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
}
.dash-stat-val { font-size: 0.9375rem; font-weight: 700; color: var(--white-90); }
.dash-stat-lbl { font-size: 0.6875rem; color: var(--white-40); }

/* Main content */
.dash-main { flex: 1; min-width: 0; }
.dash-breadcrumb {
  display: flex; gap: 6px; font-size: 0.75rem;
  color: var(--white-30); margin-bottom: 8px;
}
.dash-breadcrumb a { color: var(--white-40); transition: color 0.3s; text-decoration: none; }
.dash-breadcrumb a:hover { color: var(--electric-light); }
.dash-sep { color: var(--white-15); }
.dash-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem; font-weight: 700; color: var(--white-90);
  margin: 0 0 4px;
}
.dash-desc { font-size: 0.875rem; color: var(--white-50); margin: 0 0 32px; }
.dash-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.dash-card {
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 20px; padding: 24px;
}
.dash-card:last-child { grid-column: 1 / -1; }
.dash-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.dash-card-header i { font-size: 0.9rem; width: 18px; }
.dash-card-header h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.9375rem; font-weight: 700; color: var(--white-90);
  margin: 0;
}
/* Fields */
.dash-field { margin-bottom: 14px; display: flex; flex-direction: column; gap: 5px; }
.dash-field label { font-size: 0.75rem; font-weight: 600; color: var(--white-50); }
.dash-field input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 13px;
  color: var(--white-90); font-size: 0.875rem; font-family: inherit;
  outline: none; transition: all 0.3s ease; box-sizing: border-box;
}
.dash-field input:focus { border-color: rgba(0,195,255,0.3); box-shadow: 0 0 0 3px rgba(0,195,255,0.04); }
.dash-btn {
  padding: 12px 20px; border: none; border-radius: 13px;
  background: linear-gradient(135deg, #00C3FF, #2563EB);
  color: #fff; font-weight: 700; font-size: 0.8125rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.3s ease; text-decoration: none;
}
.dash-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,195,255,0.12); }

/* Orders */
.dash-order {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 13px;
  transition: all 0.2s ease; cursor: default;
}
.dash-order:hover { background: rgba(255,255,255,0.015); }
.dash-order-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-order-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.dash-order-id { font-size: 0.8125rem; font-weight: 600; color: var(--white-80); }
.dash-order-date { font-size: 0.6875rem; color: var(--white-40); }
.dash-order-amount { font-size: 0.8125rem; font-weight: 700; color: var(--white-90); white-space: nowrap; margin-left: auto; }
.dash-order-status { font-size: 0.6875rem; font-weight: 600; white-space: nowrap; margin-left: 12px; min-width: 80px; text-align: right; }
.dash-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 32px 16px; color: var(--white-30); text-align: center;
}
.dash-empty i { font-size: 1.75rem; color: var(--white-15); }
.dash-empty p { font-size: 0.875rem; color: var(--white-40); margin: 0; }

/* Links */
.dash-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-radius: 13px;
  color: var(--white-70); font-size: 0.8125rem; text-decoration: none;
  transition: all 0.2s ease;
}
.dash-link:hover { background: rgba(255,255,255,0.015); color: var(--white-90); }
.dash-link span { display: flex; align-items: center; gap: 10px; }
.dash-link span i { width: 14px; color: var(--electric-light); font-size: 0.8rem; }

/* Mobile */
@media (max-width: 768px) {
  .dash-container { flex-direction: column; padding: 20px 16px 100px; gap: 20px; }
  .dash-sidebar { width: 100%; }
  .dash-profile { padding: 24px 20px; display: flex; align-items: center; text-align: left; gap: 16px; flex-wrap: wrap; }
  .dash-avatar { width: 56px; height: 56px; font-size: 1.25rem; margin: 0; border-radius: 18px; }
  .dash-name { font-size: 1rem; }
  .dash-email { margin-bottom: 0; }
  .dash-logout { width: auto; padding: 8px 16px; }
  .dash-stats { flex-direction: row; }
  .dash-stat { flex-direction: column; text-align: center; flex: 1; gap: 2px; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-card:last-child { grid-column: auto; }
  .dash-title { font-size: 1.35rem; }
}

/* Light mode */
html.light .dash-bg { background: radial-gradient(ellipse 60% 50% at 0% 50%, rgba(0,195,255,0.025), transparent), radial-gradient(ellipse 60% 50% at 100% 50%, rgba(37,99,235,0.02), transparent); }
html.light .dash-profile { background: #FFFFFF; border-color: #E2E8F0; }
html.light .dash-name { color: #0F172A; }
html.light .dash-email { color: rgba(15,23,42,0.4); }
html.light .dash-stat { background: #FFFFFF; border-color: #E2E8F0; }
html.light .dash-stat-val { color: #0F172A; }
html.light .dash-stat-lbl { color: rgba(15,23,42,0.4); }
html.light .dash-breadcrumb { color: rgba(15,23,42,0.3); }
html.light .dash-breadcrumb a { color: rgba(15,23,42,0.4); }
html.light .dash-title { color: #0F172A; }
html.light .dash-desc { color: rgba(15,23,42,0.5); }
html.light .dash-card { background: #FFFFFF; border-color: #E2E8F0; }
html.light .dash-card-header { border-bottom-color: #F1F5F9; }
html.light .dash-card-header h3 { color: #0F172A; }
html.light .dash-field input { background: #F8FAFC; border-color: #E2E8F0; color: #0F172A; }
html.light .dash-field label { color: rgba(15,23,42,0.5); }
html.light .dash-btn { background: linear-gradient(135deg, #2563EB, #00C3FF); color: #fff; }
html.light .dash-order-id { color: #0F172A; }
html.light .dash-order-date { color: rgba(15,23,42,0.4); }
html.light .dash-order-amount { color: #0F172A; }
html.light .dash-order:hover { background: #F8FAFC; }
html.light .dash-empty i { color: #CBD5E1; }
html.light .dash-empty p { color: rgba(15,23,42,0.4); }
html.light .dash-link { color: rgba(15,23,42,0.6); }
html.light .dash-link:hover { background: #F8FAFC; color: #0F172A; }
html.light .dash-sep { color: rgba(15,23,42,0.15); }

/* ============================================================
   15. FAQ ACCORDION — Premium
   ============================================================ */
.dt-faq-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dt-faq-card:hover {
  border-color: rgba(0, 195, 255, 0.12);
  background: rgba(0, 195, 255, 0.025);
  transform: translateX(4px);
}
.dt-faq-card.open {
  border-color: rgba(0, 195, 255, 0.12);
  background: rgba(0, 195, 255, 0.02);
}

.dt-faq-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: var(--white-90);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color 0.2s ease;
}
.dt-faq-btn:hover { color: var(--white); }
.dt-faq-card:hover .dt-faq-arrow { color: var(--electric-light); transform: translateX(4px); }
.dt-faq-card:hover .dt-faq-num { color: var(--electric-solid); }

.dt-faq-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(0, 195, 255, 0.4);
  font-feature-settings: "tnum";
  min-width: 28px;
}

.dt-faq-arrow {
  font-size: 0.875rem;
  color: rgba(0, 195, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.dt-faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dt-faq-answer-inner {
  padding: 0 26px 24px;
  display: flex; gap: 16px;
  align-items: flex-start;
}
.dt-faq-answer-line {
  width: 2px;
  min-height: 24px;
  background: linear-gradient(180deg, rgba(0, 195, 255, 0.2), transparent);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ============================================================
   15. CONTACT SECTION — Premium
   ============================================================ */
.dt-contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dt-contact-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(0, 195, 255, 0.12);
  transform: translateX(4px);
}
.dt-contact-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 195, 255, 0.08);
}

.dt-contact-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}
.dt-contact-form-wrap:hover {
  border-color: rgba(0, 195, 255, 0.08);
}

.dt-field-wrap {
  display: flex; flex-direction: column; gap: 6px;
}
.dt-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 4px;
}
.dt-field-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  font-size: 0.875rem;
  color: var(--white-90);
  font-family: var(--font-body);
  transition: all 0.25s ease;
  outline: none;
}
.dt-field-input::placeholder { color: rgba(255,255,255,0.2); }
.dt-field-input:hover {
  border-color: rgba(255,255,255,0.12);
}
.dt-field-input:focus {
  border-color: rgba(0, 195, 255, 0.25);
  background: rgba(0, 195, 255, 0.03);
  box-shadow: 0 0 0 4px rgba(0, 195, 255, 0.05);
}
.dt-field-input option { background: var(--surface-light); color: var(--white); }
textarea.dt-field-input { resize: vertical; min-height: 110px; }

.dt-contact-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--electric-solid), #0090C0);
  border: none;
  border-radius: 14px;
  color: #000;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 4px;
}
.dt-contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 195, 255, 0.25);
}
.dt-contact-submit:active {
  transform: translateY(0);
}

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-tab {
  background: transparent;
  border: 1px solid var(--white-10);
  color: var(--white-60);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-tab:hover {
  background: var(--white-06);
  color: var(--white-80);
}
.admin-tab.active {
  background: var(--electric);
  border-color: var(--electric-solid);
  color: var(--white);
}
.admin-tab i { font-size: 14px; }

/* ============================================================
   PREMIUM MOBILE ENHANCEMENTS
   ============================================================ */

/* --- Glassmorphism refinements --- */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.glass-nav-mobile {
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* --- Floating card hover animation --- */
.product-card, .dt-service-card, .dt-skill-card, .dt-team-card {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease;
}
.product-card:hover, .dt-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 195, 255, 0.08);
}
.dt-skill-card:hover, .dt-team-card:hover {
  transform: translateY(-4px);
}

/* --- Shimmer loading effect --- */
@keyframes dtShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.dt-shimmer {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-light) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: dtShimmer 1.5s ease-in-out infinite;
}

/* --- Mobile navbar: logo centré, hamburger à droite --- */
@media (max-width: 767px) {
  .dt-navbar > div { position: relative; justify-content: center !important; gap:8px !important; }
  .dt-navbar .dt-nav-brand { flex: 0 0 auto; margin: 0 auto; }
  .dt-navbar #theme-toggle,
  .dt-navbar button[onclick*="toggleCart"],
  .dt-navbar .auth-btn { display: none !important; }
  .dt-navbar .md-hide-btn { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex !important; }
  .dt-navbar .notif-dropdown-group { position:static !important; margin-right:44px }
  .dt-navbar .notif-dropdown-group button { font-size:18px !important }
  .dt-navbar .notif-dropdown { position:fixed !important; top:72px !important; left:8px !important; right:8px !important; bottom:auto !important; width:auto !important; margin-top:0 !important; max-height:calc(100vh - 88px) !important; border-radius:16px !important; box-shadow:0 20px 60px rgba(0,0,0,0.5) !important }
}

/* --- Premium scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--white-20); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--white-30); }

/* --- Button press feedback (mobile) --- */
@media (pointer: coarse) {
  .dt-btn:active, .admin-tab:active, .dt-modal-close:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
  }
}

/* --- Smooth page transitions --- */
body {
  opacity: 0;
  animation: dtFadeIn 0.3s ease forwards;
}
@keyframes dtFadeIn {
  to { opacity: 1; }
}

/* --- Cart bottom sheet indicator always visible --- */
.cart-handle-bar {
  width: 36px; height: 4px;
  background: var(--white-30);
  border-radius: 4px;
  margin: 0 auto 12px;
  display: none;
}
@media (max-width: 640px) {
  .cart-handle-bar { display: block; }
}

/* ============================================================
   MOBILE — Version téléphone complète
   ============================================================ */

/* --- Navigation mobile drawer (slide-in) --- */
#mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 49;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.35s ease;
  display: block !important;
}
#mobile-nav-overlay.mobile-menu-closed {
  opacity: 0; pointer-events: none;
}
#mobile-nav-overlay:not(.mobile-menu-closed) {
  opacity: 1; pointer-events: auto;
}

#mobile-nav-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(85vw, 360px);
  background: var(--surface-dim);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex !important;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.3);
}
#mobile-nav-menu.mobile-menu-closed {
  transform: translateX(100%);
}
#mobile-nav-menu:not(.mobile-menu-closed) {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav-header a {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.mobile-nav-header a img { height: 32px; width: auto; }
.mobile-nav-header a span { color: #fff; font-weight: 700; font-size: 17px; }
.mobile-nav-header button {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: none; border-radius: 10px;
  color: var(--white-70); font-size: 18px; cursor: pointer;
  transition: background 0.2s;
}
.mobile-nav-header button:hover { background: rgba(255,255,255,0.12); }

.mobile-nav-user {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mobile-nav-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-50); font-size: 16px; flex-shrink: 0;
}
.mobile-nav-user-name { color: #fff; font-weight: 600; font-size: 14px; }
.mobile-nav-user-email { color: var(--white-40); font-size: 12px; }

.mobile-nav-links {
  flex: 1; overflow-y: auto;
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.mobile-nav-links a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--white-80);
  text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: all 0.2s;
}
.mobile-nav-links a i { width: 20px; text-align: center; font-size: 14px; color: var(--white-40); }
.mobile-nav-links a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mobile-nav-links a.active {
  background: linear-gradient(135deg, rgba(0,195,255,0.12), rgba(99,102,241,0.08));
  color: var(--electric-light); font-weight: 600;
}
.mobile-nav-links a.active i { color: var(--electric-light); }
.mobile-nav-divider {
  height: 1px; background: rgba(255,255,255,0.06);
  margin: 8px 16px;
}

.mobile-nav-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-nav-account-btn, .mobile-nav-cart-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.mobile-nav-account-btn {
  background: rgba(255,255,255,0.06);
  color: var(--white-90);
}
.mobile-nav-account-btn:hover { background: rgba(255,255,255,0.1); }
.mobile-nav-cart-btn {
  background: linear-gradient(135deg, var(--electric-solid), #6366f1);
  color: #000;
  box-shadow: 0 4px 16px rgba(0,195,255,0.2);
}
.mobile-nav-cart-btn:hover { transform: translateY(-1px); }

/* --- Hero mobile --- */
@media (max-width: 640px) {
  .hero-glow.orbe-1 { width: 250px; height: 250px; top: -60px; right: -60px; }
  .hero-glow.orbe-2 { width: 180px; height: 180px; bottom: -40px; left: -40px; }
  .hero-glow.orbe-3 { width: 120px; height: 120px; }
  .hero-bg::before { width: 300px; height: 300px; }
  .hero-bg::after { width: 200px; height: 200px; }
  .hero-section { padding: 60px 0 40px; }
  .hero-title { font-size: 2rem !important; line-height: 1.2; }
  .hero-subtitle { font-size: 0.95rem; margin-top: 12px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .dt-btn { width: 100%; justify-content: center; }
}

/* --- Sections padding mobile --- */
@media (max-width: 640px) {
  section, .section { padding: 48px 16px !important; }
  .max-w-7xl { padding-left: 16px !important; padding-right: 16px !important; }
  h2.section-title, .section-title { font-size: 1.5rem !important; }
  .grid.gap-8 { gap: 16px !important; }
  .grid.gap-6 { gap: 14px !important; }
  .grid.gap-5 { gap: 12px !important; }
  .grid.gap-4 { gap: 10px !important; }
  .p-8 { padding: 16px !important; }
  .p-6 { padding: 14px !important; }
  .p-5 { padding: 12px !important; }
  .p-4 { padding: 10px !important; }
  .px-6 { padding-left: 14px !important; padding-right: 14px !important; }
  .py-16 { padding-top: 40px !important; padding-bottom: 40px !important; }
  .py-12 { padding-top: 32px !important; padding-bottom: 32px !important; }
  .py-10 { padding-top: 28px !important; padding-bottom: 28px !important; }
  .py-8 { padding-top: 20px !important; padding-bottom: 20px !important; }
  .py-6 { padding-top: 16px !important; padding-bottom: 16px !important; }
  .mt-12 { margin-top: 28px !important; }
  .mt-10 { margin-top: 24px !important; }
  .mt-8 { margin-top: 20px !important; }
  .mb-12 { margin-bottom: 28px !important; }
  .mb-10 { margin-bottom: 24px !important; }
  .mb-8 { margin-bottom: 20px !important; }
  /* Stats numbers */
  .text-6xl { font-size: 2.25rem !important; }
  .text-5xl { font-size: 1.75rem !important; }
  .text-4xl { font-size: 1.5rem !important; }
  .text-3xl { font-size: 1.35rem !important; }
  .text-2xl { font-size: 1.2rem !important; }
}

/* --- Cards et conteneurs --- */
@media (max-width: 640px) {
  .dt-service-card { padding: 18px 16px 16px !important; }
  .dt-skill-card { padding: 20px 14px 18px !important; }
  .dt-team-card { padding: 24px 16px !important; }
  .dt-team-avatar-wrap { width: 72px; height: 72px; }
  .dt-team-avatar { width: 64px; height: 64px; }
  .dt-team-avatar-ring { width: 80px; height: 80px; }
  .dt-card { padding: 18px !important; }
  .stat-card { padding: 16px 18px !important; }
  .stat-value { font-size: 20px !important; }
  .admin-section { padding: 16px !important; }
  .admin-hdr { padding: 20px 18px !important; }
  .admin-hdr h1 { font-size: 20px !important; }
  .admin-layout { flex-direction: column; gap: 14px; }
  .admin-sidebar { width: 100%; position: static; }
  .admin-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 6px; }
  .admin-nav-btn { white-space: nowrap; flex-shrink: 0; padding: 10px 14px; font-size: 12px; }
  .admin-nav-btn span { display: none; }
  .admin-main { width: 100%; }
  /* Table admin responsive */
  .overflow-x-auto { -webkit-overflow-scrolling: touch; }
  .admin-table { font-size: 11px; }
  .admin-table thead th,
  .admin-table tbody td { padding: 8px 10px !important; }
}

/* --- Services mobile --- */
@media (max-width: 640px) {
  .dt-service-category { margin-bottom: 32px !important; }
  #services-grid .grid.md\:grid-cols-2 { grid-template-columns: 1fr !important; }
  .dt-cat-header { padding: 14px 16px !important; margin-bottom: 14px !important; }
  .dt-cat-title { font-size: 16px !important; }
  .dt-cat-subtitle { font-size: 12px !important; }
  .dt-cat-icon-circle { width: 36px !important; height: 36px !important; font-size: 15px !important; }
  .dt-cat-accent { height: 28px !important; }
  .dt-service-card { padding: 18px 16px 16px !important; }
  .dt-service-title { font-size: 15px !important; }
  .dt-service-icon-bg { width: 44px !important; height: 44px !important; }
  .dt-service-icon { font-size: 18px !important; }
  .dt-service-desc { font-size: 12px !important; }
  .dt-service-price { font-size: 11px !important; padding: 2px 12px !important; }
}
/* Modal mobile */
@media (max-width: 640px) {
  .dt-modal-container { margin: 0 10px !important; max-height: 92vh !important; }
  .dt-modal-content { padding: 0 !important; border-radius: 20px !important; }
  .dt-modal-inner { padding: 24px 18px !important; }
  .dt-modal-title { font-size: 22px !important; }
  .dt-modal-icon-bg { width: 64px !important; height: 64px !important; font-size: 28px !important; border-radius: 18px !important; }
  .dt-modal-feat-grid { grid-template-columns: 1fr !important; }
  .dt-modal-actions { flex-direction: column !important; gap: 8px !important; }
  .dt-modal-btn { min-width: unset !important; }
  .dt-modal-close { top: -8px !important; right: -8px !important; width: 32px !important; height: 32px !important; }
}

/* --- Shop page mobile --- */
@media (max-width: 640px) {
  .shop-header { flex-direction: column; gap: 12px; align-items: stretch; }
  .shop-header .flex { flex-wrap: wrap; }
  .shop-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .shop-filters button { white-space: nowrap; flex-shrink: 0; }
  /* Product card image height responsive */
  [style*="height:208px"] { height: 160px !important; }
  /* Detail panel sticky fix */
  #details-panel { position: static !important; }
  /* Product detail page mobile */
  #detail-content { flex-direction: column !important; }
  #detail-content > div { width: 100% !important; }
  .detail-gallery img { height: 220px !important; }
  .detail-features { grid-template-columns: 1fr !important; }
}

/* --- Blog layout --- */
.blog-content { display:flex; gap:40px; align-items:flex-start }
.blog-main { flex:1; min-width:0 }
.blog-sidebar { width:320px; flex-shrink:0; position:sticky; top:calc(var(--navbar-height,64px) + 24px) }

.blog-card {
  display:flex; flex-direction:column; overflow:hidden; border-radius:20px;
  background:var(--surface-light); border:1px solid var(--surface-high);
  transition:transform 0.3s ease, box-shadow 0.3s ease; cursor:pointer
}
.blog-card:hover { transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.2) }
.blog-card img { width:100%; height:200px; object-fit:cover; display:block }
.blog-card-body { padding:24px }
.blog-card-meta { font-size:13px; color:var(--white-40); margin:0 0 8px 0; display:flex; gap:12px; align-items:center }
.blog-card-meta .dot { width:4px; height:4px; border-radius:50%; background:var(--white-20) }
.blog-card-category {
  display:inline-block; font-size:11px; font-weight:600; padding:3px 10px; border-radius:20px;
  background:rgba(37,99,235,0.12); color:#3b82f6; text-transform:uppercase; letter-spacing:0.3px
}
.blog-card h3 { font-size:18px; font-weight:600; margin:0 0 10px 0; color:var(--white-90); line-height:1.4 }
.blog-card p { font-size:14px; color:var(--white-50); margin:0 0 16px 0; line-height:1.6;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden }
.blog-card .blog-read-more {
  font-size:13px; font-weight:600; color:#3b82f6; display:inline-flex; align-items:center; gap:6px;
  transition:gap 0.2s
}
.blog-card:hover .blog-read-more { gap:10px }

/* Article detail view */
.blog-article-detail { animation:fadeIn 0.3s ease }
.blog-article-detail .back-btn {
  display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600;
  color:var(--white-50); cursor:pointer; background:none; border:none; padding:0; margin-bottom:24px;
  transition:color 0.2s
}
.blog-article-detail .back-btn:hover { color:var(--white-90) }
.blog-article-detail img { width:100%; height:320px; object-fit:cover; border-radius:20px; margin-bottom:24px; display:block }
.blog-article-detail .meta { font-size:13px; color:var(--white-40); margin:0 0 16px 0; display:flex; gap:12px; align-items:center; flex-wrap:wrap }
.blog-article-detail h1 { font-size:28px; font-weight:700; margin:0 0 20px 0; color:var(--white-90); line-height:1.3 }
.blog-article-detail .content { font-size:15px; color:var(--white-60); line-height:1.75; white-space:pre-line }
.blog-article-detail .share-links {
  display:flex; gap:10px; margin-top:32px; padding-top:24px;
  border-top:1px solid var(--surface-high)
}
.blog-article-detail .share-links a {
  display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:12px;
  font-size:13px; font-weight:600; text-decoration:none; transition:opacity 0.2s
}
.blog-article-detail .share-links a:hover { opacity:0.8 }
.blog-article-detail .share-links .wa { background:#25d36620; color:#25d366; border:1px solid #25d36630 }
.blog-article-detail .share-links .fb { background:#1877f220; color:#1877f2; border:1px solid #1877f230 }
.blog-article-detail .share-links .tw { background:#1da1f220; color:#1da1f2; border:1px solid #1da1f230 }
.blog-article-detail .share-links .cp { background:rgba(255,255,255,0.04); color:var(--white-50); border:1px solid rgba(255,255,255,0.1); cursor:pointer }

/* Pagination */
.blog-pagination { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:40px; flex-wrap:wrap }
.blog-pagination button {
  min-width:36px; height:36px; border-radius:10px; border:1px solid var(--surface-high);
  background:transparent; color:var(--white-60); font-size:13px; font-weight:600;
  cursor:pointer; transition:all 0.2s; display:flex; align-items:center; justify-content:center; padding:0 8px
}
.blog-pagination button:hover:not(:disabled):not(.active) { background:var(--surface-light); color:var(--white-90) }
.blog-pagination button.active { background:#2563eb; border-color:#2563eb; color:#fff }
.blog-pagination button:disabled { opacity:0.3; cursor:default }

/* Sidebar widgets */
.widget { margin-bottom:24px }
.widget-title {
  font-size:14px; font-weight:700; color:var(--white-80); margin:0 0 16px 0;
  display:flex; align-items:center; gap:8px
}

/* Search widget */
.blog-search-widget { position:relative }
.blog-search-widget input {
  width:100%; padding:12px 16px 12px 40px; border-radius:12px;
  background:var(--surface-light); border:1px solid var(--surface-high);
  color:var(--white-90); font-size:13px; outline:none; transition:border-color 0.2s; box-sizing:border-box
}
.blog-search-widget input:focus { border-color:#3b82f6 }
.blog-search-widget .search-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--white-30); font-size:14px; pointer-events:none }

/* Recent posts widget */
.blog-recent-list { list-style:none; padding:0; margin:0 }
.blog-recent-list li { padding:10px 0; border-bottom:1px solid var(--surface-high) }
.blog-recent-list li:last-child { border-bottom:none; padding-bottom:0 }
.blog-recent-list li:first-child { padding-top:0 }
.blog-recent-list a {
  display:flex; gap:12px; align-items:flex-start; text-decoration:none; color:inherit
}
.blog-recent-list a:hover .recent-title { color:#3b82f6 }
.blog-recent-list .recent-thumb {
  width:48px; height:48px; border-radius:10px; object-fit:cover; flex-shrink:0
}
.blog-recent-list .recent-title { font-size:13px; font-weight:600; color:var(--white-80); transition:color 0.2s; line-height:1.4; display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden }
.blog-recent-list .recent-date { font-size:11px; color:var(--white-30); margin-top:4px }

/* Newsletter widget */
.blog-newsletter-widget {
  padding:20px; border-radius:16px;
  background:linear-gradient(135deg,rgba(37,99,235,0.08),rgba(37,99,235,0.02));
  border:1px solid rgba(37,99,235,0.15)
}
.blog-newsletter-widget p { font-size:13px; color:var(--white-50); margin:0 0 14px 0; line-height:1.5 }
.blog-newsletter-widget .nl-form { display:flex; gap:8px }
.blog-newsletter-widget .nl-form input {
  flex:1; padding:10px 14px; border-radius:10px; border:1px solid var(--surface-high);
  background:var(--surface-light); color:var(--white-90); font-size:13px; outline:none; min-width:0
}
.blog-newsletter-widget .nl-form input:focus { border-color:#3b82f6 }
.blog-newsletter-widget .nl-form button {
  padding:10px 16px; border-radius:10px; background:#2563eb; color:#fff;
  border:none; font-size:13px; font-weight:600; cursor:pointer; transition:opacity 0.2s; white-space:nowrap
}
.blog-newsletter-widget .nl-form button:hover { opacity:0.9 }

/* Comments section */
.blog-comments { margin-top:40px; padding-top:32px; border-top:1px solid var(--surface-high) }
.blog-comments h3 { font-size:18px; font-weight:700; color:var(--white-80); margin:0 0 20px 0 }
.blog-comment {
  display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--surface-high)
}
.blog-comment:last-child { border-bottom:none; padding-bottom:0 }
.blog-comment .avatar {
  width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:14px; font-weight:700; flex-shrink:0; background:rgba(37,99,235,0.15); color:#3b82f6
}
.blog-comment .comment-body { flex:1; min-width:0 }
.blog-comment .comment-author { font-size:13px; font-weight:600; color:var(--white-80) }
.blog-comment .comment-date { font-size:11px; color:var(--white-30); margin-left:8px }
.blog-comment .comment-text { font-size:14px; color:var(--white-50); margin-top:4px; line-height:1.5; white-space:pre-line }
.blog-comment-form { margin-top:20px }
.blog-comment-form textarea {
  width:100%; padding:14px; border-radius:12px; border:1px solid var(--surface-high);
  background:var(--surface-light); color:var(--white-90); font-size:13px; resize:vertical;
  min-height:80px; outline:none; box-sizing:border-box; font-family:inherit
}
.blog-comment-form textarea:focus { border-color:#3b82f6 }
.blog-comment-form button {
  margin-top:10px; padding:10px 20px; border-radius:10px; background:#2563eb; color:#fff;
  border:none; font-size:13px; font-weight:600; cursor:pointer; transition:opacity 0.2s
}
.blog-comment-form button:hover { opacity:0.9 }
.blog-comment-form .login-msg { font-size:12px; color:var(--white-40); margin-top:8px }
.blog-comment-form .login-msg a { color:#3b82f6; text-decoration:none; font-weight:600 }

/* No results / empty states */
.blog-empty { text-align:center; padding:60px 20px; color:var(--white-30) }
.blog-empty i { font-size:48px; margin-bottom:16px; display:block }
.blog-empty p { font-size:14px; margin:0 }

/* Social widget */
.blog-social-widget { display:flex; gap:8px }
.blog-social-widget a {
  width:40px; height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:16px; text-decoration:none; transition:opacity 0.2s; border:1px solid var(--surface-high)
}
.blog-social-widget a:hover { opacity:0.8 }
.blog-social-widget .wa { color:#25d366; border-color:#25d36630; background:#25d36610 }
.blog-social-widget .fb { color:#1877f2; border-color:#1877f230; background:#1877f210 }
.blog-social-widget .tw { color:#1da1f2; border-color:#1da1f230; background:#1da1f210 }
.blog-social-widget .ig { color:#e4405f; border-color:#e4405f30; background:#e4405f10 }

@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* --- Blog mobile --- */
@media (max-width: 768px) {
  .blog-content { flex-direction:column }
  .blog-sidebar { width:100%; position:static }
  .blog-card img { height:160px }
  .blog-card-body { padding:16px }
  .blog-article-detail img { height:200px }
  .blog-article-detail h1 { font-size:22px }
  .blog-newsletter-widget .nl-form { flex-direction:column }
  .blog-pagination button { min-width:32px; height:32px; font-size:12px }
}
@media (max-width: 640px) {
  .blog-header { flex-direction: column; gap: 12px; }
  .blog-card [style*="height:176px"],
  .blog-card [style*="height:192px"] { height: 140px !important; }
  .blog-content { flex-direction: column; }
  .blog-main { width: 100% !important; }
  .blog-sidebar { width: 100% !important; position: static !important; }
  .blog-article img { height: 200px !important; }
}

/* --- Cart mobile --- */
@media (max-width: 640px) {
  .cart-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cart-item img { width: 100% !important; height: 120px !important; }
  .cart-item-details { width: 100%; }
  .cart-item-actions { width: 100%; justify-content: space-between; }
}

/* --- Account page mobile --- */
@media (max-width: 640px) {
  .pf-card-wrap { padding: 0 12px; }
  .pf-card { padding: 24px 18px !important; }
  .pf-tabs { gap: 4px; }
  .pf-tab { padding: 10px 14px; font-size: 12px; }
  .pf-tab span { display: none; }
  .pf-tab i { margin: 0; }
  .pf-google-btn { font-size: 13px; padding: 12px; }
  .pf-forms .grid.grid-cols-2 { grid-template-columns: 1fr !important; }
  .pf-footer-text { font-size: 11px; }
}

/* --- Chatbot mobile --- */
@media (max-width: 640px) {
  .dt-chat-popup { width: calc(100vw - 16px) !important; right: 8px !important; bottom: 80px !important; max-height: 60vh; }
  .dt-chat-btn { width: 52px; height: 52px; bottom: 20px; right: 16px; font-size: 20px; }
}

/* --- Back to top mobile --- */
@media (max-width: 640px) {
  #back-to-top { width: 40px; height: 40px; bottom: 16px; left: 16px; font-size: 14px; }
}

/* --- Carousel mobile --- */
@media (max-width: 640px) {
  .carousel-item { width: 200px; }
  .carousel-item img { height: 130px !important; }
}

/* --- Footer mobile --- */
@media (max-width: 640px) {
  footer [style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  footer .text-2xl { font-size: 1.1rem; }
}

/* --- Modals mobile --- */
@media (max-width: 640px) {
  .dt-modal-content { width: calc(100vw - 24px) !important; margin: 12px; padding: 20px 16px !important; }
  .dt-modal-content .grid.grid-cols-2 { grid-template-columns: 1fr !important; }
}

/* --- Contact form mobile --- */
@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .contact-info-card { padding: 16px !important; }
  .contact-form { padding: 20px 16px !important; }
}

/* --- Why section mobile --- */
@media (max-width: 640px) {
  #why-grid .stat-card { padding: 16px !important; }
}

/* --- Chatbot avoid notification dropdown --- */
@media (max-width: 640px) {
  .dt-chat-btn { bottom: 88px !important; }
  .dt-chat-popup { bottom: 148px !important; }
}

/* ============================================================
   FIN — Design System Digi-Tech v3.1
   ============================================================ */

/* ============================================================
   ACCESSIBILITÉ ET COMPOSANTS DE LA REFONTE
   ============================================================ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 12px;
  background: #ffffff;
  color: #0d1117;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, input, select, textarea, [role="button"]):focus-visible {
  outline: 3px solid #7ddcff;
  outline-offset: 3px;
}

.dt-navbar button,
.mobile-nav-header button,
.dt-chat-btn,
.dt-chat-close,
.dt-chat-send {
  min-width: 44px;
  min-height: 44px;
}

.dt-method-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
}

.dt-method-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(0,195,255,0.12);
  color: #7ddcff;
  font-weight: 800;
}

.dt-method-card h3 {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  font-weight: 700;
}

.dt-method-card p {
  margin: 0;
  color: rgba(255,255,255,0.66);
  line-height: 1.65;
}

.legal-review-notice {
  padding: 18px 20px;
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 16px;
  background: rgba(245,158,11,0.1);
  color: #fef3c7;
  line-height: 1.6;
}

button:disabled,
[aria-busy="true"] {
  cursor: wait;
  opacity: 0.68;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .hero-canvas,
  .pf-canvas,
  .hero-glow { display: none !important; }
}
