.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px; /* Padding fixe pour contrôle total */
  width: 100%;
}

:root {
  --bg: #FFFFFF;
  --bg-offset: #F8F8F8;
  --fg: #000000;
  --fg-dark: #444444;
  --accent: #00ff41;
  --accent-gold: #ffcc00;
  --accent-cyan: #00f2ff;
  --accent-orange: #FF8C00;
  --accent-blue: #0066FF;
  --accent-neon: #00ff9f;
  --accent-magenta: #ff00ff;
  --border-color: #eee;
  --header-bg: rgba(255, 255, 255, 0.7);
  --header-border: rgba(0, 0, 0, 0.05);
  --header-height-scrolled: 60px;
  --header-bg-scrolled: rgba(255, 255, 255, 0.9);
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  /* OPTIMISATION 1280x720 -> 1920x1080 */
  --container-width: 1200px; 
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
  --text-dark: #000;
  --section-padding: 6rem;
  --section-padding-mobile: 3rem;
}

[data-theme='dark'] {
  --bg: #000000;
  --bg-offset: #080808;
  --fg: #FFFFFF;
  --fg-dark: #aaaaaa;
  --border-color: #222;
  --header-bg: rgba(0, 0, 0, 0.7);
  --header-border: rgba(255, 255, 255, 0.05);
  --header-bg-scrolled: rgba(5, 5, 5, 0.95);
  --text-dark: #fff;
}

/* --- REVEAL ANIMATION SYSTEM --- */
.reveal-item { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal-item.in-view { opacity: 1; transform: translateY(0); }
.reveal-item[data-delay="1"] { transition-delay: 0.1s; }
.reveal-item[data-delay="2"] { transition-delay: 0.2s; }
.reveal-item[data-delay="3"] { transition-delay: 0.3s; }
.reveal-item[data-delay="4"] { transition-delay: 0.4s; }

/* Ritual steps consolidated below */

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

html { scroll-behavior: smooth; background: var(--bg); color: var(--fg); font-family: var(--font-main); overflow-x: hidden; }

/* --- LABORATORY / MUSEUM STYLE --- */
.scanlines { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: linear-gradient(rgba(0,0,0,0.01) 50%, transparent 50%); background-size: 100% 4px; pointer-events: none; z-index: 1000; opacity: 0.1; }
.grain { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: url("https://upload.wikimedia.org/wikipedia/commons/7/76/1k_filmgrain.png"); opacity: 0.02; pointer-events: none; z-index: 999; mix-blend-mode: multiply; }

/* --- HEADER --- */
.industrial-header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height);
  background: var(--header-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--header-border); z-index: 5000;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border 0.4s ease;
}

.industrial-header.scrolled {
  height: var(--header-height-scrolled);
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--fg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* THEME TOGGLE (INNOVATIVE SWITCH) */
.theme-switch-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 1.5rem;
}

.theme-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--fg-dark);
  font-weight: 700;
  text-transform: uppercase;
}

.nav-toggle {
  position: relative;
  width: 44px;
  height: 22px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nav-toggle::before {
  content: "";
  position: absolute;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--fg);
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme='dark'] .nav-toggle::before {
  transform: translateX(22px);
  background: var(--accent-neon);
  box-shadow: 0 0 10px var(--accent-neon);
}

.nav-toggle:hover {
  border-color: var(--fg);
}

.header-container {
  max-width: var(--container-width); height: 100%; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}

.brand { 
  display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--fg); font-weight: 900; 
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.15em;
  transition: var(--transition);
}

.industrial-header.scrolled .brand {
  font-size: 0.75rem;
}

.header-logo { height: 32px; filter: contrast(1); transition: height 0.4s ease; }
.industrial-header.scrolled .header-logo { height: 24px; }

.main-nav { display: flex; align-items: center; gap: 2.5rem; }
.main-nav a { 
  text-decoration: none; color: var(--fg-dark); font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; 
  transition: var(--transition); letter-spacing: 0.1em; position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--fg); transition: width 0.3s ease;
}

.main-nav a:hover { color: var(--fg); }
.main-nav a:hover::after { width: 100%; }

.nav-link-industrial { 
  font-family: var(--font-mono); 
  font-weight: 900; 
  color: var(--accent-neon) !important; 
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}
.nav-link-industrial:hover {
  text-shadow: 0 0 15px var(--accent-neon);
}

