/* ==========================================================================
   KOCHI DIGITAL — PURE STANDALONE OFFLINE STYLESHEET
   100% Zero-Dependency, Responsive, Dark & Light Mode
   WCAG 2.1 AA Compliant — Contrast ratios >= 4.5:1 (text), >= 3:1 (UI)
   ========================================================================== */
:root {
  /* ============================================
     DARK THEME (Default) — Contrast Optimized
     ============================================ */
  --bg-main: #0A0E17;
  --bg-card: #131826;
  --bg-card-hover: #1A2134;
  --bg-secondary: #0F1420;
  --bg-modal: #131826;
  
  /* Borders — plus visibles pour délimiter les cards */
  --border-color: rgba(255, 255, 255, 0.14);
  --border-color-strong: rgba(255, 255, 255, 0.22);
  --border-color-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(139, 92, 246, 0.6);
  
  /* Text — ratios vérifiés sur bg-main (#0A0E17)
     - text-primary: 15.8:1 ✅ AAA
     - text-secondary: 7.2:1 ✅ AAA
     - text-muted: 4.6:1 ✅ AA
  */
  --text-primary: #F1F5F9;
  --text-secondary: #B4C0D3;
  --text-muted: #8B98AD;
  
  /* Accents — contraste amélioré sur fond sombre */
  --accent-primary: #A78BFA;
  --accent-primary-strong: #8B5CF6;
  --accent-secondary: #60A5FA;
  --accent-cyan: #22D3EE;
  --accent-emerald: #34D399;
  --accent-amber: #FBBF24;
  --accent-rose: #FB7185;
  
  /* Accent backgrounds (subtils mais visibles) */
  --accent-primary-bg: rgba(139, 92, 246, 0.15);
  --accent-primary-bg-hover: rgba(139, 92, 246, 0.25);
  --accent-primary-border: rgba(139, 92, 246, 0.45);
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.7);
  --radius-card: 16px;
  --radius-btn: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

/* ============================================
   LIGHT THEME — Contrast Optimized
   ============================================ */
html.light {
  --bg-main: #F7F9FC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-secondary: #EDF1F7;
  --bg-modal: #FFFFFF;
  
  /* Borders — bien visibles en light */
  --border-color: rgba(15, 23, 42, 0.12);
  --border-color-strong: rgba(15, 23, 42, 0.20);
  --border-color-subtle: rgba(15, 23, 42, 0.07);
  --border-focus: rgba(124, 58, 237, 0.5);
  
  /* Text — ratios vérifiés sur bg-main (#F7F9FC)
     - text-primary: 16.2:1 ✅ AAA
     - text-secondary: 9.1:1 ✅ AAA
     - text-muted: 5.8:1 ✅ AA
  */
  --text-primary: #0B1220;
  --text-secondary: #3F4A5C;
  --text-muted: #5B6779;
  
  /* Accents — assombris pour contraste sur fond clair */
  --accent-primary: #6D28D9;
  --accent-primary-strong: #5B21B6;
  --accent-secondary: #1D4ED8;
  --accent-cyan: #0E7490;
  --accent-emerald: #047857;
  --accent-amber: #B45309;
  --accent-rose: #BE123C;
  
  /* Accent backgrounds (subtils mais visibles) */
  --accent-primary-bg: rgba(109, 40, 217, 0.08);
  --accent-primary-bg-hover: rgba(109, 40, 217, 0.14);
  --accent-primary-border: rgba(109, 40, 217, 0.35);
  
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.14);
}

/* Base resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg,
video {
  max-width: 100%;
}

/* Focus visible — accessibilité clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Bilingual switching system (pure CSS) */
html[lang="en"] .lang-fr { display: none !important; }
html[lang="en"] span.lang-en { display: inline !important; }
html[lang="en"] div.lang-en, 
html[lang="en"] p.lang-en, 
html[lang="en"] section.lang-en, 
html[lang="en"] h1.lang-en, 
html[lang="en"] h2.lang-en, 
html[lang="en"] h3.lang-en, 
html[lang="en"] ul.lang-en { display: block !important; }
html[lang="en"] .flex-lang-en { display: flex !important; }

