:root {
    --primary-color: #006064;
    --secondary-color: #f03d47;
    --accent-color: #e8a908;
    --light-bg: #f8f9fa;
    --dark-text: #2d3e50;
    --light-text: #ffffff;
    --gray-text: #707b8e;
    --salmon-light: #ffd8d052;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: var(--dark-text);
    font-family: 'Nunito', sans-serif;
}

h1, h2, h3 {
    font-family: 'Lilita One', cursive;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px !important;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}
  
.full-width {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/* Header styles */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  order: 2;
  flex-shrink: 0;
}
/* Bottom Tab Bar pour mobile */
.bottom-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.bottom-tab-bar .nav-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

.bottom-tab-bar .btn {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    font-size: 14px;
    border-radius: 8px;
}

.logo {
  display: flex;
  align-items: center;
  order: 1;
  flex-shrink: 0;
}

.logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

.logo-text h1 {
    font-size: 35px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.logo-text h2 {
    font-size: 24px;
    font-weight: 300;
    color: var(--gray-text);
    margin: 0;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    margin-top: 0;
}

/* Sur desktop, réorganiser l'ordre : Commencer, Se connecter, puis Langue */
.nav-buttons .btn-primary {
    order: 1;
}

.nav-buttons .btn-secondary {
    order: 2;
}

.nav-buttons .btn-outline {
    order: 3;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
}

.btn-outline {
    border: 2px solid transparent;
    background: transparent;
    color: var(--dark-text);
}
.nav-buttons .btn {
    font-size: 18px;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    position: relative;
}

.btn-primary::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    font-size: 14px;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.btn-secondary i {
    margin-left: 10px;
}

/* Hero section */
.hero {
    padding: 60px 0;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 45px;
    margin-bottom: 20px;
    max-width: 650px;
    line-height: 1.3;
}

.hero h1 .highlight {
    color: var(--accent-color);
}

.hero h1 .red-text {
    color: var(--secondary-color);
}

.hero p {
    font-size: 28px;
    margin-bottom: 25px;
    max-width: 600px;
}

.red-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
}

/* Steps section */
.steps-container {
    width: 100%;
    background-color: var(--light-bg);
    padding: 30px 20px;
    box-sizing: border-box;
}

.steps {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.step {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.step-number {
    background-color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 24px;
    font-weight: 700;
    margin-right: 20px;
    border: 4px solid white;
    outline: 2px solid var(--primary-color);
    background-image: linear-gradient(45deg, var(--primary-color) 25%, transparent 25%, transparent 50%, var(--primary-color) 50%, var(--primary-color) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    font-family: 'Lilita One', cursive;
}

/* Updated step-circle for all instances */
.step-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    background-color: white;
    background-image: url('assets/logos/Setpscircle.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    color: var(--primary-color);
    flex-shrink: 0;
    font-family: 'Lilita One', cursive;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Animation for step circles */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

.step-row:hover .step-circle {
    animation: pulse 1.5s infinite;
}

.step-info {
    flex: 1;
}

.step-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.time-indicator {
    display: flex;
    align-items: center;
    color: var(--gray-text);
    font-size: 14px;
    margin: 8px 0;
}

.time-indicator i {
    margin-right: 8px;
}

/* FAQ section */
.faq-section {
    padding: 60px 20px;
    box-sizing: border-box;
}
  
.faq-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    background: #f8f9fa;
}
  
.faq-title {
    flex: 1;
    min-width: 300px;
    padding: 60px;
}
  
.faq-title h2 {
    font-size: 44px;
    font-family: 'Lilita One', cursive;
    color: #2d3e50;
}
  
.faq-content {
    flex: 2;
    min-width: 400px;
    padding: 40px;
}
  
.accordion {
    margin-bottom: 40px;
    margin-left: 0;
}
  
.accordion-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-size: 20px;
}
  
.accordion-button {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
}
  
.accordion-button::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.3s ease;
}
  
.accordion-button[aria-expanded="true"]::after {
    transform: rotate(180deg);
}
  
.accordion-content {
    padding: 0 15px 20px;
    display: none;
}
  
.accordion-button[aria-expanded="true"] + .accordion-content {
    display: block;
}
  
/* Questions container  */
.questions-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}
  
