/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes moveBackground {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

/* Styles généraux */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-section p {
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-section .logo {
    animation: fadeInUp 2s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-section .hero-title {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    animation-delay: 0.2s;
    opacity: 0;
    color: white;
}

.hero-section .hero-subtitle {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-section .nav-buttons {
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-section .nav-buttons a {
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.hero-section .nav-buttons a:first-child {
    animation-delay: 0.6s;
}

.hero-section .nav-buttons a:last-child {
    animation-delay: 0.8s;
}

/* Commission Cards */
.commission-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    animation: slideInLeft 1s ease-out forwards;
}

.commission-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transform: translateY(0);
}

.commission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.1) 0%, rgba(0,255,136,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.commission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.commission-card:hover::before {
    opacity: 1;
}

.commission-card h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.commission-card h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00ff88);
    margin: 1rem auto 0;
    transition: width 0.3s ease;
}

.commission-card:hover h3::after {
    width: 100px;
}

.commission-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.commission-card .earnings {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.commission-section p.commission-note {
    text-align: center;
    max-width: 90%;
    margin: auto;
}

.commission-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .commission-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

@media (max-width: 675px) {
    .commission-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .commission-card {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Payment Methods */
.payment-methods {
    background: #f8f9fa;
    padding: 5rem 2rem;
    text-align: center;
}

.payment-methods .container {
    max-width: 1400px;
    margin: 0 auto;
}

.payment-methods .section-title {
    margin-bottom: 4rem;
}

.payment-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.payment-logo img {
    max-width: 80px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(0.2);
}

.payment-logo:hover {
    transform: translateY(-5px);
}

.payment-logo:hover img {
    filter: grayscale(0);
}

@media (max-width: 1200px) {
    .payment-logos {
        gap: 1.5rem;
        padding: 0;
    }

    .payment-logo img {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .payment-methods {
        padding: 4rem 1rem;
    }

    .payment-logos {
        gap: 1rem;
    }

    .payment-logo img {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .payment-methods {
        padding: 3rem 0.5rem;
    }

    .payment-logos {
        gap: 0.5rem;
    }

    .payment-logo img {
        max-width: 80px;
    }
}

.payment-methods,
.payment-terms,
.commission-section {
    background: #f8f9fa;
    padding: 5rem 0;
    position: relative;
}

.payment-methods::before,
.payment-terms::before,
.commission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.2), transparent);
}

.payment-methods::after,
.payment-terms::after,
.commission-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.2), transparent);
}

.payment-methods {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideInRight 1s ease-out forwards;
}

.payment-methods .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 1rem;
}

.payment-methods .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00a6ff);
    transition: width 0.3s ease;
}

.payment-methods .section-title:hover::after {
    width: 100px;
}

/* Payment Methods Section */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.payment-logo {
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 1.5rem;
}

