/* Variables CSS (style rouge et noir comme l'application) */
:root {
  --bg-primary: #000000;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --surface: #1e1e1e;
  --accent: #ff4444;
  --accent-hover: #cc0000;
  --accent-light: #ff6666;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --border: #333333;
  --shadow: rgba(255, 68, 68, 0.2);
  --gradient: linear-gradient(135deg, var(--accent) 0%, #cc0000 100%);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.98);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Bouton hamburger (caché par défaut) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  z-index: 1100;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-light);
}

.nav-toggle:hover span {
  background: var(--accent-light);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

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

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
}

.version {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--surface);
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: radial-gradient(circle at 20% 50%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 68, 68, 0.05) 0%, transparent 50%);
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 2rem;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-visual {
  flex: 1;
  min-width: 0;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-sub {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gradient);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}

/* Editor Preview */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.editor-preview {
  width: 100%;
  max-width: 800px;
  height: auto;
  background: var(--surface);
  border-radius: 16px;
  border: 2px solid var(--border);
  overflow: visible;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
  transform: perspective(1000px) rotateY(-3deg);
  transition: all 0.4s ease;
  position: relative;
  padding: 0;
}

.editor-preview:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 30px 80px rgba(255, 68, 68, 0.2);
}

.interface-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.3s ease;
  object-fit: contain;
  max-height: 500px;
  background: transparent;
}

/* Style de secours si l'image ne charge pas */
.interface-screenshot[src=""], .interface-screenshot:not([src]) {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-tertiary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.interface-screenshot::before {
  content: "Anartech Interface";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.interface-screenshot[src=""]::before,
.interface-screenshot:not([src])::before {
  opacity: 1;
}

.editor-preview:hover .interface-screenshot {
  transform: scale(1.01);
}

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(255, 68, 68, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: var(--bg-primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Download Section */
.download {
  padding: 6rem 0;
}

.download-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

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

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

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
  background: var(--bg-secondary);
}

.download-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.download-btn .fa-download {
  transition: all 0.3s ease;
  color: var(--accent);
}

.download-btn:hover .fa-download {
  transform: scale(1.1);
  color: var(--accent-light);
}

/* Download Animation */
.download-btn.downloading {
  pointer-events: none;
  background: var(--bg-secondary);
  border-color: var(--accent);
}

.download-btn.downloading .fa-download {
  animation: downloadPulse 1.5s ease-in-out infinite;
  color: var(--accent);
}

@keyframes downloadPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

/* Progress bar animation */
.download-btn.downloading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  animation: progressAnimation 2s ease-in-out infinite;
}

@keyframes progressAnimation {
  0% {
    width: 0%;
    left: 0%;
  }
  50% {
    width: 60%;
    left: 0%;
  }
  100% {
    width: 0%;
    left: 100%;
  }
}

/* Success animation */
.download-btn.success {
  background: var(--bg-secondary);
  border-color: #28a745;
  animation: successPulse 0.6s ease;
}

.download-btn.success .fa-download {
  color: #28a745;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.download-btn.success .fa-download::before {
  content: '\f00c'; /* Checkmark icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

/* System logos optimization */
.download-btn .fab {
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.download-btn .fab.fa-windows {
  color: #0078d4;
}

.download-btn .fab.fa-linux {
  color: #fcc624;
}

.download-btn:hover .fab.fa-windows {
  opacity: 1;
  transform: scale(1.05);
}

.download-btn:hover .fab.fa-linux {
  opacity: 1;
  transform: scale(1.05);
}

.download-btn.downloading .fab {
  animation: logoPulse 2s ease-in-out infinite;
  opacity: 1;
}

@keyframes logoPulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.download-info {
  flex: 1;
}

.platform {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.size {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.download-btn i:last-child {
  color: var(--text-secondary);
}

.download-requirements {
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.download-requirements h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

.download-requirements ul {
  list-style: none;
}

.download-requirements li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.download-requirements li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.5rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-motto {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 2rem;
}

.about-links {
  display: flex;
  gap: 2rem;
}

.about-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.about-link:hover {
  color: var(--accent);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* Responsive Design — premier bloc supprimé (dupliqué ci-dessous) */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card {
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Support links styling */
.docs-section ul li a {
    color: #ff4444 !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    font-size: 1.1em !important;
}

.docs-section ul li a:hover {
    color: #ff6666 !important;
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        /* réduit sur mobile mais pas caché */
        max-width: 320px;
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .docs-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .docs-title {
        font-size: 2rem;
    }
    
    .docs-nav {
        position: static;
        margin-bottom: 1rem;
    }
    
    .docs-section {
        padding: 1rem;
    }
    
    .docs-section h2 {
        font-size: 1.5rem;
    }
}

/* =============================
   RESPONSIVE MOBILE CORRIGÉ
   ============================= */
@media (max-width: 768px) {

    /* --- Navigation mobile --- */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        flex-wrap: nowrap;
    }

    /* Afficher le bouton hamburger */
    .nav-toggle {
        display: flex;
    }

    /* Menu mobile : superposé en pleine largeur */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 1050;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.4rem;
        padding: 0.5rem 1rem;
    }

    .lang-toggle {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* --- Hero section mobile --- */
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 0;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
        flex: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-title .title-sub {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 1rem;
        justify-content: center;
    }

    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 340px;
    }

    .editor-preview {
        transform: none;
        margin: 0;
    }

    .interface-screenshot {
        border-radius: 1rem;
    }

    /* --- Features mobile --- */
    .features {
        padding: 3rem 0;
    }

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

    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .feature-title {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .feature-description {
        font-size: 0.9rem;
    }

    /* --- Download section mobile --- */
    .download {
        padding: 3rem 0;
    }

    .download-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .download-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto 3rem;
    }

    .download-btn {
        width: 100%;
        padding: 1rem 1.25rem;
        justify-content: space-between;
    }

    .download-info {
        flex: 1;
        text-align: left;
    }

    .platform {
        font-size: 1rem;
        font-weight: 600;
    }

    .size {
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }

    .download-btn i:last-child {
        font-size: 1.2rem;
    }

    /* --- About section mobile --- */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-links {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1rem;
    }

    /* --- Footer mobile --- */
    .footer {
        padding: 2rem 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 2rem;
        font-size: 0.875rem;
    }
}

/* Mobile très petit (smartphones) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .title-sub {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
    
    .download-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .platform {
        font-size: 0.95rem;
    }
    
    .size {
        font-size: 0.8rem;
    }
}

/* Optimisations tactiles mobiles */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .download-btn,
    .nav-link,
    .lang-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    .download-btn:hover,
    .btn:hover {
        transform: none;
    }
    
    .download-btn:active,
    .btn:active {
        transform: scale(0.95);
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .feature-card:active {
        transform: scale(0.98);
    }
}

/* Mode paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem;
        min-height: 100vh;
    }
    
    .hero-container {
        flex-direction: row;
        gap: 2rem;
    }
    
    .hero-content {
        flex: 1;
    }
    
    .hero-visual {
        flex: 1;
        max-width: 400px;
    }
    
    .editor-preview {
        transform: scale(0.7);
    }
}

/* iPad et tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .download-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto 3rem;
    }
    
    .download-btn {
        width: 100%;
    }

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

/* Animations mobile optimisées */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-visual {
        animation: none;
    }
    
    .feature-card {
        animation: none;
    }
}

/* Accessibilité mobile */
@media (max-width: 768px) {
    .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;
    }
    
    /* Focus visible pour navigation clavier mobile */
    .btn:focus-visible,
    .download-btn:focus-visible,
    .nav-link:focus-visible,
    .lang-toggle:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }
}

.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }
