/* UndressAI France - Styles principaux */
:root {
    --primary: #1e88e5;
    --primary-dark: #0d47a1;
    --primary-light: #03a9f4;
    --secondary: #424242;
    --accent: #ffc107;
    --background: #fff;
    --background-alt: #f5f9ff;
    --text-color: #333;
    --text-light: #757575;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --spacer: 50px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

img, svg {
    max-width: 100%;
    height: auto;
}

/* Arrière-plan */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 40%, rgba(30, 136, 229, 0.03) 0%, rgba(3, 169, 244, 0.02) 50%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* Header et Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(3, 169, 244, 0.15);
    backdrop-filter: blur(5px);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    height: 40px;
    width: 40px;
}

.logo-small {
    height: 30px;
    width: 30px;
}

.logo-wrapper h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    transition: var(--transition);
}

.nav-desktop a:hover {
    color: var(--primary);
}

.nav-desktop a:hover::after {
    width: 100%;
}

/* Menu mobile */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 25px;
    position: relative;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    position: absolute;
    transition: var(--transition);
}

.menu-btn span:first-child {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 10px;
}

.menu-btn span:last-child {
    top: 20px;
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: #fff;
    z-index: 1200;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-mobile.active {
    right: 0;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1;
}

.nav-mobile ul {
    list-style: none;
    padding: 0 20px;
}

.nav-mobile li {
    margin-bottom: 15px;
}

.nav-mobile a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--border-radius);
}

.nav-mobile a:hover {
    background-color: rgba(30, 136, 229, 0.05);
    color: var(--primary);
}

/* Section Hero */
.hero {
    padding-top: 90px;
    padding-bottom: 60px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(170deg, #f5f9ff 0%, #fff 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-text h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--secondary);
}

.hero-text .accent {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(3, 169, 244, 0.2);
    transition: var(--transition);
    font-size: 1.05rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(3, 169, 244, 0.3);
    color: white;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.main-illustration {
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.8;
}

.blob-1 {
    width: 250px;
    height: 250px;
    background: rgba(30, 136, 229, 0.2);
    top: 10%;
    left: 10%;
    animation: blob-move-1 15s ease-in-out infinite;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: rgba(3, 169, 244, 0.15);
    bottom: 10%;
    right: 5%;
    animation: blob-move-2 18s ease-in-out infinite;
}

.circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(3, 169, 244, 0.2);
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation: pulse 4s infinite;
}

.circle-2 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 10%;
    animation: pulse 5s infinite 1s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    top: 50%;
    right: 30%;
    animation: pulse 6s infinite 2s;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

@keyframes blob-move-1 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(-10px, 30px);
    }
    75% {
        transform: translate(-20px, 10px);
    }
}

@keyframes blob-move-2 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-20px, 20px);
    }
    50% {
        transform: translate(15px, -25px);
    }
    75% {
        transform: translate(20px, 10px);
    }
}

/* Sections communes */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    border-radius: 2px;
}

/* Section Fonctionnalités */
.features {
    padding: var(--spacer) 0;
    position: relative;
    background-color: white;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-box {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--primary);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(30, 136, 229, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-box p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Séparateur d'onde */
.wave-divider {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: var(--background-alt);
}

.wave-divider.flipped {
    transform: rotate(180deg);
}

.wave-divider.flipped svg {
    fill: white;
}

/* Section Comment Ça Marche */
.how-it-works {
    background-color: var(--background-alt);
    padding: var(--spacer) 0;
    position: relative;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.step-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    width: 250px;
    text-align: center;
    position: relative;
}

.arrow-connector {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.step-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.try-now-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius);
    padding: 50px 30px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.25);
    max-width: 800px;
    margin: 0 auto;
}

.try-now-box h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.try-now-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.try-now-box .cta-button {
    background: white;
    color: var(--primary);
}

.try-now-box .cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Section FAQ */
.faq-section {
    padding: var(--spacer) 0;
    background-color: white;
    position: relative;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    transition: var(--transition);
}

.toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.toggle-icon::before {
    width: 20px;
    height: 2px;
    top: 9px;
}

.toggle-icon::after {
    width: 2px;
    height: 20px;
    left: 9px;
    top: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-item.active .toggle-icon::before,
.faq-item.active .toggle-icon::after {
    background-color: white;
}

.faq-item.active .toggle-icon::after {
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px 25px;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 10px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-light);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 992px) {
    :root {
        --spacer: 40px;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        margin-bottom: 30px;
        width: 100%;
        max-width: 350px;
    }
    
    .arrow-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
    }
    
    .link-group h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    :root {
        --spacer: 30px;
    }
    
    .hero-text h2 {
        font-size: 2.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .try-now-box h3 {
        font-size: 1.5rem;
    }
}
