:root {
    --primary-color: #172243;
    --secondary-color: #ffffff;
    --accent-color: #4A90E2;
    --gradient-start: #667eea;
    --gradient-end: #764ba2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Styles communs */
body {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 20px;
    max-width: 90%;
}

.logo-img {
    width: 180px;
    margin-bottom: 40px;
    animation: fadeIn 2s ease;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: slideUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 1s;
    letter-spacing: 0.5px;
}

.description {
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 1.25s;
}

.coming-soon {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 1.5s;
    margin-bottom: 60px;
}

.email {
    margin-top: 20px;
    color: var(--secondary-color);
    text-decoration: none;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 2s;
    border: 1px solid var(--secondary-color);
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.email:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.frames-container {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUp 1s ease forwards;
    animation-delay: 2.5s;
}

.frame {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    max-width: 300px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.frame:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.frame-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.frame-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Styles spécifiques à Dixit AI */
body.dixitai {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
    justify-content: unset;
    align-items: unset;
    height: auto;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(23, 34, 67, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.dixitai .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 50px;
    display: block;
}

.hero {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: none;
    opacity: 1;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero .description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.8;
    animation: none;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 600;
}

.service-card p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.service-card .highlight {
    background: rgba(74, 144, 226, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.platforms {
    margin-bottom: 80px;
    animation: fadeInUp 1s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.platforms h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.platform-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.platform-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    filter: brightness(0.9);
    transition: all 0.3s ease;
}

.platform-item:hover .platform-logo {
    filter: brightness(1.1);
    transform: scale(1.1);
}

/* FAQ */
.faq {
    margin-bottom: 80px;
    animation: fadeInUp 1s ease;
    animation-delay: 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
    text-align: left;
}

.faq h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 36px;
    color: var(--secondary-color);
}

.faq-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 14px 0;
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.faq-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.faq-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--accent-color);
    font-weight: 600;
}

.faq-item h3::before {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-size: 0.9rem;
    line-height: 1;
}

.faq-item p {
    line-height: 1.65;
    opacity: 0.95;
}

.methodology {
    margin-bottom: 80px;
    animation: fadeInUp 1s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.methodology h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 30px 20px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.step p {
    line-height: 1.5;
    opacity: 0.9;
}

.contact-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 50px 30px;
    animation: fadeInUp 1s ease;
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.email-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    border: 2px solid var(--accent-color);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(74, 144, 226, 0.1);
}

.email-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Particules */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.dixitai .particles {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Media queries */
@media screen and (max-width: 768px) {
    .frames-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .frame {
        max-width: 280px;
        padding: 25px;
    }
    
    .frame-title {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .method-steps {
        grid-template-columns: 1fr;
    }

    .faq h2 {
        font-size: 1.8rem;
    }
    .faq-item {
        padding: 18px 20px;
    }
    .faq-item h3 {
        font-size: 1.1rem;
    }
}
