/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Outfit", sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Container system */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

@media (max-width: 575px) {
  .container {
    padding: 0px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("img/BACKGROUND.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

section,
nav,
footer {
  position: relative;
  z-index: 2;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 48px;
  min-height: 48px;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1.1);
}

.mobile-menu-toggle.active {
  color: #ff06ad;
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.navbar-left {
  position: absolute;
  left: 60px;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 200px;
  max-height: none;
  width: auto;
}

@media (max-width: 900px) {
  .navbar {
    grid-template-columns: auto 1fr auto;
    padding: 10px 16px;
  }

  .navbar-left img {
    height: 80px;
  }

  .navbar-center {
    gap: 14px;
    font-size: 15px;
  }
}

.navbar-left img {
  height: 250px;
}

.navbar-left span {
  font-size: 30px;
  font-weight: bold;
  color: white;
}

.navbar-center {
  display: flex;
  gap: 30px;
  position: relative;
  background: rgba(94, 12, 145, 0.18);
  border-radius: 28px;
  padding: 14px 44px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(94, 12, 145, 0.16), 0 2px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .navbar-center {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(94, 12, 145, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 25px;
    border-radius: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .navbar-center.active {
    right: 0;
  }
}

.menu-indicator {
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 6px;
  width: 2px;
  background: linear-gradient(90deg, #ff6a00, #ff00e6, #00ffae, #ffe600);
  background-size: 400% 400%;
  animation: gradientBar 6s ease infinite;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.43, 0.25, 0.27, 1.36);
  z-index: 0;
}

@keyframes gradientBar {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.navbar-center a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.navbar-center a:hover {
  color: #fff;
}

.navbar-right a {
  background: #111;
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.navbar-right a:hover {
  background: #333;
}

.text-content {
  max-width: 600px;
  z-index: 1;
  line-height: 1;
  position: relative;
  margin-right: 50px;
  order: 2;
}

.text-content .main-title {
  line-height: 0.9;
}

.subtitle {
  font-size: 30px;
  font-weight: 600;
  color: #ccc;
  margin-bottom: 15px;
}



.main-title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 2.8;
  margin-bottom: 20px;
  color: white;
  text-align: left;
  display: block;
}

.main-title .highlight {
  color: #ff00aa;
  font-weight: 700;
}


.expert-info {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 25px;
}

.btn-group {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

/* Bouton principal (style bord rose ou vert transparent + hover rempli) */
.btn-main {
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  border: 2px solid;
  transition: all 0.3s ease;
}

/* Rose : fond transparent au repos, fond plein au hover */
.btn-pink {
  color: #ff00aa;
  border-color: #ff00aa;
  background-color: transparent;
}

.btn-pink:hover {
  background-color: #ff00aa;
  color: white;
}

/* Vert : fond transparent au repos, fond plein au hover */
.btn-green {
  color: #7CFC00;
  border-color: #7CFC00;
  background-color: transparent;
}

.btn-green:hover {
  background-color: #7CFC00;
  color: black;
}

/* Bouton flottant en bas à droite */
.floating-btn {
  position: absolute;
  bottom: 65px;
  right: 295px;
  z-index: 10;
}

.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px 0px;
  min-height: 100vh;
  z-index: 2;
  overflow: hidden;
  margin-bottom: -50px;
  transition: all 0.3s ease;
}

.hero .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  position: relative;
}

.character-img {
  position: fixed;
  top: 0;
  right: 10%;
  height: 82vh;
  width: auto;
  z-index: 2;
  filter: brightness(0.95) contrast(1.1) saturate(1.08);
  transition: none;
  order: 1;
  max-width: 600px;
}

.character-img.hide {
  opacity: 0;
}

.fonction-character {
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
}

.fonction-character.show {
  opacity: 1;
  transform: translateX(0);
}

.fonction-character.hide {
  opacity: 0;
}

.dashboard-img {
  opacity: 0;
  transform: translateX(220px) scale(0.98);
  transition: transform 0.6s cubic-bezier(.68, -0.55, .27, 1.55), opacity 0.5s;
}

.dashboard-img.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

#fonction {
  margin-top: 0 !important;
}

.character1-img {
  position: absolute;
  height: 75vh;
  left: 0;
  top: 0;
  z-index: 2;
  filter: brightness(0.95) contrast(1.1) saturate(1.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, left 0.4s, top 0.4s;
}

#roadmap-container {
  width: 400px;
  height: 50px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

#ian-walker {
  position: absolute;
  height: 75vh;
  left: 0;
  top: 0;
  z-index: 2;
  filter: brightness(0.95) contrast(1.1) saturate(1.08);
  pointer-events: none;
  transition: opacity 0.4s, left 0.4s, top 0.4s;
  opacity: 0;
}

.character-img::before {
  content: "";
  position: absolute;
  left: -100px;
  top: 30%;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(20px) brightness(1.22) saturate(1.3);
  display: block;
}

.speech-bubble {
  position: absolute;
  top: -60%;
  right: 392px;
  background: linear-gradient(145deg, #e8ec58, #83e7a0);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  /* Add pop-in animation for appearance */
  animation:
    gradientText 6s ease infinite,
    speechBubblePopIn 0.7s cubic-bezier(0.23, 1.12, 0.32, 1) forwards;
  opacity: 0;
  z-index: 3;
  text-align: center;
  max-width: 90vw;
  white-space: nowrap;
  box-shadow:
    0 8px 20px rgba(216, 137, 196, 0.14),
    0 1.5px 0px rgba(229, 106, 170, 0.09),
    0 10px 24px rgba(199, 106, 148, 0.12);
}

@keyframes speechBubblePopIn {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(30px);
  }

  60% {
    opacity: 1;
    transform: scale(1.08) translateY(-6px);
  }

  80% {
    transform: scale(0.97) translateY(2px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.btn-mainnn {
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
  color: white;
}

.btn-grel {
  display: inline-block;
  padding: 16px 40px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 1000;
  color: white;
  background: linear-gradient(339.65deg, #9432de 15.53%, #ff06ad 80.46%);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: absolute;
  bottom: -50px;
  right: -170px;
  z-index: 10;
}


.speech-bubblel {
  position: absolute;
  top: 90px !important;
  left: 700px !important;
  padding: 14px 22px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  background: none;
  box-shadow: none;
  transform: translateY(0);
  animation: fadeBubble 1s forwards;
  opacity: 0;
  width: max-content;
  max-width: 800px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 3;
}

.speech-bubblel .gradient-text {
  background: linear-gradient(90deg, #00ffae, #ffe600);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.show-bubble {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .speech-bubblel {
    max-width: 300px;
    font-size: 14px;
    padding: 10px 16px;
    left: 20px;
  }
}

@media (max-width: 857px) {
  .main-title {
    text-align: center;
  }

  .bubble-label {
    max-width: 220px;
  }

  .bubble-label.right-bubble {
    left: 270px !important;
  }

  .bubble-label.left-bubble {
    right: 250px !important;
  }
}

@media (max-width: 584px) {
  .svg-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 1000px !important;
    margin: 0 !important;
  }

  /* SVG and character animation now visible on mobile */
  .svg-container svg {
    width: 100% !important;
    height: 100% !important;
  }

  .svg-container svg path {
    stroke-width: 6 !important;
    stroke-opacity: 0.8 !important;
  }

  /* Mobile path will be modified by JavaScript to end on the left */

  .svg-container #movingCharacter {
    width: 120px !important;
  }

  .bubble-label {
    width: 200px !important;
    min-height: 120px !important;
    padding: 12px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  .bubble-label.left-bubble {
    width: 160px !important;
    left: 5px !important;
    right: auto !important;
  }

  .bubble-label .main-img {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 8px !important;
  }

  .bubble-label.right-bubble {
    width: 160px !important;
    right: 5px !important;
    left: auto !important;
  }
}




.step-number {
  display: inline-block;
  background-color: white;
  color: #111;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  font-weight: bold;
  margin-right: 10px;
  font-size: 14px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px #CD46D4;
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 6px #CD46D4;
  }
}

.phase-character {
  position: absolute;
  width: 200px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 3;
  border-radius: 50%;
}

.bubble-label {
  position: absolute;
  width: 320px;
  min-height: 160px;
  padding: 16px;
  background: linear-gradient(135deg, #CD46D4, #932cff, #ff4c00);
  color: #fff;
  font-size: 14px;
  border-radius: 16px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 0 12px #CD46D4;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.bubble-label img.main-img {
  width: 120px;
  height: auto;
  border-radius: 12px;
}

.bubble-label::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.left-bubble {
  right: 300px;
}

.left-bubble::after {
  top: 50%;
  right: -10px;
  margin-top: -6px;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #ff8000;
}

.right-bubble {
  left: 300px;
}

.right-bubble::after {
  top: 50%;
  left: -10px;
  margin-top: -6px;
  border-width: 6px 10px 6px 0;
  border-color: transparent #5e0c91 transparent transparent;
}

#bene {
  margin-top: 100px !important;
  text-align: center;
}

#partners {
  text-align: center;
}

#bene .container-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

#bene .boxx {
  position: relative;
  width: 220px;
  height: 320px;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: rotateCube 20s linear infinite;
}

@keyframes rotateCube {
  0% {
    transform: perspective(1000px) rotateY(0deg);
  }

  100% {
    transform: perspective(1000px) rotateY(360deg);
  }
}

#bene .boxx span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111 !important;
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(240px);
  /* Reflet très discret, quasiment invisible mais encore présent */
  -webkit-box-reflect: below 0px linear-gradient(transparent 75%,
      /* 75% du reflet : totalement transparent */
      rgba(0, 0, 0, 0.10) 100%);
  border-radius: 14px;
  border: 1.5px solid #181818;
}


#bene .boxx span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}


#ian-path-container {
  position: relative;
  height: 300px;
  margin-top: -60px;
  z-index: 10;
}

#ian-follow {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  offset-path: path("M200,0 C200,80 300,180 250,280");
  offset-rotate: 0deg;
  offset-distance: 0%;
  animation: followPath 3s ease-out forwards;
  transform: scaleX(-1);
}

#ian-follow img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

@keyframes followPath {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  #bene .boxx {
    width: 180px;
    height: 260px;
    transform: perspective(800px);
  }

  #ian-follow {
    width: 60px;
  }
}