html[lang="fr"] .lang-en { display: none !important; }
html[lang="fr"] span.lang-fr { display: inline !important; }
html[lang="fr"] div.lang-fr, 
html[lang="fr"] p.lang-fr, 
html[lang="fr"] section.lang-fr, 
html[lang="fr"] h1.lang-fr, 
html[lang="fr"] h2.lang-fr, 
html[lang="fr"] h3.lang-fr, 
html[lang="fr"] ul.lang-fr { display: block !important; }
html[lang="fr"] .flex-lang-fr { display: flex !important; }

/* ==========================================================================
   SOCIAL BUTTONS — Contrast Optimized
   ========================================================================== */
.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-btn);
  font-size: 0.825rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

/* Facebook — dark mode */
.btn-social-facebook {
  color: #60A5FA;
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.35);
}
.btn-social-facebook:hover {
  background: rgba(96, 165, 250, 0.24);
  border-color: #60A5FA;
  color: #93C5FD;
}
/* Facebook — light mode */
html.light .btn-social-facebook {
  color: #1D4ED8;
  background: rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.35);
}
html.light .btn-social-facebook:hover {
  background: rgba(29, 78, 216, 0.15);
  border-color: #1D4ED8;
  color: #1E3A8A;
}

/* Telegram */
.btn-social-telegram {
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.35);
}
html.light .btn-social-telegram {
  color: #0E7490;
  background: rgba(14, 116, 144, 0.08);
  border-color: rgba(14, 116, 144, 0.35);
}

.mobile-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}
.mobile-social-grid .btn-social {
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  width: 100%;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 14, 23, 0.92);
  border-bottom: 1px solid var(--border-color);
  max-width: 100%;
}
html.light .navbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .navbar {
    background: #0A0E17 !important;
    opacity: 1 !important;
  }
  html.light .navbar {
    background: #FFFFFF !important;
    opacity: 1 !important;
  }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link {
  color: var(--text-secondary);
  transition: color 0.15s ease;
  text-decoration: none;
}
.nav-link:hover {
  color: var(--accent-primary);
}

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

.btn-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-ctrl:hover {
  border-color: var(--border-color-strong);
  background: var(--bg-card-hover);
  color: var(--accent-primary);
}

/* ==========================================================================
   LANGUAGE DROPDOWN - DESKTOP
   ========================================================================== */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lang-toggle-btn:hover {
  border-color: var(--border-color-strong);
  background: var(--bg-card-hover);
}

.lang-toggle-btn .flag-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-toggle-btn .flag-svg {
  display: block;
  border-radius: 2px;
}

.lang-toggle-btn .lang-current-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.lang-toggle-btn .dropdown-chevron {
  transition: transform 0.25s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.lang-dropdown-wrapper.open .lang-toggle-btn .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
  border-radius: 0.85rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  padding: 0.4rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

html.light .lang-dropdown-menu {
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.lang-dropdown-wrapper.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
}

.lang-dropdown-item:hover {
  background: var(--accent-primary-bg);
  color: var(--text-primary);
}

.lang-dropdown-item.active {
  background: var(--accent-primary-bg);
  color: var(--accent-primary);
  font-weight: 700;
}

.lang-dropdown-item .flag-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-dropdown-item .flag-svg {
  display: block;
  border-radius: 2px;
}

.lang-dropdown-item .lang-item-name {
  flex: 1;
  white-space: nowrap;
}

/* ==========================================================================
   MOBILE MENU BUTTON
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-menu-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
  color: var(--accent-primary);
}

/* ==========================================================================
   MOBILE MENU DROPDOWN
   ========================================================================== */
.mobile-menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #0A0E17 !important;
  opacity: 1 !important;
  border-bottom: 2px solid var(--border-color-strong);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.95);
  padding: 1.25rem 1.5rem 2rem 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 9999;
  animation: slideDownNav 0.2s ease-out forwards;
  max-width: 100%;
}
html.light .mobile-menu-dropdown {
  background: #FFFFFF !important;
  box-shadow: 0 25px 40px rgba(15, 23, 42, 0.15);
  border-bottom: 2px solid var(--border-color);
}

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

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.15s ease;
}
html.light .mobile-nav-link {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
}
.mobile-nav-link:hover, 
.mobile-nav-link:active {
  background: var(--accent-primary-bg);
  border-color: var(--accent-primary-border);
  color: var(--accent-primary);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--border-color-strong);
  width: 100%;
}

