/* ═══════════════════════════════════════════════════════
   VARIABLE SYSTEM — EXACT DARK & NEON PALETTE
═══════════════════════════════════════════════════════ */
:root {
  --bg-dark: #0B0C0E;
  --bg-card: #14161B;
  --bg-card-hover: #1A1C23;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(194, 248, 44, 0.4);
  
  --lime: #C2F82C;
  --lime-glow: rgba(194, 248, 44, 0.15);
  
  --text-main: #FFFFFF;
  --text-muted: #8F96A3;
  --text-dim: #5C6270;
  
  --font-sans: 'DM Sans', -apple-system, sans-serif;
  --font-mono: 'DM Mono', monospace;
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════ ANIMATIONS & SPOTLIGHT ══════════════════ */
.anim-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--lime-glow), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.spotlight-card:hover::before {
  opacity: 1;
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: var(--transition);
}

/* ══════════════════ NAVBAR ══════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left { display: flex; align-items: center; gap: 16px; }
.nav-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.nav-clock { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); display: flex; flex-direction: column; }
.nav-center { display: flex; gap: 24px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: var(--transition); }
.nav-link:hover { color: var(--text-main); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-cv {
  background: var(--lime); color: #000;
  padding: 6px 14px; border-radius: 20px;
  font-weight: 600; font-size: 12px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.btn-cv:hover { transform: translateY(-2px); box-shadow: 0 4px 15px var(--lime-glow); }
.icon-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-main); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

/* ══════════════════ HERO ══════════════════ */
.hero { padding: 140px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.badge-status {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(194, 248, 44, 0.08); border: 1px solid rgba(194, 248, 44, 0.2);
  color: var(--lime); padding: 4px 12px; border-radius: 20px; font-size: 11px; font-family: var(--font-mono); margin-bottom: 20px;
}
.status-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 8px var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-name { font-size: 64px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.hero-name em { font-style: italic; font-weight: 300; }
.hero-roles { font-family: var(--font-mono); color: var(--text-muted); font-size: 13px; margin-bottom: 24px; }
.hero-bio { color: var(--text-muted); font-size: 15px; max-width: 520px; margin-bottom: 32px; }
.hero-bio strong { color: var(--text-main); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  padding: 10px 20px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); border: 1px solid transparent;
}
.btn-white { background: #FFF; color: #000; }
.btn-white:hover { transform: translateY(-2px); background: #E5E5E5; }
.btn-lime { background: var(--lime); color: #000; font-weight: 600; }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 4px 20px var(--lime-glow); }
.btn-outline { background: var(--bg-card); border-color: var(--border); color: var(--text-main); }
.btn-outline:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }

/* ══════════════════ STATS BENTO ══════════════════ */
.stats-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; position: relative; z-index: 2;
}
.stats-card:hover { border-color: var(--border-hover); }
.sc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.sc-live { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.live-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; }
.sc-badge { background: var(--lime); color: #000; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }

.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.sc-stat { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 16px; border-radius: var(--radius-md); }
.sc-main { grid-column: span 2; }
.sc-num-wrap { font-size: 32px; font-weight: 700; line-height: 1; margin-bottom: 6px; font-family: var(--font-mono); }
.sc-unit { font-size: 20px; color: var(--lime); }
.sc-info { display: flex; flex-direction: column; margin-bottom: 12px; }
.sc-title { font-size: 12px; font-weight: 600; color: var(--text-main); }
.sc-sub { font-size: 10px; color: var(--text-dim); }

.sc-bar-bg { width: 100%; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.sc-bar-fill { height: 100%; background: #FFF; width: 0%; transition: width 1.2s ease-out; }
.sc-bar-lime { background: var(--lime); }

.sc-footer { display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-family: var(--font-mono); color: var(--text-dim); border-top: 1px solid var(--border); pt: 16px; margin-top: 16px; }
.sc-dot { width: 3px; height: 3px; background: var(--text-dim); border-radius: 50%; }

/* ══════════════════ RÉSEAUX & FIGMA ══════════════════ */
.section { padding: 60px 0 100px; }
.section-head { margin-bottom: 40px; }
.section-tag { font-family: var(--font-mono); font-size: 11px; color: var(--lime); letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.section-desc { color: var(--text-muted); font-size: 14px; max-width: 600px; }

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px; text-decoration: none;
  color: var(--text-main); display: flex; align-items: flex-start; gap: 16px;
  position: relative; transition: var(--transition); z-index: 2;
}
.platform-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-4px); }
.platform-icon { background: rgba(255,255,255,0.05); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.platform-meta h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.platform-meta p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.platform-arrow { position: absolute; top: 20px; right: 20px; width: 16px; height: 16px; color: var(--text-dim); transition: var(--transition); }
.platform-card:hover .platform-arrow { color: var(--lime); transform: translate(2px, -2px); }

/* Figma Box */
.figma-wrapper {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; position: relative; z-index: 2;
}
.figma-header { margin-bottom: 24px; }
.figma-header h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.figma-header p { font-size: 12px; color: var(--text-muted); }

.figma-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.figma-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px; text-decoration: none;
  color: var(--text-main); transition: var(--transition); display: flex; flex-direction: column; gap: 12px;
}
.figma-card:hover { border-color: var(--border-hover); background: rgba(194, 248, 44, 0.03); transform: translateY(-3px); }
.figma-badge {
  display: inline-block; background: var(--lime); color: #000;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; width: fit-content;
}
.figma-card h4 { font-size: 15px; font-weight: 600; }
.figma-card p { font-size: 12px; color: var(--text-muted); }
.figma-link {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 500; color: var(--text-main); margin-top: auto; pt: 8px; border-top: 1px solid rgba(255,255,255,0.05);
}
.figma-card:hover .figma-link { color: var(--lime); }

/* ══════════════════ FOOTER ══════════════════ */
.footer { border-top: 1px solid var(--border); padding: 32px 0; font-size: 12px; color: var(--text-muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--lime); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .figma-grid { grid-template-columns: 1fr; }
}