.nav-cta { 
  background: #000; color: #fff; padding: 1rem 3.5rem; text-decoration: none; border: 1px solid rgba(255,255,255,0.1); 
  font-family: var(--font-mono); font-weight: 900; font-size: 0.7rem; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.1rem;
}
.nav-cta.portal-btn { color: #00ff66 !important; }

.nav-cta:hover {
  background: transparent;
  color: var(--fg) !important;
}

/* --- HERO: THE MONOLITH --- */
.hero, .shop-hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 8rem 0; position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.hero-visual-bg {
  flex: 1.2; height: 500px; width: 100%;
  background-image: url('/assets/oracle_operating_hero.png'); background-size: cover; background-position: center;
  border: 1px solid var(--border-color); box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.hero-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }

h1 { font-size: clamp(3rem, 10vw, 7rem); font-weight: 900; line-height: 0.9; margin-bottom: 1rem; letter-spacing: -0.05em; color: var(--fg); }
.subtitle { font-family: var(--font-mono); font-weight: bold; font-size: 1rem; color: var(--fg-dark); margin-bottom: 2rem; border-left: 4px solid var(--accent); padding-left: 1rem; }
.accroche { font-size: 1.4rem; color: var(--fg-dark); max-width: 600px; line-height: 1.2; font-weight: 400; }

/* --- ARCHIVE GRID (MODULES) --- */
/* --- SECTIONS & LAYOUT --- */
section { padding: var(--section-padding) 0; border-bottom: 1px solid var(--border-color); }

.section-dark { background: #000; color: #fff; }
.section-white { background: #fff; color: var(--fg); }

.section-tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent-blue); display: block; margin-bottom: 1rem; font-weight: 700; }
.section-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -0.02em; margin-bottom: 4rem; }
.section-title.white { color: #fff; }

.description-mono { 
  max-width: 600px; 
  margin-bottom: 4rem; 
  font-family: var(--font-mono); 
  font-size: 0.9rem; 
  color: #666; 
  line-height: 1.6; 
}
.section-dark .description-mono { color: #aaa; }

.text-accent { color: var(--accent); }
.text-neon { color: var(--accent-neon); }

/* --- MANIFESTO --- */
.hero { padding-bottom: 2rem !important; min-height: auto; }
#situations { padding-top: 2rem !important; }
.manifesto-section { padding-top: 1rem; padding-bottom: 1rem; border: none; }
.manifesto-box {
  max-width: 750px;
  font-family: var(--font-mono);
  letter-spacing: 0.1rem;
  line-height: 1.8;
  padding-left: 2rem;
  border-left: 3px solid #000;
}
.manifesto-title {
  font-size: 1.2rem;
  color: #111;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.manifesto-text {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}
.manifesto-text strong { color: #000; font-weight: 700; }

/* --- ARSENAL --- */
.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.arsenal-module {
  border-left: 1px solid #333;
  padding-left: 1.5rem;
}
.arsenal-module p {
  font-size: 0.8rem;
  margin-top: 1rem;
  color: #aaa;
}

.security-box {
  margin-top: 6rem;
  padding: 3rem;
  border: 1px solid #333;
  background: #080808;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.8;
}
.security-box p { margin-bottom: 1.5rem; }
.security-box p:last-child { margin-bottom: 0; }

/* --- MODULE CARDS (HUB) --- */
.module-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 1px solid #111;
  background: #000;
}
.module-outcome {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #444;
  line-height: 1.6;
}
.module-outcome strong { font-weight: 900; }

.btn-monolith {
  background: var(--accent-neon);
  color: #000;
  padding: 2rem 5rem;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.4rem;
  display: inline-block;
  transition: var(--transition);
}
.btn-monolith:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(255, 0, 85, 0.3);
}

.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 4rem; }
.module-card { background: var(--bg); padding: 4rem 1.5rem; border-top: 1px solid var(--border-color); transition: var(--transition); border: 1px solid var(--border-color); }
.module-card h3 { font-size: 1.5rem; margin-bottom: 1rem; font-weight: 900; color: var(--fg); }
.module-card p { color: var(--fg-dark); font-size: 1rem; line-height: 1.4; }

/* --- SITUATIONS SECTION REFINEMENT --- */
.places-usage-container {
  margin-bottom: 5rem;
  padding: 3rem;
  background: var(--bg-offset);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--fg);
}
.tech-usage-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.tech-usage-list li {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #000;
  font-weight: 700;
}
.tech-usage-list li .usage {
  color: #888;
  font-weight: 400;
  margin-left: 0.5rem;
}

