/* ===== CSS Variables ===== */
:root {
    /* Couleurs principales - Thème bleu royal de Christ+ */
    --primary-color: #4169E1;
    --primary-light: #6B82F6;
    --primary-dark: #1E40AF;
    --secondary-color: #4A90E2;
    --secondary-light: #7AB2FF;
    --secondary-dark: #2167C4;
    
    /* Gradient bleu royal */
    --gradient-primary: linear-gradient(135deg, 
        rgb(240, 245, 255) 0%, 
        rgb(230, 240, 255) 50%, 
        rgb(219, 234, 254) 100%);
    --gradient-warm: linear-gradient(135deg, #6B82F6 0%, #4169E1 100%);
    --gradient-cool: linear-gradient(135deg, #7AB2FF 0%, #4A90E2 100%);
    
    /* Couleurs neutres */
    --white: #FFFFFF;
    --black: #000000;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Typographie */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Crimson Text', Georgia, serif;
    
    /* Espacements */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --element-gap: 2rem;
    
    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

/* Style pour les pages légales */
.header .navbar {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-warm);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.download-link {
    background: var(--gradient-warm);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--radius-lg);
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

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

.download-link::after {
    display: none;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -2;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 139, 122, 0.05) 0%, 
        rgba(74, 144, 226, 0.05) 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.title-subtitle {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--gray-600);
    font-family: var(--font-serif);
    font-style: italic;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-warm);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.2rem;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: var(--gray-800);
    border-radius: 2.5rem;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition-slow);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg) scale(1.05);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-animation 2s infinite;
}

