/* Hero Section */
.hero-section {
    background: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 8rem 0;
    margin-top: 1em;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
    max-width: 400px;
}

.stat-card {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-showcase {
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.card-showcase:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
}

.hero-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.card-showcase {
    max-width: 400px;
    width: 100%;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow);
}

.floating-icon:nth-child(1) {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

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

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

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

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.step-item h3 {
    font-size: 1.3rem;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 1rem;
}

.step-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Why NFC Section */
.why-nfc-section {
    padding: 4rem 0;
    background: var(--white);
}

/* About Section */
.about {
    padding: 4rem 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Partners Section */
.partners {
    padding: 4rem 0;
    background: var(--white);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.partners-logos img {
    height: 80px;
    opacity: 1;
    transition: all 0.3s ease;
    filter: none;
    border-radius: 10px;
    padding: 1rem;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partners-logos img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background: white;
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
    align-items: center;
    padding: 0 20px;
}

/* Colonne gauche - Images des BCards */
.testimonials-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bcard-showcase {
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
    text-align: center;
}

.bcard-showcase.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
}

.bcard-showcase img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.bcard-showcase:hover img {
    transform: scale(1.02);
}

.client-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-width: 250px;
    margin: 0 auto;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: #42adad;
}

.client-logo img {
    max-height: 60px;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
}

/* Colonne droite - Avis clients */
.testimonials-content {
    position: relative;
}

.testimonial-slider {
    position: relative;
    min-height: 300px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
    background: #f8fafc;
    padding: 35px;
    border-radius: 12px;
    border-left: 4px solid #42adad;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-item .stars {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-item blockquote {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 25px 0;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid #42adad;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.author-avatar-1 {
    background-color: #42adad;
}

.author-avatar-2 {
    background-color: #4db8b8;
}

.author-avatar-3 {
    background-color: #2e8a8a;
}

.author-info .author-name {
    font-weight: 600;
    color: #000000;
    margin-bottom: 3px;
    font-size: 16px;
}

.author-info .author-title {
    font-size: 14px;
    color: #718096;
    line-height: 1.4;
}

/* Navigation */
.testimonials-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    background: #42adad;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-btn:hover {
    background: #369999;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #42adad;
    transform: scale(1.2);
}

/* Choose Card Section */
.choose-card {
    padding: 4rem 0;
    background: #f8fafc;
}

.choose-card .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.choose-card .cta-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700 !important;
    color: #000000 !important;
    text-align: center;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
}

.comparison-side {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-gray);
}

.comparison-side h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.traditional h3 {
    color: #e53e3e;
}

.bcard h3 {
    color: #38a169;
}

.comparison-list {
    list-style: none;
    padding: 0;
}

.comparison-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.negative i {
    color: #e53e3e;
}

.positive i {
    color: #38a169;
}

.vs-divider {
    background: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.why-nfc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-nfc-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-gray);
}

.why-nfc-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.why-nfc-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-nfc-icon i {
    color: white;
    font-size: 1.5rem;
}

.why-nfc-item h3 {
    font-size: 1.3rem;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 1rem;
}

.why-nfc-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Center */
.cta-center {
    text-align: center;
    margin: 3rem auto;
    max-width: 300px;
}

.cta-center .btn {
    width: 100%;
    display: block;
    padding: 1.2rem 2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .vs-divider {
        justify-self: center;
    }
    
    .partners-logos {
        gap: 2rem;
    }
    
    .partners-logos img {
        height: 60px;
        padding: 0.8rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .why-nfc-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partners-logos {
        gap: 1.5rem;
    }
    
    .partners-logos img {
        height: 50px;
        padding: 0.5rem;
    }
    
    .testimonials-section {
        padding: 4rem 0;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bcard-showcase img {
        width: 250px;
    }
    
    .client-logo {
        max-width: 220px;
        padding: 18px 22px;
    }
    
    .client-logo img {
        max-height: 50px;
        max-width: 180px;
    }
    
    .testimonials-container {
        padding: 0 15px;
        gap: 30px;
        margin-top: 30px;
    }
    
    .testimonial-item {
        padding: 25px;
    }
    
    .testimonial-item {
        padding: 25px;
    }
    
    .testimonial-item blockquote {
        font-size: 16px;
    }
    
    .author-avatar {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Mobile Responsive - Extra Small Screens */
@media (max-width: 480px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .card-showcase {
        max-width: 300px;
    }
    
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}