.ac-header .ac-trigger {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(135deg, #0a0718, #932cff, #ff4c00);
  border: none;
  padding: 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.3s ease;
}

.ac-panel {
  max-height: 0;
  overflow: hidden;
  border-radius: 8px;
  padding: 0 16px;
  transition: all 0.4s ease;
}

.ac.is-active .ac-panel {
  max-height: 500px;
  padding: 16px;
  margin-bottom: 16px;
}

.ac-text {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

.ac-trigger:focus {
  outline: none;
}

.clay-team-section {
  padding: 100px 0 80px 0;
  min-height: 680px;
  position: relative;
  z-index: 2;
}

.clay-title {
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  color: #ff06ad;
  margin-bottom: 60px;
  letter-spacing: 1px;
  text-shadow: 0 3px 40px #14001f;
}

.clay-team-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 48px;
}

.clay-card {
  background: linear-gradient(145deg, #1b0931 90%, #2d1554 100%);
  border-radius: 36px;
  box-shadow: 10px 18px 36px #000b20b0, -5px -5px 14px #50165b80,
    inset 6px 8px 18px #3f0047, inset -4px -4px 16px #301739b0;
  padding: 44px 36px 36px 36px;
  min-width: 240px;
  max-width: 280px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s cubic-bezier(0.23, 1.13, 0.68, 0.99),
    box-shadow 0.18s;
  position: relative;
}

.clay-card:hover {
  transform: translateY(-12px) scale(1.035);
  box-shadow: 16px 36px 50px #440047cc, -7px -11px 24px #a74be040,
    0 0 80px #ff06ad50, inset 5px 5px 20px #a23de4cc;
}

.clay-avatar {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 28px;
  box-shadow: 0 6px 22px #ff06ad33, 0 2px 18px #e8ec58b0;
  border: 6px solid #1d0535;
  background: #fff;
}

.clay-name {
  font-size: 22px;
  font-weight: bold;
  color: #f8f8ff;
  margin: 0 0 10px 0;
  letter-spacing: 0.2px;
  text-align: center;
}

.clay-role {
  font-size: 15px;
  font-weight: 500;
  color: #ececec;
  margin-bottom: 26px;
  text-align: center;
  opacity: 0.92;
}

.clay-btn {
  padding: 13px 34px;
  background: linear-gradient(115deg, #e8ec58 20%, #ff06ad 95%);
  color: #190523;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 22px #ff06ad66, 0 1px 8px #e8ec58a0;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  margin-top: auto;
}

.clay-btn:hover {
  background: linear-gradient(100deg, #f2ff98 30%, #ea3eae 95%);
  color: #000;
  box-shadow: 0 6px 28px #ff00ac80;
  transform: scale(1.065);
}

@media (max-width: 1100px) {
  .clay-team-cards {
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .clay-team-cards {
    flex-wrap: wrap;
    gap: 36px;
  }

  .clay-card {
    min-width: 220px;
    padding: 34px 18px 26px 18px;
  }
}

@media (max-width: 600px) {
  .clay-team-cards {
    flex-direction: column;
    align-items: center;
  }

  .clay-card {
    width: 92vw;
    max-width: 99vw;
    min-width: unset;
  }

  .clay-title {
    font-size: 28px;
  }
}

#roadmap-container {
  width: 400px;
  margin: 0 auto;
  pointer-events: none;
}

#ian-walker {
  pointer-events: none;
}

#roadmap-container {
  width: 400px;
  height: 50px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

#ian-bubble {
  position: absolute;
  color: white;
  padding: 12px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 1.5px 0px #ff00cc;
  white-space: nowrap;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s, left 0.3s, top 0.3s;
  pointer-events: none;
}

#ian-walker {
  transition: opacity 0.4s, left 0.4s, top 0.4s;
}

#roadmap-container {
  margin-bottom: 120px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS - MOBILE FIRST
   ============================================ */

/* Extra Small devices (< 576px) */
@media (max-width: 575px) {
  .navbar {
    height: 80px;
    padding: 0 15px;
  }

  .navbar-left {
    left: 15px;
  }

  .logo-img {
    height: 60px;
  }

  .navbar-center {
    padding: 8px 16px;
    font-size: 14px;
    gap: 15px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 100px 15px 20px;
    gap: 30px;
    min-height: 100vh;
  }

  .hero .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .text-content {
    max-width: 100%;
    order: 2;
    margin-right: 0;
    z-index: 10;
    text-align: center;
  }

  .character-img {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    height: 50vh;
    width: auto;
    order: 1;
    z-index: 1;
    margin-bottom: 20px;
  }

  .character-img.hide {
    display: flex !important;
    opacity: 1 !important;
  }

  .main-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  .expert-info {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .btn-group {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .btn-main {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .speech-bubble {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 20px auto 0;
    max-width: 90%;
    white-space: normal;
    font-size: 14px;
    padding: 10px 16px;
  }

  /* Function section mobile */


  .fonction-character {
    height: 250px;
    width: auto;
  }

  .btn-mainnn {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: 20px auto 0;
    display: block;
    width: fit-content;
  }

  .speech-bubblel {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 20px auto 0;
    max-width: 90%;
    white-space: normal;
    font-size: 14px;
    padding: 12px 18px;
  }

  /* Roadmap mobile */
  #roadmap {
    padding: 40px 0px;
  }

  .map {
    width: 100%;
    height: 100%;
  }

  .bubble-label .main-img {
    width: 60px;
  }


  /* Benefits mobile */
  #bene {
    padding: 40px 15px;
  }

  #bene .boxx {
    width: 140px;
    height: 200px;
  }

  /* Partners mobile */
  #partners {
    padding: 40px 15px;
  }

  .swiper-slide img {
    height: 80px !important;
  }

  /* Team cards mobile */
  .clay-team-section {
    padding: 40px 15px;
  }

  .clay-team-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .clay-card {
    width: 100%;
    max-width: 300px;
    padding: 30px 20px;
  }

  .clay-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  /* FAQ mobile */
  #faq-ian {
    padding: 40px 15px;
  }

  .ac-header .ac-trigger {
    font-size: 14px;
    padding: 12px;
  }

  .ac-text {
    font-size: 13px;
  }

  /* Contact mobile */
  #contact {
    padding: 40px 15px;
  }

  #contact a {
    font-size: 18px !important;
    padding: 14px 30px !important;
    width: 100%;
    max-width: 280px;
  }

  /* Footer mobile */
  .footer {
    padding: 20px 15px;
  }

  iframe {
    height: 200px;
  }

  /* Floating button mobile */
  div[style*="position: fixed"][style*="bottom: 40px"] {
    bottom: 20px !important;
    right: 20px !important;
  }

  div[style*="position: fixed"][style*="bottom: 40px"] a {
    padding: 10px 16px !important;
    font-size: 14px !important;
  }

  /* Ensure all sections have proper spacing */
  section {
    padding: 40px 0;
  }

  /* Adjust roadmap container for mobile */
  #roadmap-container {
    width: 100%;
    max-width: 320px;
    margin-bottom: 40px;
  }

  /* Make sure buttons are touch-friendly */
  .btn-main,
  .btn-mainnn,
  .clay-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Small devices (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .navbar {
    height: 100px;
    padding: 0 20px;
  }

  .navbar-left {
    left: 20px;
  }

  .logo-img {
    height: 80px;
  }

  .navbar-center {
    padding: 10px 20px;
    font-size: 15px;
    gap: 20px;
  }

  .hero {
    padding: 120px 20px 20px;
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .hero .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .text-content {
    max-width: 100%;
    order: 2;
    margin-right: 0;
    text-align: center;
  }

  .character-img {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    height: 55vh;
    width: auto;
    order: 1;
    margin-bottom: 15px;
  }

  .character-img.hide {
    display: flex !important;
    opacity: 1 !important;
  }

  .main-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .expert-info {
    font-size: 15px;
  }

  .btn-group {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn-main {
    padding: 12px 24px;
    font-size: 14px;
  }

  .speech-bubble {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 20px auto 0;
    max-width: 90%;
    font-size: 15px;
  }

  /* Function section */

  .fonction-character {
    height: 300px;
    width: auto;
  }

  .speech-bubblel {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin: 20px auto 0;
    max-width: 90%;
    font-size: 15px;
  }

  /* Roadmap */
  #roadmap {
    padding: 50px 20px;
  }

  .svg-container {
    width: 100%;
    max-width: 100%;
    height: 1000px;
    margin: 0;
  }

  .svg-container svg path {
    stroke-width: 7;
    stroke-opacity: 0.8;
  }

  .svg-container #movingCharacter {
    width: 140px;
  }

  .bubble-label {
    width: 220px;
    min-height: 130px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.3;
  }

  .bubble-label .main-img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .bubble-label.left-bubble {
    width: 180px;
    left: 10px;
    right: auto;
  }

  .bubble-label.right-bubble {
    width: 180px;
    right: 10px;
    left: auto;
  }


  /* Benefits */
  #bene {
    padding: 50px 20px;
  }

  #bene .boxx {
    width: 160px;
    height: 230px;
  }

  /* Partners */
  #partners {
    padding: 50px 20px;
  }

  .swiper-slide img {
    height: 100px !important;
  }

  /* Team */
  .clay-team-section {
    padding: 50px 20px;
  }

  .clay-team-cards {
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
  }

  .clay-card {
    max-width: 280px;
    flex: 1 1 250px;
  }

  /* FAQ */
  #faq-ian {
    padding: 50px 20px;
  }

  /* Contact */
  #contact {
    padding: 50px 20px;
  }

  /* Footer */
  .footer {
    padding: 30px 20px;
  }

  iframe {
    height: 250px;
  }

  /* Floating button */
  div[style*="position: fixed"][style*="bottom: 40px"] {
    bottom: 25px !important;
    right: 25px !important;
  }

  /* Roadmap container */
  #roadmap-container {
    width: 100%;
    max-width: 450px;
    margin-bottom: 50px;
  }
}