.mobile-menu-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-controls-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-ctrl-btn {
  width: 100%;
  padding: 0.7rem 0.75rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ==========================================================================
   LANGUAGE SWITCHER - MOBILE MENU
   ========================================================================== */
.mobile-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: 100%;
}

.mobile-lang-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

html.light .mobile-lang-chip {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-color);
}

.mobile-lang-chip:hover,
.mobile-lang-chip:active {
  background: var(--accent-primary-bg);
  border-color: var(--accent-primary-border);
  color: var(--text-primary);
}

.mobile-lang-chip.active {
  background: var(--accent-primary-bg);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25);
}

html.light .mobile-lang-chip.active {
  background: var(--accent-primary-bg);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.mobile-lang-chip .flag-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-lang-chip .flag-svg {
  display: block;
  border-radius: 2px;
}

.mobile-lang-chip span:not(.flag-icon-wrap) {
  white-space: nowrap;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 4.5rem 0 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(96, 165, 250, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #60A5FA;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
html.light .hero-badge {
  background: rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.3);
  color: #1D4ED8;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-primary);
}

.hero-highlight {
  background: linear-gradient(135deg, #A78BFA, #60A5FA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.light .hero-highlight {
  background: linear-gradient(135deg, #6D28D9, #1D4ED8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.25rem auto;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8B5CF6, #3B82F6);
  color: #FFFFFF !important;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color-strong);
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
  color: var(--accent-primary);
}

/* ==========================================================================
   VERTICAL SMARTPHONE CAROUSEL SHOWCASE
   ========================================================================== */
.showcase-carousel-wrap {
  margin: 2.5rem auto 1rem auto;
  max-width: 1000px;
  position: relative;
  width: 100%;
}

.carousel-app-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.carousel-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.carousel-tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--accent-primary-border);
}
.carousel-tab-btn.active {
  background: var(--accent-primary-bg);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}
.carousel-tab-btn img {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
}

.showcase-stage {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 2.5rem;
  background: radial-gradient(circle at 30% 50%, rgba(139, 92, 246, 0.1) 0%, rgba(34, 211, 238, 0.05) 50%, transparent 80%);
  border: 1px solid var(--border-color-strong);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  max-width: 100%;
}
html.light .showcase-stage {
  background: radial-gradient(circle at 30% 50%, rgba(109, 40, 217, 0.05) 0%, rgba(14, 116, 144, 0.03) 50%, rgba(255, 255, 255, 0.9) 80%);
  border-color: var(--border-color);
}

.phone-mockup-wrapper {
  position: relative;
  margin: 0 auto;
  width: 310px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-ambient-glow {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 10%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  filter: blur(45px);
  opacity: 0.4;
  border-radius: 50px;
  z-index: 0;
  pointer-events: none;
  transition: all 0.5s ease;
}

.phone-mockup-vertical {
  width: 310px;
  height: 615px;
  max-width: 100%;
  background: #0B0E17;
  border-radius: 46px;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.14),
    0 0 0 6px #1E293B,
    0 25px 50px -10px rgba(0, 0, 0, 0.8),
    0 10px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 4px solid #0F172A;
  box-sizing: border-box;
}
html.light .phone-mockup-vertical {
  background: #FFFFFF;
  box-shadow: 
    0 0 0 2px rgba(15, 23, 42, 0.1),
    0 0 0 6px #CBD5E1,
    0 25px 45px -10px rgba(15, 23, 42, 0.2);
  border-color: #E2E8F0;
}

.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #000000;
  border-radius: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.phone-camera-lens {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111827;
  border: 1px solid #1E293B;
  box-shadow: inset 0 0 2px #22D3EE;
}
.phone-speaker-slit {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: #1F2937;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 4px 18px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #F1F5F9;
  z-index: 15;
  user-select: none;
}
html.light .phone-status-bar {
  color: #0B1220;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-screen-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-slides-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.phone-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.85rem 1rem 0.85rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  text-align: left;
}

.inapp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
html.light .inapp-header {
  border-bottom-color: rgba(15, 23, 42, 0.1);
}
.inapp-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.inapp-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.inapp-brand-name {
  font-size: 0.825rem;
  font-weight: 800;
  color: #F1F5F9;
}
html.light .inapp-brand-name {
  color: #0B1220;
}
.inapp-status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(52, 211, 153, 0.18);
  color: #34D399;
}
html.light .inapp-status-badge {
  background: rgba(4, 120, 87, 0.1);
  color: #047857;
}

.inapp-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.65rem;
  margin-bottom: 0.65rem;
}
html.light .inapp-card {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

.inapp-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #B4C0D3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
html.light .inapp-title {
  color: #5B6779;
}

.inapp-metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.inapp-big-metric {
  font-size: 1.35rem;
  font-weight: 800;
  color: #F1F5F9;
  font-family: var(--font-display);
}
html.light .inapp-big-metric {
  color: #0B1220;
}

.inapp-list-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  color: #E2E8F0;
}
html.light .inapp-list-item {
  background: rgba(15, 23, 42, 0.03);
  color: #1E293B;
}

