/* ============================================================
   BATIA.IO Global CSS
   Complete styling system for BATIA website with dark/light themes
   ============================================================ */
   
/* Dans ton batia.css */
#tsparticles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* En mode clair, on baisse un peu l'opacité pour que l'effet reste subtil et ne gêne pas la lecture */
[data-theme="light"] #tsparticles {
  opacity: 0.6; 
}

/* Rend l'effet plus discret en mode clair pour garder un bon contraste */
[data-theme="light"] #tsparticles {
  opacity: 0.5; 
}

/* Cache l'effet sur mobile pour économiser la batterie des téléphones */
@media (max-width: 768px) {
  #tsparticles {
    display: none;
  }
}

/* ============================================================
   1. CSS VARIABLES - ROOT (Dark Mode Default)
   ============================================================ */
:root {
  /* Colors - Dark Mode */
  --bg: #1e1e22;
  --surface: #26262c;
  --surface-2: #2e2e34;
  --text-main: #e8e8ec;
  --text-muted: #8a8a94;
  
  /* Brand Colors */
  --copper: #d4a574;
  --copper-glow: rgba(212, 165, 116, 0.12);
  --copper-dim: rgba(212, 165, 116, 0.04);
  
  /* Borders & Glass */
  --line: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.05);
  
  /* Accent Colors */
  --accent-cyan: #d4a574;
  --accent-purple: #e8c9a0;
  
  /* Gradients */
  --gradient-hero: linear-gradient(180deg, #1e1e22 0%, #1a1a1e 100%);
  --gradient-mesh: none;
  
  /* Shadows */
  --shadow-glow: 0 0 15px rgba(0,0,0,.2);
  
  /* Typography */
  --font-d: 'Poppins', sans-serif;
  --font-b: 'Inter', sans-serif;
  --font-t: 'JetBrains Mono', monospace;
  
  /* Easing */
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============================================================
   2. CSS VARIABLES - LIGHT THEME
   ============================================================ */
[data-theme="light"] {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-2: #f5f0ea;
  --text-main: #1a1a1a;
  --text-muted: #6b6b70;
  
  --copper: #b8865a;
  --copper-glow: rgba(184, 134, 90, 0.2);
  --copper-dim: rgba(184, 134, 90, 0.04);
  
  --line: rgba(26, 26, 26, 0.08);
  --glass-border: rgba(0, 0, 0, 0.06);
  
  --gradient-hero: linear-gradient(180deg, #faf8f5 0%, #f5f0ea 100%);
}

/* ============================================================
   3. RESET & BASE STYLES
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================================
   4. AURORA GRID & BACKGROUND PATTERN
   ============================================================ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  background-size: 30px 30px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

[data-theme="light"] .aurora {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.07) 1px, transparent 1px);
}

/* ============================================================
   5. CRITICAL - LIGHT MODE OVERRIDES FOR ALL BACKGROUNDS
   ============================================================ */

/* Dark mode backgrounds (default) */
.card-sys,
.sidebar-card,
.level-card,
.material-card,
.edition-card,
.solution-item,
.resource-item,
.kpi-item {
  background: rgba(30, 30, 34, 0.75);
  border: 1px solid var(--line);
}

.card-sys:hover,
.stat-item:hover,
.stat-card:hover,
.story-card:hover,
.value-card:hover {
  background: rgba(38, 38, 44, 0.92);
  border-color: var(--copper);
}

.vision-container,
.monolith,
.quick-replies {
  background: rgba(38, 38, 44, 0.7);
  border: 1px solid var(--line);
}

.stat-item {
  background: rgba(30, 30, 34, 0.75);
  border: 1px solid var(--line);
}

.mega-menu {
  background: rgba(30, 30, 34, 0.98);
  backdrop-filter: blur(10px);
}

nav {
  background: rgba(30, 30, 34, 0.95);
  backdrop-filter: blur(8px);
}

nav.scrolled {
  background: rgba(30, 30, 34, 0.98);
  backdrop-filter: blur(12px);
}

.story-card,
.value-card {
  background: rgba(38, 38, 44, 0.7);
  border: 1px solid var(--line);
}

.stat-card {
  background: rgba(30, 30, 34, 0.75);
  border: 1px solid var(--line);
}

.page-header {
  background: linear-gradient(135deg, rgba(30, 30, 34, 0.9) 0%, rgba(38, 38, 44, 0.85) 100%);
}

nav.doc-nav {
  background: rgba(30, 30, 34, 0.95);
  backdrop-filter: blur(8px);
}

/* Light mode overrides - ALL backgrounds become white/cream */
[data-theme="light"] body {
  background-color: #faf8f5;
}

[data-theme="light"] nav {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
}

[data-theme="light"] nav.scrolled {
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(12px);
}

[data-theme="light"] nav.doc-nav {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .mega-menu {
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .nav-main.mobile-open {
  background: rgba(250, 248, 245, 0.98);
}

[data-theme="light"] .card-sys,
[data-theme="light"] .sidebar-card,
[data-theme="light"] .level-card,
[data-theme="light"] .material-card,
[data-theme="light"] .story-card,
[data-theme="light"] .value-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .edition-card,
[data-theme="light"] .solution-item,
[data-theme="light"] .resource-item,
[data-theme="light"] .kpi-item {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .card-sys:hover,
[data-theme="light"] .stat-item:hover,
[data-theme="light"] .stat-card:hover,
[data-theme="light"] .story-card:hover,
[data-theme="light"] .value-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--copper);
}

[data-theme="light"] .vision-container,
[data-theme="light"] .monolith,
[data-theme="light"] .quick-replies {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .stat-item {
  background: rgba(250, 248, 245, 0.75);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .v-item:hover,
[data-theme="light"] .v-item.active {
  background: rgba(250, 248, 245, 0.75);
}

[data-theme="light"] .list-item:hover {
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] footer {
  background: transparent;
}

[data-theme="light"] .modal-overlay {
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .modal {
  background: var(--bg);
  color: var(--text-main);
}

[data-theme="light"] .neogen-chat {
  background: var(--bg);
}

[data-theme="light"] .c-col:last-child {
  background: rgba(255, 255, 255, 0.65);
}

[data-theme="light"] .page-header {
  background: linear-gradient(135deg, rgba(250, 248, 245, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
}

[data-theme="light"] .page-header .subtitle {
  color: rgba(26, 26, 26, 0.85);
}

[data-theme="light"] .header-meta {
  color: rgba(26, 26, 26, 0.7);
}

[data-theme="light"] .header-meta span {
  color: rgba(26, 26, 26, 0.7);
}

[data-theme="light"] .highlight {
  background: rgba(184, 134, 90, 0.08);
}

[data-theme="light"] .conformity-table th {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
}

[data-theme="light"] .cta-box {
  background: linear-gradient(135deg, rgba(184, 134, 90, 0.08), rgba(184, 134, 90, 0.03));
  border-color: rgba(184, 134, 90, 0.2);
}

[data-theme="light"] .theme-switch {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .switch-icon {
  background: var(--copper);
  box-shadow: none;
}

[data-theme="light"] .badge-label {
  color: #8b6914;
  border-color: rgba(184, 134, 90, 0.4);
  background: rgba(184, 134, 90, 0.1);
}

/* ============================================================
   6. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-d);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-main);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.875rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-main);
  line-height: 1.7;
}

.mono {
  font-family: var(--font-t);
  font-size: 0.875rem;
  color: var(--copper);
  background: var(--copper-dim);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

a {
  color: var(--copper);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-purple);
  opacity: 0.9;
}

button, input, select, textarea {
  font-family: var(--font-b);
  color: var(--text-main);
  background-color: var(--surface);
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

button:hover, button:focus {
  background-color: var(--surface-2);
  border-color: var(--copper);
}

button:focus, input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--copper-glow);
}

/* ============================================================
   7. THEME SWITCHER
   ============================================================ */
.theme-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(38, 38, 44, 0.5);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-switch:hover {
  border-color: var(--copper);
}

.switch-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--copper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.3s var(--ease);
}

/* ============================================================
   8. NOISE TEXTURE
   ============================================================ */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' result='noise'/%3E%3C/filter%3E%3Crect width='400' height='400' fill='white' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

/* ============================================================
   9. LOADER
   ============================================================ */
.loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid var(--copper-dim);
  border-top: 3px solid var(--copper);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-sm {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================================
   10. SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--accent-purple));
  width: 0%;
  z-index: 999;
  transition: width 0.1s ease;
}

/* ============================================================
   11. NAVIGATION & MEGA MENU
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a {
  margin: 0 1.5rem;
  color: var(--text-main);
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--copper);
}

.logo {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--copper);
  text-decoration: none;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-main.mobile-open {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 30, 34, 0.98);
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  z-index: 99;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--line);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 98;
}

nav:has(.mega-menu:hover) .mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.mega-menu-col a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

/* ============================================================
   12. FOOTER (GRID LAYOUT)
   ============================================================ */
footer {
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 4rem 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.footer-col a:hover {
  color: var(--copper);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   13. CHATBOT (NEOGEN)
   ============================================================ */
.neogen-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  max-height: 500px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-glow);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s var(--ease);
}

.neogen-header {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.neogen-header h4 {
  margin: 0;
  font-size: 1rem;
}

.neogen-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  width: 24px;
  height: 24px;
}

.neogen-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.neogen-message {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.neogen-message.bot {
  justify-content: flex-start;
}

.neogen-message.user {
  justify-content: flex-end;
}

.neogen-bubble {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.neogen-message.bot .neogen-bubble {
  background: var(--surface-2);
  color: var(--text-main);
}

.neogen-message.user .neogen-bubble {
  background: var(--copper);
  color: white;
}

.neogen-input {
  padding: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
}

.neogen-input input {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.neogen-input button {
  background: var(--copper);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

/* ============================================================
   14. ANIMATIONS & KEYFRAMES
   ============================================================ */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 15px var(--copper-glow);
  }
  50% {
    box-shadow: 0 0 30px var(--copper-glow);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
   15. PAGE-SPECIFIC BASE CLASSES
   ============================================================ */

/* Page Header */
/* Product Page Hero Logo */
.page-hero-logo {
  display: block;
  margin-bottom: 1.5rem;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

[data-theme="light"] .page-hero-logo {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.page-header {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header .subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.header-meta {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.header-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Doc Navigation */
.doc-nav {
  position: sticky;
  top: 70px;
  width: 250px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-radius: 8px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.doc-nav ul {
  list-style: none;
}

.doc-nav li {
  margin-bottom: 0.5rem;
}

.doc-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text-muted);
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.doc-nav a:hover,
.doc-nav a.active {
  color: var(--copper);
  border-left-color: var(--copper);
  padding-left: 1rem;
}

/* Grids */
.levels-grid,
.materials-grid,
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Sidebar & Cards */
.sidebar-card {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
}

.sidebar-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 0.75rem;
}

.toc-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.toc-list a:hover {
  color: var(--copper);
}

.pill {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-box {
  padding: 2rem;
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 8px;
  background: var(--copper-dim);
  margin: 2rem 0;
}

.cta-box h3 {
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.cta-box a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--copper);
  color: white;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cta-box a:hover {
  background: var(--accent-purple);
  color: #1a1a1a;
}

/* Story & Value Cards */
.story-card,
.value-card {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
}

.story-card h3,
.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.story-card p,
.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Edition Card */
.edition-card {
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.edition-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.edition-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 1rem;
}

.edition-card .features {
  list-style: none;
  margin: 1.5rem 0;
}

.edition-card .features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.edition-card .features li:before {
  content: "✓ ";
  color: var(--copper);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Conformity Table */
.conformity-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.conformity-table th {
  background: rgba(30, 30, 34, 0.75);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}

.conformity-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.conformity-table tr:last-child td {
  border-bottom: none;
}

.conformity-table tr:hover {
  background: var(--surface-2);
}

.highlight {
  padding: 0.2rem 0.4rem;
  background: var(--copper-dim);
  border-radius: 3px;
  color: var(--copper);
  font-weight: 500;
}

/* Workflow Steps */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  position: relative;
}

.step {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s var(--ease);
}

.step:hover {
  border-color: var(--copper);
  box-shadow: 0 0 15px var(--copper-glow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--copper-dim);
  border: 2px solid var(--copper);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Level & Material Cards */
.level-card,
.material-card {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  position: relative;
}

.level-card::before,
.material-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--copper-glow), transparent);
  opacity: 0;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.level-card:hover::before,
.material-card:hover::before {
  opacity: 1;
}

.level-card h3,
.material-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.level-card p,
.material-card p {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Vision Container */
.vision-container {
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.vision-container h2 {
  margin-bottom: 1.5rem;
}

/* Monolith */
.monolith {
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.monolith h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.monolith p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Quick Replies */
.quick-replies {
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.quick-reply {
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.quick-reply:hover {
  background: var(--copper-dim);
  border-color: var(--copper);
  color: var(--copper);
}

/* ============================================================
   16. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Large screens (1024px+) */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  nav {
    padding: 1rem 1.5rem;
  }

  nav a {
    margin: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.875rem;
  }

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

/* Medium screens (768px) */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 1rem;
  }

  nav a {
    margin: 0.5rem 0;
    display: block;
  }

  .nav-main {
    width: 100%;
    flex-direction: column;
  }

  .nav-main.mobile-open {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
  }

  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    grid-template-columns: 1fr;
    padding: 1rem 0;
    background: transparent;
    border: none;
  }

  .doc-nav {
    position: static;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    max-height: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .doc-nav a {
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
  }

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

  .levels-grid,
  .materials-grid,
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 2rem 1.5rem;
  }

  .page-header h1 {
    font-size: 1.875rem;
  }

  .header-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

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

  .neogen-chat {
    width: 100%;
    max-width: calc(100% - 40px);
    bottom: 20px;
    right: 20px;
    left: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Small screens (640px) */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  nav {
    padding: 0.75rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .page-header {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-header .subtitle {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .sidebar-card,
  .story-card,
  .value-card,
  .edition-card,
  .level-card,
  .material-card {
    padding: 1.25rem;
  }

  .cta-box {
    padding: 1.5rem;
  }

  .monolith {
    padding: 2rem 1rem;
  }

  .monolith h2 {
    font-size: 1.5rem;
  }

  .neogen-chat {
    width: calc(100% - 40px);
    max-height: 50vh;
  }

  .conformity-table {
    font-size: 0.85rem;
  }

  .conformity-table th,
  .conformity-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* Extra small screens (480px) */
@media (max-width: 480px) {
  nav {
    padding: 0.5rem;
  }

  .logo {
    font-size: 1rem;
  }

  .page-header {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .page-header h1 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .page-header .subtitle {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 1rem;
  }

  h3 {
    font-size: 0.95rem;
  }

  p {
    font-size: 0.9rem;
  }

  .sidebar-card,
  .story-card,
  .value-card,
  .level-card,
  .material-card {
    padding: 1rem;
  }

  .cta-box {
    padding: 1.25rem;
  }

  .cta-box h3 {
    font-size: 1rem;
  }

  .monolith {
    padding: 1.5rem 1rem;
    margin: 1.5rem 0;
  }

  .monolith h2 {
    font-size: 1.25rem;
  }

  .monolith p {
    font-size: 0.95rem;
  }

  .neogen-chat {
    width: calc(100% - 30px);
    bottom: 15px;
    right: 15px;
    left: 15px;
  }

  .workflow-steps {
    gap: 1rem;
  }

  .step-num {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-col a {
    padding: 0.4rem 0;
    font-size: 0.9rem;
  }

  .conformity-table {
    font-size: 0.8rem;
  }

  .conformity-table th,
  .conformity-table td {
    padding: 0.5rem 0.25rem;
  }

  .quick-replies {
    gap: 0.75rem;
  }

  .quick-reply {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

/* Print styles */
@media print {
  nav,
  footer,
  .neogen-chat,
  .scroll-progress,
  .theme-switch {
    display: none;
  }

  body {
    background: white;
    color: #000;
  }

  a {
    color: #0066cc;
  }
}


/* ============================================================
   17. AUTH PAGES - LOGIN, REGISTER, FORGOT-PASSWORD
   ============================================================ */

/* Auth Container */
.auth-container {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}

/* Auth Card */
.auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .auth-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Auth Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(50, 50, 58, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 15px;
  font-family: var(--font-b);
  transition: all 0.2s ease;
  outline: none;
}

[data-theme="light"] .form-input {
  background: rgba(245, 240, 234, 0.8);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .form-input::placeholder {
  color: rgba(26, 26, 26, 0.4);
}

.form-input:hover {
  border-color: var(--copper);
}

.form-input:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px var(--copper-glow);
}

.form-input.error {
  border-color: #ef4444;
}

/* Password wrapper and toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: var(--copper);
}

/* Form options (remember & forgot) */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-muted);
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--copper);
  cursor: pointer;
}

.forgot-link {
  color: var(--copper);
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--copper) 0%, #a06b45 100%);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-b);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--copper-glow);
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

[data-theme="light"] .divider span {
  color: rgba(26, 26, 26, 0.4);
}

/* Social buttons */
.social-buttons {
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(50, 50, 58, 0.7);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-b);
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .social-btn {
  background: rgba(245, 240, 234, 0.8);
}

.social-btn:hover {
  border-color: var(--copper);
  background: rgba(212, 165, 116, 0.08);
}

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

/* Auth footer */
.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--copper);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Alert messages */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
}

.alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.alert.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.alert.show {
  display: block;
}

/* Back to site link */
.back-link {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
  z-index: 10;
}

.back-link:hover {
  color: var(--copper);
}

/* Auth page body layout (center container) */
body.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

body.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.07) 1px, transparent 1px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] body.auth-page::before {
  background-image: linear-gradient(to right, rgba(0,0,0,0.07) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(0,0,0,0.07) 1px, transparent 1px);
}

/* ============================================================
   18. ABOUT PAGE SECTIONS
   ============================================================ */

/* Hero About section */
.hero-about {
  padding: 200px 60px 120px;
  text-align: center;
  position: relative;
}

.hero-about h1 {
  max-width: 900px;
  margin: 0 auto 30px;
}

.hero-about p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Story cards */
.story-card {
  padding: 50px 40px;
  border-radius: 12px;
  transition: all 0.4s var(--ease);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--copper-glow);
}

.story-card h3 {
  color: var(--copper);
  margin-bottom: 25px;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

/* Value cards */
.value-card {
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--copper-glow);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  display: block;
}

.value-card h3 {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.value-card p {
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 80px 0;
}

[data-theme="light"] .stats-grid {
  gap: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.stat-card {
  background: rgba(30, 30, 34, 0.75);
  padding: 50px 30px;
  text-align: center;
  transition: all 0.4s var(--ease);
}

[data-theme="light"] .stat-card {
  background: rgba(255, 255, 255, 0.75);
}

.stat-card:hover {
  background: rgba(38, 38, 44, 0.9);
}

[data-theme="light"] .stat-card:hover {
  background: rgba(255, 255, 255, 0.95);
}

.stat-value {
  font-family: var(--font-d);
  font-size: 3rem;
  color: var(--copper);
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.stat-label {
  font-family: var(--font-t);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Section padding helper */
.section-pad {
  padding: 100px 60px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ============================================================
   19. DOCUMENT/PRODUCT PAGE STYLES
   ============================================================ */

/* Badge label for product pages */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-label {
  font-family: var(--font-t);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  padding: 6px 14px;
  border: 1px solid rgba(212, 165, 116, 0.4);
  border-radius: 20px;
  background: rgba(212, 165, 116, 0.1);
  display: inline-block;
}

[data-theme="light"] .badge-label {
  border-color: rgba(184, 134, 90, 0.4);
  background: rgba(184, 134, 90, 0.08);
}

/* Level card specific to product pages */
.level-card {
  position: relative;
}

.level-card::before,
.material-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--copper-glow), transparent);
  opacity: 0;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.level-card:hover::before,
.material-card:hover::before {
  opacity: 1;
}

.level-card h3,
.material-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.level-card p,
.material-card p {
  position: relative;
  z-index: 2;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Material card */
.material-card {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  position: relative;
}

/* Pill labels */
.pill {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* CTA box styling */
.cta-box {
  padding: 2rem;
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 8px;
  background: var(--copper-dim);
  margin: 2rem 0;
}

[data-theme="light"] .cta-box {
  background: rgba(184, 134, 90, 0.05);
  border-color: rgba(184, 134, 90, 0.15);
}

.cta-box h3 {
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.cta-box a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--copper);
  color: white;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.cta-box a:hover {
  background: var(--accent-purple);
  color: #1a1a1a;
}

/* ============================================================
   20. LIGHT MODE OVERRIDES - AUTH & SPECIFIC PAGES
   ============================================================ */

[data-theme="light"] body.auth-page {
  background-color: #faf8f5;
}

[data-theme="light"] .logo-icon {
  background: linear-gradient(135deg, var(--copper) 0%, #8b5a3c 100%);
}

[data-theme="light"] .logo-text {
  background: linear-gradient(90deg, var(--copper), #1a1a1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   21. RESPONSIVE - AUTH & SPECIFIC PAGES
   ============================================================ */

@media (max-width: 768px) {
  .auth-card {
    padding: 30px 24px;
  }

  .social-buttons {
    flex-direction: column;
  }

  .back-link {
    top: 20px;
    left: 20px;
  }

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

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

  .content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-about {
    padding: 100px 30px 60px;
  }

  .section-pad {
    padding: 50px 30px;
  }
}

@media (max-width: 480px) {
  .auth-container {
    max-width: 100%;
  }

  .auth-card {
    border-radius: 16px;
    padding: 24px;
  }

  .form-input,
  .social-btn,
  .submit-btn {
    border-radius: 8px;
  }

  .hero-about h1 {
    font-size: 1.75rem;
  }

  .hero-about {
    padding: 80px 20px 40px;
  }

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

  .values-grid {
    gap: 20px;
  }

  .section-pad {
    padding: 30px 20px;
  }
}

/* End of BATIA.IO Global CSS */
/* ============================================================
   SECTION 22: INDEX.HTML - HOMEPAGE SPECIFIC STYLES
   Recovered from backup with color palette conversion
   Dark Anthracite Theme (#1e1e22, #26262c, #d4a574)
   ============================================================ */

/* UTILITIES - Container & Interactive Elements */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 2;
}

/* Horizontal separator with scanning animation */
.horizon-line {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.5s;
}

.horizon-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  animation: scanX 4s infinite linear;
  opacity: 0.5;
}

/* LOADER ANIMATION */
.load-bar {
  width: 200px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.load-prog {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: var(--copper);
  animation: load 1s var(--ease) forwards;
}

/* NAVIGATION - Professional Mega Menu */
.nav-container {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.nav-item {
  position: relative;
  font-family: var(--font-t);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item:hover {
  color: var(--copper);
}

.nav-item.has-mega::after {
  content: '▾';
  font-size: 0.5rem;
  transition: transform 0.3s;
}

.nav-item.has-mega.active::after {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-phone {
  font-family: var(--font-t);
  font-size: 0.7rem;
  color: var(--copper);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 6px;
  transition: 0.3s;
}

.nav-phone:hover {
  background: rgba(212, 165, 116, 0.1);
  border-color: var(--copper);
}

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--copper), #b07550);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-d);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  border-radius: 6px;
  transition: 0.3s;
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.5);
}

/* MEGA MENU STRUCTURE */
.mega-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  gap: 50px;
}

.mega-products {
  grid-template-columns: repeat(4, 1fr);
}

.mega-col h4 {
  font-family: var(--font-d);
  font-size: 0.65rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.mega-item {
  padding: 12px;
  border-radius: 8px;
  transition: 0.3s;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  border: 1px solid transparent;
}

.mega-item:hover {
  background: rgba(212, 165, 116, 0.05);
  border-color: rgba(212, 165, 116, 0.2);
}

.mega-item-title {
  font-family: var(--font-b);
  font-size: 0.8rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-item-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.level-badge {
  font-size: 0.5rem;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(212, 165, 116, 0.15);
  color: var(--copper);
  font-family: var(--font-t);
}

.mega-solutions {
  grid-template-columns: 1fr 1fr;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.solution-icon {
  font-size: 1.2rem;
}

.solution-text {
  font-size: 0.75rem;
  color: var(--text-main);
  font-weight: 500;
}

.mega-resources {
  grid-template-columns: repeat(3, 1fr);
}

.resource-label {
  font-size: 0.65rem;
  color: var(--copper);
  text-transform: uppercase;
  font-family: var(--font-t);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}

.resource-title {
  font-size: 0.8rem;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 4px;
}

.resource-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* MENU TOGGLE - Mobile */
.menu-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  transition: 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* HERO SECTION */
.hero-content {
  position: relative;
  z-index: 2;
  margin-top: -50px;
  max-width: 800px;
}

.hero-meta {
  display: flex;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 40px;
  width: fit-content;
  transition: border-color 0.5s;
}

.meta-item b {
  display: block;
  color: var(--text-main);
  font-family: var(--font-d);
  font-size: 1rem;
  margin-bottom: 5px;
}

.meta-item span {
  font-family: var(--font-t);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* HERO BUTTONS */
.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  padding: 15px 40px;
  background: var(--copper);
  color: #000;
  font-family: var(--font-d);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-block;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
  background: var(--text-main);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
  padding: 15px 40px;
  border: 1px solid var(--copper);
  color: var(--copper);
  font-family: var(--font-d);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: 0.3s;
  display: inline-block;
  background: transparent;
}

.btn-secondary:hover {
  background: var(--copper-dim);
  border-color: var(--text-main);
  color: var(--text-main);
}

/* MONOLITH ELEMENT */
.mono-wrap {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 500px;
  z-index: 1;
  opacity: 0;
  animation: reveal 1.5s var(--ease) forwards 0.5s;
}

.scan-line {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 1px;
  background: var(--copper);
  box-shadow: 0 0 15px var(--copper);
  opacity: 0.5;
  animation: scanY 8s infinite ease-in-out;
}

.mono-ui {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

/* VISION SECTION */
.vision-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 400px;
}

.vision-menu {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.5s;
}

.v-num {
  font-family: var(--font-t);
  font-size: 0.6rem;
  color: var(--copper);
  opacity: 0.8;
}

.vision-content {
  position: relative;
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide {
  display: none;
  animation: fadeInstant 0.6s var(--ease);
}

.slide.active {
  display: block;
}

.slide-title {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 30px;
  font-weight: 400;
}

.slide-body {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
}

.slide-label {
  font-family: var(--font-t);
  font-size: 0.6rem;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.slide-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 500px;
}

/* SYSTEM GRID */
.grid-sys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sys-icon {
  font-family: var(--font-d);
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: 0.4s;
  position: relative;
  z-index: 2;
}

.card-sys:hover .sys-icon {
  color: var(--copper);
}

/* Card Product Logo */
.card-logo {
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 165, 116, 0.3));
  opacity: 0.9;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.card-sys:hover .card-logo {
  opacity: 1;
  filter: drop-shadow(0 0 20px rgba(212, 165, 116, 0.5));
  transform: scale(1.05);
}

[data-theme="light"] .card-logo {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  opacity: 0.9;
}

[data-theme="light"] .card-sys:hover .card-logo {
  opacity: 1;
}

/* MODULES SECTION */
.modules-container {
  position: relative;
  min-height: 500px;
  display: flex;
  border-top: 1px solid var(--line);
}

.modules-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  border-left: 1px solid var(--line);
  overflow: hidden;
  pointer-events: none;
}

.mod-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mod-visual.active {
  opacity: 1;
}

.vis-struct {
  width: 50%;
  height: 50%;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, var(--line) 10px, var(--line) 11px);
  border: 1px solid var(--line);
}

.vis-geo {
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, var(--line) 1px, transparent 1px);
  background-size: 20px 20px;
  border-bottom: 2px solid var(--copper);
}

.vis-therm {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px dashed var(--line);
  animation: spin 20s infinite linear;
}

.vis-diag {
  width: 50%;
  height: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vis-box {
  background: var(--line);
}

.modules-list {
  width: 45%;
  display: flex;
  flex-direction: column;
}

.arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.3s;
  color: var(--copper);
  font-family: var(--font-d);
  font-size: 0.8rem;
}

.list-item:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CONTACT SECTION */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.c-line {
  font-family: var(--font-d);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
}

.c-line:hover {
  color: var(--copper);
}

.neo-input {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text-main);
  font-family: var(--font-t);
  font-size: 0.8rem;
}

/* FOOTER */
.footer-title {
  font-family: var(--font-d);
  font-size: 0.55rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.6rem;
  transition: 0.3s;
  line-height: 2;
}

.footer-link:hover {
  color: var(--copper);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-link-small {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.55rem;
  transition: 0.3s;
}

.footer-link-small:hover {
  color: var(--text-main);
}

/* MODAL */
.m-head {
  padding: 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m-body {
  padding: 40px;
  flex: 1;
  overflow-y: auto;
}

.m-close {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: 0.3s;
}

.m-close:hover {
  color: var(--text-main);
}

.m-title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-main);
}

.m-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.m-tab {
  flex: 1;
  padding: 15px 0;
  text-align: center;
  font-family: var(--font-t);
  font-size: 0.65rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.1em;
  transition: 0.3s;
}

.m-tab.active {
  color: var(--copper);
  border-bottom-color: var(--copper);
  font-weight: 700;
}

.m-section {
  margin-bottom: 30px;
}

.m-section-title {
  font-family: var(--font-d);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.m-section-content {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
}

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

.feat-list li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.feat-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--copper);
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.kpi-label {
  font-family: var(--font-t);
  font-size: 0.65rem;
  color: var(--copper);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kpi-value {
  font-size: 0.85rem;
  color: var(--text-main);
}

/* CHATBOT */
.neogen-trigger {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  color: var(--text-main);
}

.neogen-trigger:hover {
  transform: scale(1.1);
  background: var(--copper);
  color: #000;
  border-color: var(--copper);
}

.neo-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--copper);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.neo-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  font-family: var(--font-t);
  font-size: 0.75rem;
  color: var(--text-main);
}

.neo-msg {
  margin-bottom: 15px;
  line-height: 1.6;
}

.neo-msg.user {
  text-align: right;
  color: var(--text-muted);
}

.neo-msg.bot {
  color: var(--copper);
}

.neo-input-zone {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}

.neo-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-t);
  font-size: 0.8rem;
  outline: none;
}

.quick-reply-btn {
  padding: 8px 14px;
  font-size: 0.65rem;
  background: transparent;
  border: 1px solid var(--copper);
  color: var(--copper);
  border-radius: 14px;
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--font-t);
  white-space: nowrap;
  font-weight: 500;
}

.quick-reply-btn:hover {
  background: var(--copper);
  color: #000;
  transform: translateY(-2px);
}

/* STATS SECTION */
.stats-section {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* TYPING INDICATOR */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--copper);
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

/* ============================================================
   LIGHT MODE OVERRIDES FOR HOMEPAGE
   ============================================================ */

[data-theme="light"] .nav-phone {
  border-color: rgba(184, 134, 90, 0.3);
}

[data-theme="light"] .nav-phone:hover {
  background: rgba(184, 134, 90, 0.1);
}

[data-theme="light"] .mega-item:hover {
  background: rgba(184, 134, 90, 0.05);
  border-color: rgba(184, 134, 90, 0.2);
}

[data-theme="light"] .level-badge {
  background: rgba(184, 134, 90, 0.15);
}

[data-theme="light"] .btn-primary {
  box-shadow: 0 10px 30px rgba(184, 134, 90, 0.3);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 15px 40px rgba(184, 134, 90, 0.5);
}

[data-theme="light"] .nav-cta {
  box-shadow: 0 2px 8px rgba(184, 134, 90, 0.3);
}

[data-theme="light"] .nav-cta:hover {
  box-shadow: 0 4px 16px rgba(184, 134, 90, 0.5);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */

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

  .vision-menu {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .mono-wrap {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 300px;
    margin-top: 40px;
  }

  .grid-sys,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .modules-container {
    flex-direction: column;
  }

  .modules-list {
    width: 100%;
  }

  .modules-bg {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-container {
    gap: 20px;
  }

  .nav-actions {
    gap: 12px;
  }

  .nav-phone {
    font-size: 0.6rem;
    padding: 6px 10px;
  }

  .nav-phone span {
    display: none;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 0.6rem;
  }

  .nav-item {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
  }

  .nav-item.has-mega::after {
    content: '→';
    transform: none !important;
  }

  .mega-container {
    padding: 0 20px;
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .mega-col h4 {
    font-size: 0.7rem;
    margin-bottom: 12px;
  }

  .solution-list {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }

  .nav-phone {
    display: none !important;
  }

  .nav-cta {
    padding: 6px 12px;
    font-size: 0.55rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .hero-cta .btn-secondary {
    margin-left: 0;
  }
}


/* End of SECTION 22: INDEX.HTML HOMEPAGE STYLES */

/* End of BATIA.IO Global CSS */

/* Brand & Logo Elements (Placeholder - from missing classes list) */
.brand {
  font-family: var(--font-d);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.logo-img {
  max-height: 40px;
  width: auto;
  display: block;
}

.phone-text {
  font-family: var(--font-t);
  font-size: 0.7rem;
  color: var(--copper);
}


/* ============================================================
   SECTION 23: MOBILE NAVIGATION (SHARED ACROSS ~20 PAGES)
   ============================================================ */

/* Mobile Menu Container */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  backdrop-filter: blur(4px);
}

.mobile-menu.open {
  display: flex;
  animation: slideInMenu 0.3s ease;
}

@keyframes slideInMenu {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Mobile Menu Content */
.mobile-menu-content {
  padding: 20px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Mobile Navigation Links */
.mobile-link {
  display: block;
  padding: 12px 0;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-b);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--copper);
}

/* Mobile CTA Link (Primary) */
.mobile-link.mobile-cta {
  padding: 12px 24px;
  background: var(--copper);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
  cursor: pointer;
}

.mobile-link.mobile-cta:hover {
  color: #000;
  background: var(--copper-glow);
}

/* Mobile Menu Divider */
.mobile-divider {
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}

/* Navigation Brand (Logo/Text) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-d);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Logo Image in Nav */
.nav-logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
}

/* Legacy: Logo Circle Container (fallback) */
.nav-logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 700;
  font-family: var(--font-d);
  font-size: 0.8rem;
}

/* Logo Text */
.nav-logo-text {
  font-family: var(--font-d);
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}

/* Show mobile nav on mobile screens */
@media (max-width: 768px) {
  .mobile-menu {
    display: none;
  }

  .mobile-menu.open {
    display: flex;
  }

  .nav-brand,
  .nav-logo-circle,
  .nav-logo-text {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-menu,
  .mobile-link,
  .mobile-cta,
  .mobile-divider {
    display: none !important;
  }
}


/* ============================================================
   SECTION 24: PRODUCT PAGES (STRUCTURE, DIAGNOSTIC, GEOTECHNIQUE, THERMIQUE)
   ============================================================ */

/* Page Header Inner */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 30px 40px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 20px 30px;
  }
}

/* Doc Nav Inner */
.doc-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* Doc Nav Links */
.doc-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-nav-links a {
  padding: 10px 15px;
  color: var(--text-main);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.doc-nav-links a:hover {
  border-left-color: var(--copper);
  color: var(--copper);
  background: var(--copper-dim);
}

/* CTA Button */
.cta-btn {
  padding: 12px 28px;
  background: var(--copper);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

/* Sidebar Title */
.sidebar-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  display: block;
}

/* Pricing Tier Badges */
.ess,
.pro,
.ult {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ess {
  background: rgba(100, 150, 200, 0.1);
  color: #6496c8;
  border: 1px solid rgba(100, 150, 200, 0.3);
}

.pro {
  background: var(--copper-dim);
  color: var(--copper);
  border: 1px solid rgba(212, 165, 116, 0.3);
}

.ult {
  background: rgba(200, 100, 100, 0.1);
  color: #c86464;
  border: 1px solid rgba(200, 100, 100, 0.3);
}

[data-theme="light"] .ess {
  background: rgba(100, 150, 200, 0.08);
  color: #4875a0;
}

[data-theme="light"] .pro {
  background: rgba(184, 134, 90, 0.08);
  color: #b8865a;
  border: 1px solid rgba(184, 134, 90, 0.2);
}

[data-theme="light"] .ult {
  background: rgba(200, 100, 100, 0.08);
  color: #a04040;
}

/* Primary Pill */
.primary {
  display: inline-block;
  padding: 6px 16px;
  background: var(--copper);
  color: #000;
  border-radius: 20px;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Use Case Cards */
.use-case {
  padding: 30px 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.use-case:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

.use-case h4 {
  color: var(--text-main);
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1rem;
}

.use-case p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Use Case Grid */
.use-case-grid,
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .use-case-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Step Content */
.step-content {
  padding: 20px;
  background: var(--surface);
  border-radius: 8px;
  border-left: 4px solid var(--copper);
  color: var(--text-main);
}

.step-content h4 {
  margin-bottom: 10px;
  color: var(--copper);
  font-weight: 600;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}


/* ============================================================
   SECTION 25: LEGAL PAGES (CGU, CGV, COOKIES, MENTIONS, POLITIQUE)
   ============================================================ */

/* Legal Content Container */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 60px;
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-b);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .legal-content {
    padding: 40px 40px;
  }
}

@media (max-width: 768px) {
  .legal-content {
    padding: 30px 20px;
  }
}

.legal-content h2 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 40px 0 20px 0;
  color: var(--text-main);
}

.legal-content h3 {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 30px 0 15px 0;
  color: var(--text-main);
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.legal-content a {
  color: var(--copper);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-content a:hover {
  color: var(--copper-glow);
  text-decoration: underline;
}

/* Legal Header */
.legal-header {
  text-align: center;
  padding: 40px 60px 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.legal-header h1 {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Info Box */
.info-box {
  padding: 20px 25px;
  background: var(--copper-dim);
  border-left: 4px solid var(--copper);
  border-radius: 8px;
  margin: 20px 0;
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-box strong {
  color: var(--copper);
}

.info-box a {
  color: var(--copper);
  text-decoration: underline;
}

[data-theme="light"] .info-box {
  background: rgba(184, 134, 90, 0.08);
  border-left-color: #b8865a;
}

/* Section Box (for mentions légales) */
.section-box {
  padding: 25px;
  margin: 25px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-box h4 {
  color: var(--copper);
  margin-bottom: 15px;
  font-weight: 600;
}


/* ============================================================
   SECTION 26: CARRIÈRES PAGE
   ============================================================ */

/* Jobs Section */
.jobs,
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .jobs,
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* Job Card */
.job-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Job Header */
.job-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

/* Job Title */
.job-title {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* Job Meta (location, type, level) */
.job-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Job Description */
.job-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Job Tags */
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.job-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Job Skills */
.job-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.job-skills span {
  padding: 4px 10px;
  background: var(--surface-2);
  color: var(--text-muted);
  border-radius: 6px;
  font-size: 0.8rem;
}

/* Subtitle for jobs section */
.jobs-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Apply Section */
.apply-section {
  margin: 60px 0;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.apply-section h2 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.apply-section > p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Button Apply */
.btn-apply {
  padding: 12px 28px;
  background: var(--copper);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}


/* ============================================================
   SECTION 27: FORMS (SHARED ACROSS MULTIPLE PAGES)
   ============================================================ */

/* Form Wrapper */
.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

/* Form Group */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Form Label */
.form-label {
  font-family: var(--font-b);
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.9rem;
}

.required {
  color: #d97706;
  font-weight: 700;
}

/* Form Input */
.form-input {
  padding: 12px 15px;
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--copper-dim);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

[data-theme="light"] .form-input {
  background: #ffffff;
  border-color: rgba(26, 26, 26, 0.1);
}

[data-theme="light"] .form-input:focus {
  border-color: #b8865a;
  background: rgba(184, 134, 90, 0.05);
}

/* Form Select */
.form-select {
  padding: 12px 15px;
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4a574' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.form-select:focus {
  outline: none;
  border-color: var(--copper);
  background-color: var(--copper-dim);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

[data-theme="light"] .form-select {
  background-color: #ffffff;
  border-color: rgba(26, 26, 26, 0.1);
}

[data-theme="light"] .form-select:focus {
  border-color: #b8865a;
  background-color: rgba(184, 134, 90, 0.05);
}

/* Form Textarea */
.form-textarea {
  padding: 12px 15px;
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  min-height: 120px;
  resize: vertical;
  transition: all 0.3s;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--copper-dim);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

[data-theme="light"] .form-textarea {
  background: #ffffff;
  border-color: rgba(26, 26, 26, 0.1);
}

[data-theme="light"] .form-textarea:focus {
  border-color: #b8865a;
  background: rgba(184, 134, 90, 0.05);
}

/* Form File Upload */
.form-file {
  padding: 30px;
  background: var(--surface);
  border: 2px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-file:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
  color: var(--copper);
}

.form-file input {
  display: none;
}

/* Form Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--copper);
  cursor: pointer;
}

.form-checkbox label {
  cursor: pointer;
  flex: 1;
  line-height: 1.5;
}

.form-checkbox a {
  color: var(--copper);
  text-decoration: none;
}

.form-checkbox a:hover {
  text-decoration: underline;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--copper);
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-group label {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--copper);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

/* Form Submit Button */
.btn-submit {
  padding: 14px 40px;
  background: var(--copper);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 20px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Form Card */
.form-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.form-card h3 {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 25px;
}


/* ============================================================
   SECTION 28: CONTACT PAGE
   ============================================================ */

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 60px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    padding: 0 40px;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    padding: 0 20px;
  }
}

/* Contact Card */
.contact-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-card h3 {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact Item */
.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

/* Contact Icon */
.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-info strong {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.contact-info span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Hero Contact */
.hero-contact {
  padding: 80px 60px;
  background: var(--gradient-hero);
  text-align: center;
}

@media (max-width: 1024px) {
  .hero-contact {
    padding: 60px 40px;
  }
}

@media (max-width: 768px) {
  .hero-contact {
    padding: 40px 20px;
  }
}

.hero-contact h1 {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
  color: var(--text-main);
}

.hero-contact p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}


/* ============================================================
   SECTION 29: CENTER PAGE (PRODUCT EDITIONS)
   ============================================================ */

/* Hero Product */
.hero-product {
  padding: 80px 60px;
  background: var(--gradient-hero);
}

@media (max-width: 768px) {
  .hero-product {
    padding: 40px 20px;
  }
}

/* Editions Grid */
.editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

@media (max-width: 768px) {
  .editions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Edition Header */
.edition-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

/* Edition Name */
.edition-name {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Edition Tagline */
.edition-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Edition Price */
.edition-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--copper);
  font-family: var(--font-d);
}

/* Edition Period */
.edition-period {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 5px;
}

/* Edition CTA */
.edition-cta {
  padding: 12px 24px;
  background: var(--copper);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.edition-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

/* Edition Features */
.edition-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.edition-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.edition-features li::before {
  content: '✓';
  color: var(--copper);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

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

/* Feature Card */
.feature-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Feature Icon */
.feature-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Feature List (for comparison) */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  background: var(--surface-2);
  color: var(--text-main);
  font-weight: 600;
  font-family: var(--font-d);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  color: var(--text-muted);
}

.comparison-table .check::before {
  content: '✓';
  color: var(--copper);
  font-weight: 700;
  font-size: 1.2rem;
}


/* ============================================================
   SECTION 30: ENGINEERING PAGE
   ============================================================ */

/* Module Grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

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

/* Module Card */
.module-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.module-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Module Header */
.module-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.module-header > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

/* Module Title */
.module-title {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Module Badge */
.module-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 12px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Module Description */
.module-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Module Features */
.module-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Feature Tag */
.feature-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 20px;
  font-family: var(--font-t);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.feature-tag:hover {
  background: var(--copper);
  color: #000;
}

/* CTA Section */
.cta-section {
  padding: 50px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
  text-align: center;
  margin: 60px 0;
}

@media (max-width: 768px) {
  .cta-section {
    padding: 30px 20px;
  }
}

.cta-section h2 {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Modules Subtitle */
.modules-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Tech Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

/* Tech Item */
.tech-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.tech-item:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

.tech-item h4 {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 5px;
}

.tech-item p {
  color: var(--text-muted);
  font-size: 0.8rem;
}


/* ============================================================
   SECTION 31: REGISTER & AUTH PAGES
   ============================================================ */

/* Password Wrapper */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper .form-input {
  flex: 1;
  padding-right: 40px;
}

/* Password Toggle Button */
.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: var(--copper);
}

/* Password Strength Bars */
.password-strength {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

/* Strength Bar */
.strength-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  transition: all 0.3s;
}

.strength-bar.weak {
  background: #d97706;
}

.strength-bar.fair {
  background: #eab308;
}

.strength-bar.good {
  background: #10b981;
}

.strength-bar.strong {
  background: #06b6d4;
}

/* Strength Text */
.strength-text {
  font-size: 0.8rem;
  margin-top: 6px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.strength-text.weak {
  color: #d97706;
}

.strength-text.fair {
  color: #eab308;
}

.strength-text.good {
  color: #10b981;
}

.strength-text.strong {
  color: #06b6d4;
}

/* Trial Badge */
.trial-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 20px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}


/* ============================================================
   SECTION 32: FORGOT PASSWORD PAGE
   ============================================================ */

/* Icon */
.icon {
  display: inline-block;
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Email Highlight */
.email-highlight {
  padding: 12px 18px;
  background: var(--copper-dim);
  border-left: 3px solid var(--copper);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-t);
  font-weight: 600;
  margin: 20px 0;
  word-break: break-all;
}

/* Success State */
.success-state {
  text-align: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.success-state h2 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 700;
  color: #10b981;
  margin: 20px 0;
}

.success-state p {
  color: var(--text-muted);
  line-height: 1.6;
}


/* ============================================================
   SECTION 33: TARIFS PAGE
   ============================================================ */

/* Hero Pricing */
.hero-pricing {
  padding: 80px 60px;
  background: var(--gradient-hero);
  text-align: center;
}

@media (max-width: 768px) {
  .hero-pricing {
    padding: 40px 20px;
  }
}

.hero-pricing h1 {
  font-family: var(--font-d);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-pricing p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Price Card */
.price-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: all 0.3s;
}

.price-card:hover {
  border-color: var(--copper);
  transform: translateY(-5px);
}

.price-card.featured {
  border: 2px solid var(--copper);
  background: var(--copper-dim);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .price-card.featured {
    transform: scale(1);
  }
}

.price-card h3 {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.price-card h3 sup {
  font-size: 0.6em;
  vertical-align: super;
}

/* Price Value */
.price-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 3rem;
  font-weight: 700;
  color: var(--copper);
  font-family: var(--font-d);
}

.price-value small {
  font-size: 1.2rem;
  font-weight: 400;
}

/* Price Unit */
.price-unit {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* CTA Buttons (group) */
.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }
}

/* CTA Button */
.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  flex: 1;
  min-width: 100px;
}

/* Eco Section */
.eco-section {
  margin: 60px 0;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.eco-section h2 {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-main);
}

/* Eco Grid */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

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

/* Eco Card */
.eco-card {
  padding: 25px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.eco-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Eco Icon */
.eco-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.eco-card h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.eco-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Comparison Section */
.comparison-section {
  margin: 60px 0;
  padding: 40px;
  background: var(--surface);
  border-radius: 12px;
}

.comparison-section h2 {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-main);
}


/* ============================================================
   SECTION 34: INVESTISSEURS PAGE
   ============================================================ */

/* IR Hero */
.ir-hero {
  padding: 80px 60px;
  background: var(--gradient-hero);
}

@media (max-width: 768px) {
  .ir-hero {
    padding: 40px 20px;
  }
}

.ir-hero h1 {
  font-family: var(--font-d);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}

.ir-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* IR Badge */
.ir-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 20px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* IR Contact CTA */
.ir-contact-cta {
  padding: 12px 28px;
  background: var(--copper);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 20px;
}

.ir-contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

/* Metric Card */
.metric-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.metric-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Metric Value */
.metric-value {
  font-family: var(--font-d);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 8px;
}

/* Metric Label */
.metric-label {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* Metric Sublabel */
.metric-sublabel {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Timeline Components */
.roadmap-timeline {
  position: relative;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }
}

/* Timeline Item */
.timeline-item {
  padding: 30px;
  margin-bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s;
}

.timeline-item:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Timeline Dot */
.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--copper);
  border: 3px solid var(--bg);
  border-radius: 50%;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-dot {
    left: 30px;
  }
}

/* Timeline Phase */
.timeline-phase {
  display: inline-block;
  padding: 4px 12px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 12px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

/* Timeline Title */
.timeline-title {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 10px 0 15px 0;
}

/* Timeline Description */
.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Timeline KPIs */
.timeline-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* Timeline KPI */
.timeline-kpi {
  padding: 12px;
  background: var(--surface-2);
  border-radius: 6px;
  text-align: center;
  font-size: 0.85rem;
}

.timeline-kpi strong {
  display: block;
  font-size: 1.3rem;
  color: var(--copper);
  margin-bottom: 4px;
  font-family: var(--font-d);
}

/* Market Grid */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

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

/* Market Card */
.market-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.market-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Market Icon */
.market-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

/* Market Title */
.market-title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* Market Description */
.market-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

/* Team Member */
.team-member {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.team-member:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Member Avatar */
.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--copper-glow);
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Team Name */
.team-name,
.member-name {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* Team Role */
.team-role,
.member-role {
  font-size: 0.85rem;
  color: var(--copper);
  margin-bottom: 10px;
}

/* Member Bio */
.member-bio {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Contact Box */
.contact-box {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 25px 0;
}

.contact-box h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 15px;
}

/* Contact Item (for investisseurs) */
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

/* Contact Label */
.contact-label {
  font-weight: 600;
  color: var(--text-main);
  min-width: 100px;
}

/* Contact Value */
.contact-value {
  color: var(--copper);
  text-decoration: none;
}

.contact-value:hover {
  text-decoration: underline;
}

/* Contact Title */
.contact-title {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* Contact Description */
.contact-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Chart Bars */
.chart-bars {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  align-items: flex-end;
  height: 250px;
}

/* Bar Wrapper */
.bar-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Bar */
.bar {
  width: 100%;
  background: var(--copper);
  border-radius: 4px 4px 0 0;
  transition: all 0.3s;
  cursor: pointer;
  min-height: 10px;
}

.bar:hover {
  background: var(--copper-glow);
  filter: brightness(1.2);
}

/* Bar Value */
.bar-value {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--copper);
  text-align: center;
}

/* Bar Label */
.bar-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}


/* ============================================================
   SECTION 35: NEOGEN PAGE
   ============================================================ */

/* Hero Neogen */
.hero-neogen {
  padding: 80px 60px;
  background: var(--gradient-hero);
}

@media (max-width: 768px) {
  .hero-neogen {
    padding: 40px 20px;
  }
}

.hero-neogen h1 {
  font-family: var(--font-d);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}

/* Hero Badge (for neogen) */
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 20px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Glow */
.hero-glow {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Neogen Title */
.neogen-title {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Neogen Subtitle */
.neogen-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Neogen CTA */
.neogen-cta {
  padding: 12px 28px;
  background: var(--copper);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 15px;
}

.neogen-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

/* Neogen Badge */
.neogen-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 12px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Axes Container */
.axes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0;
}

/* Axes Subtitle */
.axes-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Axe Item */
.axe-item {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
}

.axe-item:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Axe Number */
.axe-number {
  display: inline-block;
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 15px;
}

/* Axe Content */
.axe-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.axe-content h3 {
  font-family: var(--font-d);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* Axe Tags */
.axe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

/* Axe Tag */
.axe-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 20px;
  font-family: var(--font-t);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Ethics Grid */
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

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

/* Ethics Card */
.ethics-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
}

.ethics-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Ethics Icon */
.ethics-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.ethics-card h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.ethics-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ethics-card li {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.ethics-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--copper);
  font-weight: 700;
}

/* Ethics Container */
.ethics {
  margin: 60px 0;
}

/* Mission Grid */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

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

/* Mission Card */
.mission-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
  text-align: center;
}

.mission-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Mission */
.mission {
  font-size: 2rem;
  margin-bottom: 15px;
}

.mission-card h4 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Specs */
.specs {
  margin: 40px 0;
}

/* Specs Item */
.specs-item {
  padding: 15px;
  background: var(--surface);
  border-left: 3px solid var(--copper);
  border-radius: 4px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Specs Label */
.specs-label {
  font-weight: 600;
  color: var(--text-main);
}

/* Specs Value */
.specs-value {
  color: var(--copper);
  font-family: var(--font-t);
  font-weight: 600;
}


/* ============================================================
   SECTION 36: PARTENAIRES PAGE
   ============================================================ */

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

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

/* Benefit Card */
.benefit-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
  text-align: center;
}

.benefit-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Benefit Icon */
.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.benefit-card h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Profile Card */
.profile-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.profile-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Profile Icon */
.profile-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--copper-glow);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.profile-card h4 {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

.profile-card p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Profiles Grid */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

/* Missions Grid */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

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

/* Mission Card (alternate) */
.mission-card {
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
}

.mission-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Mission Icon */
.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.mission-card h3 {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}


/* ============================================================
   SECTION 37: SOLUTIONS PAGES
   ============================================================ */

/* Module Card (shared in solutions) */
.module-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s;
}

.module-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

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

/* Warning Box */
.warning-box {
  padding: 20px 25px;
  background: rgba(217, 119, 6, 0.1);
  border-left: 4px solid #d97706;
  border-radius: 8px;
  margin: 20px 0;
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.6;
}

.warning-box strong {
  color: #d97706;
}

[data-theme="light"] .warning-box {
  background: rgba(217, 119, 6, 0.08);
}

/* Workflow Number */
.workflow-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--copper);
  color: #000;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}


/* ============================================================
   SECTION 38: GEOTECHNIQUE PAGE
   ============================================================ */

/* Foundations Grid */
.foundations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

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

/* Foundation Type */
.foundation-type {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.foundation-type:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

.foundation-type h4 {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.foundation-type p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Missions Table */
.missions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.missions-table th,
.missions-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.missions-table th {
  background: var(--surface-2);
  color: var(--text-main);
  font-weight: 600;
  font-family: var(--font-d);
}

.missions-table tr:last-child td {
  border-bottom: none;
}

.missions-table td {
  color: var(--text-muted);
}


/* ============================================================
   SECTION 39: THERMIQUE PAGE
   ============================================================ */

/* Indicators Grid */
.indicators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

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

/* Indicator Card */
.indicator-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.3s;
}

.indicator-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

.indicator-card h4 {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.indicator-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Icon (shared) */
.icon {
  display: inline-block;
  font-size: 2rem;
}

.indicator-card .icon {
  margin-bottom: 10px;
  display: block;
}


/* ============================================================
   SECTION 40: RESPONSIVE & UTILITY FIXES
   ============================================================ */

@media (max-width: 768px) {
  /* Ensure forms stack on mobile */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Pricing cards should not scale on mobile */
  .price-card.featured {
    transform: scale(1);
  }

  /* Teams should be 2 cols on mobile */
  .team-grid,
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Mobile text sizing */
  .hero-pricing h1,
  .hero-contact h1,
  .ir-hero h1,
  .hero-neogen h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  /* Single column for everything on small mobile */
  .team-grid,
  .profiles-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  /* Remove padding on very small screens */
  .legal-content,
  .header-inner,
  .form-wrapper,
  .apply-section {
    padding: 20px 15px;
  }

  /* Smaller heading on mobile */
  body {
    font-size: 14px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* iOS prevents zoom */
  }
}

/* End of SECTION 40: RESPONSIVE & UTILITY FIXES */



/* ============================================================
   SECTION 41: FINAL MISSING CLASSES
   ============================================================ */

/* Skill Tag (variant of job-tag) */
.skill-tag {
  display: inline-block;
  padding: 5px 12px;
  background: var(--copper-dim);
  color: var(--copper);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* Button Edition */
.btn-edition {
  padding: 12px 28px;
  background: var(--copper);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-edition:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3);
}

/* Points Section */
.points-section {
  margin: 60px 0;
}

/* Points Grid */
.points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .points-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

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

/* Point Card */
.point-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

.point-card:hover {
  border-color: var(--copper);
  background: var(--copper-dim);
}

/* Point Value */
.point-value {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--copper);
  margin-bottom: 8px;
}

/* Point Label */
.point-label {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

/* Point Description */
.point-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Price Cell (table variant) */
.price-cell {
  padding: 15px;
  text-align: center;
  color: var(--text-main);
  font-weight: 500;
}

/* Section Subtitle (for investisseurs) */
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 30px;
  text-align: center;
}

/* Trajectory (for investisseurs financial charts) */
.trajectory {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0;
}

/* Timeline Subtitle (for neogen) */
.timeline-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-align: center;
}

/* End of SECTION 41 */