/* --- SPECIMEN GALLERY --- */
.specimen-gallery { background: var(--bg-offset); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; }
.gallery-item { 
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg); 
  border: 1px solid var(--border-color); 
  position: relative; 
  overflow: hidden; 
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.gallery-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg-offset); transition: transform 0.8s ease; }
.gallery-item:hover { transform: translateY(-5px); border-color: var(--fg); z-index: 10; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* --- DYNAMIC GLOW HOVERS --- */
.glow-neon:hover { box-shadow: 0 10px 40px rgba(255, 0, 85, 0.25); border-color: var(--accent-neon); }
.glow-gold:hover { box-shadow: 0 10px 40px rgba(255, 204, 0, 0.25); border-color: var(--accent-gold); }
.glow-dino:hover { box-shadow: 0 10px 40px rgba(130, 230, 230, 0.25); border-color: #82e6e6; }
.glow-cyan:hover { box-shadow: 0 10px 40px rgba(0, 242, 255, 0.25); border-color: var(--accent-cyan); }
.glow-magenta:hover { box-shadow: 0 10px 40px rgba(255, 0, 255, 0.25); border-color: var(--accent-magenta); }
.gallery-info { 
  padding: 2.2rem; 
  border-top: 1px solid var(--border-color); 
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--bg);
}
.gallery-info h3 { font-size: 1.4rem; margin-bottom: 0.8rem; color: var(--fg); font-weight: 900; }
.gallery-info p { font-size: 0.9rem; line-height: 1.5; color: var(--fg-dark); font-weight: 400; margin-bottom: 1.5rem; }
.gallery-footer { 
  margin-top: auto; 
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* --- SHOP SPECIFIC REFINEMENT --- */
.shop-main { padding-top: 8rem; padding-bottom: 4rem; }
.shop-main .gallery-grid { 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  max-width: var(--container-width); 
  margin: 0 auto; 
  gap: 2rem;
}
.shop-main .gallery-item { border: 1px solid #eee; }
.shop-main .gallery-img { aspect-ratio: 1; }
.shop-hero { padding: 8rem 2rem 2rem; text-align: center; }
.shop-hero h1 { font-size: 3.5rem; }

/* --- GLOWS --- */
.glow-gold { border-top: 4px solid var(--accent-gold); }
.glow-cyan { border-top: 4px solid var(--accent-cyan); }
.glow-orange { border-top: 4px solid var(--accent-orange); }
.glow-magenta { border-top: 4px solid var(--accent-magenta); }
.glow-neon { border-top: 4px solid var(--accent); }

/* --- CONTACT SECTION --- */
.section-contact { border-top: 1px solid var(--border-color); }
.contact-grid { margin-top: 6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 2rem; }
.tech-list { font-family: var(--font-mono); font-size: 0.8rem; color: #666; line-height: 2; }

.form-group { margin-bottom: 2rem; }
.form-group label { display: block; font-family: var(--font-mono); font-size: 0.6rem; margin-bottom: 0.5rem; text-transform: uppercase; color: #000; font-weight: 700; }
.form-input { width: 100%; padding: 1.2rem; border: 1px solid #000; font-family: var(--font-mono); outline: none; transition: border-color 0.3s; }
.form-input:focus { border-color: var(--accent-neon); }
.form-select { background: #fff; cursor: pointer; }
.form-textarea { height: 150px; resize: vertical; }

.btn-full { width: 100%; padding: 2rem; }

/* --- ORACLE SIMULATOR --- */
.simulator-section { background: var(--bg-offset); }
.simulator-box { 
  max-width: 600px; margin: 0 auto; background: var(--bg); border: 1px solid var(--border-color); 
  padding: 4rem; position: relative; box-shadow: 0 40px 100px rgba(0,0,0,0.05);
}

.simulator-display {
  min-height: 180px;
  background: var(--bg-offset);
  border: 1px solid var(--border-color);
  padding: 2rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--fg-dark);
  overflow-y: auto;
  border-left: 4px solid var(--fg);
}
.oracle-line { opacity: 0.5; margin-bottom: 0.5rem; transition: opacity 0.3s; color: var(--fg); }
.oracle-line.active { opacity: 1; color: var(--fg); font-weight: bold; }

.simulator-input-wrap { display: flex; border: 1px solid var(--fg); padding: 0.5rem; margin-top: 2rem; }
.simulator-input { background: none; border: none; outline: none; width: 100%; font-family: var(--font-mono); font-size: 1rem; padding: 1rem; }
.cta-button { 
  background: var(--fg); color: var(--bg); padding: 1.2rem 3rem; text-decoration: none; border: none; 
  font-family: var(--font-mono); font-weight: 900; font-size: 0.75rem; 
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  gap: 0.8rem;
}
.cta-button:hover { background: var(--accent); transform: scale(1.02); animation: glitch-small 0.3s infinite; }

/* --- GLITCH KEYFRAMES --- */
@keyframes glitch-small {
  0% { clip-path: inset(20% 0 50% 0); transform: translate(-2px, 2px); }
  20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -2px); }
  40% { clip-path: inset(10% 0 80% 0); transform: translate(-2px, -2px); }
  60% { clip-path: inset(50% 0 30% 0); transform: translate(2px, 2px); }
  80% { clip-path: inset(30% 0 60% 0); transform: translate(-2px, 2px); }
  100% { clip-path: inset(20% 0 50% 0); transform: translate(2px, -2px); }
}
/* --- FOOTER --- */
.footer { padding: 10rem 4rem; text-align: center; border-top: 1px solid var(--border-color); }
.final-word { font-size: 3rem; font-weight: 900; color: #000; line-height: 0.9; margin-bottom: 4rem; }

.footer-copyright {
  margin-top: 6rem;
  font-size: 0.7rem;
  color: #999;
  font-family: var(--font-mono);
}

/* --- STICKERS --- */
.sticker { display: inline-block; padding: 0.2rem 0.5rem; background: #E0E0E0; color: #666; font-family: var(--font-mono); font-weight: 900; font-size: 0.6rem; text-transform: uppercase; margin-bottom: 1rem; }
.sticker.black { background: #000; color: #fff; }
.sticker.gold { background: var(--accent-gold); color: #000; }
.sticker.mini { font-size: 0.5rem; padding: 0.1rem 0.3rem; margin: 0; opacity: 0.8; }

.diagnostic-log { position: fixed; bottom: 20px; left: 20px; width: 220px; font-family: var(--font-mono); font-size: 0.6rem; color: var(--accent-blue); pointer-events: none; opacity: 0.6; z-index: 6000; }

/* --- GLOW EFFECTS --- */
.glow-neon { border: 1px solid rgba(0,0,0,0.1); transition: 0.3s; }
.glow-neon:hover { border: 1px solid rgba(0,255,65,0.4); box-shadow: 0 0 30px rgba(0,255,65,0.1); }
.glow-gold:hover { border: 1px solid rgba(255,215,0,0.4); box-shadow: 0 0 30px rgba(255,215,0,0.1); }
.glow-dino:hover { border: 1px solid rgba(130, 230, 230, 0.4); box-shadow: 0 0 30px rgba(130, 230, 230, 0.1); }
.glow-cyan:hover { border: 1px solid rgba(0,191,255,0.4); box-shadow: 0 0 30px rgba(0,191,255,0.1); }
.glow-orange:hover { border: 1px solid rgba(255,165,0,0.4); box-shadow: 0 0 30px rgba(255,165,0,0.1); }

/* ANIMATIONS */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-5px, 5px) skewX(2deg); }
  40% { transform: translate(-5px, -5px) skewX(-2deg); }
  60% { transform: translate(5px, 5px) skewX(2deg); }
  80% { transform: translate(5px, -5px) skewX(-2deg); }
  100% { transform: translate(0); }
}

@keyframes strobe {
  0%, 100% { background: rgba(0, 0, 0, 0.95); }
  50% { background: rgba(57, 255, 20, 0.1); }
}

@keyframes drop-flash {
  0% { background: #fff; }
  100% { background: #000; }
}

.glitching { animation: glitch 0.1s infinite alternate; }
.strobing { animation: strobe 0.05s infinite; }
.drop-impact { animation: drop-flash 0.5s ease-out forwards; }

.scanlines-fast { background-size: 100% 2px; animation: scroll-scan 0.1s linear infinite; opacity: 0.3; }
@keyframes scroll-scan { from { background-position: 0 0; } to { background-position: 0 100%; } }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  .industrial-header {
    position: relative;
    padding: 1.5rem 0;
  }

  .header-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }

  .main-nav a {
    font-size: 0.6rem;
  }

  .hero {
    flex-direction: column-reverse !important;
    padding: 4rem 1.5rem;
    gap: 3rem;
    min-height: auto;
    text-align: center;
  }

  .hero-visual-bg {
    width: 100%;
    height: 300px;
    flex: none;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  h1 {
    font-size: 3.5rem;
  }

  .subtitle {
    font-size: 0.8rem;
    padding-left: 0.5rem;
    margin: 0 auto 1.5rem;
    display: inline-block;
  }

  .accroche {
    font-size: 1.1rem;
    margin: 0 auto;
  }

  section {
    padding: var(--section-padding-mobile) 0;
  }

  .manifesto-section {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
  }
}

/* --- PRELOADER SYSTEM --- */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: var(--font-mono);
  padding: 2rem;
  transition: opacity 1s ease, visibility 1s;
}
.preloader-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-log { width: 100%; max-width: 400px; font-size: 0.7rem; color: #444; line-height: 1.5; }
.boot-line { margin-bottom: 0.2rem; }
.boot-cursor { color: #fff; animation: blink 0.8s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Ritual steps consolidated below */

/* --- PARTNERS LOGO WALL --- */
.partners-section { background: #f9f9f9; padding: 6rem 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.partners-logo-wall { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  flex-wrap: wrap; 
  gap: 3rem; 
  margin-top: 4rem; 
  opacity: 0.4;
  filter: grayscale(1);
  transition: opacity 0.5s ease;
}
.partners-logo-wall:hover { opacity: 0.8; }
.partner-logo { 
  font-family: var(--font-mono); 
  font-weight: 900; 
  font-size: 1.1rem; 
  letter-spacing: 0.2rem; 
}

/* --- DASHBOARD STYLES --- */
.dashboard-box {
  background: #fff;
  border: 1px solid #000;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.dashboard-header {
  background: #000;
  color: #fff;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1rem;
}
.status-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: blink 1.5s infinite;
}
.dashboard-content {
  padding: 3rem;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}
.dash-item {
  border: 1px solid #eee;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}
.dash-item:hover {
  background: #fafafa;
  border-color: #000;
  transform: translateY(-5px);
}
.dash-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.dash-item h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.dash-item p {
  font-size: 0.6rem;
  color: #888;
}

.ritual-main-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  margin-top: 4rem;
  width: 100% !important;
}

.hero-step-accordion {
  background: #000 !important;
  border: 1px solid var(--border-color);
  padding: 0;
  transition: var(--transition);
  cursor: pointer;
  height: fit-content;
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
}

.step-compact-header {
  display: flex !important;
  align-items: center;
  height: 80px;
  background: #000 !important;
  color: #fff !important;
  padding: 0 1rem;
}

.ritual-box-indicator {
  width: 60px !important;
  height: 60px !important;
  background: #fff !important;
  color: #000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  font-family: var(--font-mono);
  transition: var(--transition);
  margin-right: 1.5rem;
}

.hero-step-accordion:hover .step-icon {
  background: var(--accent-neon);
  color: #fff;
}

.step-txt {
  flex: 1;
  padding: 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-txt span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--accent);
  margin-top: 0.2rem;
  opacity: 1;
}

.step-toggle {
  padding: 0 1.5rem;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--fg-dark);
  opacity: 0.3;
}

.step-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-offset);
}

.hero-step-accordion.active-faq .step-details {
  max-height: 400px;
  opacity: 1;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.step-examples {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-examples li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dark);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.step-examples li:last-child { margin-bottom: 0; }
.step-examples li::before {
  content: ">";
  color: var(--accent-neon);
  font-weight: 900;
}
@media (max-width: 1200px) {
  .hero-ritual-grid { flex-direction: column !important; gap: 1rem !important; }
}

@media (max-width: 768px) {
  .ritual-main-container { grid-template-columns: 1fr !important; }
  .hero-step-accordion { max-width: none; }
  .gallery-grid, .module-grid { grid-template-columns: 1fr; gap: 2rem; }
  .module-card { padding: 2.5rem 0; }
  .simulator-box { padding: 2rem 1rem; }
  .final-word { font-size: 2.2rem; margin-bottom: 3rem; }
  .footer { padding: 6rem 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info { text-align: center; }
  .tech-list { display: inline-block; text-align: left; }
  .ritual-timer { font-size: 5rem; }
  .diagnostic-log { display: none; }
  
  /* SHOP & FOOTER RESPONSIVE FIXES */
  .hero-top { flex-direction: column; text-align: center; gap: 2rem; }
  .hero-top .hero-content { align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .shop-hero h1 { font-size: 2.5rem; }

  /* HEADER MOBILE REFINEMENT */
  .industrial-header { height: 70px; }
  .header-container { padding: 0 1rem; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: 0.6rem; }
  .theme-label { display: none; }
  .brand span { display: none; }
  .nav-cta { padding: 0.5rem 0.8rem; font-size: 0.55rem; }
}

/* Ensure Preloader is above everything */
#preloader { z-index: 99999; }

@media (max-width: 480px) {
  h1 {
    font-size: 2.8rem;
  }
  
  .hero-visual-bg {
    height: 250px;
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* --- SHOP REFINEMENTS --- */
.spec-list {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #666;
  list-style: none;
  padding: 0;
}
.spec-list li { margin-bottom: 0.5rem; }
/* Redundant definition removed */

/* --- SITE FOOTER (INDUSTRIAL) --- */
.site-footer {
  background: var(--bg);
  border-top: 2px solid var(--fg);
  padding: 5rem 0 2rem 0;
  color: var(--fg);
}

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

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  color: var(--fg);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-col p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--fg-dark);
  max-width: 400px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--fg-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-neon);
  padding-left: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--fg-dark);
  opacity: 0.6;
}

/* --- DARK MODE PATCHES --- */
[data-theme='dark'] .section-white {
  background: var(--bg);
  color: var(--fg);
}
[data-theme='dark'] .module-card {
  background: #0a0a0a;
  border-color: #222;
}
[data-theme='dark'] .module-card h3 { color: #fff; }
[data-theme='dark'] .module-card p { color: #aaa; }
[data-theme='dark'] .simulator-box { background: #0a0a0a; border-color: #222; }
[data-theme='dark'] .oracle-line { color: var(--accent-neon); }
[data-theme='dark'] .edition-card, 
[data-theme='dark'] .gallery-item { background: #0a0a0a !important; border-color: #222 !important; }
[data-theme='dark'] .gallery-info { background: #0a0a0a !important; border: none !important; }
[data-theme='dark'] .gallery-img { background: #111 !important; filter: brightness(0.9); }
[data-theme='dark'] .specimen-gallery { background: #000 !important; }
[data-theme='dark'] .accroche { color: #fff !important; opacity: 1 !important; font-weight: 400; }
[data-theme='dark'] .simulator-display { background: #050505 !important; border-color: #333 !important; }
[data-theme='dark'] .section-white { background: #000 !important; }
[data-theme='dark'] .hero-step-accordion { background: #000 !important; border-color: #333 !important; }
[data-theme='dark'] .step-details { background: #050505 !important; }
[data-theme='dark'] .step-icon { background: #fff !important; color: #000 !important; }
[data-theme='dark'] .step-compact-header { background: #000 !important; color: #fff !important; }
[data-theme='dark'] .step-txt { color: #fff !important; }
[data-theme='dark'] .step-txt span { color: #aaa !important; }
[data-theme='dark'] .dashboard-box { background: #000 !important; border-color: #222 !important; box-shadow: 0 0 40px rgba(0, 255, 102, 0.05); }
[data-theme='dark'] .dashboard-content { background: #000 !important; }
[data-theme='dark'] .dash-item { background: #050505; border-color: #1a1a1a; }
[data-theme='dark'] .dash-item:hover { background: #0a0a0a; border-color: #00ff66; box-shadow: 0 0 15px rgba(0, 255, 102, 0.2); }
[data-theme='dark'] .dash-item h4 { color: #fff; }
[data-theme='dark'] .dash-item p { color: #666; }

/* --- CUSTOM CURSOR --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--accent-neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
  mix-blend-mode: difference;
  display: none; 
}

@media (pointer: fine) {
  .custom-cursor { display: block; }
  html, body { cursor: none !important; }
  a, button, .hero-step-accordion, .gallery-item, .module-card, .nav-toggle, .site-footer a { cursor: none !important; }
}

.custom-cursor.hover {
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid var(--accent-neon);
}