/* Medium devices (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .speech-bubble {
    display: none !important;
  }

  .navbar {
    height: 120px;
    padding: 0 30px;
  }

  .navbar-left {
    left: 30px;
  }

  .logo-img {
    height: 100px;
  }

  .navbar-center {
    padding: 12px 30px;
    font-size: 16px;
    gap: 25px;
  }

  .hero {
    padding: 140px 30px 20px;
    flex-direction: row;
    text-align: left;
    gap: 30px;
    align-items: center;
  }

  .hero .container {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .text-content {
    max-width: 60%;
    order: 2;
    margin-right: 20px;
    text-align: left;
  }

  .character-img {
    position: relative !important;
    right: auto !important;
    top: 0 !important;
    height: 65vh;
    width: auto;
    order: 1;
  }

  .character-img.hide {
    opacity: 1 !important;
    display: flex !important;
  }

  .main-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .expert-info {
    font-size: 16px;
  }

  .btn-group {
    flex-direction: row;
    gap: 15px;
    justify-content: flex-start;
  }

  .btn-main {
    padding: 12px 24px;
    font-size: 15px;
  }

  .speech-bubble {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 20px auto 0;
    max-width: 80%;
    font-size: 16px;
  }

  .fonction-character {
    height: 400px;
    width: auto;
  }

  .speech-bubblel {
    position: absolute !important;
    left: 600px !important;
    top: 90px !important;
    font-size: 16px;
    max-width: 600px;
  }

  /* Roadmap */
  #roadmap {
    padding: 70px 30px;
  }

  .svg-container {
    max-width: 550px;
    height: 700px;
  }

  /* Benefits */
  #bene {
    padding: 70px 30px;
  }

  #bene .boxx {
    width: 180px;
    height: 260px;
  }

  /* Partners */
  #partners {
    padding: 70px 30px;
  }

  .swiper-slide img {
    height: 110px !important;
  }

  /* Team */
  .clay-team-section {
    padding: 70px 30px;
  }

  .clay-team-cards {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .clay-card {
    max-width: 300px;
    flex: 1 1 280px;
  }

  /* FAQ */
  #faq-ian {
    padding: 70px 30px;
  }

  /* Contact */
  #contact {
    padding: 70px 30px;
  }

  /* Footer */
  .footer {
    padding: 40px 30px;
  }

  iframe {
    height: 300px;
  }

  /* Roadmap container */
  #roadmap-container {
    width: 100%;
    max-width: 550px;
    margin-bottom: 70px;
  }
}

