:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --primary-color: #c026d3; /* Magenta/Violet Brand Kit */
    --secondary-color: #8b5cf6; /* Violet secondaire */
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.navbar {
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.spark-svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
    filter: drop-shadow(0 0 8px var(--primary-color));
    animation: pulse-glow 2s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
    from { 
        filter: drop-shadow(0 0 5px var(--primary-color)); 
        transform: scale(1) rotate(-5deg); 
    }
    to { 
        filter: drop-shadow(0 0 15px var(--primary-color)); 
        transform: scale(1.1) rotate(5deg); 
    }
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(6,182,212,0.05) 50%, rgba(10,10,15,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.headline {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-headline {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto 40px;
}

.interaction-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.input-wrapper textarea {
    width: 100%;
    height: 150px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    resize: none;
    margin-bottom: 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper textarea:focus,
.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.email-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px 20px;
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 100px;
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.5);
}

.hidden {
    display: none !important;
}

/* Loading State */
.loading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    animation: pulse 1.5s infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Result State */
.prompt-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.prompt-content {
    padding: 40px 20px;
    font-size: 1.1rem;
    color: #d1d5db;
    text-align: left;
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
    opacity: 0.7;
}

.paywall-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.paywall-overlay h3 {
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.paywall-overlay p {
    font-size: 1.1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    font-weight: 600;
}

.premium-btn {
    width: auto;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.premium-btn:hover {
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.5);
}

/* Social Proof */
.social-proof p {
    font-weight: 600;
    color: #e5e7eb;
    margin-bottom: 16px;
}

.reviews {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.review-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* --- NEW SECTIONS --- */

/* Marquee */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    white-space: nowrap;
    position: relative;
    margin-bottom: 60px;
}

.marquee {
    display: inline-flex;
    gap: 30px;
    animation: marquee 20s linear infinite;
}

.marquee span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #9ca3af;
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-color);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* -50% works if content is perfectly duplicated */
}

/* How It Works */
.how-it-works {
    padding: 60px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

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

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: #9ca3af;
    font-size: 1rem;
}

/* FAQ */
.faq-section {
    padding: 60px 20px 100px;
    text-align: center;
}

.faq-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #9ca3af;
    background: rgba(0,0,0,0.2);
}

.faq-answer p {
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Sufisant pour le texte */
}

.faq-item.active .faq-question span {
    transform: rotate(45deg); /* Transforme le + en x */
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: rgba(10, 10, 15, 0.9);
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.site-footer p {
    color: #6b7280;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 600px) {
    .headline { font-size: 2.5rem; }
    .interaction-card { padding: 20px; }
    .cta-button { font-size: 1.1rem; }
}