.inapp-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0.25rem 0.25rem 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}
html.light .inapp-bottom-nav {
  border-top-color: rgba(15, 23, 42, 0.1);
}
.inapp-nav-icon {
  font-size: 0.65rem;
  font-weight: 700;
  color: #8B98AD;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
html.light .inapp-nav-icon {
  color: #5B6779;
}
.inapp-nav-icon.active {
  color: var(--accent-primary);
}

.phone-home-indicator {
  width: 110px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.5);
  margin: 6px auto 8px auto;
  z-index: 10;
}
html.light .phone-home-indicator {
  background: rgba(15, 23, 42, 0.35);
}

.carousel-spotlight-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.spotlight-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.spotlight-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 0.85rem;
}

.spotlight-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  list-style: none;
  padding: 0;
}
.spotlight-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}
.spotlight-feature-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.carousel-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  margin-top: 0.5rem;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.carousel-arrow-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.carousel-arrow-btn:hover {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color-strong);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-primary);
}

/* ==========================================================================
   PAGES STYLING
   ========================================================================== */
.page-container {
  padding: 3rem 0 5rem 0;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.breadcrumb:hover {
  color: var(--accent-primary);
}

.page-header {
  margin-bottom: 3rem;
  text-align: left;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 750px;
  line-height: 1.65;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2.5rem;
  text-align: left;
  max-width: 100%;
}

.legal-section {
  margin-bottom: 2.5rem;
}
.legal-section:last-child {
  margin-bottom: 0;
}

.legal-heading {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-list {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}
.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-callout {
  background: var(--accent-primary-bg);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.legal-callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.2s ease;
}
.contact-info-card:hover {
  border-color: var(--accent-primary-border);
  transform: translateY(-2px);
}

.contact-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--accent-primary-bg);
  border: 1px solid var(--accent-primary-border);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}
.contact-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.contact-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-decoration: none;
  word-break: break-all;
}
.contact-card-link:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  text-align: left;
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color-strong);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.2s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-primary-bg);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ==========================================================================
   STATS RIBBON
   ========================================================================== */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 3.5rem auto 1rem auto;
  max-width: 900px;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* ==========================================================================
   CATALOGUE / APPS SECTION
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--accent-primary-bg);
  border: 1px solid var(--accent-primary-border);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.section-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color-strong);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary-border);
  background: var(--bg-card-hover);
}
.filter-btn.active {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  max-width: 100%;
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary-border);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
}
html.light .app-card:hover {
  box-shadow: 0 12px 30px rgba(109, 40, 217, 0.12);
}
.app-card:active {
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.75rem;
}

.app-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color-strong);
}