/* Large devices (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {

  .speech-bubble {
    display: none !important;
  }

  .navbar {
    height: 140px;
    padding: 0 40px;
  }

  .navbar-left {
    left: 40px;
  }

  .logo-img {
    height: 120px;
  }

  .navbar-center {
    padding: 14px 36px;
    font-size: 16px;
    gap: 28px;
  }


  .text-content {
    max-width: 55%;
    order: 2;
    margin-right: 30px;
    text-align: left;
  }

  .character-img {
    position: fixed !important;
    top: 0 !important;
    right: 10% !important;
    height: 78vh;
    width: auto;
    order: 1;
  }

  .main-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .expert-info {
    font-size: 16px;
  }

  .btn-group {
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
  }

  .btn-main {
    padding: 12px 24px;
    font-size: 15px;
  }

  .speech-bubble {
    position: absolute !important;
    top: 30% !important;
    right: 200px !important;
    font-size: 16px;
    max-width: 400px;
  }

  /* Function section */


  .fonction-character {
    height: 450px;
    width: auto;
  }

  .speech-bubblel {
    position: absolute !important;
    left: 650px !important;
    top: 90px !important;
    font-size: 16px;
    max-width: 700px;
  }

  /* Roadmap */
  #roadmap {
    padding: 90px 50px;
  }

  .svg-container {
    max-width: 650px;
    height: 800px;
  }

  /* Benefits */
  #bene {
    padding: 90px 50px;
  }

  #bene .boxx {
    width: 200px;
    height: 290px;
  }

  /* Partners */
  #partners {
    padding: 90px 50px;
  }

  .swiper-slide img {
    height: 120px !important;
  }

  /* Team */
  .clay-team-section {
    padding: 90px 50px;
  }

  .clay-team-cards {
    flex-direction: row;
    justify-content: center;
    gap: 35px;
  }

  .clay-card {
    max-width: 320px;
    flex: 1 1 300px;
  }

  /* FAQ */
  #faq-ian {
    padding: 90px 50px;
  }

  /* Contact */
  #contact {
    padding: 90px 50px;
  }

  /* Footer */
  .footer {
    padding: 50px 50px;
  }

  iframe {
    height: 320px;
  }

  /* Roadmap container */
  #roadmap-container {
    width: 100%;
    max-width: 650px;
    margin-bottom: 90px;
  }
}

