/* CSS Variables */
:root {
  --hero-pattern-inset: -50%;
  --hero-pattern-rotation: 0deg;
  --hero-pattern-z-index: 1;
  --hero-pattern-bg-image: url(/line.png);
  --hero-pattern-position-x: center;
  --hero-pattern-position-y: center;
  --hero-pattern-size: 2000px;
  --hero-pattern-opacity: 1;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F8F8F8;
  color: #233D3D;
  line-height: 1.6;
}

.landing-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}
/* =========================================================
   NAVBAR
========================================================= */

/* Navbar Container */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: transparent;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  width: 100%;
  left: 0;
  right: 0;
  margin: 0;
}

@media (min-width: 1024px) {
  .navbar {
    display: block;
  }
}

.navbar-container {
  position: relative;
  z-index: 100;
  margin: 0 auto;
  width: 95%;
  max-width: 95%;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease,
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.6s ease,
              backdrop-filter 0.6s ease,
              border 0.6s ease,
              border-radius 0.6s ease,
              padding 0.6s ease;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-column-gap: 2rem;
  align-items: center;
  background-color: transparent;
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
}

.navbar-container.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.navbar-container.hidden.scrolled {
  opacity: 1;
  transform: translateY(20px);
  pointer-events: auto;
}

.navbar-container.scrolled {
  width: 65%;
  margin: 0 auto;
  transform: translateY(20px);
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  min-height: 60px;
}

/* Navbar Logo */
.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
}

/* Navbar Navigation Links */
.navbar-nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 32px;
  margin-right: 16px;
  transition: gap 0.3s ease, margin-right 0.3s ease;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
  }
}

.navbar-container.scrolled .navbar-nav {
  gap: 24px;
  margin-right: 16px;
}

.nav-link {
  color: #9AA2A2;
  font-size: 16px;
  font-weight: normal;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #233D3D;
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  transition: gap 0.3s ease;
}

.navbar-container.scrolled .navbar-actions {
  gap: 8px;
}

/* Navbar Buttons */
.btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: normal;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background-color: #008080;
  color: white;
}

.btn-primary:hover {
  background-color: #5BBBBB;
}

.btn-ghost {
  background-color: transparent;
  color: #233D3D;
}

