/* ===================================================================
   MiniBot France - Feuille de styles principale
   Thème : Sombre / Tech SaaS Discord / Teintes Blurple & Violettes
   Police : Inter & JetBrains Mono
   =================================================================== */

:root {
  /* Palette de couleurs */
  --bg-primary: #0a0d14;
  --bg-secondary: #0f141f;
  --bg-card: rgba(17, 23, 36, 0.75);
  --bg-card-hover: rgba(23, 31, 48, 0.85);
  --bg-glass: rgba(15, 20, 31, 0.65);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.4);
  --border-glow: rgba(88, 101, 242, 0.3);

  /* Accents & Gradients */
  --accent-discord: #5865F2;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --gradient-brand: linear-gradient(135deg, #5865F2 0%, #8b5cf6 50%, #d946ef 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.18), transparent 70%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  /* Typographie */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-highlight: #ffffff;

  /* Espacements & Rayons */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions & Ombres */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 36px -8px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px -5px rgba(88, 101, 242, 0.35);
  --shadow-glow-purple: 0 0 40px -5px rgba(139, 92, 246, 0.35);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(88, 101, 242, 0.15), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(139, 92, 246, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 70%, rgba(6, 182, 212, 0.06), transparent 70%);
  background-attachment: fixed;
}

/* Grille de fond subtile pour effet tech */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================================================================
   TYPOGRAPHIE & ÉLÉMENTS DE SECTION
   =================================================================== */

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.8rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.badge-tag.emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.65;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* ===================================================================
   NAVIGATION VERTICALE À GAUCHE (SIDEBAR) & LAYOUT
   =================================================================== */