/* Still have questions  */
.still-questions {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
  
/* Updated bubbles section */
.bubbles {
    display: flex;
    flex-wrap: wrap;
    max-width: 350px;
    position: relative;
    gap: 10px;
    justify-content: flex-start;
}

.bubble {
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.95;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.bubble-lg {
    width: 85px;
    height: 85px;
}

.bubble-md {
    width: 60px;
    height: 60px;
}

.bubble-sm {
    width: 45px;
    height: 45px;
}

.bubble.top {
    position: relative;
    top: -10px;
}

.bubble.bottom {
    position: relative;
    top: 10px;
}

.bubble.top-right {
    position: relative;
    top: -15px;
    right: -10px;
}

.bubble.bottom-left {
    position: relative;
    bottom: -5px;
    left: -8px;
}
  
.still-questions .questions-content {
    flex: 1;
    min-width: 200px;
}
  
.questions-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.questions-buttons .btn-outline {
    border: 2px solid var(--dark-text);
}
.nav-buttons .btn-outline {
    border: 2px solid var(--dark-text);
    background: transparent;
    color: var(--dark-text);
}

/* Activities section */
.activities-container {
    background-color: var(--light-bg);
    padding: 60px 20px;
    border-radius: 12px;
    box-sizing: border-box;
}

.activity-title-centered {
    text-align: center;
    font-size: 36px;
    margin: 60px auto 30px;
    font-family: 'Lilita One', cursive;
    color: var(--dark-text);
    padding: 0 20px;
    box-sizing: border-box;
}

.activities-container.limited-width {
    background-color: var(--light-bg);
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 12px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

.activities-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 44px;
}

.activity-categories {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0px;
}

.activity-category {
    flex: 1;
    min-width: 200px;
    background-color: var(--light-bg);
    padding: 30px;
}

.activity-category h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.activity-list {
    list-style-type: none;
    font-size: 18px;
}

.activity-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.activity-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.activity-cta {
    text-align: center;
    margin: 60px 0 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.activity-cta h2 {
    font-size: 28px;
    margin-bottom: 50px;
}

/* Horizontal steps section */
.steps-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.step-h {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
    transition: transform 0.3s ease;
}

.step-h:hover {
    transform: translateY(-5px);
}

.step-arrow {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 28px;
}

.cta-title {
    font-size: 40px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: 60px;
    font-family: 'Lilita One', cursive;
    color: var(--dark-text);
    padding: 0 20px;
    box-sizing: border-box;
}

.step-h .step-circle {
    margin-right: 0;
    outline: none;
    width: 90px;
    height: 90px;
}

.step-h p {
    font-size: 20px;
    margin-bottom: 0px;
    color: var(--dark-text);
    line-height: 1.5;
}
  
.step-arrow {
    margin: 0 20px;
}
  
/* Support section */
.support-section {
    background-color: var(--salmon-light);
    padding: 60px 20px;
    width: 100%;
    margin-top: 10%;
    box-sizing: border-box;
}

.support-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.support-text {
    flex: 1;
    min-width: 300px;
    font-size: 26px;
}

.support-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.support-image img:hover {
    transform: scale(1.05);
}

.support-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.support-text p {
    margin-bottom: 15px;
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    font-size: 18px;
    margin-bottom: 10px;
}

/* App download section */
.app-download {
    padding: 60px 20px;
    text-align: center;
    box-sizing: border-box;
}

.app-download h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.app-download p {
    font-size: 34px;
    max-width: 800px;
    margin: 0 auto 30px;
}


.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
    margin-top: 30px;
    flex-wrap: wrap;
}


.download-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
    transform: scale(1.5);
}
.download-btn:hover {
    transform: scale(1.6); 
}

/* Définir la hauteur spécifique pour chaque image */
.download-btn img[alt="Download on App Store"] {
    height: 60px; 
}

.download-btn img[alt="Get it on Google Play"] {
    height: 85px;
}

/* Updated Footer Styles */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 20px 30px;
    box-sizing: border-box;
    margin-top: 80px;
    font-family: 'Nunito', sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.footer-column p,
.footer-column ul,
.footer-column a {
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.footer-column ul li::before {
    content: "•";
    margin-right: 8px;
    color: white;
}

.footer-column a {
    color: var(--light-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-column a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.terms {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    max-width: 800px;
    margin: 0 auto;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    max-width: 1200px;
    margin: 10px auto 0;
}

.copyright a {
    color: var(--light-text);
    text-decoration: underline;
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--light-text);
    text-decoration: none;
    opacity: 0.8;
    font-size: 14px;
}

.legal-links a:hover {
    text-decoration: underline;
}
.btn-primary::before,
  .btn-primary::after,
  .btn-primary i {
    display: none !important;
    content: none !important;
  }
/* Desktop layouts */
@media (min-width: 992px) {
    /* Fixed footer layout */
    .footer-content {
        display: flex;
        justify-content: space-between;
      }
      
      .footer-column:first-child {
        flex: 2;
        margin-right: auto;
      }
      
      .footer-column:not(:first-child) {
        flex: 1;
        text-align: right;
      }
      
      .footer-column:not(:first-child) ul {
        display: inline-block;
        text-align: left;
        margin-left: auto;
      }
      
      .footer-column:not(:first-child) ul li {
        display: flex;
        justify-content: flex-start;
        padding-left: 15px;
        text-align: left;
        margin-left: auto;
      }
      
      .footer-column:not(:first-child) ul li::before {
        content: "•";
        position: absolute;
        left: 0;
        margin-right: 8px;
      }
      
      /* Still have questions - division exacte en 2 moitiés */
      .still-questions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
      }
      
      .bubbles {
        flex: 1;
        max-width: 48%;
      }
      
      .questions-content {
        flex: 1;
        max-width: 48%;
        text-align: left;
      }
}

/* Responsive fixes */
@media (max-width: 992px) {
    .hero {
        padding: 40px 20px;
    }
    
    .support-grid {
        flex-direction: column-reverse;
        padding: 0 20px;
    }
    
    .support-image {
        margin-bottom: 30px;
    }
    
    .steps-horizontal {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }
    
    .step-h {
        max-width: 100%;
        width: 80%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .activity-cta {
        margin-bottom: 60px;
        padding: 0 20px;
    }
    
    .hero {
        flex-direction: column;
    }
    
    .activities-container.limited-width {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
    
    .faq-container {
        margin: 0 20px 40px;
        width: calc(100% - 40px);
    }
    
    .questions-container {
        min-width: auto;
        max-width: calc(100% - 40px);
        padding: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 100px;
    }
    header .nav-buttons {
        display: none;
    }
    .bottom-tab-bar {
        display: block;
    }

    header {
        flex-direction: row;
        align-items: flex-start; 
        justify-content: flex-start;
        padding: 10px 15px;
        margin-bottom: 15px;
      }
            .logo img {
        width: 70px;
        height: auto;
      }
    .logo-text h1 {
        font-size: 24px;
    }
    
    .logo-text h2 {
        font-size: 18px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .step-row {
        flex-direction: column;
        align-items: center !important;
        margin-bottom: 40px !important;
        text-align: center;
        padding: 0 15px;
    }
    
    .step-content {
        text-align: center !important;
        padding: 0 15px !important;
        margin-top: 15px;
        width: 100%;
    }
    
    .step-circle {
        margin-right: 0 !important;
    }
    
    .step-content h3 {
        text-align: center;
        font-size: 24px !important;
    }
    
    .step-content p {
        text-align: center;
        font-size: 18px;
    }
    
    .step-content .btn {
        margin: 15px auto 0 !important;
        display: inline-block;
        text-align: center;
    }
    
    .activity-categories {
        flex-direction: column;
    }
    
    .questions-section {
        flex-direction: column;
    }
    
    .questions-image {
        margin-bottom: 30px;
    }
    
    .questions-content {
        padding-left: 0;
    }
    
    .download-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 15px;
    }
    
    .questions-container {
        min-width: initial;
        max-width: calc(100% - 30px);
        margin: 0 auto 3%;
    }
    
    .faq-title {
        padding: 30px;
        width: 100%;
        text-align: center;
    }
    
    .faq-content {
        min-width: 100%;
        padding: 20px;
    }
    
    .activities-container h2 {
        font-size: 32px;
    }
    
    .hero {
        padding: 30px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
        min-width: 100%;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    footer {
        padding-bottom: 100px; /* Ajuste selon la hauteur de ton bottom-tab-bar */
    }
    .footer-column ul li {
        justify-content: center;
        padding-left: 0;
    }
    
    .still-questions {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .bubbles {
        margin: 0 auto;
    }
    
    .questions-content {
        width: 100%;
    }
    
    .questions-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .questions-buttons .btn {
        width: 100%;
        text-align: center;
    }
     header {
    justify-content: space-between !important;
  }
  .language-selector {
    margin-left: auto;
  }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px !important;
    }
    
    /* Sur mobile, ajouter de l'espace en bas pour la bottom tab bar */
    body {
        padding-bottom: 80px;
    }

    /* Bottom tab bar reste visible */
    .bottom-tab-bar {
        display: block;
    }

    /* Header sans boutons */
    header {
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
      }

    header .nav-buttons {
        display: none !important;
    }
    
    .steps-new {
        padding: 0 10px;
    }
    
    .step-circle {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
    
    .activity-title-centered {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .cta-title {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .step-h {
        width: 100%;
    }
    
    .faq-title h2 {
        font-size: 32px;
    }
    
    .questions-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .questions-buttons .btn {
        width: 100%;
    }
    
    .accordion-button {
        font-size: 20px;
    }
    
    .support-text h2 {
        font-size: 28px;
    }
    
    .support-text {
        font-size: 20px;
    }
    
    .support-image img {
        width: 200px;
        height: 200px;
    }
    
    .activity-category h3 {
        font-size: 24px;
    }
    
    .activity-list {
        font-size: 16px;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .footer-column h3 {
        font-size: 16px;
    }
    
    .footer-column p, 
    .footer-column ul, 
    .footer-column a {
        font-size: 14px;
    }
    
    .terms, 
    .copyright, 
    .legal-links a {
        font-size: 12px;
    }
    
    .social-icons {
        gap: 10px;
        justify-content: center;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .still-questions {
        padding: 15px;
    }
    
    .download-buttons {
        gap: 0px !important; 
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        transform: scale(1.1);
        margin-bottom: 0px;
    }
}

/* Pour les très petits écrans, réduire encore plus */
@media (max-width: 480px) {
    .bottom-tab-bar .btn {
        font-size: 12px;
        padding: 10px 6px;
    }
    
    .logo img {
      width: 60px;
    }
}
.language-toggle {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.language-toggle .language-icon {
  width: 24px;
  height: auto;
  margin-right: 8px;
}

/* Tablettes et petits écrans (≤ 768px) */
@media (max-width: 768px) {
  .language-toggle {
    padding: 8px 12px;
    font-size: 16px;
  }
  .language-toggle .language-icon {
    width: 20px;
    margin-right: 6px;
  }
}

/* Mobiles (≤ 576px) */
@media (max-width: 576px) {
  .language-toggle {
    padding: 6px 10px;
    font-size: 14px;
  }
  .language-toggle .language-icon {
    width: 18px;
    margin-right: 4px;
  }
}
.language-toggle .lang-abbr {
  display: none;
}
@media (min-width: 768px) {
  header {
    display: flex;
    align-items: center;
  }
  .logo             { order: 1; }
  .nav-buttons      { order: 2; }
  .language-selector{ order: 3; }
}
@media (max-width: 576px) {
  .language-toggle .current-language { display: none; }
  .language-toggle .lang-abbr        { display: inline; margin-left: 4px; }
}
.bottom-tab-bar .btn-primary {
  display: inline-flex;
  align-items: center;
}
.bottom-tab-bar .btn-primary img {
  margin-left: 8px;
  height: 20px;
  width: 20px;
}

@media (min-width: 992px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    order: 1;
  }
  
  .header-actions {
    order: 2;
  }
  
  .nav-buttons {
    order: 1;
  }
  
  .language-selector {
    order: 2;
  }
  
  .nav-buttons .btn-primary {
    order: 1;
  }
  
  .nav-buttons .btn-outline {
    order: 2;
  }
}

/* Tablettes */
@media (max-width: 991px) and (min-width: 769px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    order: 1;
  }
  
  .header-actions {
    order: 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  header .nav-buttons {
    display: none;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 15px;
  }
  
  .logo {
    order: 1;
  }
  
  .header-actions {
    order: 2;
  }
  
  .language-selector {
    display: flex;
  }
}

@media (max-width: 576px) {
  header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  .logo {
    order: 1 !important;
  }
  
  .header-actions {
    order: 2 !important;
  }
  
  .language-selector {
    order: 1 !important;
  }
}

/* ============================================== */
/* SIGN UP CTA BUTTON - Eye-catching design      */
/* ============================================== */

.signup-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f03d47 0%, #ff6b6b 50%, #9d0d14 100%);
  background-size: 200% 200%;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  box-shadow: 
    0 4px 15px rgba(240, 61, 71, 0.4),
    0 0 0 0 rgba(240, 61, 71, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: gradientShift 3s ease infinite, pulseGlow 2s ease-in-out infinite;
}

.signup-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.signup-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(240, 61, 71, 0.5),
    0 0 30px rgba(240, 61, 71, 0.3);
}

.signup-cta:hover::before {
  left: 100%;
}

.signup-text {
  position: relative;
  z-index: 1;
}

.signup-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: all 0.3s ease;
}

.signup-cta:hover .signup-arrow {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.signup-arrow svg {
  width: 20px;
  height: 20px;
}

/* Animations pour le bouton Sign up */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0%, 100% { 
    box-shadow: 
      0 4px 15px rgba(240, 61, 71, 0.4),
      0 0 0 0 rgba(240, 61, 71, 0.4);
  }
  50% { 
    box-shadow: 
      0 4px 20px rgba(240, 61, 71, 0.6),
      0 0 0 8px rgba(240, 61, 71, 0);
  }
}

/* Responsive pour Sign up CTA */
@media (max-width: 768px) {
  .signup-cta {
    padding: 14px 28px;
    font-size: 18px;
    gap: 10px;
  }
  
  .signup-arrow {
    width: 32px;
    height: 32px;
  }
  
  .signup-arrow svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 576px) {
  .signup-cta {
    padding: 12px 24px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
  }
}

/* RTL Support pour Sign up CTA */
[dir="rtl"] .signup-cta {
  flex-direction: row-reverse;
}

[dir="rtl"] .signup-arrow svg {
  transform: rotate(180deg);
}

[dir="rtl"] .signup-cta:hover .signup-arrow {
  transform: translateX(-5px);
}