.payment-logo i {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.payment-logo:hover {
    transform: translateY(-5px);
}

.payment-logo:hover i {
    color: var(--accent-color);
}

/* Tooltip styles */
.payment-logo[data-tooltip] {
    position: relative;
}

.payment-logo[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    margin-bottom: 10px;
}

.payment-logo[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .payment-logo[data-tooltip]::before {
        display: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payment-methods {
        gap: 2rem;
    }
    
    .payment-logo {
        padding: 1rem;
    }
    
    .payment-logo i {
        font-size: 2.5em;
    }
    
    .payment-logo span {
        font-size: 1rem;
    }
}

/* Navigation */
.nav-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.nav-button {
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-button.primary {
    background: #007bff;
    color: white;
}

.nav-button.primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.nav-button.dark {
    background: #1a1a1a;
    color: white;
}

.nav-button.dark:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Buttons */
.cta-ambassador {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
}

.cta-ambassador:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    background: #0056b3;
}

.cta-ambassador:active {
    transform: translateY(-1px);
}

.cta-ambassador::before {
    display: none;
}

.requirements .cta-ambassador {
    margin: 2rem auto 0;
    background: #3498db;
}

.requirements .cta-ambassador:hover {
    background: #2980b9;
}

.hero-section .cta-ambassador {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
}

.cta-2-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
}

.cta-2-buttons a {
    min-width: 200px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .nav-buttons {
        gap: 0.5rem;
    }

    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Form Elements */
.form-control {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-control:focus {
    transform: translateY(-2px);
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}

/* Lists and Text */
ul li.aos-animate, ol li.aos-animate {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

ul li.aos-animate, ol li.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

/* Images */
img {
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .commission-card {
        margin-bottom: 1rem;
    }
    
    .payment-logo img {
        height: 25px;
    }
    .payment-logos {
        gap: 1rem;
    }
}

.earnings {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 1rem 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.requirements {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 6rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.requirements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('images/pattern.png'); */
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

.requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
    z-index: 1;
}

.requirements h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 1rem auto;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.requirement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.requirement-card:nth-child(1) { animation-delay: 0.1s; }
.requirement-card:nth-child(2) { animation-delay: 0.2s; }
.requirement-card:nth-child(3) { animation-delay: 0.3s; }
.requirement-card:nth-child(4) { animation-delay: 0.4s; }

.requirement-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.requirement-card i {
    font-size: 2.5rem;
    color: #a0d6ff;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.requirement-card:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

.requirement-card p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.requirements .cta-ambassador {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    background: #3498db;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.requirements .cta-ambassador:hover {
    background: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .requirements {
        padding: 4rem 1rem;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .requirement-card {
        padding: 1.5rem;
    }
}

/* Payment Terms */
.payment-terms {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 2rem 0;
}

.payment-terms .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.payment-terms .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.payment-terms .highlight-box {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #007bff;
}

.payment-terms .highlight-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.payment-terms .highlight-box h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-terms .highlight-box h3 i {
    color: #007bff;
}

.payment-terms .important-note {
    color: #e74c3c;
    font-weight: 500;
    padding: 0.5rem 0;
    margin: 1rem 0;
}

.payment-terms .refund-note {
    color: #2c3e50;
    font-weight: 500;
    margin: 1rem 0 0.5rem 0;
}

.payment-terms ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.payment-terms ul li {
    position: relative;
    padding: 0.5rem 0;
    color: #666;
}

.payment-terms ul li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.payment-terms {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease-out forwards;
}

.payment-terms .container {
    max-width: 800px;
    margin: 0 auto;
}

.highlight-box {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    animation: slideInRight 1s ease-out forwards;
}

.important-note {
    color: #e74c3c;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.cta-2-buttons {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-top: 2rem;
    animation: scaleIn 1s ease-out forwards;
}

.cta-2-buttons a {
    min-width: 200px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 2rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .payment-logos {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .payment-logo {
        padding: 0.5rem;
    }
    .payment-logo img {
        height: 25px;
    }
    .payment-logos {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .payment-logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pdf-preview {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pdf-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.pdf-features {
    padding: 3rem;
    text-align: center;
}

.pdf-features h3 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.pdf-features h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00ff88);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.pdf-features:hover h3::after {
    width: 120px;
}

.pdf-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pdf-features li {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.pdf-features li:nth-child(1) { animation-delay: 0.1s; }
.pdf-features li:nth-child(2) { animation-delay: 0.2s; }
.pdf-features li:nth-child(3) { animation-delay: 0.3s; }
.pdf-features li:nth-child(4) { animation-delay: 0.4s; }
.pdf-features li:nth-child(5) { animation-delay: 0.5s; }
.pdf-features li:nth-child(6) { animation-delay: 0.6s; }

.pdf-features li:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}

.pdf-features li i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #007bff;
    transition: transform 0.3s ease;
}

.pdf-features li:hover i {
    transform: scale(1.2);
}

.travel-image-section {
    margin: 0 1rem;
    padding: 4rem 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.travel-image-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.travel-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    filter: brightness(0.8);
}

.travel-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: white;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    border-radius: 20px;
}

.travel-image-overlay i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0.9;
}

.travel-image-text {
    max-width: 800px;
    margin: 0 auto;
}

.travel-image-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.travel-image-text p {
    font-size: 1.4rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    opacity: 0.95;
}

@media (max-width: 768px) {
    .travel-image {
        height: 400px;
    }
    
    .travel-image-overlay i {
        font-size: 2.2rem;
    }
    
    .travel-image-text h2 {
        font-size: 1.4rem;
    }
    
    .travel-image-text p {
        font-size: 1rem;
    }

    .pdf-features ul {
        grid-template-columns: 1fr;
    }
    
    .pdf-features {
        padding: 2rem;
    }
    
    .travel-image {
        height: 300px;
    }
}

.try-free-section {
    margin-top: 4rem;
}

.try-free-section .travel-image {
    height: 500px;
}

.try-free-section .travel-image-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.try-free-section .travel-image-text {
    max-width: 900px;
}

.try-free-section i {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: white;
    opacity: 0.95;
    animation: float 3s ease-in-out infinite;
}

.try-free-section .cta-ambassador {
    margin-top: 2rem;
    background: white;
    color: #007bff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.try-free-section .cta-ambassador:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 768px) {
    .try-free-section {
        margin-top: 2rem;
    }

    .try-free-section .travel-image {
        height: 400px;
    }

    .try-free-section i {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .try-free-section .cta-ambassador {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }
}

/* Newsletter */
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/background-newsletter.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 8rem 2rem;
    text-align: center;
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-content h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.newsletter-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.newsletter-content .cta-ambassador {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    background: white;
    color: #007bff;
    border: none;
    margin-top: 1rem;
}

.newsletter-content .cta-ambassador:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    color: #0056b3;
}

@media (max-width: 768px) {
    .newsletter {
        padding: 6rem 1.5rem;
        min-height: 500px;
    }

    .newsletter-content h1 {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    .newsletter-content p {
        font-size: 1.3rem;
        margin-bottom: 3rem;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00a6ff);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100px;
}

.payment-methods .section-title,
.payment-terms .section-title,
.commission-section .section-title {
    color: #1a1a1a;
    margin-bottom: 3.5rem;
    font-size: 2.8rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .payment-methods .section-title,
    .payment-terms .section-title,
    .commission-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

/* Inscription et connexion des ambassadeurs */

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 2rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="url"],
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox input[type="checkbox"] {
    width: auto;
}

.checkbox label {
    margin: 0;
}

small {
    display: block;
    color: #666;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.error-message {
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.success-message {
    background-color: #f1f8e9;
    border: 1px solid #c5e1a5;
    color: #33691e;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-link,
.register-link {
    text-align: center;
    margin-top: 1.5rem;
}

.login-link a,
.register-link a {
    color: #007bff;
    text-decoration: none;
}

.login-link a:hover,
.register-link a:hover {
    text-decoration: underline;
}

#ambassadeur-cgu h2 {
    color: #007bff;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.3rem;
    text-align: left;
}

#ambassadeur-cgu ul {
    list-style-type: "> ";
    list-style-position: inside;
    padding-left: 2.5rem;
}

#ambassadeur-cgu .back-link {
    margin-top: 2rem;
}

/* Validation du mot de passe */

.password-requirements {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    margin: 0.2rem 0;
}

.requirement i {
    font-size: 0.8rem;
}

.requirement.valid {
    color: #28a745;
}

.requirement.invalid {
    color: #dc3545;
}

input.error {
    border-color: #dc3545 !important;
    background-color: #fff8f8;
}

.password-strength-meter {
    height: 4px;
    background-color: #eee;
    margin-top: 0.5rem;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-meter .meter {
    height: 100%;
    width: 0;
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.meter.weak { width: 25%; background-color: #dc3545; }
.meter.medium { width: 50%; background-color: #ffc107; }
.meter.strong { width: 75%; background-color: #17a2b8; }
.meter.very-strong { width: 100%; background-color: #28a745; }