/* Structure du layout global */
.app-layout {
  margin-left: 280px;
  width: calc(100% - 280px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: margin-left 0.3s ease;
}

/* Sidebar Verticale Fixée à Gauche */
.sidebar-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: rgba(11, 15, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
}

.sidebar-header {
  padding: 1.5rem 1.4rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5865F2, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
  position: relative;
  flex-shrink: 0;
}

.brand-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.brand-tag-fr {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
}

.sidebar-close-btn {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.sidebar-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Corps scrollable de la sidebar */
.sidebar-body {
  padding: 1.4rem 1.1rem;
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-body::-webkit-scrollbar {
  width: 4px;
}
.sidebar-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidebar-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 0 0.6rem 0.35rem;
}

.sidebar-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.91rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.sidebar-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.sidebar-link.active {
  background: rgba(88, 101, 242, 0.16);
  color: #c7d2fe;
  font-weight: 600;
  border-left: 3px solid #5865F2;
}

.sidebar-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.sidebar-link:hover .sidebar-link-icon,
.sidebar-link.active .sidebar-link-icon {
  color: #a5b4fc;
}

.sidebar-link-icon svg {
  width: 19px;
  height: 19px;
}

.sidebar-link-text {
  flex-grow: 1;
}

.sidebar-pill-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.sidebar-pill-badge.live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sidebar-pill-badge.live .dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.sidebar-pill-badge.price {
  background: rgba(88, 101, 242, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(88, 101, 242, 0.3);
  font-family: var(--font-mono);
}

/* Mini widget de télémétrie du nœud dans la sidebar */
.sidebar-status-widget {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.95rem;
  margin-top: auto;
}

.sidebar-status-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.status-widget-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

.sidebar-status-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.sidebar-status-meta strong {
  color: #a5b4fc;
  font-family: var(--font-mono);
}

/* Footer de la sidebar */
.sidebar-footer {
  padding: 1.2rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(8, 11, 17, 0.65);
}

.sidebar-btn {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
}

.sidebar-legal-mini {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* Topbar Mobile */
.mobile-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 13, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Boutons communs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-discord {
  background: #5865F2;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 6px 24px rgba(88, 101, 242, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero-section {
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  max-width: 630px;
}

.hero-badges-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  font-weight: 500;
  color: #e2e8f0;
  backdrop-filter: blur(8px);
}

.pill-badge svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

.hero-title {
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
  color: #ffffff;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.hero-desc strong {
  color: #e2e8f0;
  font-weight: 600;
}

.hero-tech-stack {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
  padding: 0.75rem 1rem;
  background: rgba(15, 20, 31, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: fit-content;
}

.hero-tech-stack span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  font-family: var(--font-mono);
}

.tech-tag.node {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.tech-tag.python {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Hero Terminal Preview */
.hero-visual {
  position: relative;
}

.terminal-card {
  background: #0d121d;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(88, 101, 242, 0.2);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  background: rgba(17, 23, 36, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-tab-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition-fast);
}

.terminal-tab-btn.active {
  background: rgba(88, 101, 242, 0.2);
  color: #c7d2fe;
  font-weight: 600;
  border: 1px solid rgba(88, 101, 242, 0.35);
}

.terminal-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #34d399;
  font-family: var(--font-mono);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  position: relative;
}

.pulse-indicator::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid #10b981;
  animation: ripple 1.8s infinite;
}

@keyframes ripple {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.terminal-body {
  padding: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.75;
  color: #cbd5e1;
  max-height: 380px;
  overflow-x: auto;
}

.log-line {
  margin-bottom: 0.35rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.log-time {
  color: #64748b;
  user-select: none;
}

.log-prefix {
  color: #8b5cf6;
  font-weight: 600;
}

.log-prefix.success {
  color: #10b981;
}

.log-prefix.discord {
  color: #5865F2;
}

.log-text.cyan { color: #38bdf8; }
.log-text.green { color: #4ade80; }
.log-text.purple { color: #c084fc; }

.terminal-footer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  background: rgba(13, 18, 29, 0.9);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.metric-pill {
  display: flex;
  flex-direction: column;
}

.metric-pill-label {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.metric-pill-val {
  color: #f1f5f9;
  font-weight: 700;
}

/* ===================================================================
   SECTION 3 : STATISTIQUES EN DIRECT & TRANSPARENCE
   =================================================================== */

.stats-section {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 20, 31, 0.5) 50%, transparent 100%);
  position: relative;
}

.stats-grid-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 101, 242, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.stat-card-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
}

.stat-card-icon svg {
  width: 18px;
  height: 18px;
}

.stat-card-value {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-family: var(--font-sans);
}

.stat-card-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stat-card-desc .trend-good {
  color: #10b981;
  font-weight: 600;
}

/* Jauges et détail nœud */
.stats-detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.8rem;
}

.node-status-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.node-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.node-title-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.node-server-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
}

.node-server-icon svg {
  width: 22px;
  height: 22px;
}

.node-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.node-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Jauge de RAM */
.ram-gauge-wrapper {
  margin-bottom: 1.8rem;
}

.gauge-legend {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}

.gauge-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
}

.gauge-values {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.gauge-values strong {
  color: #a5b4fc;
}

.progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, #5865F2, #8b5cf6, #06b6d4);
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 15px;
  background: rgba(255, 255, 255, 0.4);
  filter: blur(3px);
}

.gauge-meta-row {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.specs-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.spec-mini-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.spec-mini-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.spec-mini-item strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
}

/* Service Status list */
.services-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.services-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-status-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.service-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.service-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-icon-box {
  color: var(--text-muted);
}

.service-icon-box svg {
  width: 18px;
  height: 18px;
}

.service-info-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #f1f5f9;
}

.service-info-host {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.service-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.service-status-badge .dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* ===================================================================
   SECTION 4 : OFFRES & TARIFS (PRICING)
   =================================================================== */

.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
}

/* Offre mise en avant (Standard) */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(28, 36, 56, 0.85) 0%, rgba(17, 23, 36, 0.9) 100%);
  border: 2px solid #5865F2;
  box-shadow: 0 0 45px -5px rgba(88, 101, 242, 0.35);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 0 55px -5px rgba(88, 101, 242, 0.5);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #ffffff;
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
  white-space: nowrap;
}

.pricing-tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.pricing-tier-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  min-height: 42px;
  margin-bottom: 1.5rem;
}