.badge-tag {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-name {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.app-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.app-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.feature-item {
  font-size: 0.825rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.feature-item svg {
  flex-shrink: 0;
  color: var(--accent-emerald);
}

.card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.app-rating svg {
  color: var(--accent-amber);
}

.btn-open-modal {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-btn);
  background: var(--accent-primary-bg);
  border: 1px solid var(--accent-primary-border);
  transition: all 0.15s ease;
}
.btn-open-modal:hover {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
}

/* ==========================================================================
   ARCHITECTURE & ECOSYSTEM SECTION
   ========================================================================== */
.ecosystem-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-strong);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  margin-top: 3rem;
  max-width: 100%;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: border-color 0.2s ease;
}
.tech-card:hover {
  border-color: var(--accent-primary-border);
}
.tech-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tech-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.active {
  border-color: var(--accent-primary-border);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-primary);
  transition: color 0.15s ease;
}
.faq-question:hover {
  color: var(--accent-primary);
}
.faq-question span {
  flex: 1;
}
.faq-question .faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-item.active .faq-question .faq-icon {
  color: var(--accent-primary);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   SUPPORT & CONTACT BANNER
   ========================================================================== */
.support-card {
  background: linear-gradient(135deg, var(--accent-primary-bg), rgba(96, 165, 250, 0.1));
  border: 1px solid var(--accent-primary-border);
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
html.light .support-card {
  background: linear-gradient(135deg, var(--accent-primary-bg), rgba(29, 78, 216, 0.06));
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color-strong);
  padding: 3.5rem 0 2rem 0;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: auto;
  max-width: 100%;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1.15fr 1.4fr 1.15fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.footer-brand .footer-logo {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 320px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-social-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list li {
  margin: 0;
  padding: 0;
}

.footer-nav-list li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-nav-list li a:hover {
  color: var(--accent-primary);
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-color-strong);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem 1.75rem;
  align-items: center;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--accent-primary);
}

/* ==========================================================================
   WEBSITES SHOWCASE PAGE STYLING
   ========================================================================== */
.websites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.website-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-width: 100%;
}
.website-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 45px rgba(139, 92, 246, 0.3);
}
html.light .website-card:hover {
  box-shadow: 0 20px 45px rgba(109, 40, 217, 0.15);
}

.website-browser-window {
  background: #0D121F;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.website-browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: #080C14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 0.75rem;
}

.browser-traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.traffic-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.traffic-light.red { background: #FF5F56; }
.traffic-light.yellow { background: #FFBD2E; }
.traffic-light.green { background: #27C93F; }

.browser-address-bar {
  flex: 1;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-address-bar:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.browser-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #34D399;
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.website-screenshot-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 270px;
  overflow: hidden;
  background: #0F172A;
  display: block;
}

.website-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.website-card:hover .website-screenshot-img {
  transform: scale(1.04);
}

.website-screenshot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 18, 31, 0.1) 0%, rgba(13, 18, 31, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}

.website-card:hover .website-screenshot-overlay {
  opacity: 1;
}

.btn-open-live-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #0B1220 !important;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(8px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}
.website-card:hover .btn-open-live-preview {
  transform: translateY(0);
}
.btn-open-live-preview:hover {
  background: var(--accent-primary);
  color: #FFFFFF !important;
}

.website-card-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.website-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0.1) 0%, rgba(10, 14, 23, 0.85) 100%);
}

.website-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

.website-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
}

.website-status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #34D399;
  background: rgba(52, 211, 153, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.website-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.website-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.website-title-link {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.2s ease;
}
.website-title-link:hover {
  color: var(--accent-primary);
}

.website-title {
  font-size: 1.45rem;
  margin: 0;
  line-height: 1.3;
}

.website-tagline {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.website-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.website-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color-strong);
  color: var(--text-secondary);
}
html.light .tech-tag {
  background: rgba(15, 23, 42, 0.04);
}

.website-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-visit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  color: #FFFFFF !important;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-visit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 26px rgba(124, 58, 237, 0.6);
  filter: brightness(1.1);
}

/* ==========================================================================
   TOOLS CATALOGUE PAGE STYLING
   ========================================================================== */
.tools-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color-strong);
  border-radius: 1.25rem;
  padding: 1rem 1.5rem;
}

.tools-search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.tools-search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: 9999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-strong);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tools-search-input::placeholder {
  color: var(--text-muted);
}
.tools-search-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-primary-bg);
}

.tools-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.tool-category-section {
  margin-bottom: 3.5rem;
}

.tool-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color-strong);
}

.tool-category-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--accent-primary-bg);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-primary-border);
}

.tool-category-title {
  font-size: 1.35rem;
  margin: 0;
}

.tool-category-count {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color-strong);
  color: var(--text-muted);
  font-weight: 700;
}
html.light .tool-category-count {
  background: rgba(15, 23, 42, 0.05);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.tool-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.15rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.tool-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary-border);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.15);
}
html.light .tool-item-card:hover {
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.1);
}

.tool-item-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.tool-item-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color-strong);
}

.tool-item-name {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.tool-item-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.tool-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 0.85rem;
  margin-top: auto;
}

.tool-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(52, 211, 153, 0.35);
  text-transform: uppercase;
}
html.light .tool-badge-pill {
  background: rgba(4, 120, 87, 0.08);
  color: #047857;
  border-color: rgba(4, 120, 87, 0.3);
}

