/* =======================
   Variables et Reset
   ======================= */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #e94560;
    --accent-color: #0f3460;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --success: #10b981;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =======================
   Header
   ======================= */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.header-trust {
    display: flex;
    gap: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* =======================
   Hero Section
   ======================= */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* =======================
   Form Card
   ======================= */
.form-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-light);
    font-size: 14px;
}

.lead-form {
    position: relative;
    min-height: 400px;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    cursor: pointer;
}

/* Buttons */
.btn-next,
.btn-back,
.btn-submit {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-next,
.btn-submit {
    background: var(--secondary-color);
    color: white;
    width: 100%;
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.btn-next:hover,
.btn-submit:hover {
    background: #d63850;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(233, 69, 96, 0.4);
}

.btn-back {
    background: transparent;
    color: var(--text-light);
    border: 2px solid #e5e7eb;
}

.btn-back:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.form-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    margin-top: 32px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Progress */
.form-progress {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), #ff6b81);
    transition: width 0.4s ease-out;
}

.progress-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.6s ease-out;
}

.success-icon {
    margin-bottom: 24px;
}

.form-success h3 {
    color: var(--success);
    font-size: 24px;
    margin-bottom: 16px;
}

.form-success p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* =======================
   Section Styles
   ======================= */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* =======================
   Simulator
   ======================= */
.simulator {
    background: var(--bg-light);
}

.simulator-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.simulator-question label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.radio-label:hover {
    border-color: var(--secondary-color);
    background: rgba(233, 69, 96, 0.03);
}

.radio-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.simulator-amount {
    margin-top: 32px;
    animation: fadeIn 0.4s ease-out;
}

.simulator-amount label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.simulator-amount input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
}

.simulator-result,
.simulator-info {
    margin-top: 32px;
    animation: fadeIn 0.4s ease-out;
}

.result-card {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 32px;
    border-radius: var(--border-radius);
    display: flex;
    gap: 24px;
    align-items: center;
}

.result-icon {
    font-size: 48px;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-content h4 {
    font-size: 24px;
    margin-bottom: 8px;
}

.result-content p {
    opacity: 0.95;
    line-height: 1.6;
}

.result-cta {
    margin-top: 12px;
    font-weight: 600;
    font-size: 15px !important;
}

.info-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 24px;
    border-radius: 8px;
    display: flex;
    gap: 16px;
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
}

.info-box p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-box a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

.info-box a:hover {
    text-decoration: underline;
}

/* =======================
   Formations Grid
   ======================= */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.formation-card {
    background: var(--bg-white);
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.formation-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.formation-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.formation-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.formation-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.formation-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b81);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =======================
   Testimonials
   ======================= */
.testimonials {
    background: var(--bg-light);
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.stars {
    color: #fbbf24;
    font-size: 24px;
    letter-spacing: 2px;
}

.rating-text {
    color: var(--text-light);
    font-size: 14px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b81);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-light);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    letter-spacing: 1px;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-date {
    font-size: 13px;
    color: #9ca3af;
}

/* =======================
   FAQ
   ======================= */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--secondary-color);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--secondary-color);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* =======================
   Lexique
   ======================= */
.lexique {
    background: var(--bg-light);
}

.lexique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.lexique-item {
    background: var(--bg-white);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 24px;
    transition: var(--transition);
}

.lexique-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.lexique-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 700;
}

.lexique-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

/* =======================
   SEO Content - Nouveau Design
   ======================= */
.seo-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.seo-content::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.seo-text {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.seo-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.seo-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #ff6b81);
    border-radius: 2px;
}

.seo-text h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    padding-left: 20px;
    border-left: 5px solid var(--secondary-color);
}

.seo-text h3:first-of-type {
    margin-top: 40px;
}

.seo-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 24px;
    font-size: 16px;
}

.seo-text ul {
    margin: 30px 0 30px 0;
    padding: 30px 40px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.seo-text ul li {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 16px;
    padding-left: 10px;
    position: relative;
}

.seo-text ul li::marker {
    color: var(--secondary-color);
    font-weight: bold;
}

.seo-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.seo-keywords {
    margin-top: 40px;
    padding: 24px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 13px;
}

/* =======================
   Footer - Nouveau Design
   ======================= */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #d1d5db;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-section p,
.footer-section ul {
    font-size: 15px;
    line-height: 2;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    padding-left: 0;
    transition: var(--transition);
}

.footer-section ul li:hover {
    transform: translateX(5px);
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-trust {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.footer-trust img {
    height: 40px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-trust img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
    line-height: 2;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 10px 0;
}

.footer-links {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
    padding: 0 8px;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

/* =======================
   Animations
   ======================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =======================
   Responsive
   ======================= */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .form-card {
        padding: 32px 24px;
    }

    .simulator-card {
        padding: 32px 24px;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .header-trust {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 48px 0;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    section {
        padding: 48px 0;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .formations-grid,
    .testimonials-grid,
    .lexique-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* =======================
   RGPD Cookie Banner & Modal
   ======================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-text h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-accept,
.cookie-refuse,
.cookie-settings,
.cookie-save {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.cookie-accept {
    background: var(--secondary-color);
    color: white;
}

.cookie-accept:hover {
    background: #d63850;
    transform: translateY(-2px);
}

.cookie-refuse {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #e5e7eb;
}

.cookie-refuse:hover {
    border-color: var(--text-dark);
}

.cookie-settings {
    background: var(--accent-color);
    color: white;
}

.cookie-settings:hover {
    background: #0a2744;
}

/* Modal Cookies */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease-out;
}

.cookie-modal-content {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 2px solid #e5e7eb;
}

.cookie-modal-header h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: var(--transition);
}

.cookie-modal-close:hover {
    background: #f3f4f6;
    color: var(--text-dark);
}

.cookie-modal-body {
    padding: 32px;
}

.cookie-category {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 16px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-category h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0;
}

.cookie-required {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
}

.cookie-category p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--secondary-color);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-modal-footer {
    padding: 24px 32px;
    border-top: 2px solid #e5e7eb;
    text-align: right;
}

.cookie-save {
    background: var(--secondary-color);
    color: white;
    padding: 14px 32px;
}

.cookie-save:hover {
    background: #d63850;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-accept,
    .cookie-refuse,
    .cookie-settings {
        width: 100%;
    }
    
    .cookie-modal-content {
        margin: 0;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }
}