@keyframes scroll-animation {
    0%, 20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(16px);
        opacity: 0;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 8rem 0 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
        transform: none;
    }

    .phone-mockup:hover {
        transform: scale(1.05);
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-title {
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: var(--section-padding);
    background: var(--gradient-primary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.testimonial-stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 2.5rem;
}

.author-info {
    text-align: left;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
}

.author-location {
    display: block;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===== Download Section ===== */
.download {
    padding: var(--section-padding);
    background: var(--gray-800);
    color: var(--white);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.download-description {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.download-features {
    display: grid;
    gap: 1rem;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-200);
}

.download-feature .feature-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.download-btn {
    display: block;
    width: 200px;
    transition: var(--transition-normal);
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    width: 100%;
    height: auto;
}

.download-info {
    text-align: center;
    margin-top: 2rem;
}

.download-note {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ===== Support Section ===== */
.support {
    padding: var(--section-padding);
    background: var(--gradient-primary);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.support-section {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.support-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.support-section h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
}

/* FAQ Styles */
.faq-container {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.25rem;
    background: var(--gray-50);
    cursor: pointer;
    display: flex;
    justify-content: between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h4 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1rem;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.contact-option {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--gray-800);
}

.contact-info p {
    margin: 0 0 0.5rem 0;
    color: var(--gray-600);
}

.response-time {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    display: inline-block;
}

.chat-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
    margin-top: 0.5rem;
}

.chat-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Support Form */
.support-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 139, 122, 0.1);
}

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

.support-submit-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.support-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.support-submit-btn.loading .btn-text {
    display: none;
}

.support-submit-btn.loading .btn-loading {
    display: inline;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.resource-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-card h4 {
    margin: 0 0 0.5rem 0;
    color: var(--gray-800);
    font-size: 1.1rem;
}

.resource-card p {
    margin: 0 0 1rem 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.resource-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Support Section Responsive */
@media (max-width: 768px) {
    .support-section {
        padding: 2rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .resource-card {
        padding: 1rem;
    }
    
    .support-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    animation: slideInDown 0.5s ease;
}

.form-message.success {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.message-icon {
    font-size: 1.2rem;
}

.message-text {
    flex: 1;
    margin: 0;
}

/* Chat Modal */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.chat-modal-content {
    background: var(--white);
    border-radius: var(--radius-2xl);
    max-width: 400px;
    width: 90%;
    animation: slideInUp 0.3s ease;
}

.chat-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-modal-header h3 {
    margin: 0;
    color: var(--gray-800);
}

.chat-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition-fast);
}

.chat-modal-close:hover {
    color: var(--gray-800);
}

.chat-modal-body {
    padding: 1.5rem;
    text-align: center;
}

.chat-modal-body p {
    margin: 0 0 1rem 0;
    color: var(--gray-600);
    line-height: 1.6;
}

.chat-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.chat-modal-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

.chat-modal-btn:hover {
    background: var(--primary-dark);
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===== Terms of Service Section ===== */
.terms-of-service {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
}

.terms-section {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.terms-subsection {
    margin-bottom: 1.5rem;
}

.terms-subsection:last-child {
    margin-bottom: 0;
}

.terms-subsection h4 {
    color: var(--gray-800);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.terms-subsection h4:first-child {
    margin-top: 0;
}

.terms-subsection p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.terms-subsection p:last-child {
    margin-bottom: 0;
}

.terms-subsection ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.terms-subsection ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.terms-subsection ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.terms-subsection ul li strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Terms of Service Responsive */
@media (max-width: 768px) {
    .terms-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .terms-section h3 {
        font-size: 1.3rem;
    }
    
    .terms-subsection h4 {
        font-size: 1rem;
    }
    
    .terms-subsection ul li {
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }
}

/* ===== Privacy Policy Section ===== */
.privacy-policy {
    padding: var(--section-padding);
    background: var(--white);
}

.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-section {
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-color);
    position: relative;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section::before {
    content: '🔒';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.3;
}

.privacy-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-section h3::before {
    content: '📋';
    font-size: 1.2rem;
}

.privacy-subsection {
    margin-bottom: 1.5rem;
}

.privacy-subsection:last-child {
    margin-bottom: 0;
}

.privacy-subsection h4 {
    color: var(--gray-800);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-subsection h4:first-child {
    margin-top: 0;
}

.privacy-subsection h4::before {
    content: '🔹';
    font-size: 0.8rem;
}

.privacy-subsection p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-subsection p:last-child {
    margin-bottom: 0;
}

.privacy-subsection ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.privacy-subsection ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.privacy-subsection ul li::before {
    content: '🔐';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

.privacy-subsection ul li strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Privacy Animation */
.privacy-content .privacy-section {
    animation: fadeInLeft 0.6s ease-out;
    animation-fill-mode: both;
}

.privacy-content .privacy-section:nth-child(1) { animation-delay: 0.1s; }
.privacy-content .privacy-section:nth-child(2) { animation-delay: 0.2s; }
.privacy-content .privacy-section:nth-child(3) { animation-delay: 0.3s; }
.privacy-content .privacy-section:nth-child(4) { animation-delay: 0.4s; }
.privacy-content .privacy-section:nth-child(5) { animation-delay: 0.5s; }
.privacy-content .privacy-section:nth-child(6) { animation-delay: 0.6s; }
.privacy-content .privacy-section:nth-child(7) { animation-delay: 0.7s; }
.privacy-content .privacy-section:nth-child(8) { animation-delay: 0.8s; }
.privacy-content .privacy-section:nth-child(9) { animation-delay: 0.9s; }
.privacy-content .privacy-section:nth-child(10) { animation-delay: 1.0s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Privacy Responsive */
@media (max-width: 768px) {
    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .privacy-section::before {
        top: 1rem;
        right: 1rem;
        font-size: 1.2rem;
    }
    
    .privacy-section h3 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .privacy-subsection h4 {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .privacy-subsection ul li {
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }
}

/* Terms Section Highlighting */
.terms-section.section-highlighted {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-left-width: 6px;
    transition: all 0.3s ease;
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.back-to-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    opacity: 1;
}

.back-to-top-btn:active {
    transform: translateY(0);
}

/* Data Protection Indicators */
.data-protection-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #e0f7fa, #f0f9ff);
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    opacity: 0.9;
}

.data-protection-indicator:hover {
    transform: translateX(5px);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 123, 191, 0.2);
}

.indicator-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.indicator-message {
    font-weight: 500;
    color: #1565c0;
}

/* Data Protection Summary Modal */
.data-protection-summary {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.data-protection-summary.visible {
    opacity: 1;
    visibility: visible;
}

.summary-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.data-protection-summary.visible .summary-content {
    transform: scale(1);
}

.summary-content h3 {
    margin: 0 0 1.5rem 0;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.5rem;
}

.summary-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.point-icon {
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

.summary-close {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.summary-close:hover {
    background: #1565c0;
}

/* Section Highlighting Animation */
.privacy-section.section-highlighted {
    background: linear-gradient(135deg, #f0f9ff, #ffffff) !important;
    transition: background 0.5s ease;
}

/* Dark Theme Adjustments for Privacy */
@media (prefers-color-scheme: dark) {
    .data-protection-indicator {
        background: linear-gradient(135deg, #1e3a8a, #1e40af);
        color: #dbeafe;
        border-left-color: #60a5fa;
    }
    
    .indicator-message {
        color: #93c5fd;
    }
    
    .summary-content {
        background: #1e293b;
        color: #f1f5f9;
    }
    
    .summary-point {
        background: #334155;
        border-left-color: #60a5fa;
    }
    
    .privacy-section.section-highlighted {
        background: linear-gradient(135deg, #1e293b, #334155) !important;
    }
}

/* Mobile Responsiveness for Privacy Indicators */
@media (max-width: 768px) {
    .data-protection-indicator {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .summary-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .summary-point {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Terms Animation */
.terms-content .terms-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.terms-content .terms-section:nth-child(1) { animation-delay: 0.1s; }
.terms-content .terms-section:nth-child(2) { animation-delay: 0.2s; }
.terms-content .terms-section:nth-child(3) { animation-delay: 0.3s; }
.terms-content .terms-section:nth-child(4) { animation-delay: 0.4s; }
.terms-content .terms-section:nth-child(5) { animation-delay: 0.5s; }
.terms-content .terms-section:nth-child(6) { animation-delay: 0.6s; }
.terms-content .terms-section:nth-child(7) { animation-delay: 0.7s; }
.terms-content .terms-section:nth-child(8) { animation-delay: 0.8s; }

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

/* Terms Responsive Enhancements */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

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

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--gray-500);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

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

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .download-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .download-stats {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .carousel-controls {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .download-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom-content {
        text-align: center;
        flex-direction: column;
    }
}

/* ===== License Section ===== */
.license {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    min-height: 100vh;
    position: relative;
}

.license::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.1), transparent);
    pointer-events: none;
}

.license-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.license-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.license-intro {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

.license-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.license-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: all 0.3s ease;
}

.license-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border-left-width: 8px;
}

.license-section::before {
    content: '⚖️';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    opacity: 0.3;
}

.license-section h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.license-section h3::before {
    content: '📋';
    font-size: 1.2rem;
}

.license-subsection {
    margin-bottom: 1.5rem;
}

.license-subsection:last-child {
    margin-bottom: 0;
}

.license-subsection h4 {
    color: var(--gray-800);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.license-subsection h4:first-child {
    margin-top: 0;
}

.license-subsection h4::before {
    content: '📄';
    font-size: 0.8rem;
}

.license-subsection p {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.license-subsection p:last-child {
    margin-bottom: 0;
}

.license-subsection ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.license-subsection ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.license-subsection ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

/* Icônes spécifiques par section */
.license-section:nth-child(1)::before { content: '📋'; }
.license-section:nth-child(2)::before { content: '✅'; }
.license-section:nth-child(3)::before { content: '⚠️'; }
.license-section:nth-child(4)::before { content: '©️'; }
.license-section:nth-child(5)::before { content: '🏛️'; }
.license-section:nth-child(6)::before { content: '⚖️'; }
.license-section:nth-child(7)::before { content: '🔄'; }
.license-section:nth-child(8)::before { content: '📞'; }

/* Icônes spécifiques pour les listes */
.license-section:nth-child(3) ul li::before { content: '❌'; }
.license-section:nth-child(4) ul li::before { content: '©️'; }
.license-section:nth-child(5) ul li::before { content: '🏛️'; }
.license-section:nth-child(6) ul li::before { content: '⚖️'; }

.license-subsection ul li strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* License Footer */
.license-footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.license-version {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.license-version p {
    margin: 0.5rem 0;
    font-size: 1rem;
    opacity: 0.9;
}

.license-summary h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spiritual-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.license-summary p:last-child {
    font-size: 1rem;
    opacity: 0.95;
    margin-top: 1rem;
}

/* License Section Highlighting */
.license-section.section-highlighted {
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
    transition: background 0.5s ease;
}

/* License Animation */
.license-content .license-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.license-content .license-section:nth-child(1) { animation-delay: 0.1s; }
.license-content .license-section:nth-child(2) { animation-delay: 0.2s; }
.license-content .license-section:nth-child(3) { animation-delay: 0.3s; }
.license-content .license-section:nth-child(4) { animation-delay: 0.4s; }
.license-content .license-section:nth-child(5) { animation-delay: 0.5s; }
.license-content .license-section:nth-child(6) { animation-delay: 0.6s; }
.license-content .license-section:nth-child(7) { animation-delay: 0.7s; }
.license-content .license-section:nth-child(8) { animation-delay: 0.8s; }

/* License Responsive */
@media (max-width: 768px) {
    .license {
        padding: 3rem 0;
    }
    
    .license-header h2 {
        font-size: 2.2rem;
    }
    
    .license-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .license-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .license-section::before {
        top: 1rem;
        right: 1rem;
        font-size: 1.2rem;
    }
    
    .license-section h3 {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .license-subsection h4 {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .license-subsection ul li {
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }
    
    .license-footer {
        padding: 2rem 1rem;
    }
    
    .spiritual-quote {
        font-size: 1rem;
        padding: 0.75rem;
    }
}

/* Legal Indicators for License */
.legal-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-left: 4px solid;
}

.legal-indicator-info {
    background: linear-gradient(135deg, #dbeafe, #f0f9ff);
    border-left-color: #3b82f6;
    color: #1e40af;
}

.legal-indicator-success {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    border-left-color: #10b981;
    color: #065f46;
}

.legal-indicator-warning {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border-left-color: #f59e0b;
    color: #92400e;
}

.legal-indicator:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* License Progress Bar */
.license-progress-bar {
    position: sticky;
    top: 80px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    z-index: 100;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
    text-align: center;
}

/* License Summary Modal */
.license-summary-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.license-summary-modal.visible {
    opacity: 1;
    visibility: visible;
}

.summary-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.license-summary-modal.visible .summary-modal-content {
    transform: scale(1);
}

.summary-modal-content h3 {
    margin: 0 0 1.5rem 0;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.5rem;
}

.summary-sections {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-section {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.summary-allowed {
    background: #f0fdf4;
    border-left-color: #10b981;
}

.summary-restricted {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.summary-contact {
    background: #f0f9ff;
    border-left-color: #3b82f6;
}

.summary-section h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-section ul {
    margin: 0;
    padding-left: 1rem;
    list-style: none;
}

.summary-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.summary-section li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: inherit;
}

.summary-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-read-full,
.btn-close-summary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-read-full {
    background: var(--primary-color);
    color: white;
}

.btn-read-full:hover {
    background: #1565c0;
}

.btn-close-summary {
    background: #6b7280;
    color: white;
}

.btn-close-summary:hover {
    background: #4b5563;
}

/* License Acceptance Modal */
.license-acceptance-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.license-acceptance-modal.visible {
    opacity: 1;
    visibility: visible;
}

.acceptance-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
}

.license-acceptance-modal.visible .acceptance-modal-content {
    transform: scale(1);
}

.acceptance-modal-content h3 {
    margin: 0 0 1.5rem 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.acceptance-modal-content p {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.acceptance-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    text-align: left;
}

.highlight-icon {
    font-size: 1.2rem;
}

.acceptance-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-read-license,
.btn-accept-license {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-read-license {
    background: #6b7280;
    color: white;
}

.btn-read-license:hover {
    background: #4b5563;
}

.btn-accept-license {
    background: var(--primary-color);
    color: white;
}

.btn-accept-license:hover {
    background: #1565c0;
}

/* Dark Theme Adjustments for License */
@media (prefers-color-scheme: dark) {
    .legal-indicator-info {
        background: linear-gradient(135deg, #1e3a8a, #1e40af);
        color: #dbeafe;
    }
    
    .legal-indicator-success {
        background: linear-gradient(135deg, #065f46, #047857);
        color: #d1fae5;
    }
    
    .legal-indicator-warning {
        background: linear-gradient(135deg, #92400e, #b45309);
        color: #fde68a;
    }
    
    .license-progress-bar {
        background: #1e293b;
        color: #f1f5f9;
    }
    
    .summary-modal-content,
    .acceptance-modal-content {
        background: #1e293b;
        color: #f1f5f9;
    }
    
    .summary-allowed {
        background: #064e3b;
    }
    
    .summary-restricted {
        background: #7f1d1d;
    }
    
    .summary-contact {
        background: #1e3a8a;
    }
    
    .highlight-item {
        background: #334155;
    }
}