/* Extra Large devices (≥ 1200px) */
@media (min-width: 1200px) {
  .navbar {
    height: 180px;
    padding: 0 60px;
  }

  .navbar-left {
    left: 60px;
  }

  .hero {
    padding: 180px 80px 20px;
  }

  .character-img {
    height: 82vh;
    width: auto;
  }

  .animated-section {
    padding: 120px 80px;
  }

  .svg-container {
    max-width: 800px;
    height: 1000px;
  }
}

@media (max-width: 1200px) {

  .animated-section>.container>div {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .animated-section>.container>div>div {
    max-width: revert !important;
    margin-left: 0 !important;
  }

  .animated-section>.container>div>div>img {
    height: auto !important;
    transform: translate(0px, 0px) !important;
    max-width: 100% !important;
  }

  .animated-section>.container>div>div>.btn-mainnn {
    position: static !important;
    display: block !important;
    width: fit-content !important;
    margin: 0 auto !important;
  }

  .speech-bubblel {
    display: block !important;
    max-width: 300px !important;
    white-space: normal !important;
    word-break: break-word !important;
    transform: translate(0px, 0px) !important;
  }



}


/* Landscape orientation adjustments for mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    flex-direction: row;
    text-align: left;
  }

  .character-img {
    height: 90vh;
    width: auto;
  }

  .text-content {
    order: 1;
    max-width: 60%;
  }

  .character-img {
    order: 2;
  }
}

/* Tablet landscape adjustments */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero {
    min-height: 80vh;
  }

  .character-img {
    height: 70vh;
    width: auto;
  }
}

/* Large screen optimizations */
@media (min-width: 1400px) {
  .hero {
    padding: 180px 100px 20px;
  }

  .navbar {
    padding: 0 80px;
  }

  .navbar-left {
    left: 80px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .logo-img,
  .character-img,
  .fonction-character {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Fix for scroll animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Performance optimizations */
.character-img,
.fonction-character,
.dashboard-img {
  will-change: transform, opacity;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid #ff06ad;
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #ff06ad;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* Smooth scrolling for anchor links */
html {
  scroll-padding-top: 180px;
  /* Account for fixed navbar */
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 120px;
    /* Account for smaller mobile navbar */
  }
}