:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-focus: #38bdf8;
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  --accent-glow: rgba(56, 189, 248, 0.25);
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients */
.bg-glow-1 {
  position: fixed;
  top: -150px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(11, 15, 25, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: fixed;
  bottom: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(11, 15, 25, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Badges */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.1);
  color: var(--border-focus);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 1rem;
}

.badge-pop {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  padding: 0.85rem 0;
}

.header .container {
  max-width: 1440px;
  padding: 0 2rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.logo-img {
  height: 42px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0 auto;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: 0;
}

/* ==========================================================================
   Language Selector Dropdown (Menu déroulant / défilant)
   ========================================================================== */
.lang-selector-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  user-select: none;
}

.lang-dropdown-btn:hover,
.lang-selector-dropdown.open .lang-dropdown-btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-btn-code {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.lang-btn-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  opacity: 0.75;
}

.lang-selector-dropdown.open .lang-btn-arrow {
  transform: rotate(180deg);
}

.lang-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  max-height: 220px;
  overflow-y: auto;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  list-style: none !important;
  padding: 5px;
  margin: 0;
  z-index: 1000;
  overscroll-behavior: contain;
}

/* Menu défilant - barre de défilement personnalisée */
.lang-dropdown-list::-webkit-scrollbar {
  width: 5px;
}
.lang-dropdown-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.lang-dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
.lang-dropdown-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}
.lang-dropdown-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.03);
}

.lang-selector-dropdown.open .lang-dropdown-list {
  display: block;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cbd5e1;
  border-radius: calc(var(--radius-sm) - 2px);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
  list-style: none !important;
}

.lang-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.lang-dropdown-item.active {
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
  font-weight: 600;
}

.lang-item-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-item-name {
  flex: 1;
  white-space: nowrap;
}

.lang-check {
  font-size: 0.8rem;
  color: #818cf8;
  display: none;
  margin-left: auto;
  font-weight: 700;
}

.lang-dropdown-item.active .lang-check {
  display: inline-block;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-mac-locked {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-muted) !important;
  border: 1px dashed rgba(255, 255, 255, 0.2) !important;
  cursor: pointer;
  opacity: 0.65;
  filter: grayscale(80%);
  transition: var(--transition);
}

.btn-mac-locked:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--text-secondary) !important;
  border-color: var(--border-focus) !important;
  opacity: 0.95;
  filter: grayscale(20%);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.42rem 0.8rem;
  font-size: 0.84rem;
  white-space: nowrap;
}

/* Notification Banner */
.notification-banner {
  display: none;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.notification-banner.success {
  display: block;
  background: rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid var(--success);
  color: #34d399;
}

.notification-banner.cancel {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  border-bottom: 1px solid var(--danger);
  color: #f87171;
}

/* Hero Section */
.hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h3,
.stat-item .stat-val {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Features */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--border-focus);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--border-focus);
  background: rgba(17, 24, 39, 0.9);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.15);
}

.price-header {
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.25rem 0;
}

.price-val {
  font-size: 2.8rem;
  font-weight: 800;
}

.price-period {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.price-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.price-features li span.check {
  color: var(--success);
  font-weight: bold;
}

/* Slider in Ultra card */
.slider-container {
  margin: 1.25rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tech-slider {
  width: 100%;
  accent-color: var(--border-focus);
  cursor: pointer;
}

.slider-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Billing Cycle Switcher */
.billing-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2.5rem;
}

.billing-toggle-wrapper {
  display: inline-flex;
  max-width: 100%;
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.billing-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.6rem;
  transition: var(--transition);
}

.billing-toggle-btn:hover {
  color: var(--text-primary);
}

.billing-toggle-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.35);
}

