/* Mobile responsive styles for Figma design */

/* Body padding removed - header blends with hero */
body {
  padding-top: 0 !important;
}

/* Hero Banner Styles - Applied to all screen sizes */
.hero-banner {
  background: linear-gradient(135deg, #e8e5ff 0%, #f0f0ff 100%) !important;
  min-height: 100vh !important;
  height: auto !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
}

.hero-banner .frame-15 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  height: 100% !important;
  width: 100% !important;
  position: relative !important;
  padding-left: 130px !important;
  padding-right: 130px !important;
}

.hero-banner .frame-16 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 0 auto !important;
}

/* Sticky Navigation */
.landing-page .frame-21 {
  z-index: 1000 !important;
  position: fixed !important;
  top: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  transition: all 0.3s ease !important;
  width: 100vw !important;
  max-width: none !important;
  left: 0 !important;
  transform: none !important;
}

/* Header background on scroll */
.landing-page .frame-21.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(229, 238, 253, 0.3) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none !important;
  background: none !important;
  border: none !important;
  padding: 8px !important;
  cursor: pointer !important;
  z-index: 1001 !important;
}

.mobile-menu-btn span {
  display: block !important;
  width: 25px !important;
  height: 3px !important;
  background: #333 !important;
  margin: 5px 0 !important;
  transition: 0.3s !important;
  border-radius: 2px !important;
}

/* Hamburger animation */
.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px) !important;
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0 !important;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px) !important;
}

.mobile-menu-drawer {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 300px !important;
  height: 100vh !important;
  background: white !important;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1) !important;
  transition: right 0.3s ease !important;
  z-index: 999 !important;
  padding: 80px 30px 30px !important;
  display: none !important;
}

.mobile-menu-drawer.open {
  right: 0 !important;
}

.mobile-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0,0,0,0.5) !important;
  z-index: 998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
}

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

.mobile-nav-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 25px !important;
}

.mobile-nav-links a {
  text-decoration: none !important;
  color: #333 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.mobile-nav-links a.active {
  color: rgba(54, 152, 244, 1) !important;
  font-weight: 600 !important;
}