.btn-ghost:hover {
  background-color: rgba(103, 204, 204, 0.1);
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #233D3D;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;                 /* ✅ top/left/right/bottom = 0 */
  width: 100vw;             /* ✅ force le viewport */
  height: 100dvh;           /* ✅ mieux sur mobile (Safari etc.) */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
  overflow: hidden;         /* ✅ évite débordement horizontal */
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-popup {
  position: fixed;
  inset: 0;                 /* ✅ couvre tout */
  width: 100vw !important;  /* ✅ pas de "max width implicite" */
  max-width: 100vw !important;
  height: 100dvh !important;

  background-color: white;

  /* animation */
  transform: translate3d(0, 100%, 0);
  transition: transform 0.3s ease;

  z-index: 10000;

  padding: 32px 24px;
  margin: 0 !important;

  display: flex !important;
  flex-direction: column;

  /* ✅ important : on évite le centrage qui crée un "bloc" bizarre */
  align-items: stretch;
  justify-content: center;

  overflow-y: auto;
  overflow-x: hidden;       /* ✅ no drift */
  box-sizing: border-box;

  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-menu-overlay.open .mobile-menu-popup {
  transform: translateY(0);
}

.mobile-menu-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #233D3D;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: color 0.2s;
}

.mobile-menu-close:hover {
  color: #008080;
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu-nav {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;
  align-items: center;
}

.mobile-nav-link {
  color: #233d3d7a !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0;
  border-bottom: none !important;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  transition: color 0.2s;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  text-align: center;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.mobile-nav-link:active,
.mobile-nav-link.active {
  color: #233D3D !important;
}


.mobile-menu-divider {
  height: 1px;
  background-color: #E5E5E5;
  margin: 16px auto !important;
  width: 50%;
  max-width: 100%;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  box-sizing: border-box;
}

.mobile-login {
  border-bottom: none !important;
  margin-top: 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100%;
  text-align: center;
}

.mobile-menu-cta {
  display: block !important;
  width: 100%;
  max-width: 100%;
  margin: 16px auto 0 auto !important;
  padding: 12px 24px;
  background-color: #008080;
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  transition: background-color 0.2s;
  box-sizing: border-box;
}

.mobile-menu-cta:hover {
  background-color: #5BBBBB;
}

/* Navbar Media Queries */
@media (max-width: 768px) {
  /* ✅ Mobile = même position dans TOUS les états (plus de translateY) */
  .navbar-container,
  .navbar-container.scrolled,
  .navbar-container.hidden,
  .navbar-container.hidden.scrolled {
    transform: none !important;
  }

  /* ✅ On garde juste le style "scrolled" sans bouger la navbar */
  .navbar-container.scrolled {
    width: 90% !important;
    margin: 0 auto !important;
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-radius: 10px !important;
    padding: 0.75rem 1rem !important;
    min-height: 60px !important;
  }

  /* ✅ Hidden sur mobile = fade seulement (pas de déplacement) */
  .navbar-container.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* ✅ Si hidden + scrolled : on force visible (comme tu voulais) mais sans bouger */
  .navbar-container.hidden.scrolled {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .desktop-login {
    display: none !important;
  }

  .navbar-actions .btn-primary {
    display: none !important;
  }

  .mobile-menu-overlay {
    display: block;
  }
}

/* =========================================================
   END NAVBAR
========================================================= */

/* =========================================================
   END NAVBAR
========================================================= */

.btn-cta {
  background-color: #008080;
  color: white;
  padding: 12px 24px;
  cursor: pointer;
}

.btn-cta:hover {
  background-color: #5BBBBB;
}

.btn-demo {
  background-color: white;
  color: #67CCCC;
  padding: 12px 24px;
  cursor: pointer;
}

.btn-demo:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  position: relative;
  z-index: 20;
}

@media (max-width: 768px) {
  .hero-buttons {
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
  }
}

.hero-approval {
  display: flex;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 0;
  opacity: 1;
}

.hero-approval-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(
    135deg,
    rgba(116, 205, 205, 0.5) 0%,
    rgba(255, 255, 255, 0.5) 100%
  );
  border-radius: 15px;
}

.hero-approval-text {
  font-size: 16px;
  font-weight: 600;
  color: white;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  line-height: 1.4;
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-approval {
    margin-top: 24px;
    align-items: center;
  }
  
  .hero-approval-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  
  .hero-approval .flex.flex-row {
    opacity: 1 !important;
  }
  
  .hero-approval-text {
    font-size: 14px;
    text-align: center;
    order: -1;
    margin-bottom: 0;
    opacity: 1 !important;
  }
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 8px 24px;

  height: 85vh;
  min-height: 700px;
  max-height: 1000px;
}

@media (max-width: 768px) {
  .hero-section {
    max-height: none;
    height: auto;
    min-height: 900px;
    padding: 8px 16px;
  }
}

.hero-container {
  position: relative;
  width: 95%;
  max-width: 95%;
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(90deg, #48BCBC 0%, #FFFFFF 100%);
}

@media (max-width: 768px) {
  .hero-container {
    overflow: hidden;
  }
}

.hero-pattern {
  position: absolute;
  inset: var(--hero-pattern-inset, -50%);
  background-image: var(--hero-pattern-bg-image, url(/line.png));
  background-repeat: no-repeat;
  background-position: var(--hero-pattern-position-x, center) var(--hero-pattern-position-y, center);
  background-size: var(--hero-pattern-size);
  transform: rotate(var(--hero-pattern-rotation, 100deg));
  opacity: var(--hero-pattern-opacity, 1);
  pointer-events: none;
  z-index: var(--hero-pattern-z-index, 1);
}

/* =========================================================
   HERO CONTENT (RÉFÉRENCE ABSOLUE)
========================================================= */

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;

  width: 100%;
  min-height: 100%; /* uniquement pour le layout global */
}

@media (max-width: 768px) {
  :root {
    --hero-pattern-inset: -20%;
    --hero-pattern-rotation: 100deg;
    --hero-pattern-position-x: center;
    --hero-pattern-position-y: center;
    --hero-pattern-size: 1000px;
    --hero-pattern-opacity: 1;
  }
  
  .hero-content {
    padding: 32px 24px 0 24px;
    align-items: center;
    text-align: center;
    overflow: hidden;
  }
  
  .hero-container {
    position: relative;
    width: 95%;
    max-width: 95%;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(110deg, #48BCBC 20%, #FFFFFF 110%);
    min-height: 800px;
  }
  
  .hero-pattern {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(20deg);
    width: 999px;
    height: 1000px;
    background-image: var(--hero-pattern-bg-image, url(/line.png)) !important;
    background-repeat: no-repeat !important;
    background-position: var(--hero-pattern-position-x, center) var(--hero-pattern-position-y, center) !important;
    background-size: 2000px !important;
    opacity: var(--hero-pattern-opacity, 1) !important;
    visibility: visible !important;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding: 32px 48px;
  }
  
  .hero-pattern {
    transform: rotate(0deg) !important;
    background-size: 2000px !important;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    padding: 48px 64px;
  }
}

/* =========================================================
   HERO TEXT
========================================================= */

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 40px;

  width: 100%;
  z-index: 10;
}

@media (max-width: 768px) {
  .hero-text {
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .hero-text {
    width: 45%;
    min-width: 400px;
  }
}

.hero-tag {
  display: inline-flex;        /* ⬅️ clé */
  align-items: center;
padding-top: 10px;
  width: fit-content;          /* ⬅️ clé */
  max-width: 100%;

  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: 6px;

  background-color: rgba(255, 255, 255, 0.30);
}


.hero-tag p {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hero-tag {
    margin-bottom: 16px;
  }
  
  .hero-tag p {
    font-size: 12px;
  }
}


.hero-title {
  color: white;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 8px;
  white-space: normal;
  overflow: visible;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 8px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }
}

.hero-description {
  color: white;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
  }
}

/* =========================================================
   HERO DASHBOARD — ANCRÉ AU BAS DU HERO
========================================================= */

.hero-dashboard {
  position: absolute;
  bottom: 0;        /* 🔒 collé au bas */
  right: 0;

  display: flex;
  align-items: flex-end;

  width: 55%;
  max-width: 55%;

  z-index: 10;
}

/* Mobile / Tablet → retour en flow normal */
@media (max-width: 1023px) {
  .hero-dashboard {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero-dashboard {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 32px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
}

/* =========================================================
   DASHBOARD CONTAINER (CADRE STABLE)
========================================================= */

.dashboard-container {
  position: relative;
  display: inline-block;   /* ⬅️ PAS FLEX */

  padding-top: 20px;
  padding-left: 20px;
  padding-right: 0;
  padding-bottom: 0;

  border-radius: 15px 0 15px 0;
  overflow: hidden;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(
    135deg,
    rgba(116, 205, 205, 0.5) 0%,
    rgba(255, 255, 255, 0.5) 100%
  );
}

@media (max-width: 768px) {
  .dashboard-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 15px 0 15px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(0px) !important;
    height: auto;
    max-height: none;
    box-sizing: border-box;
  }
}


/* =========================================================
   DASHBOARD IMAGE — TOUJOURS EN BAS
========================================================= */

.dashboard-img {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: 100%; /* 🔒 clé absolue */

  object-fit: contain;
  object-position: bottom right;

  margin: 0;
  padding: 0;

  background: transparent;
}

@media (max-width: 768px) {
  .dashboard-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    margin: 0 auto 0 auto;
    margin-bottom: 0;
    display: block;
    vertical-align: bottom;
  }
}

/* Logo Carousel Section */
.logo-carousel-section {
  width: 100%;
  padding: 80px 0;
  background-color: #F8F8F8;
  overflow: hidden;
  margin-top: -40px;
  display: flex;
  justify-content: center;
}

.carousel-container {
  width: 95%;
  max-width: 95%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 100px;
  animation: carousel-scroll 40s linear infinite;
  will-change: transform;
  align-items: center;
  width: fit-content;
  position: relative;
  left: 50%;
  transform: translateX(calc(-50% + var(--offset, 0px)));
}

.carousel-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.carousel-item:hover {
  opacity: 1;
}

.carousel-logo {
  height: 24px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.carousel-item:hover .carousel-logo {
  filter: grayscale(0%);
}

@keyframes carousel-scroll {
  0% {
    transform: translateX(calc(-50% + var(--offset, 0px)));
  }
  100% {
    transform: translateX(calc(-50% + var(--offset, 0px) - 50%));
  }
}

@media (min-width: 768px) {
  .logo-carousel-section {
    padding: 100px 0;
    margin-top: -50px;
  }
  
  .carousel-logo {
    height: 28px;
    max-width: 150px;
  }
  
  .carousel-track {
    gap: 300px;
  }
}

@media (min-width: 1024px) {
  .logo-carousel-section {
    padding: 120px 0;
    margin-top: -60px;
  }
  
  .carousel-logo {
    height: 30px;
    max-width: 150px;
  }
  
  .carousel-track {
    gap: 300px;
  }
}

/* Stats Section */
.stats-section {
  width: 100%;
  padding: 80px 24px;
  background-color: #F8F8F8;
  display: block;
  visibility: visible;
  opacity: 1;
}

.stats-header {
  width: 70%;
  max-width: 70%;
  margin: 0 auto 60px auto;
  text-align: center;
}

.stats-title {
  font-size: 40px;
  font-weight: 400;
  color: #395E5E;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.stats-description {
  font-size: 18px;
  font-weight: 400;
  color: #517875;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.mobile-break {
  display: none;
}

.desktop-break {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-break {
    display: inline;
  }
  
  .desktop-break {
    display: none;
  }
  
}

.stats-container {
  width: 70%;
  max-width: 70%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  visibility: visible;
  opacity: 1;
}

.stat-box {
  background-color: #67CCCC;
  padding: 32px 24px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 400px;
  height: 100%;
  width: 100%;
  visibility: visible;
  opacity: 1;
}

.stat-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  opacity: 1;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.stat-number {
  font-size: 50px;
  font-weight: regular;
  color: white;
  line-height: 1.2;
  margin-bottom: 12px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  text-align: left;
  width: auto;
}

.stat-label {
  font-size: 16px;
  color: white;
  line-height: 1.5;
  opacity: 1;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  font-weight: normal;
  text-align: left;
  width: auto;
}

.stat-label br {
  display: none;
}

@media (max-width: 1440px) {
  .stat-label br {
    display: block;
  }
}

@media (max-width: 768px) {
  .stats-header {
    width: 90%;
    max-width: 90%;
    margin-bottom: 40px;
  }
  
  .stats-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .stats-title {
    font-size: 28px;
  }
  
  .stats-description {
    font-size: 16px;
  }
  
  .stats-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .stat-box {
    min-height: 180px;
    padding: 32px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .stat-label {
    font-size: 14px;
  }
  
  .stat-icon {
    top: 20px;
    right: 20px;
  }
}

/* Features Bento Section */
.features-bento-section {
  width: 100%;
  padding: 200px 24px 80px 24px;
  margin-top: 0;
  background-color: #F8F8F8;
  display: block;
  visibility: visible;
  opacity: 1;
}

.features-bento-header {
  width: 70%;
  max-width: 70%;
  margin: 0 auto 60px auto;
  text-align: center;
}

.features-bento-title {
  font-size: 40px;
  font-weight: 400;
  color: #395E5E;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.features-bento-description {
  font-size: 18px;
  font-weight: 400;
  color: #517875;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.bento-grid {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: stretch;
}

.bento-box {
  background-color: white;
  border-radius: 10px;
  padding: 32px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.bento-box.bento-large-left,
.bento-box.bento-small-right,
.bento-box.bento-small-left,
.bento-box.bento-large-left-inverted {
  padding-bottom: 0;
}

.bento-large-left {
  grid-column: 2 / span 1;
  grid-row: 1;
}

.bento-small-right {
  grid-column: 1 / span 1;
  grid-row: 1;
}

.bento-small-left {
  grid-column: 1 / span 1;
  grid-row: 2;
}

.bento-large-right {
  grid-column: 2 / span 1;
  grid-row: 2;
}

.bento-large-left-inverted {
  grid-column: 1 / span 1;
  grid-row: 1;
}

.bento-small-right-inverted {
  grid-column: 2 / span 1;
  grid-row: 1;
}

.bento-box-title {
  font-size: 18px;
  font-weight: 500;
  color: #233D3D;
  margin-bottom: 12px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.bento-box-description {
  font-size: 16px;
  font-weight: 400;
  color: #9CAFAF;
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.bento-box-visual {
  display: none;
}

.bento-box-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: 0;
  margin-bottom: 0;
  width: 100%;
}

.bento-box-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.bento-box.bento-small-right {
  padding-bottom: 0 !important;
  padding: 32px 32px 0 32px !important;
  overflow: hidden;
}

.bento-box.bento-small-right .bento-box-image {
  padding-top: 24px;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  margin-top: auto;
  align-items: flex-end;
  line-height: 0;
  font-size: 0;
}

.bento-box.bento-small-right .bento-box-image img {
  width: 135%;
  max-width: none;
  height: auto;
  margin-left: 15%;
  margin-right: -12%;
  margin-bottom: -100px !important;
  padding-bottom: 0 !important;
  display: block;
  vertical-align: bottom;
}

.bento-box.bento-small-left {
  padding-bottom: 0 !important;
  padding: 32px 32px 0 32px !important;
  overflow: hidden;
}

.bento-box.bento-small-left .bento-box-image {
  padding-top: 24px;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  margin-top: auto;
  align-items: flex-end;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.bento-box.bento-small-left .bento-box-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-left: 18%;
  margin-right: -8%;
  margin-bottom: -50px !important;
  padding-bottom: 0 !important;
  display: block;
  vertical-align: bottom;
}

.bento-box.bento-large-left-inverted {
  padding-bottom: 0;
}

.bento-box.bento-small-right-inverted {
  padding-bottom: 0 !important;
  padding: 32px 32px 0 32px !important;
  overflow: hidden;
}

.bento-box.bento-small-right-inverted .bento-box-image {
  padding-top: 24px;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  margin-top: auto;
  align-items: flex-end;
  line-height: 0;
  font-size: 0;
}

.bento-box.bento-small-right-inverted .bento-box-image img {
  width: 135%;
  max-width: none;
  height: auto;
  margin-left: 15%;
  margin-right: -12%;
  margin-bottom: -100px !important;
  padding-bottom: 0 !important;
  display: block;
  vertical-align: bottom;
}

/* Three Steps Section */
.three-steps-section {
  width: 100%;
  padding: 200px 24px 80px 24px;
  margin-top: 0;
  background-color: #F8F8F8;
  display: block;
  visibility: visible;
  opacity: 1;
}

.three-steps-header {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.three-steps-header-content {
  flex: 1;
  text-align: left;
}

  .three-steps-header-cta {
    flex-shrink: 0;
    align-self: flex-end;
  }
  
  .three-steps-mobile-cta {
    display: none;
  }

.three-steps-title {
  font-size: 40px;
  font-weight: 400;
  color: #395E5E;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.three-steps-description {
  font-size: 18px;
  font-weight: 400;
  color: #517875;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.three-steps-container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.step-box {
  background-color: #67CCCC;
  border-radius: 10px;
  padding: 32px 32px 0 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 500px;
}

.step-box-title {
  font-size: 25px;
  font-weight: 400;
  color: white;
  margin-bottom: 12px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  text-align: left;
}

.step-box-description {
  font-size: 16px;
  font-weight: 400;
  color: white;
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  text-align: left;
}

.step-box-image {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}

.step-box-image img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
  box-shadow: 
    0 -4px 10px 0 rgba(0, 0, 0, 0.1),
    0 -18px 18px 0 rgba(0, 0, 0, 0.09),
    0 -40px 24px 0 rgba(0, 0, 0, 0.05),
    0 -71px 28px 0 rgba(0, 0, 0, 0.01),
    0 -110px 31px 0 rgba(0, 0, 0, 0);
}

@media (min-width: 769px) and (max-width: 1200px) {
  .bento-grid {
    width: 90%;
    max-width: 90%;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .bento-large-left,
  .bento-small-right,
  .bento-small-left,
  .bento-large-right {
    width: 100%;
  }
  
  .three-steps-container {
    width: 90%;
    max-width: 90%;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .features-bento-section {
    padding: 100px 24px 60px 24px;
  }
  
  .features-bento-header {
    width: 90%;
    max-width: 90%;
    margin-bottom: 40px;
  }
  
  .features-bento-title {
    font-size: 28px;
  }
  
  .features-bento-description {
    font-size: 16px;
  }
  
  .bento-grid {
    width: 90%;
    max-width: 90%;
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  
  .bento-large-left,
  .bento-small-right,
  .bento-small-left,
  .bento-large-right {
    width: 100%;
  }
  
  .bento-box {
    padding: 24px;
  }
  
  .bento-box-title {
    font-size: 20px;
  }
  
  .bento-box-description {
    font-size: 14px;
  }
  
  /* Force 1 colonne pour les box dans bento-wrapper sur mobile */
  .bento-wrapper .bento-row {
    width: 100% !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  
  .bento-wrapper .bento-box-item {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Ajuster box1.png sur mobile : taille 420px et décalée à droite de 40px */
  .bento-wrapper .box1-img {
    max-width: 550px !important;
    margin-left: 50px !important;
    padding-top: 50px !important;
  }
  
  /* Supprimer margin-left pour box2.png sur mobile */
  .bento-wrapper .box2-img {
    margin-left: 0 !important;
  }
  
  /* Ajuster box4.png sur mobile : taille 420px et centrée */
  .bento-wrapper .box4-img {
    margin-bottom: 0 !important;
    width: 420px !important;
    max-width: 420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 50px !important;
    padding-top: 50px !important;
  }
  
  .three-steps-section {
    padding: 100px 24px 60px 24px;
  }
  
  .three-steps-header {
    width: 90%;
    max-width: 90%;
    margin-bottom: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .three-steps-header-content {
    text-align: left;
  }
  
  .three-steps-title {
    font-size: 28px;
  }
  
  .three-steps-description {
    font-size: 16px;
  }
  
  /* Cacher le bouton dans le header sur mobile */
  .three-steps-header-cta {
    display: none !important;
  }
  
  /* Afficher et centrer le bouton sous la dernière box sur mobile */
  .three-steps-mobile-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 90%;
    max-width: 90%;
    margin: 40px auto 0 auto;
  }
  
  .three-steps-container {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .step-box {
    min-height: 400px;
  }
  
  .step-box-title {
    font-size: 22px;
  }
  
  /* Future section mobile styles */
  .future-section {
    padding: 100px 24px 60px 24px !important;
  }
  
  .future-section-container {
    flex-direction: column !important;
    padding: 32px 24px !important;
    gap: 32px !important;
    align-items: center !important;
  }
  
  .future-section-content {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .future-section-title {
    text-align: center !important;
  }
  
  .future-section-description {
    text-align: center !important;
  }
  
  .future-section-buttons {
    justify-content: center !important;
    flex-direction: row !important;
    gap: 12px !important;
  }
  
  .future-section-image {
    width: 100% !important;
    height: auto !important;
    margin-bottom: -100px !important;
    order: 3 !important;
  }
  
  .future-section-image img {
    position: relative !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  
  .future-section-container {
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }
  
  /* Pricing section mobile styles */
  .pricing-section {
    width: 90% !important;
    margin-top: 100px;
    padding: 50px 24px 50px 24px !important;
  }
  
  .price-amount {
    font-size: 38px !important;
  }
  
  .slider-track {
    border-radius: 10px !important;
  }
  
  .pricing-section::before {
    background-position: right 400px !important;
    background-size: 200% !important;
  }
  
  .step-box-description {
    font-size: 14px;
  }
}

/* Reviews Carousel Section */
.reviews-carousel-section {
  width: 100%;
  padding: 200px 0 80px 0;
  margin-top: 0;
  background-color: #F8F8F8;
  display: block;
  visibility: visible;
  opacity: 1;
  overflow: hidden;
}

.reviews-carousel-header {
  width: 70%;
  max-width: 70%;
  margin: 0 auto 60px auto;
  text-align: center;
}

.reviews-carousel-title {
  font-size: 40px;
  font-weight: 400;
  color: #395E5E;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.reviews-carousel-description {
  font-size: 18px;
  font-weight: 400;
  color: #517875;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  margin-bottom: 20px;
}

.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviews-stars-yellow {
  color: #FFB800;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 2px;
}

.reviews-rating-text {
  font-size: 16px;
  font-weight: 500;
  color: #395E5E;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  line-height: 1.4;
}

.reviews-rating-description {
  font-size: 18px;
  font-weight: 400;
  color: #517875;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  margin-bottom: 0;
}

.reviews-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.reviews-carousel-track {
  display: flex !important;
  gap: 24px;
  width: max-content !important;
  will-change: transform !important;
}

.reviews-carousel-track-top {
  margin-bottom: 24px;
  animation: scroll-left-reviews 120s linear infinite !important;
}

.reviews-carousel-track-bottom {
  animation: scroll-right-reviews 120s linear infinite !important;
}

@keyframes scroll-left-reviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right-reviews {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.review-card {
  background-color: white;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 400px;
  height: 220px;
  flex-shrink: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.review-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.review-stars {
  color: #FFB800;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  line-height: 1;
}

.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: #b6cbcb;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  font-weight: 400;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-text .highlight {
  color: #395E5E;
}

.review-author {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.review-name {
  font-size: 14px;
  font-weight: 600;
  color: #395E5E;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.review-title {
  font-size: 14px;
  color: #9CAFAF;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .reviews-carousel-section {
    padding: 100px 0 60px 0;
  }
  
  .reviews-carousel-header {
    width: 90%;
    max-width: 90%;
    margin-bottom: 40px;
  }
  
  .reviews-carousel-title {
    font-size: 28px;
  }
  
  .reviews-carousel-description {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .reviews-rating {
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .reviews-stars-yellow {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
  
  .reviews-rating-text {
    font-size: 15px;
  }
  
  .reviews-rating-description {
    font-size: 16px;
    margin-bottom: 0;
  }
  
  .review-card {
    min-width: 220px;
    height: 200px;
  }
  
  .reviews-carousel-track {
    gap: 16px;
  }
  
  .reviews-carousel-track-top {
    animation: scroll-left-reviews 120s linear infinite !important;
  }
  
  .reviews-carousel-track-bottom {
    animation: scroll-right-reviews 120s linear infinite !important;
  }
}

/* Founders Section */
.founders-section {
  width: 100%;
  padding: 200px 24px 80px 24px;
  margin-top: 0;
  background-color: #F8F8F8;
  display: block;
  visibility: visible;
  opacity: 1;
}

.founders-header {
  width: 70%;
  max-width: 70%;
  margin: 0 auto 60px auto;
  text-align: center;
}

.founders-title {
  font-size: 40px;
  font-weight: 400;
  color: #395E5E;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.founders-description {
  font-size: 18px;
  font-weight: 400;
  color: #395E5E;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.founders-container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.founder-card {
  width: 100%;
  position: relative;
}

.founder-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.founder-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  object-fit: cover;
  filter: grayscale(100%);
  padding: 10px;
  box-sizing: border-box;
}

.founder-overlay {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background-color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 8px;
}

.founder-info {
  flex: 1;
}

.founder-name {
  font-size: 18px;
  font-weight: 500;
  color: #395E5E;
  margin-bottom: 4px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.founder-title {
  font-size: 16px;
  font-weight: 400;
  color: #395E5E;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.founder-linkedin {
  flex-shrink: 0;
  margin-left: 12px;
  align-self: flex-start;
}

.founder-linkedin img {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 768px) {
  .founders-section {
    padding: 100px 24px 60px 24px;
  }
  
  .founders-header {
    width: 90%;
    max-width: 90%;
    margin-bottom: 40px;
  }
  
  .founders-title {
    font-size: 28px;
  }
  
  .founders-description {
    font-size: 16px;
  }
  
  .founders-container {
    width: 90%;
    max-width: 90%;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* "Built with and for ophthalmologists" section mobile styles */
  .founders-section-container {
    width: 100% !important;
    flex-direction: column !important;
    padding: 24px 16px !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  
  .founders-section-content {
    width: 100% !important;
    flex: none !important;
    order: 1 !important;
    padding: 24px !important;
  }
  
  .founders-section-title {
    text-align: left !important;
    margin-bottom: 16px !important;
    font-size: 18px !important;
  }
  
  .founders-section-description {
    text-align: left !important;
  }
  
  .founders-section-image {
    width: 100% !important;
    flex: none !important;
    order: 2 !important;
    margin-top: 0 !important;
  }
  
  .founders-image {
    padding: 24px !important;
    width: 100% !important;
  }
  
  .founders-image .founders-section-title {
    font-size: 18px !important;
    margin-bottom: 16px !important;
  }
}

/* FAQ Section */
.faq-section {
  width: 100%;
  padding: 200px 24px 80px 24px;
  margin-top: 0;
  background-color: #F8F8F8;
  display: block;
  visibility: visible;
  opacity: 1;
}

.faq-header {
  width: 70%;
  max-width: 70%;
  margin: 0 auto 60px auto;
  text-align: center;
}

.faq-title {
  font-size: 40px;
  font-weight: 400;
  color: #395E5E;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.faq-description {
  font-size: 18px;
  font-weight: 400;
  color: #517875;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.faq-container {
  width: 70%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  transition: all 0.3s ease;
}

.faq-question span:first-child {
  font-size: 18px;
  font-weight: 500;
  color: #233D3D;
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 20px;
  height: 20px;
  color: #233D3D;
  transition: transform 0.3s ease;
}

/* Hide the vertical line when open (show minus), show when closed (show plus) */
.faq-item[data-open="true"] .faq-icon svg path:last-child {
  display: none !important;
}

.faq-item:not([data-open="true"]) .faq-icon svg path:last-child {
  display: block !important;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-item[data-open="true"] .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px 20px;
}

.faq-answer p {
  font-size: 16px;
  font-weight: 400;
  color: #9CAFAF;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 100px 24px 60px 24px;
  }
  
  .faq-header {
    width: 90%;
    max-width: 90%;
    margin-bottom: 40px;
  }
  
  .faq-title {
    font-size: 28px;
  }
  
  .faq-description {
    font-size: 16px;
  }
  
  .faq-container {
    width: 90%;
    max-width: 90%;
  }
  
  .faq-question {
    padding: 16px;
  }
  
  .faq-question span:first-child {
    font-size: 16px;
  }
  
  .faq-answer {
    padding: 0 16px;
  }
  
  .faq-item[data-open="true"] .faq-answer {
    padding: 0 16px 16px 16px;
  }
  
  .faq-answer p {
    font-size: 14px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-box {
    padding: 32px;
    min-height: 190px;
  }
  
  .stat-number {
    font-size: 44px;
  }
}

/* Pricing Section */
.pricing-section {
  flex: 1;
  width: 80%;
  padding: 60px 24px 60px 24px;
  margin-top: 200px;
  border-radius: 15px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(to bottom, #48BCBC 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/line-flat.png');
  background-repeat: no-repeat;
  background-position: right 200px;
  background-size: 150%;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.pricing-container {
  position: relative;
  z-index: 1;
}

.pricing-background-image {
  position: absolute;
  bottom: -100%;
  left: -20%;
  z-index: 0;
  pointer-events: none;
  width: auto;
  height: auto;
}

.pricing-background-image img {
  width: auto;
  height: auto;
  display: block;
  max-height: 100%;
  object-fit: contain;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Pricing Cards Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr; /* Single column layout */
  gap: 32px;
  margin-top: 48px;
  align-items: start; /* Align cards to top, don't stretch them */
  max-width: 512px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 512px;
    margin: 48px auto 0;
  }
}

.pricing-header-box {
  width: 80%;
  max-width: 80%;
  margin: 0 auto 64px auto;
  text-align: center;
}

.pricing-header {
  margin-bottom: 64px;
}

.pricing-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  background-color: #E6F5F4;
  color: #008080;
  padding: 4px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pricing-title {
  font-size: 40px;
  font-weight: 400;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.pricing-description {
  font-size: 18px;
  font-weight: 400;
  color: white;
  line-height: 1.6;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

/* Pricing Toggle - Hidden */
.pricing-toggle-container {
  display: none;
}

.pricing-toggle {
  display: flex;
  background-color: white;
  padding: 4px;
  border-radius: 10px;
  padding: 8px;
}

.toggle-btn {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #6B7280;
  cursor: pointer;
  font-family: inherit;
}

.toggle-btn.active {
  background-color: #008080;
  color: white;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.10),
    0 14px 14px rgba(0, 0, 0, 0.09),
    0 32px 19px rgba(0, 0, 0, 0.05),
    0 57px 23px rgba(0, 0, 0, 0.01),
    0 89px 25px rgba(0, 0, 0, 0);
  animation: toggleShadowSequence 0.6s ease-out forwards;
}

@keyframes toggleShadowSequence {
  0% {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.10);
  }
  20% {
    box-shadow: 
      0 4px 8px rgba(0, 0, 0, 0.10),
      0 14px 14px rgba(0, 0, 0, 0.09);
  }
  40% {
    box-shadow: 
      0 4px 8px rgba(0, 0, 0, 0.10),
      0 14px 14px rgba(0, 0, 0, 0.09),
      0 32px 19px rgba(0, 0, 0, 0.05);
  }
  60% {
    box-shadow: 
      0 4px 8px rgba(0, 0, 0, 0.10),
      0 14px 14px rgba(0, 0, 0, 0.09),
      0 32px 19px rgba(0, 0, 0, 0.05),
      0 57px 23px rgba(0, 0, 0, 0.01);
  }
  100% {
    box-shadow: 
      0 4px 8px rgba(0, 0, 0, 0.10),
      0 14px 14px rgba(0, 0, 0, 0.09),
      0 32px 19px rgba(0, 0, 0, 0.05),
      0 57px 23px rgba(0, 0, 0, 0.01),
      0 89px 25px rgba(0, 0, 0, 0);
  }
}

/* Pricing Card */
.pricing-card {
  background-color: white;
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  display: flex;
  height: 100%;
  flex-direction: column;
  /* Remove height: 100% to let each card adapt to its content */
}

.pricing-card-free {
  /* Styles spécifiques pour la box Free si nécessaire */
}

.pricing-card-middle {
  /* Styles spécifiques pour la box du milieu si nécessaire */
}

.pricing-card-enterprise {
  /* Styles spécifiques pour la box Enterprise si nécessaire */
}

.pricing-card-enterprise .card-description {
  margin-bottom: 20px; /* Réduit l'espace au-dessus du divider */
}

.card-badge {
  margin-bottom: 28px;
}

.card-badge span {
  font-size: 14px;
  font-weight: 500;
  color: #008080;
  background-color: #E6F5F4;
  padding: 4px 12px;
  border-radius: 6px;
}

.card-price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-bottom: 25px;
}

.price-amount {
  color: #008080;
  line-height: 1;
  font-size: 48px;
  font-weight: bold;
}

.price-period {
  margin-bottom: 4px;
  color: #395E5E;
  font-size: 12px;
}

.card-description {
  margin-bottom: 52px;
  margin-top: -20px;
  font-size: 16px;
  font-weight: 400;
  color: #517875;
}

/* Slider */
.slider-container {
  margin-bottom: 32px;
  position: relative;
}

.slider-track {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 60px;
  background-color: #f5f5f5;
  border-radius: 20px;
  margin: 0 auto;
  cursor: pointer;
  user-select: none;
  overflow: visible;
  padding: 0;
}

.slider-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.slider-ticks {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-track .slider-ticks .tick {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none;
  z-index: 2 !important;
  display: block !important;
  visibility: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-sizing: border-box !important;
}

.slider-track .slider-ticks .tick-large {
  width: 2px !important;
  height: 26px !important;
  background-color: #000000 !important;
  background: #000000 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 3 !important;
  opacity: 0.4 !important;
  min-width: 2px !important;
  min-height: 26px !important;
  border-radius: 1px !important;
  transition: all 0.2s ease !important;
}

.slider-track .slider-ticks .tick-large.tick-active {
  background-color: #008080 !important;
  background: #008080 !important;
  opacity: 1 !important;
  width: 3px !important;
  height: 32px !important;
  min-width: 3px !important;
  min-height: 32px !important;
}

.slider-track .slider-ticks .tick-large:hover {
  opacity: 0.7 !important;
}

.slider-track .slider-ticks .tick-large.tick-active:hover {
  background-color: #006666 !important;
  height: 36px !important;
  min-height: 36px !important;
}

.slider-track .slider-ticks .tick-small {
  width: 1px !important;
  height: 14px !important;
  background-color: #000000 !important;
  background: #000000 !important;
  opacity: 0.3 !important;
  z-index: 2 !important;
  min-width: 1px !important;
  min-height: 14px !important;
  pointer-events: none !important;
}



.slider-indicator {
  position: absolute;
  top: 50%;
  width: 3px;
  height: 32px;
  background-color: #008080;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 128, 128, 0.67);
  transform: translateX(-50%) translateY(-50%);
  transition: left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.slider-bubble {
  position: absolute;
  top: -24px;
  padding: 2px 12px;
  background-color: #008080;
  color: white;
  font-size: 12px;
  font-weight: 500;
  border-radius: 9999px;
  transform: translateX(-50%);
  transition: left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  white-space: nowrap;
  min-width: fit-content;
}

.card-divider {
  border-top: 1px solid #E5E7EB;
  margin: 24px 0;
}

.card-features-title {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: normal;
  color: #233D3D;
}

.card-features-list {
  list-style: none;
  margin-bottom: 24px;
}

.card-features-list li {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 400;
  color: #395E5E;
}

.card-features-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.card-footer-text {
  text-align: center;
  margin-top: 8px;
  color: #9AA2A2;
  font-size: 12px;
}

/* Footer */
.footer {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.footer-background-text {
  position: relative;

  width: 95%;
  max-width: 95%;
  min-height: 400px;
  margin: 0 auto;
  padding: 0 0px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: clamp(120px, 22vw, 380px); /* 🔥 clé absolue */
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;

  color: rgba(0, 128, 128, 0.071);
  font-family: "Lato", "Inter", system-ui, sans-serif;

  white-space: nowrap;
  pointer-events: none;
  z-index: 1;

  box-sizing: border-box;
  overflow: visible;
  transform-origin: center;
}


.footer-content-container {
  position: relative;
  z-index: 3;
  width: 95%;
  max-width: 95%;
  margin: -120px auto 0 auto;
  padding: 48px 64px;
  background: linear-gradient(150deg, #48BCBC 40%, #FFFFFF 120%);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: 100%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  box-shadow: 
    0 -45px 13px 0 rgba(0, 0, 0, 0),
    0 -29px 12px 0 rgba(0, 0, 0, 0.01),
    0 -16px 10px 0 rgba(0, 0, 0, 0.03),
    0 -7px 7px 0 rgba(0, 0, 0, 0.05),
    0 -2px 4px 0 rgba(0, 0, 0, 0.05);
}

.footer-logo-wrapper {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.footer-logo {
  width: auto;
  height: 48px;
  display: block;
}

/* Afficher logo-white.svg sur desktop, Logo.svg sur mobile */
.footer-logo-desktop {
  display: block;
}

.footer-logo-mobile {
  display: none;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 64px;
  margin-left: auto;
  flex-shrink: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: white;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.footer-link {
  font-size: 16px;
  font-weight: 400;
  color: white;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  text-decoration: none;
  line-height: 1.6;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.8;
}

/* Cacher les liens Legal sous le logo sur desktop */
.footer-legal-links {
  display: none;
}

@media (max-width: 1024px) {
  .footer-background-text {
    width: calc(95% - 96px);
    max-width: calc(95% - 96px);
    padding: 0 48px;
    min-height: 500px;
    font-size: clamp(80px, 18vw, 300px);
  }
  
  .footer-content-container {
    flex-direction: column;
    gap: 40px;
    padding: 40px 48px;
    align-items: flex-start;
  }
  
  .footer-logo-wrapper {
    align-self: flex-start;
  }
  
  .footer-logo {
    height: 48px;
  }
  
  .footer-columns {
    grid-template-columns: repeat(3, auto);
    gap: 48px;
    width: auto;
    margin-left: 0;
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .footer-background-text {
    width: calc(95% - 48px);
    max-width: calc(95% - 48px);
    min-height: 200px;
    font-size: clamp(60px, 20vw, 200px);
    padding: 0 24px;
  }
  
  .footer-content-container {
    width: 95%;
    max-width: 95%;
    margin-top: -80px;
    padding: 32px 24px;
    gap: 32px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
    order: 1;
    justify-items: center;
  }
  
  /* Cacher le titre "Legal" sur mobile */
  .footer-column:first-child .footer-heading {
    display: none !important;
  }
  
  /* Cacher les liens Legal dans leur colonne d'origine sur mobile */
  .footer-column:first-child .footer-link {
    display: none !important;
  }
  
  /* Centrer le contenu des colonnes sur mobile */
  .footer-column {
    align-items: center !important;
    text-align: center !important;
  }
  
  .footer-logo-wrapper {
    order: 2;
    margin-top: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  
  .footer-logo-desktop {
    display: none !important;
  }
  
  .footer-logo-mobile {
    display: block !important;
  }
  
  .footer-logo {
    height: 40px;
    margin: 0 auto;
    display: block;
  }
  
  /* Cacher les liens Legal dans footer-logo-wrapper sur mobile */
  .footer-legal-links {
    display: none !important;
  }
  
  /* Centrer le texte sous le logo sur mobile et changer sa couleur */
  .footer-description-text {
    text-align: center !important;
    color: #395E5E !important;
  }
  
  /* Cacher les puces dans la liste Security & Compliance sur mobile */
  .footer-security-list {
    list-style: none !important;
    padding-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .footer-background-text {
    font-size: clamp(40px, 18vw, 150px);
    padding: 0 16px;
  }
}

/* Styles pour les liens Privacy Policy et Terms and Conditions sous le copyright sur mobile */
@media (max-width: 768px) {
  .footer-mobile-legal-links {
    display: flex !important;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
  }
  
  .footer-mobile-legal-link {
    color: white !important;
    font-size: 14px !important;
    text-decoration: none;
    font-family: "Lato", "Inter", system-ui, sans-serif;
    opacity: 0.9;
    transition: opacity 0.2s;
  }
  
  .footer-mobile-legal-link:hover {
    opacity: 1;
  }
}

/* AI Analysis Card Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riskProgressBar {
  0% {
    width: 0%;
  }
  100% {
    width: 42.1%;
  }
}

.ai-analysis-card {
  animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

@media (max-width: 768px) {
  .ai-analysis-card {
    top: 100px !important;
    right: -20px !important;
  }
}

.risk-progress-bar {
  width: 0%;
}

.risk-progress-bar.animate {
  animation: riskProgressBar 2s ease-out forwards;
}

/* =========================================================
   DEMO MODAL
========================================================= */

.demo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  animation: demoModalFadeIn 0.3s ease-out forwards;
}

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

.demo-modal {
  position: relative;
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.95) translateY(10px);
  animation: demoModalSlideIn 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes demoModalSlideIn {
  from {
    transform: scale(0.95) translateY(10px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.demo-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #395E5E;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
}

.demo-modal-close:hover {
  background-color: rgba(57, 94, 94, 0.1);
  color: #008080;
}

.demo-modal-close:focus {
  outline: 2px solid #008080;
  outline-offset: 2px;
}

.demo-modal-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.demo-modal-header {
  padding: 40px 40px 24px 40px;
  border-bottom: 1px solid rgba(231, 234, 239, 1);
}

.demo-modal-title {
  font-size: 28px;
  font-weight: 600;
  color: #395E5E;
  margin: 0 0 12px 0;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  line-height: 1.2;
}

.demo-modal-description {
  font-size: 16px;
  color: #517875;
  margin: 0;
  line-height: 1.5;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.demo-modal-form {
  padding: 32px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.demo-modal-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-modal-label {
  font-size: 14px;
  font-weight: 500;
  color: #395E5E;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  line-height: 1.4;
}

.demo-modal-required {
  color: #008080;
}

.demo-modal-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  color: #395E5E;
  background-color: white;
  border: 1px solid rgba(57, 94, 94, 0.2);
  border-radius: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.demo-modal-input:focus {
  outline: none;
  border-color: #008080;
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.demo-modal-input:hover:not(:focus) {
  border-color: rgba(57, 94, 94, 0.4);
}

.demo-modal-input::placeholder {
  color: rgba(57, 94, 94, 0.4);
}

.demo-modal-input-error {
  border-color: #dc3545;
  animation: demoModalErrorFade 0.4s ease-out;
}

@keyframes demoModalErrorFade {
  from {
    border-color: rgba(57, 94, 94, 0.2);
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
  50% {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.2);
  }
  to {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
  }
}

.demo-modal-input-error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.demo-modal-error {
  font-size: 13px;
  color: #dc3545;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  line-height: 1.4;
}

.demo-modal-error-submit {
  padding: 12px 16px;
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 6px;
  color: #dc3545;
  font-size: 14px;
  font-family: "Lato", "Inter", system-ui, sans-serif;
}

.demo-modal-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.demo-modal-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.demo-modal-submit:not(:disabled):hover {
  background-color: #5BBBBB;
}

.demo-modal-success {
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.demo-modal-success-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-modal-success-title {
  font-size: 24px;
  font-weight: 600;
  color: #395E5E;
  margin: 0;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  line-height: 1.2;
}

.demo-modal-success-message {
  font-size: 16px;
  color: #517875;
  margin: 0;
  line-height: 1.5;
  font-family: "Lato", "Inter", system-ui, sans-serif;
  max-width: 400px;
}

@media (max-width: 768px) {
  .demo-modal-overlay {
    padding: 16px;
  }

  .demo-modal {
    max-width: 100%;
    border-radius: 10px;
  }

  .demo-modal-header {
    padding: 32px 24px 20px 24px;
  }

  .demo-modal-title {
    font-size: 24px;
  }

  .demo-modal-description {
    font-size: 15px;
  }

  .demo-modal-form {
    padding: 24px;
    gap: 20px;
  }

  .demo-modal-close {
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
  }

  .demo-modal-success {
    padding: 50px 24px;
  }

  .demo-modal-success-title {
    font-size: 22px;
  }

  .demo-modal-success-message {
    font-size: 15px;
  }
}