.billing-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.billing-toggle-btn.active .billing-badge {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

@media (max-width: 640px) {
  .billing-toggle-wrapper {
    width: min(100%, 24rem);
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .billing-toggle-btn {
    border-radius: var(--radius-md);
  }
}

.price-savings {
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 1.25rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.price-savings.highlight {
  color: #34d399;
  font-weight: 600;
}

.highlight-feature {
  background: rgba(56, 189, 248, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem;
  border: 1px dashed rgba(56, 189, 248, 0.3);
}
/* Downloads Section */
.downloads-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.download-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-card h3 {
  font-size: 1.2rem;
}

.download-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.download-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* License Checker Section */
.checker-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.checker-form {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.input-text {
  flex-grow: 1;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.input-text:focus {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.08);
}

.checker-result {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: left;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.checker-result.active {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.checker-result.expired {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  color: var(--border-focus);
}

.faq-icon {
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Modal Checkout */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-primary);
}

.order-summary-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.order-summary-row.total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.payment-option {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.payment-option input {
  display: none;
}

.payment-option.selected {
  border-color: var(--border-focus);
  background: rgba(56, 189, 248, 0.1);
  color: #fff;
}

.payment-option.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.2);
}

.bank-info-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.4rem 0;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
}

.copy-btn:hover {
  background: var(--border-focus);
  color: #000;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.mobile-only {
  display: none !important;
}

/* Responsive */
@media (max-width: 1180px) {
  .logo-group {
    margin-right: 1.6rem;
  }
  .nav-menu {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .nav-actions {
    gap: 0.45rem;
  }
  .btn-sm {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1040px) {
  .header .container {
    padding: 0 1.5rem;
  }

  .nav-container {
    justify-content: space-between;
    width: 100%;
  }

  .logo-group {
    margin-right: 0;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.35rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
  }

  .mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-focus);
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.3s ease;
  }

  .nav-menu.open {
    display: flex;
    max-height: 480px;
    opacity: 1;
    pointer-events: auto;
    padding: 1rem 1.5rem 1.5rem;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
  }

  .nav-link:hover {
    color: var(--border-focus);
    transform: translateX(4px);
  }

  .mobile-only {
    display: block !important;
  }

  .nav-actions .btn-secondary {
    display: none !important;
  }

  .checker-form {
    flex-direction: column;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .download-cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
  .header .container {
    padding: 0 1.25rem;
  }
  .logo-group {
    font-size: 1.22rem;
    gap: 0.6rem;
  }
  .logo-img {
    height: 38px;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn-sm {
    padding: 0.38rem 0.65rem;
    font-size: 0.82rem;
  }
  .lang-selector-dropdown .lang-dropdown-btn {
    padding: 0.42rem 0.7rem;
    font-size: 0.84rem;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-actions .btn-primary {
    display: none !important;
  }
  .header {
    padding: 0.75rem 0;
  }
  .header .container {
    padding: 0 1.25rem;
  }
  .logo-group {
    font-size: 1.18rem;
    gap: 0.55rem;
  }
  .logo-img {
    height: 36px;
  }
  .lang-selector-dropdown .lang-dropdown-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
    gap: 0.4rem;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .header .container {
    padding: 0 1rem;
  }
  .logo-group {
    font-size: 1.12rem;
    gap: 0.5rem;
  }
  .logo-img {
    height: 32px;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  .lang-selector-dropdown .lang-dropdown-btn {
    padding: 0.38rem 0.55rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }
  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 0.85rem;
  }
  .header .container {
    padding: 0 0.85rem;
  }
  .logo-group {
    font-size: 1.02rem;
    gap: 0.4rem;
  }
  .logo-img {
    height: 28px;
  }
  .lang-selector-dropdown .lang-dropdown-btn {
    padding: 0.35rem 0.45rem;
    font-size: 0.76rem;
  }
  .mobile-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
}

/* Legal & Prose Pages */
.legal-wrapper {
  padding: 3.5rem 0 5rem;
}

.legal-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.legal-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.legal-header h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-body h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.85rem;
  color: var(--border-focus);
}

.legal-body h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-body p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-body ul, .legal-body ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--text-secondary);
}

.legal-body li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.legal-body strong {
  color: var(--text-primary);
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

/* Keep legal tables readable without widening the page on small screens. */
.legal-body {
  overflow-wrap: anywhere;
}

.legal-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.legal-table-scroll table {
  min-width: 640px;
  table-layout: fixed;
  margin: 0;
}

.legal-table-scroll:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .legal-card { padding: 1.25rem; }
  .legal-header h1 { font-size: 1.8rem; }
}

.legal-body th, .legal-body td {
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.92rem;
}

.legal-body th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.legal-body td {
  color: var(--text-secondary);
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--border-focus);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.back-home-btn:hover {
  transform: translateX(-4px);
  color: #fff;
}
/* Garanties légales : encadré lisible à l'écran et à l'impression. */
.legal-guarantee { border: 2px solid currentColor; padding: 1.25rem; margin: 1.5rem 0; border-radius: 6px; }
[data-legal-email] a { overflow-wrap: anywhere; }
@media print { .legal-guarantee { border-color: #000; color: #000; } }

/* Fleet / Management Console Showcase */
.fleet-section {
  padding: 5rem 0;
  position: relative;
}
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
}
.fleet-features-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.fleet-feature-card {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}
.fleet-feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}
.fleet-feat-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.fleet-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.fleet-feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mockup Window */
.fleet-mockup-col {
  width: 100%;
}
.fleet-mockup-window {
  background: #0d1322;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 30px rgba(56, 189, 248, 0.08);
  overflow: hidden;
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }
.mockup-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
}
.mockup-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 9999px;
}
.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mockup-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
  flex: 1;
}
.mockup-btn-new {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
}
.mockup-device-list {
  display: flex;
  flex-direction: column;
}
.mockup-device-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}
.mockup-device-item:last-child {
  border-bottom: none;
}
.mockup-device-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.mockup-device-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.mockup-device-info {
  flex: 1;
  min-width: 0;
}
.mockup-device-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.mockup-device-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f1f5f9;
  font-family: monospace;
}
.mockup-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
}
.mockup-status-tag.tag-online {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.mockup-status-tag.tag-offline {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.dot-gray {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}
.mockup-device-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mockup-connect-btn {
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.mockup-connect-btn:hover:not(.disabled) {
  background: #38bdf8;
  color: #0b0f19;
}
.mockup-connect-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.1);
  color: #64748b;
  background: transparent;
}
.mockup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
}
.mockup-footer-count {
  color: #94a3b8;
}
.mockup-footer-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.mockup-footer-link:hover {
  color: #7dd3fc;
}

@media (max-width: 900px) {
  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
