/* Variables CSS */
:root {
  --primary-color: #f28508;
  --primary-hover: #e67a00;
  --secondary-color: #6366f1;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --background-primary: #ffffff;
  /* --background-secondary: #f9fafb; */
  --background-secondary: #f9f9f9;
  --background-dark: #111827;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav {
  padding: 1rem 0;
}

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

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo {
  height: 2.5rem;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(180deg, #ff6b35 0%, #f7931e 100%);
  /* background: var(--text-primary); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

#menu a:hover {
  color: var(--primary-color);
}

#menu a::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.2s ease;
}

#menu a:hover::after {
  width: 100%;
}

#menu .cta-button {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

#menu .cta-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

#menu .cta-button::after {
  display: none;
}

/* Hamburger menu */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: color 0.2s ease;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.hamburger:hover {
  color: var(--primary-color);
  background: rgba(242, 133, 8, 0.1);
}

.hamburger.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./images/fete.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: linear-gradient(0deg, #fecb0a, #f28508);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-bottom: 3rem;
  color: #e5e7eb;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 160px;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-bottom: 1rem;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(0deg, #fecb0a, #f28508);
  border-radius: 2px;
}

/* Users Features Section */
.users-features-section {
  padding: 5rem 5%;
  background: var(--background-primary);
  text-align: center;
}

.users-features-section h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.users-features-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-bottom: 1rem;
}

.users-features-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(0deg, #fecb0a, #f28508);
  border-radius: 2px;
}

.users-features-section-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.users-feature {
  flex: 1;
  min-height: 200px;
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary-color);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.users-feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.users-feature p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Users Feature Row Layout */
.users-feature-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 0rem;
  padding: 0 2rem;
}

.users-feature-image {
  flex: 0 0 250px;
  width: 250px;
  height: 250px;
}

.users-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Organizations Features Section */
.orgs-features-section {
  padding: 5rem 5%;
  background: var(--background-secondary);
  text-align: center;
}

.orgs-features-section h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.orgs-features-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding-bottom: 1rem;
}

.orgs-features-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(0deg, #fecb0a, #f28508);
  border-radius: 2px;
}

.orgs-features-section-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.orgs-feature {
  flex: 1;
  min-height: 200px;
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary-color);
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.orgs-feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.orgs-feature p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Organizations Feature Row Layout */
.orgs-feature-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 0rem;
  padding: 0 2rem;
}

.orgs-feature-image {
  flex: 0 0 250px;
  width: 250px;
  height: 250px;
}

.orgs-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.logos img {
  max-width: 150px;
  margin: 0 20px;
}

.feature-content h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.feature-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Screenshots Section */
.screenshots-section {
  background: var(--background-primary);
  padding: 5rem 0;
  text-align: center;
}

.carousel-container {
  margin-top: 3rem;
  position: relative;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  /* Amélioration du centrage sur mobile */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  background: white;
  /* Amélioration pour mobile */
  touch-action: pan-y;
  /* Centrage parfait sur mobile */
  width: 100%;
  max-width: 100%;
}

.carousel-track {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: max-content;
  /* Amélioration pour mobile */
  will-change: transform;
  backface-visibility: hidden;
}

.carousel-slide {
  position: relative;
  width: 200px;
  height: 400px;
  opacity: 0.3;
  transform: scale(0.6);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 2;
  box-shadow: var(--shadow-xl);
}

.carousel-slide.prev {
  opacity: 0.6;
  transform: scale(0.8);
  z-index: 1;
}

.carousel-slide.next {
  opacity: 0.6;
  transform: scale(0.8);
  z-index: 1;
}

/* Simple carousel - only 3 slides visible at once */

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  /* Amélioration pour mobile */
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-lg);
}

.carousel-slide:hover .slide-overlay {
  opacity: 1;
}

.zoom-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.zoom-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.zoom-icon {
  font-size: 24px;
  color: var(--primary-color);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  z-index: 10;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-btn {
  left: 20px;
}

.carousel-btn.next-btn {
  right: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  width: 100%;
  position: relative;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
  border-color: var(--primary-color);
}

.dot:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 2rem;
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--primary-color);
}