.mobile-nav-btn {
  margin-top: 30px !important;
  background: #4285f4 !important;
  color: white !important;
  border: none !important;
  padding: 15px 25px !important;
  border-radius: 25px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

.hero-title {
  font-family: "Inter", Helvetica !important;
  font-weight: 700 !important;
  font-size: 48px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}

.hero-title-blue {
  color: #4285f4 !important;
}

.hero-subtitle {
  font-family: "Inter", Helvetica !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  text-align: center !important;
  max-width: 600px !important;
  margin: 0 auto 32px auto !important;
}

/* Desktop navigation - default visible */
.landing-page .frame-22,
.landing-page .frame-23 {
  display: flex !important;
}

.mobile-menu-btn {
  display: none !important;
}

.mobile-menu-drawer {
  display: none !important;
}

.mobile-overlay {
  display: none !important;
}

/* Medium screens - start hiding menu items to prevent intersection */
@media (max-width: 1024px) {
  .landing-page .frame-21 {
    padding: 20px 40px !important;
  }
}

@media (max-width: 900px) {
  .landing-page .frame-22 {
    gap: 20px !important;
  }
  .landing-page .text-wrapper-30 {
    font-size: 14px !important;
  }
}

/* Mobile Navigation Fixes */
@media (max-width: 768px) {
  /* Mobile header adjustments */
  .landing-page .frame-21 {
    padding: 15px 20px !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  /* Hide desktop navigation on mobile */
  .landing-page .frame-22,
  .landing-page .frame-23 {
    display: none !important;
  }

  /* Show mobile menu button and hide drawer by default */
  .mobile-menu-btn {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 40px !important;
    height: 40px !important;
  }

  .mobile-menu-drawer {
    display: block !important;
    right: -100% !important;
  }

  .mobile-menu-drawer.open {
    right: 0 !important;
    display: block !important;
  }

  .mobile-overlay {
    display: block !important;
  }

  .landing-page .asset {
    max-width: 100px !important;
    height: auto !important;
  }

  /* Body padding adjustment for mobile */
  body {
    padding-top: 0 !important;
  }

  /* Content Section Fixes */
  .landing-page .frame-14 {
    width: 100% !important;
    padding: 0 15px !important;
  }

  .landing-page .frame-15 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    gap: 20px !important;
  }

  .landing-page .frame-16 {
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
  }

  /* Hero Section Text */
  .hero-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
    padding: 0 15px !important;
  }

  .hero-subtitle {
    font-size: 16px !important;
    line-height: 1.5 !important;
    padding: 0 15px !important;
  }

  /* Mobile Hero Banner adjustments */
  .hero-banner {
    min-height: 500px !important;
    height: auto !important;
  }

  .hero-banner .frame-15 {
    padding: 60px 15px 40px !important;
    position: relative !important;
  }

  /* Button Container */
  .landing-page .frame-17 {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .landing-page .frame-18,
  .landing-page .frame-19 {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  /* Features Section */
  .landing-page .frame {
    padding: 40px 15px !important;
    gap: 25px !important;
  }

  .landing-page .text-wrapper {
    width: 100% !important;
    font-size: 32px !important;
    text-align: center !important;
  }

  .landing-page .des-outils {
    width: 100% !important;
    font-size: 16px !important;
    line-height: 24px !important;
    text-align: center !important;
  }

  /* Feature Cards */
  .landing-page .frame-2 {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .landing-page .frame-3 {
    width: 100% !important;
  }

  .landing-page .frame-4 {
    width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
  }
}

/* Comprehensive Mobile Styles for All Home Page Sections */
@media (max-width: 768px) {
  /* ===== HERO SECTION ===== */
  .landing-page .frame-14 {
    width: 100% !important;
    padding: 80px 20px 40px !important;
    background: linear-gradient(135deg, #E8E4FF 0%, #F0EFFF 100%) !important;
  }

  .landing-page .frame-15 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .landing-page .frame-16 {
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .landing-page .hero-title {
    font-size: 32px !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
  }

  .landing-page .vector-stroke {
    max-width: 200px !important;
    margin: 10px auto !important;
  }

  .landing-page .r-volutionnez-votre {
    font-size: 16px !important;
    line-height: 1.6 !important;
    padding: 0 10px !important;
    margin: 20px 0 !important;
  }

  .landing-page .frame-17 {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    padding: 0 10px !important;
  }

  .landing-page .frame-18,
  .landing-page .frame-19 {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding: 15px 25px !important;
  }

  .landing-page .text-wrapper-15,
  .landing-page .text-wrapper-18 {
    font-size: 16px !important;
  }

  /* ===== FEATURES SECTION ===== */
  .landing-page .frame {
    padding: 50px 20px !important;
    width: 100% !important;
  }

  .landing-page .div {
    width: 100% !important;
    padding: 0 !important;
  }

  .landing-page .text-wrapper {
    font-size: 28px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin-bottom: 15px !important;
  }

  .landing-page .des-outils {
    font-size: 15px !important;
    line-height: 1.6 !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .landing-page .frame-2 {
    flex-direction: column !important;
    gap: 30px !important;
    margin-top: 30px !important;
  }

  .landing-page .frame-3,
  .landing-page .cloud-storage {
    width: 100% !important;
    max-width: 100% !important;
  }

  .landing-page .frame-4,
  .landing-page .frame-8 {
    width: 100% !important;
    height: auto !important;
    min-height: 300px !important;
    padding: 20px !important;
  }

  .landing-page .frame-6,
  .landing-page .frame-10 {
    width: 100% !important;
    padding: 20px !important;
    text-align: center !important;
  }

  .landing-page .text-wrapper-6,
  .landing-page .text-wrapper-11 {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .landing-page .text-wrapper-7,
  .landing-page .text-wrapper-12 {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .landing-page .frame-7 {
    margin-top: 20px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* ===== ADVANTAGES SECTION ===== */
  .landing-page .frame-20 {
    flex-direction: column !important;
    padding: 50px 20px !important;
    gap: 40px !important;
  }

  .landing-page .group-17,
  .landing-page .group-24 {
    width: 100% !important;
    max-width: 100% !important;
  }

  .landing-page .text-wrapper-19 {
    font-size: 28px !important;
    text-align: center !important;
    margin-bottom: 25px !important;
  }

  .landing-page .group-18 {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }

  .landing-page .group-19,
  .landing-page .group-20,
  .landing-page .group-21,
  .landing-page .group-22,
  .landing-page .group-23 {
    width: 100% !important;
    max-width: 350px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .landing-page .text-wrapper-20,
  .landing-page .text-wrapper-21,
  .landing-page .text-wrapper-22,
  .landing-page .text-wrapper-23,
  .landing-page .croissance {
    font-size: 14px !important;
  }

  .landing-page .subtract {
    width: 40px !important;
    height: 40px !important;
  }

  .landing-page .rectangle-9 {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  /* ===== CALCULATOR SECTION ===== */
  .landing-page .frame-12 {
    flex-direction: column !important;
    padding: 50px 20px !important;
    gap: 30px !important;
  }

  .landing-page .frame-13 {
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
  }

  .landing-page .text-wrapper-13 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
  }

  .landing-page .text-wrapper-14 {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
  }

  .landing-page .div-wrapper {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  .landing-page .group-13 {
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .landing-page .group-14,
  .landing-page .group-15,
  .landing-page .group-16 {
    width: 100% !important;
    padding: 20px !important;
    text-align: center !important;
  }

  .landing-page .text-wrapper-16 {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .landing-page .text-wrapper-17 {
    font-size: 16px !important;
    font-weight: 600 !important;
  }

  .landing-page .rectangle-8 {
    margin: 15px auto !important;
  }

  /* ===== CTA SECTION ===== */
  .landing-page .frame-25 {
    padding: 50px 20px !important;
    text-align: center !important;
  }

  .landing-page .frame-26 {
    width: 100% !important;
    padding: 0 !important;
  }

  .landing-page .frame-27 {
    width: 100% !important;
  }

  .landing-page .frame-28 {
    flex-direction: column !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
  }

  .landing-page .frame-29 {
    flex-direction: row !important;
    gap: 10px !important;
    justify-content: center !important;
  }

  .landing-page .text-wrapper-32 {
    font-size: 14px !important;
  }

  .landing-page .text-wrapper-33 {
    font-size: 32px !important;
    line-height: 1.3 !important;
    margin: 20px 0 !important;
  }

  .landing-page .text-wrapper-34 {
    font-size: 15px !important;
    line-height: 1.6 !important;
    width: 100% !important;
    margin-bottom: 25px !important;
  }

  .landing-page .frame-30 {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  /* Decorative element */
  .landing-page .frame-31 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Very small screens - Additional adjustments */
@media (max-width: 480px) {
  .landing-page .frame-22 {
    display: none !important;
  }

  .landing-page .frame-21 {
    justify-content: space-between !important;
  }

  .landing-page .hero-title {
    font-size: 26px !important;
  }

  .landing-page .r-volutionnez-votre {
    font-size: 14px !important;
  }

  .landing-page .text-wrapper {
    font-size: 24px !important;
  }

  .landing-page .text-wrapper-13,
  .landing-page .text-wrapper-19,
  .landing-page .text-wrapper-33 {
    font-size: 24px !important;
  }

  /* All sections padding */
  .landing-page .frame,
  .landing-page .frame-12,
  .landing-page .frame-20,
  .landing-page .frame-25,
  .landing-page .frame-32 {
    padding: 40px 15px !important;
    max-width: 100% !important;
  }

  /* Features section mobile */
  .landing-page .frame-2 {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .landing-page .frame-3,
  .landing-page .cloud-storage {
    width: 100% !important;
    max-width: 100% !important;
  }

  .landing-page .frame-4,
  .landing-page .frame-8 {
    width: 100% !important;
    height: auto !important;
    min-height: 250px !important;
  }

  /* Advantages section */
  .landing-page .group-18 {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .landing-page .group-19,
  .landing-page .group-20,
  .landing-page .group-21,
  .landing-page .group-22,
  .landing-page .group-23 {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  /* Calculator section */
  .landing-page .frame-20 {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .landing-page .group-17,
  .landing-page .group-24 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Cards and images responsive */
  .landing-page img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* CTA section */
  .landing-page .frame-25 {
    text-align: center !important;
  }

  .landing-page .text-wrapper-33 {
    font-size: 48px !important;
    line-height: 1.2 !important;
  }

  .landing-page .text-wrapper-34 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Footer - Complete Mobile Redesign */
  .landing-page .frame-32 {
    padding: 40px 15px 20px !important;
    width: 100% !important;
  }

  .landing-page .frame-33 {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: flex-start !important;
  }

  .landing-page .group-34 {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    margin-bottom: 20px !important;
  }

  .landing-page .group-34 .text-wrapper-35 {
    font-size: 14px !important;
    line-height: 1.6 !important;
    width: 100% !important;
  }

  .landing-page .group-34 .asset-2 {
    max-width: 120px !important;
    height: auto !important;
    margin-top: 15px !important;
  }

  .landing-page .group-35 {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  /* Footer columns responsive */
  .landing-page .group-36,
  .landing-page .group-37,
  .landing-page .group-38 {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    gap: 10px !important;
  }

  .landing-page .text-wrapper-36,
  .landing-page .text-wrapper-39,
  .landing-page .text-wrapper-40 {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
  }

  .landing-page .text-wrapper-37,
  .landing-page .text-wrapper-38 {
    font-size: 14px !important;
    line-height: 1.8 !important;
  }

  /* Footer bottom section */
  .landing-page .div {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
  }

  .landing-page .group-39,
  .landing-page .group-40 {
    width: 100% !important;
    justify-content: center !important;
  }

  .landing-page .text-wrapper-41,
  .landing-page .text-wrapper-42,
  .landing-page .text-wrapper-43 {
    font-size: 12px !important;
  }

  .landing-page .ellipse-2 {
    margin: 0 10px !important;
  }

  /* Fix text overflow */
  .landing-page .text-wrapper-35,
  .landing-page .text-wrapper-6,
  .landing-page .text-wrapper-12,
  .landing-page .text-wrapper-14,
  .landing-page .text-wrapper-16 {
    width: 100% !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
  }

  /* Additional mobile header fixes for small screens */
  .landing-page .frame-21 .asset {
    max-width: 80px !important;
  }

  .mobile-menu-btn {
    min-width: 40px !important;
  }

  /* Footer text wrapping */
  .landing-page .frame-32 * {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* Extra small devices - Enhanced mobile support */
@media (max-width: 375px) {
  .landing-page .frame-21 {
    padding: 12px 15px !important;
  }

  .landing-page .asset {
    max-width: 70px !important;
  }

  .mobile-menu-btn {
    width: 35px !important;
    height: 35px !important;
  }

  .mobile-menu-btn span {
    width: 20px !important;
  }

  .landing-page .frame-32 {
    padding: 30px 12px 15px !important;
  }

  .landing-page .text-wrapper-36,
  .landing-page .text-wrapper-39,
  .landing-page .text-wrapper-40 {
    font-size: 15px !important;
  }

  .landing-page .text-wrapper-37,
  .landing-page .text-wrapper-38 {
    font-size: 13px !important;
  }
}