.tool-launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-decoration: none;
  transition: gap 0.15s ease, color 0.15s ease;
}
.tool-launch-btn:hover {
  gap: 0.55rem;
  color: var(--accent-cyan);
}

/* ==========================================================================
   PRÉVENTION DU DÉBORDEMENT HORIZONTAL
   ========================================================================== */
.navbar,
.hero,
.section,
.footer,
.showcase-carousel-wrap,
.showcase-stage,
.phone-mockup-wrapper,
.carousel-spotlight-card,
.apps-grid,
.app-card,
.ecosystem-section,
.support-card,
.contact-grid,
.contact-form-card,
.legal-card,
.website-card,
.tool-item-card {
  max-width: 100%;
}

.app-desc,
.spotlight-desc,
.footer-tagline,
.legal-text,
.website-desc,
.inapp-list-item {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   RESPONSIVE — TABLETTE ET PETIT DESKTOP (max 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .showcase-stage {
    grid-template-columns: 300px 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }
  
  .phone-mockup-wrapper {
    width: 280px;
  }
  
  .phone-mockup-vertical {
    width: 280px;
    height: 555px;
    border-radius: 40px;
  }
  
  .spotlight-title {
    font-size: 1.6rem;
  }
  
  .spotlight-features {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.75rem;
  }
}

/* ==========================================================================
   RESPONSIVE — TABLETTE (max 900px)
   ========================================================================== */
@media (max-width: 900px) {
  .hero {
    padding: 3.5rem 0 2.5rem 0;
  }
  
  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  
  .showcase-stage {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 2rem;
  }
  
  .carousel-spotlight-card {
    text-align: center;
    align-items: center;
    max-width: 100%;
  }
  
  .spotlight-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .spotlight-features {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    width: 100%;
  }
  
  .spotlight-actions {
    justify-content: center;
    width: 100%;
  }
  
  .spotlight-actions .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .apps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .websites-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (max 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .nav-links {
    display: none !important;
  }
  .nav-controls-desktop {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
  }
  .lang-dropdown-wrapper {
    display: none !important;
  }
  
  .nav-container {
    height: 3.75rem;
  }
  
  .brand-logo {
    font-size: 1.05rem;
    gap: 0.5rem;
  }
  
  .logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
  }
  
  .hero {
    padding: 2.5rem 0 1.5rem 0;
  }
  
  .hero-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
    margin-bottom: 1rem;
  }
  
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    padding: 0;
    line-height: 1.55;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .showcase-carousel-wrap {
    margin: 1.5rem auto 0.5rem auto;
  }
  
  .carousel-app-selector {
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem 0.5rem 0.25rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .carousel-app-selector::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-tab-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .carousel-tab-btn img {
    width: 1rem;
    height: 1rem;
  }
  
  .showcase-stage {
    padding: 1.25rem 0.85rem;
    border-radius: 1.25rem;
    gap: 1.5rem;
  }
  
  .phone-mockup-wrapper {
    width: 260px;
    max-width: 100%;
  }
  
  .phone-mockup-vertical {
    width: 260px;
    height: 515px;
    border-radius: 38px;
    border-width: 3px;
  }
  
  .phone-island {
    width: 78px;
    height: 20px;
  }
  
  .inapp-brand-name {
    font-size: 0.75rem;
  }
  
  .inapp-big-metric {
    font-size: 1.15rem;
  }
  
  .inapp-title {
    font-size: 0.65rem;
  }
  
  .inapp-list-item {
    font-size: 0.68rem;
    padding: 0.35rem 0.4rem;
  }
  
  .inapp-status-badge {
    font-size: 0.58rem;
    padding: 0.15rem 0.35rem;
  }
  
  .carousel-spotlight-card {
    text-align: center;
    align-items: center;
    padding: 0 0.25rem;
  }
  
  .spotlight-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.65rem;
  }
  
  .spotlight-title {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 0.5rem;
  }
  
  .spotlight-tagline {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .spotlight-desc {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }
  
  .spotlight-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: left;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .spotlight-feature-item {
    font-size: 0.8rem;
  }
  
  .spotlight-actions {
    width: 100%;
    justify-content: center;
    margin-bottom: 1.25rem;
  }
  
  .spotlight-actions .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .carousel-nav-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .carousel-dots {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }
  
  .carousel-dot {
    width: 7px;
    height: 7px;
  }
  
  .carousel-dot.active {
    width: 20px;
  }
  
  .stats-ribbon {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem 1rem;
    margin: 2rem auto 0.5rem auto;
  }
  
  .stat-number {
    font-size: 1.4rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }
  
  .section-desc {
    font-size: 0.875rem;
    padding: 0 0.5rem;
  }
  
  .filter-bar {
    gap: 0.4rem;
    padding: 0 0.25rem 0.5rem 0.25rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 1.75rem !important;
  }
  
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  
  .filter-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .app-card {
    padding: 1.25rem;
    border-radius: 14px;
  }
  
  .app-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
  }
  
  .app-name {
    font-size: 1.15rem;
    line-height: 1.3;
  }
  
  .app-tagline {
    font-size: 0.8rem;
  }
  
  .app-desc {
    font-size: 0.825rem;
    line-height: 1.55;
  }
  
  .feature-item {
    font-size: 0.78rem;
    line-height: 1.4;
  }
  
  .badge-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
  
  .card-footer {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .ecosystem-section {
    padding: 1.75rem 1rem;
    border-radius: 1.25rem;
  }
  
  .ecosystem-section h2 {
    font-size: 1.4rem !important;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  
  .tech-card {
    padding: 1.15rem;
  }
  
  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.4;
    gap: 0.75rem;
  }
  
  .faq-answer {
    padding: 0 1.15rem 1rem 1.15rem;
    font-size: 0.85rem;
  }
  
  .support-card {
    padding: 2rem 1.25rem;
    border-radius: 1.25rem;
  }
  
  .support-card h2 {
    font-size: 1.35rem !important;
  }
  
  .support-card p {
    font-size: 0.875rem !important;
  }
  
  .support-card a {
    font-size: 0.9rem !important;
    word-break: break-all;
  }
  
  .footer {
    padding: 2.5rem 0 1.5rem 0;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 1.75rem;
  }
  
  .footer-brand {
    font-size: 1rem;
  }
  
  .footer-tagline {
    max-width: 100%;
    font-size: 0.85rem;
  }
  
  .footer-heading {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  .footer-nav-list {
    gap: 0.6rem;
  }
  
  .footer-nav-list li a {
    font-size: 0.85rem;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-top: 1.25rem;
    font-size: 0.75rem;
  }
  
  .mobile-menu-dropdown {
    padding: 1rem 1rem 1.5rem 1rem;
    gap: 1rem;
  }
  
  .mobile-nav-link {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
  }
  
  .mobile-lang-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  
  .mobile-lang-chip {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }
  
  .mobile-lang-chip .flag-svg {
    width: 18px;
    height: 12px;
  }
  
  .contact-form-card,
  .legal-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }
  
  .contact-info-card {
    padding: 1.15rem;
    gap: 1rem;
  }
  
  .contact-card-icon {
    width: 2.4rem;
    height: 2.4rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  
  .page-title {
    font-size: 1.75rem;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
  }
  
  .legal-heading {
    font-size: 1.15rem;
  }
  
  .legal-text,
  .legal-list {
    font-size: 0.875rem;
  }
  
  .websites-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .website-title {
    font-size: 1.15rem;
  }
  
  .website-card-body {
    padding: 1.25rem;
  }
  
  .website-footer-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .btn-visit {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .tools-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  
  .tools-search-box {
    min-width: 100%;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tool-item-card {
    padding: 1.15rem;
  }
  
  .tool-item-name {
    font-size: 1rem;
  }
  
  .app-detail-header-card {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  
  .app-detail-badges {
    justify-content: center;
  }
  
  .app-detail-stats {
    justify-content: center;
    gap: 1rem;
  }
  
  .app-detail-actions {
    justify-content: center;
  }
  
  .app-detail-title {
    font-size: 1.75rem;
  }
  
  .app-detail-tagline {
    font-size: 1rem;
  }
}

/* ==========================================================================
   RESPONSIVE — PETIT MOBILE (max 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  
  .hero-title {
    font-size: 1.35rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .phone-mockup-wrapper {
    width: 230px;
  }
  
  .phone-mockup-vertical {
    width: 230px;
    height: 460px;
    border-radius: 34px;
  }
  
  .phone-island {
    width: 68px;
    height: 18px;
    top: 8px;
  }
  
  .phone-status-bar {
    padding: 8px 14px 4px 14px;
    font-size: 0.65rem;
  }
  
  .phone-slide {
    padding: 0.4rem 0.65rem 0.75rem 0.65rem;
  }
  
  .inapp-brand-name {
    font-size: 0.68rem;
  }
  
  .inapp-big-metric {
    font-size: 1rem;
  }
  
  .inapp-title {
    font-size: 0.6rem;
  }
  
  .inapp-list-item {
    font-size: 0.62rem;
    padding: 0.3rem 0.35rem;
    gap: 0.3rem;
  }
  
  .inapp-status-badge {
    font-size: 0.52rem;
    padding: 0.12rem 0.3rem;
  }
  
  .spotlight-title {
    font-size: 1.2rem;
  }
  
  .spotlight-tagline {
    font-size: 0.825rem;
  }
  
  .spotlight-desc {
    font-size: 0.8rem;
  }
  
  .spotlight-feature-item {
    font-size: 0.75rem;
  }
  
  .showcase-stage {
    padding: 1rem 0.65rem;
    border-radius: 1rem;
  }
  
  .stats-ribbon {
    padding: 1rem 0.75rem;
    gap: 0.75rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.6rem;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .section-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }
  
  .app-card {
    padding: 1rem;
  }
  
  .app-name {
    font-size: 1.05rem;
  }
  
  .app-desc {
    font-size: 0.78rem;
  }
  
  .feature-item {
    font-size: 0.72rem;
  }
  
  .faq-question {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }
  
  .faq-answer {
    padding: 0 1rem 0.85rem 1rem;
    font-size: 0.8rem;
  }
  
  .footer-tagline {
    font-size: 0.8rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.7rem 1.1rem;
    font-size: 0.85rem;
  }
  
  .btn-social {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
  }
  
  .support-card {
    padding: 1.75rem 1rem;
  }
  
  .support-card h2 {
    font-size: 1.15rem !important;
  }
  
  .mobile-lang-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  
  .mobile-lang-chip {
    justify-content: flex-start;
    padding: 0.65rem 0.85rem;
  }
  
  .contact-info-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .contact-card-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
  
  .website-card-body {
    padding: 1rem;
  }
  
  .website-title {
    font-size: 1.05rem;
  }
  
  .website-desc {
    font-size: 0.825rem;
  }
  
  .browser-address-bar {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    max-width: 150px;
  }
  
  .browser-live-pill {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
  }
  
  .traffic-light {
    width: 8px;
    height: 8px;
  }
}

/* ==========================================================================
   RESPONSIVE — TRÈS PETIT MOBILE (max 360px)
   ========================================================================== */
@media (max-width: 360px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .hero-title {
    font-size: 1.2rem;
  }
  
  .phone-mockup-wrapper {
    width: 210px;
  }
  
  .phone-mockup-vertical {
    width: 210px;
    height: 420px;
    border-radius: 30px;
  }
  
  .inapp-brand-name {
    font-size: 0.62rem;
  }
  
  .inapp-big-metric {
    font-size: 0.9rem;
  }
  
  .spotlight-title {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.2rem;
  }
  
  .app-name {
    font-size: 1rem;
  }
  
  .mobile-lang-chip {
    font-size: 0.75rem;
    padding: 0.55rem 0.7rem;
  }
}

/* ==========================================================================
   RESPONSIVE — TRÈS TRÈS PETIT MOBILE (max 320px)
   ========================================================================== */
@media (max-width: 320px) {
  .phone-mockup-wrapper {
    width: 190px;
  }
  
  .phone-mockup-vertical {
    width: 190px;
    height: 380px;
    border-radius: 26px;
  }
  
  .inapp-list-item {
    font-size: 0.58rem;
  }
  
  .carousel-tab-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
  }
  
  .filter-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION — Accessibilité
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   PREFERS-CONTRAST-MORE — Accessibilité renforcée
   ========================================================================== */
@media (prefers-contrast: more) {
  :root {
    --text-secondary: #D1DAE8;
    --text-muted: #A8B4C7;
    --border-color: rgba(255, 255, 255, 0.25);
    --border-color-strong: rgba(255, 255, 255, 0.35);
  }
  
  html.light {
    --text-secondary: #1E293B;
    --text-muted: #334155;
    --border-color: rgba(15, 23, 42, 0.25);
    --border-color-strong: rgba(15, 23, 42, 0.4);
  }
}