#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 24px;
  transition: all 0.3s ease;
  pointer-events: all;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.lightbox-counter {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Features Overview Section */
.features-overview {
  background: var(--background-secondary);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

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

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

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(0deg, #fecb0a, #f28508);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Users & Organizations Sections */
.users-section {
  background: var(--background-primary);
}

.organizations-section {
  background: var(--background-secondary);
}

/* Partners Section */
.partners-section {
  background: var(--background-primary);
  padding: 5rem 0;
  overflow: hidden;
  text-align: center;
}

.partners-section p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 2rem auto;
  max-width: 600px;
  line-height: 1.6;
}

.partners-status {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 2rem auto;
  max-width: 600px;
  line-height: 1.6;
  text-align: center;
  padding: 1rem;
  background: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.partners-slider {
  width: 100%;
  overflow: hidden;
  margin: 3rem 0;
  position: relative;
}

.partners-track {
  display: flex;
  animation: slidePartners 30s linear infinite;
  width: max-content;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 2rem;
  min-width: 150px;
  text-align: center;
}

.partner-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--primary-color);
  transition: all 0.3s ease;
}

.partner-avatar:hover {
  transform: scale(1.1);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.partner-avatar img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
}

.partner-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.partners-benefits {
  margin: 3rem 0;
  text-align: center;
}

.partners-benefits h3 {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-item h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.partners-cta {
  text-align: center;
  margin: 0 auto 0;
  /* padding: 2rem; */
  background: white;
  /* border-radius: var(--radius-lg); */
  /* box-shadow: var(--shadow-md); */
  /* border: 1px solid var(--border-color); */
  width: 100%;
  max-width: 1000px;
  width: fit-content;
}

.partners-cta p {
  width: 100%;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

@keyframes slidePartners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Download Section */
.download-section {
  background: var(--background-secondary);
  color: var(--text-primary);
}

.download-section .section-title,
.download-section .section-subtitle {
  color: var(--text-primary);
}

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

.download-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

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

.download-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.download-card:hover .store-icon {
  transform: scale(1.2) rotate(5deg);
}

.download-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.store-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.download-card:hover .store-icon {
  transform: scale(1.1);
}

.download-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.download-card p {
  color: black;
  margin-bottom: 2rem;
}

/* --- Début de download buttons --- */
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.download-buttons .btn {
  width: 100%;
  max-width: 200px;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}

.download-buttons .btn-primary {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  border: none;
}

.download-buttons .btn-secondary {
  background: transparent;
  color: #ff6b35;
  border: 2px solid #ff6b35;
}

.download-buttons .btn-secondary:hover {
  background: #ff6b35;
  color: white;
}
/* --- Fin de download buttons --- */

/* Beta Section */
.beta-section {
  background: var(--background-primary);
  padding: 5rem 0;
}

.beta-form {
  max-width: 600px;
  margin: 0 auto;
  margin-top: 3rem;
  background: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-family);
  transition: all 0.3s ease;
  background: white;
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(242, 133, 8, 0.15);
  transform: translateY(-2px);
}

.form-group input::placeholder {
  color: var(--text-light);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 3rem;
}

.beta-form .btn {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Role description styles */
.role-description {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--background-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.role-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.role-description.user-role {
  background: rgba(242, 133, 8, 0.1);
  border-left-color: var(--primary-color);
}

.role-description.organizer-role {
  background: rgba(99, 102, 241, 0.1);
  border-left-color: var(--secondary-color);
}

/* Footer */
footer {
  background: white;
  color: var(--text-primary);
  padding: 3rem 0;
}

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

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .logo {
  height: 2rem;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  #menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
  }

  #menu.active {
    display: flex;
  }

  #menu a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
  }

  #menu a:last-child {
    border-bottom: none;
  }

  #menu .cta-button {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row.reverse {
    direction: ltr;
  }

  .image-placeholder {
    width: 250px;
    height: 250px;
    font-size: 3rem;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

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

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

  .benefit-item {
    padding: 1.5rem;
  }

  .benefit-icon {
    font-size: 2.5rem;
  }

  .benefit-item h4 {
    font-size: 1.2rem;
  }

  /* Users & Organizations Features Responsive */
  .users-features-section,
  .orgs-features-section {
    padding: 3rem 1rem;
  }

  .users-features-section-container,
  .orgs-features-section-container {
    gap: 2rem;
  }

  .users-feature,
  .orgs-feature {
    padding: 2rem 1.5rem;
  }

  .users-feature-row,
  .orgs-feature-row {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }

  .users-feature-image,
  .orgs-feature-image {
    flex: none;
    width: 100%;
    height: 250px;
  }

  .users-feature,
  .orgs-feature {
    width: 100%;
    height: auto;
    min-height: 200px;
  }

  /* Features Overview Responsive */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  /* Download section responsive */
  .store-icon {
    width: 50px;
    height: 50px;
  }

  /* Partners section responsive */
  .partners-slider {
    margin: 2rem 0;
  }

  .partner-item {
    margin: 0 1rem;
    min-width: 120px;
  }

  .partner-avatar {
    width: 60px;
    height: 60px;
  }

  .partner-avatar img {
    width: 45px;
    height: 45px;
  }

  .partner-item h3 {
    font-size: 0.9rem;
  }

  /* Demo section responsive */
  .screenshots-section {
    padding: 3rem 0;
  }

  .screenshots-container {
    gap: 1.5rem;
    margin: 2rem auto 0;
  }

  .carousel-track {
    height: 350px;
    gap: 1rem;
  }

  .carousel-slide {
    width: 150px;
    height: 300px;
  }

  .carousel-slide.prev {
    opacity: 0.6;
    transform: scale(0.7);
  }

  .carousel-slide.next {
    opacity: 0.6;
    transform: scale(0.7);
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-btn.prev-btn {
    left: 10px;
  }

  .carousel-btn.next-btn {
    right: 10px;
  }

  .lightbox-content {
    padding: 1rem;
  }

  .lightbox-nav {
    padding: 0 1rem;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .hero-content {
    padding: 0 1rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .image-placeholder {
    width: 200px;
    height: 200px;
    font-size: 2.5rem;
  }

  /* Users & Organizations Features Mobile */
  .users-features-section,
  .orgs-features-section {
    padding: 2rem 1rem;
  }

  .users-features-section h1,
  .orgs-features-section h1 {
    font-size: 2rem;
  }

  .users-features-section h2,
  .orgs-features-section h2 {
    font-size: 1.125rem;
  }

  .users-feature,
  .orgs-feature {
    padding: 1.5rem 1rem;
  }

  .users-feature h3,
  .orgs-feature h3 {
    font-size: 1.125rem;
  }

  .users-feature-row,
  .orgs-feature-row {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .users-feature-image,
  .orgs-feature-image {
    height: 200px;
  }

  .users-feature,
  .orgs-feature {
    width: 100%;
    height: auto;
    min-height: 150px;
  }

  /* Mobile responsive for new sections */
  .features-overview {
    padding: 3rem 0;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .store-icon {
    width: 40px;
    height: 40px;
  }

  /* Partners section mobile */
  .partners-section {
    padding: 3rem 0;
  }

  .partner-item {
    margin: 0 0.5rem;
    min-width: 100px;
  }

  .partner-avatar {
    width: 50px;
    height: 50px;
  }

  .partner-avatar img {
    width: 35px;
    height: 35px;
  }

  .partner-item h3 {
    font-size: 0.8rem;
  }

  .partners-cta {
    padding: 1.5rem;
  }

  .partners-cta p {
    font-size: 1rem;
  }

  /* Demo section mobile */
  .screenshots-section {
    padding: 2rem 0;
  }

  .carousel-track {
    height: 300px;
    gap: 0.5rem;
  }

  .carousel-slide {
    width: 120px;
    height: 250px;
  }

  .carousel-slide.prev {
    opacity: 0.6;
    transform: scale(0.6);
  }

  .carousel-slide.next {
    opacity: 0.6;
    transform: scale(0.6);
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .carousel-btn.prev-btn {
    left: 5px;
  }

  .carousel-btn.next-btn {
    right: 5px;
  }

  .role-description {
    padding: 0.75rem;
  }

  .role-text {
    font-size: 0.85rem;
  }
}

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

.feature-card,
.feature-row,
.download-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
#menu a:focus,
input:focus,
select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Notification styles */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: #10b981;
  color: white;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 450px;
  border-left: 4px solid #059669;
  -webkit-backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.notification-message {
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.notification-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.notification-success {
  background: #10b981;
}

.notification-error {
  background: #ef4444;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
  .screenshots-section {
    padding: 3rem 0;
  }

  .carousel-container {
    margin-top: 2rem;
    padding: 0 1rem;
    /* Centrage amélioré sur tablet */
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .carousel-track {
    height: 400px;
    gap: 0.75rem;
  }

  .carousel-slide {
    width: 160px;
    height: 320px;
  }

  .carousel-slide.prev,
  .carousel-slide.next {
    opacity: 0.7;
    transform: scale(0.8);
  }

  /* Simple carousel - only 3 slides visible */

  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-btn.prev-btn {
    left: 12px;
  }

  .carousel-btn.next-btn {
    right: 12px;
  }
}

@media (max-width: 480px) {
  .screenshots-section {
    padding: 2rem 0;
  }

  .carousel-container {
    margin-top: 1.5rem;
    padding: 0 0.5rem;
    /* Centrage parfait sur mobile */
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .carousel-track {
    height: 350px;
    gap: 0.5rem;
  }

  .carousel-slide {
    width: 140px;
    height: 280px;
  }

  .carousel-slide.prev,
  .carousel-slide.next {
    opacity: 0.7;
    transform: scale(0.75);
  }

  /* Simple carousel - only 3 slides visible */

  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-btn.prev-btn {
    left: 8px;
  }

  .carousel-btn.next-btn {
    right: 8px;
  }

  /* Masquer les boutons de la lightbox sur mobile - navigation par swipe uniquement */
  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .carousel-dots {
    margin-top: 1.5rem;
    /* Centrage parfait des dots sur mobile */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .dot {
    width: 8px;
    height: 8px;
  }
}

/* Très petits écrans (iPhone SE, etc.) */
@media (max-width: 375px) {
  .carousel-container {
    /* Centrage parfait sur très petits écrans */
    justify-content: center;
    align-items: center;
    padding: 0 0.25rem;
    flex-direction: column;
  }

  .carousel-track {
    height: 320px;
    gap: 0.25rem;
  }

  .carousel-slide {
    width: 120px;
    height: 240px;
  }

  .carousel-slide.prev,
  .carousel-slide.next {
    opacity: 0.6;
    transform: scale(0.7);
  }

  /* Simple carousel - only 3 slides visible */

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .carousel-btn.prev-btn {
    left: 6px;
  }

  .carousel-btn.next-btn {
    right: 6px;
  }

  /* Masquer les boutons de la lightbox sur très petits écrans - navigation par swipe uniquement */
  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .carousel-dots {
    margin-top: 1rem;
    /* Centrage parfait des dots sur très petits écrans */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}

.notification-info {
  background: #3b82f6;
}
