/* Reset and Base Styles  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --gradient-color-1: #13385B;
    --gradient-color-2: #298CC4;
    --gradient-color-3: #5F6465;
}

/* Animated Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .hero-title,
    .hero-title .highlight,
    .benefit-card h3,
    .cta-title,
    .form-title {
        color: var(--gradient-color-2);
    }
}

body {
    font-family: 'Manrope', -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-feature-settings: normal;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-size: 16px;
    font-size-adjust: none;
    font-stretch: 100%;
    font-style: normal;
    font-variant-alternates: normal;
    font-variant-caps: normal;
    font-variant-east-asian: normal;
    font-variant-emoji: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-position: normal;
    font-variation-settings: normal;
    font-weight: 300;
    line-height: 28px;
    letter-spacing: normal;
    color: var(--text-dark);
    background-color: #fafafa;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://oxiwiz.fr/wp-content/uploads/2022/09/dauphin-lineart.webp');
    background-repeat: repeat;
    background-size: 300px;
    background-position: center;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gradient-color-2);
    animation: gradientShift 10s ease-in-out infinite;
}

.hero-title .highlight {
    display: block;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gradient-color-2);
    animation: gradientShift 10s ease-in-out infinite;
    animation-delay: 1s;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.hero-badge .price {
    font-size: 1.125rem;
    color: var(--text-dark);
}

.hero-badge strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: gradientShift 10s ease-in-out infinite;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.hero-cta-button .button-arrow {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    display: inline-block;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.hero-cta-button:hover .button-arrow {
    transform: translateX(5px);
}

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

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gradient-color-2);
    animation: gradientShift 10s ease-in-out infinite;
    line-height: 1.3;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.benefit-card {
    text-align: center;
    padding: 2px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: gradientShift 10s ease-in-out infinite;
    display: flex;
    flex-direction: column;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--bg-light);
    border-radius: 14px;
    z-index: 0;
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-card .benefit-icon {
    margin-top: 30px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    margin-bottom: 12px;
    padding: 0 24px;
}

.benefit-card p {
    margin-bottom: 30px;
    padding: 0 24px;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gradient-color-2);
    animation: gradientShift 10s ease-in-out infinite;
}

.benefit-card:nth-child(1) h3 {
    animation-delay: 0s;
}

.benefit-card:nth-child(2) h3 {
    animation-delay: 1.5s;
}

.benefit-card:nth-child(3) h3 {
    animation-delay: 3s;
}

.benefit-card:nth-child(4) h3 {
    animation-delay: 4.5s;
}

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

/* CTA Section */
.cta-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gradient-color-2);
    animation: gradientShift 10s ease-in-out infinite;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: var(--white);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gradient-color-2);
    animation: gradientShift 10s ease-in-out infinite;
    line-height: 1.4;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 32px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease-in-out infinite;
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.creation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.question-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.question-step.active {
    display: block;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-textarea,
.form-input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    font-weight: 300;
}

.form-textarea:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.btn-submit {
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    color: var(--white);
    padding: 18px 48px;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    margin-top: 8px;
    font-family: inherit;
    animation: gradientShift 10s ease-in-out infinite;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

.btn-nav {
    padding: 14px 32px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-nav:hover {
    background: var(--bg-light);
    border-color: var(--gradient-color-2);
    transform: translateY(-2px);
}

.btn-prev {
    margin-right: auto;
}

.btn-next {
    margin-left: auto;
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-2) 35%, var(--gradient-color-3) 65%, var(--gradient-color-2) 85%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    color: var(--white);
    border: none;
    animation: gradientShift 10s ease-in-out infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-next:hover {
    background: linear-gradient(135deg, var(--gradient-color-1) 0%, var(--gradient-color-1) 30%, var(--gradient-color-2) 50%, var(--gradient-color-1) 70%, var(--gradient-color-1) 100%);
    background-size: 400% 400%;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    animation: gradientShift 10s ease-in-out infinite;
    filter: brightness(0.9);
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}

/* Error Messages */
.error-messages {
    background: #fee2e2;
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.error-messages ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.error-messages li {
    color: #dc2626;
    font-weight: 500;
    margin-bottom: 8px;
}

.error-messages li:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 32px 0;
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .benefits-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .form-wrapper {
        padding: 32px 24px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-badge .price {
        font-size: 1rem;
    }

    .hero-badge strong {
        font-size: 1.25rem;
    }

    .hero-cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn-nav {
        width: 100%;
    }

    .btn-prev,
    .btn-next {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .benefits-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .form-wrapper {
        padding: 24px 16px;
    }

    .form-textarea {
        min-height: 300px;
    }

    .hero-cta-button {
        padding: 14px 28px;
        font-size: 0.9375rem;
        width: 90%;
        max-width: 100%;
    }

    .form-textarea {
        min-height: 120px;
    }

    .btn-nav {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
}