.pricing-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-amount {
  font-size: 2.85rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
  flex-grow: 1;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.spec-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-check svg {
  width: 12px;
  height: 12px;
}

.spec-badge {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.pricing-cta {
  width: 100%;
}

/* Bannière des paiements à venir */
.payment-methods-banner {
  background: rgba(17, 23, 36, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.payment-banner-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.payment-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  flex-shrink: 0;
}

.payment-banner-icon svg {
  width: 22px;
  height: 22px;
}

.payment-banner-text strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.payment-banner-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.payment-badges-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.payment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  font-weight: 600;
  color: #cbd5e1;
}

.payment-tag svg {
  width: 18px;
  height: 18px;
}

/* ===================================================================
   SECTION 5 : FONCTIONNALITÉS & AVANTAGES
   =================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.feature-box {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: rgba(88, 101, 242, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(88, 101, 242, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  margin-bottom: 1.4rem;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================================================================
   SECTION 6 : GUIDE EN 3 ÉTAPES (HOW IT WORKS)
   =================================================================== */

.steps-section {
  position: relative;
}

.steps-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step-number-bubble {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.step-code-preview {
  background: #090c12;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===================================================================
   SECTION 7 : FAQ
   =================================================================== */

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.open {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  background: transparent;
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(180deg);
  color: #818cf8;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.6rem;
}

.faq-item.open .faq-content {
  max-height: 500px;
  padding-bottom: 1.4rem;
  transition: max-height 0.35s ease-in-out;
}

.faq-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ===================================================================
   CTA FINAL BANNER
   =================================================================== */

.cta-banner-wrapper {
  margin: 4rem auto 0;
  background: radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.25), transparent 75%),
              linear-gradient(135deg, rgba(23, 29, 46, 0.9), rgba(15, 20, 31, 0.9));
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.2rem;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.footer {
  background: #080b11;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-col p {
  margin-top: 1rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 340px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.3rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-legal-notice {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-flags {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

/* ===================================================================
   PAGES LÉGALES (mentions-legales.html & cgu.html)
   =================================================================== */

.legal-header {
  padding-top: 8.5rem;
  padding-bottom: 3rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.12), transparent 70%);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-page-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.legal-page-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.legal-article-container {
  max-width: 860px;
  margin: 3.5rem auto 6rem;
  padding: 0 1.5rem;
}

.legal-content-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.legal-section-block {
  margin-bottom: 2.8rem;
}

.legal-section-block:last-child {
  margin-bottom: 0;
}

.legal-h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-h2 svg {
  width: 22px;
  height: 22px;
  color: #818cf8;
}

.legal-p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 0.4rem;
  top: 0;
  color: #818cf8;
  font-size: 1.2rem;
}

.legal-callout {
  background: rgba(244, 63, 94, 0.1);
  border-left: 4px solid var(--accent-rose);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0;
  color: #fecdd3;
  font-size: 0.92rem;
}

.legal-callout.info {
  background: rgba(88, 101, 242, 0.1);
  border-left-color: var(--accent-discord);
  color: #c7d2fe;
}

.back-to-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 1.8rem;
  transition: var(--transition-fast);
}

.back-to-home-btn:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

/* ===================================================================
   RESPONSIVE DESIGN (Tablettes & Mobiles)
   =================================================================== */

@media (max-width: 1024px) {
  /* Layout pleine largeur sur mobile & tablette */
  .app-layout {
    margin-left: 0;
    width: 100%;
    padding-top: 64px;
  }

  /* Affichage de la topbar mobile */
  .mobile-topbar {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Sidebar devient un tiroir coulissant */
  .sidebar-nav {
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 290px;
    max-width: 86vw;
  }

  .sidebar-nav.active {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85);
  }

  .sidebar-close-btn {
    display: flex;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-badges-group,
  .hero-tech-stack,
  .hero-actions {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-detail-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-timeline-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .stats-grid-top {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .legal-content-card {
    padding: 1.8rem 1.2rem;
  }

  .payment-methods-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===================================================================
   ESPACE CLIENT / DASHBOARD & AUTHENTIFICATION (dashboard.html)
   =================================================================== */

.dashboard-main {
  padding: 3.5rem 0 5rem;
  min-height: calc(100vh - 120px);
}

.dashboard-container {
  max-width: 1080px;
}

/* Bannière Toggle Démo */
.demo-toggle-banner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 2.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.demo-toggle-btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.demo-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.demo-toggle-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
}

/* Vues Dashboard */
.dashboard-view {
  display: none;
}

.dashboard-view.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

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

/* Carte Profil */
.dash-profile-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.dash-profile-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.dash-avatar-wrapper {
  position: relative;
}

.dash-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865F2, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.dash-provider-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5865F2;
  border: 2px solid #0d111a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.dash-provider-badge svg {
  width: 12px;
  height: 12px;
}

.dash-user-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.badge-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dash-user-email {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ===================================================================
   CARTE IDENTIFIANTS PTERODACTYL
   =================================================================== */

.dash-credentials-card {
  background: linear-gradient(180deg, rgba(23, 31, 48, 0.85) 0%, rgba(15, 20, 31, 0.9) 100%);
  border: 2px solid rgba(88, 101, 242, 0.5);
  border-radius: var(--radius-xl);
  padding: 2.3rem 2.2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(88, 101, 242, 0.15);
  margin-bottom: 2.8rem;
}

.credentials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.4rem;
}

.credentials-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.credentials-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  flex-shrink: 0;
}

.credentials-icon svg {
  width: 24px;
  height: 24px;
}

.credentials-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.credentials-card-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.credential-box {
  background: rgba(10, 13, 20, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
}

.credential-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.credential-val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.credential-value {
  font-size: 0.95rem;
  color: #ffffff;
  word-break: break-all;
}

.credential-value.code {
  font-family: var(--font-mono);
  color: #93c5fd;
  font-weight: 600;
}

.copy-btn, .toggle-pwd-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.copy-btn:hover, .toggle-pwd-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.copy-btn svg, .toggle-pwd-btn svg {
  width: 16px;
  height: 16px;
}

.credentials-helper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1rem;
}

.helper-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--text-dim);
}

.helper-info svg {
  width: 18px;
  height: 18px;
  color: #818cf8;
  flex-shrink: 0;
}

.btn-text-regen {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-text-regen:hover {
  color: #ffffff;
}

.btn-text-regen svg {
  width: 15px;
  height: 15px;
}

/* ===================================================================
   SECTION SERVEURS ACTIFS
   =================================================================== */

.dash-servers-section {
  margin-top: 2rem;
}

.dash-servers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.dash-section-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dash-servers-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.server-item-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  transition: all var(--transition-normal);
}

.server-item-card:hover {
  border-color: rgba(88, 101, 242, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.server-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.server-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(88, 101, 242, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
}

.server-icon-box svg {
  width: 22px;
  height: 22px;
}

.server-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.server-identifier {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.server-status-pill.running {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.dot-running {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.server-specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: rgba(10, 13, 20, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
}

.server-spec-item span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.server-spec-item strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  color: #f1f5f9;
}

.server-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.server-renewal-info {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.renewal-date {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ===================================================================
   VUE CONNEXION OAUTH2 (Discord, Google, Apple)
   =================================================================== */

.auth-center-card {
  max-width: 480px;
  margin: 3.5rem auto 4.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem 2.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.auth-header {
  margin-bottom: 2.2rem;
}

.auth-brand-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.auth-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.auth-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.auth-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.auth-provider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
  text-decoration: none;
}

.auth-provider-btn .provider-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-discord-oauth {
  background: #5865F2;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord-oauth:hover {
  background: #4752c4;
  box-shadow: 0 6px 26px rgba(88, 101, 242, 0.6);
  transform: translateY(-2px);
}

.provider-tag-recommended {
  position: absolute;
  right: 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.btn-google-oauth {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
}

.btn-google-oauth:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-apple-oauth {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-apple-oauth:hover {
  background: #111111;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.auth-security-note {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.auth-security-note svg {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Toast de notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  .server-specs-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================================
   SECTION : MULTI-FOURNISSEURS OAUTH2 & ASSOCIATION DE COMPTES
   =================================================================== */

/* Alerte de conflit d'email / Redirection */
.auth-conflict-alert {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  backdrop-filter: blur(8px);
  animation: fadeInDown 0.3s ease;
}

.auth-conflict-alert .alert-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  flex-shrink: 0;
}

.auth-conflict-alert .alert-icon svg {
  width: 20px;
  height: 20px;
}

.auth-conflict-alert .alert-content {
  flex: 1;
}

.auth-conflict-alert .alert-title {
  color: #fef3c7;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.auth-conflict-alert .alert-desc {
  color: #fde68a;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* Carte de gestion des comptes associés */
.dash-providers-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.dash-providers-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.providers-header {
  margin-bottom: 1.8rem;
}

.providers-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.providers-card-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.provider-item-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.provider-item-box:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.provider-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.provider-brand-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.provider-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.provider-brand-icon svg {
  width: 20px;
  height: 20px;
}

.provider-brand-icon.discord {
  background: rgba(88, 101, 242, 0.15);
  color: #5865f2;
}

.provider-brand-icon.google {
  background: rgba(255, 255, 255, 0.08);
}

.provider-brand-icon.apple {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.provider-brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.provider-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.provider-status-badge.linked {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.provider-status-badge.unlinked {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.provider-details-body {
  margin-bottom: 1.25rem;
}

.provider-account-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  word-break: break-all;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.provider-date-text {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.provider-action-row {
  margin-top: auto;
}

.btn-link-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.35);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-link-action:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-unlink {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.08);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-unlink:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.5);
}

.btn-unlink:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

.providers-security-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.83rem;
  color: var(--text-muted);
}

.providers-security-banner svg {
  width: 20px;
  height: 20px;
  color: #6366f1;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .providers-grid {
    grid-template-columns: 1fr;
  }
}



