﻿/* =====================================================
   DEVLIFE - CSS PRINCIPAL
   Design moderne et attractif pour les packs DevLife
   UTF-8 BOM | .NET 10 | C# 14.0
   ===================================================== */

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #7a9171;
    --primary-light: #a8c4a0;
    --primary-dark: #5d7555;
    --secondary-color: #8faa86;
    --success-color: #28A745;
    --danger-color: #DC3545;
    --warning-color: #FFC107;
    --info-color: #17A2B8;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-dark: #212529;
    
    --text-primary: #212529;
    --text-secondary: #6C757D;
    --text-white: #FFFFFF;
    
    --border-color: #DEE2E6;
    --border-radius: 12px;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --section-padding: 5rem 0;
    
    --primary-gradient: linear-gradient(135deg, #7a9171 0%, #5d7555 100%);
    --secondary-gradient: linear-gradient(135deg, #a8c4a0 0%, #8faa86 100%);
    --success-gradient: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
}

/* Dark theme variables */
[data-theme="dark"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-dark: #010409;
    
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-white: #ffffff;
    
    --border-color: #30363d;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.9);
}

/* ===== RESET ET BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-secondary);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTION HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-gradient);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px;
    animation: float 20s infinite linear;
    opacity: 0.3;
    z-index: 1;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title .subtitle {
    font-size: 2rem;
    font-weight: 600;
    display: block;
    margin-top: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

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

/* ===== STORY SECTION ===== */
.story-section {
    background: var(--bg-primary);
}

.story-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.story-content p {
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.1) 0%, rgba(168, 196, 160, 0.1) 100%);
    border-left: 4px solid #7a9171;
    border-radius: 8px;
    padding: 2rem;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.highlight-box li::before {
    content: '✓';
    color: #7a9171;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #7a9171 0%, #5d7555 100%);
    color: white;
}

.cta-section .btn-primary {
    background: white;
    color: #7a9171;
    border-color: white;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #5d7555;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    text-decoration: none;
    transition: var(--transition);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== SECTION PACKS ===== */
.packs-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===== PACK CARDS ===== */
.pack-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.pack-header {
    padding: 2rem;
    text-align: center;
    color: var(--text-white);
    position: relative;
}

.pack-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pack-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pack-tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.pack-age-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.pack-body {
    padding: 2rem;
    flex-grow: 1;
}

.pack-persona,
.pack-problem,
.pack-solution,
.pack-benefits {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pack-persona h4,
.pack-problem h4,
.pack-solution h4,
.pack-benefits h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pack-persona p,
.pack-problem p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.pack-apps-list,
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pack-apps-list li,
.benefits-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pack-apps-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ===== PACK BENEFITS ===== */
.pack-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ===== PRICING ===== */
.pack-pricing {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-option {
    flex: 1;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.price-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.price-option.popular {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8B3 100%);
    border-color: var(--warning-color);
    position: relative;
}

.price-option.popular::before {
    content: '🔥 Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-color);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.price-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-save {
    display: block;
    font-size: 0.8rem;
    color: #7a9171;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* ===== PACK FOOTER ===== */
.pack-footer {
    padding: 1.5rem 2rem 2rem;
}

.btn-pack {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    background: var(--primary-gradient);
    color: var(--text-white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-pack:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
    text-decoration: none;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-primary {
    background: #4a6340;
    border-color: #5a7350;
    color: #ffffff;
}

[data-theme="dark"] .btn-primary:hover {
    background: #5a7350;
    border-color: #6a8360;
    color: #ffffff;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: var(--text-white);
    text-decoration: none;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .btn-outline-primary {
    background: transparent;
    color: #7a9171;
    border-color: #5a7350;
}

[data-theme="dark"] .btn-outline-primary:hover {
    background: #4a6340;
    color: #ffffff;
    border-color: #5a7350;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
}

/* Boutons Success */
[data-theme="dark"] .btn-success {
    background: #2ea043;
    border-color: #3fb950;
    color: #ffffff;
}

[data-theme="dark"] .btn-success:hover {
    background: #3fb950;
    border-color: #56d364;
    color: #ffffff;
}

[data-theme="dark"] .btn-outline-success {
    background: transparent;
    color: #3fb950;
    border-color: #2ea043;
}

[data-theme="dark"] .btn-outline-success:hover {
    background: #2ea043;
    color: #ffffff;
    border-color: #3fb950;
}

/* Boutons Danger */
[data-theme="dark"] .btn-danger {
    background: #da3633;
    border-color: #f85149;
    color: #ffffff;
}

[data-theme="dark"] .btn-danger:hover {
    background: #f85149;
    border-color: #ff7b72;
    color: #ffffff;
}

[data-theme="dark"] .btn-outline-danger {
    background: transparent;
    color: #f85149;
    border-color: #da3633;
}

[data-theme="dark"] .btn-outline-danger:hover {
    background: #da3633;
    color: #ffffff;
    border-color: #f85149;
}

/* Boutons Warning */
[data-theme="dark"] .btn-warning {
    background: #d29922;
    border-color: #f2cc60;
    color: #000000;
}

[data-theme="dark"] .btn-warning:hover {
    background: #f2cc60;
    border-color: #ffea7f;
    color: #000000;
}

[data-theme="dark"] .btn-outline-warning {
    background: transparent;
    color: #f2cc60;
    border-color: #d29922;
}

[data-theme="dark"] .btn-outline-warning:hover {
    background: #d29922;
    color: #000000;
    border-color: #f2cc60;
}

/* Boutons Info */
[data-theme="dark"] .btn-info {
    background: #1f6feb;
    border-color: #388bfd;
    color: #ffffff;
}

[data-theme="dark"] .btn-info:hover {
    background: #388bfd;
    border-color: #58a6ff;
    color: #ffffff;
}

[data-theme="dark"] .btn-outline-info {
    background: transparent;
    color: #58a6ff;
    border-color: #1f6feb;
}

[data-theme="dark"] .btn-outline-info:hover {
    background: #1f6feb;
    color: #ffffff;
    border-color: #388bfd;
}

/* Boutons Secondary */
[data-theme="dark"] .btn-outline-secondary {
    background: transparent;
    color: #c9d1d9;
    border-color: #30363d;
}

[data-theme="dark"] .btn-outline-secondary:hover {
    background: #21262d;
    color: #f0f6fc;
    border-color: #444c56;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pack-pricing {
        flex-direction: column;
    }
    
    .price-option {
        width: 100%;
    }
    
    .story-card {
        padding: 2rem;
    }

    .highlight-box {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.2rem;
    }
    
    .pack-header {
        padding: 1.5rem;
    }
    
    .pack-body {
        padding: 1.5rem;
    }
    
    .pack-footer {
        padding: 1rem 1.5rem 1.5rem;
    }
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.g-3 > * { padding: 0.75rem; }
.g-4 > * { padding: 1rem; }

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode styles for all components */
[data-theme="dark"] {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-dark: #010409;
    
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-white: #ffffff;
    
    --border-color: #30363d;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.9);
}

/* Card styling in dark mode */
[data-theme="dark"] .card {
    background-color: #161b22;
    border-color: #30363d;
    color: #f0f6fc;
}

[data-theme="dark"] .card:hover {
    border-color: #444c56;
}

[data-theme="dark"] .card-header {
    background-color: #21262d;
    border-color: #30363d;
    color: #f0f6fc;
}

[data-theme="dark"] .card-title {
    color: #f0f6fc;
}

[data-theme="dark"] .card-text {
    color: #c9d1d9;
}

/* Background opacity adjustments */
[data-theme="dark"] .bg-primary.bg-opacity-10 {
    background-color: rgba(31, 111, 235, 0.2) !important;
}

[data-theme="dark"] .bg-success.bg-opacity-10 {
    background-color: rgba(46, 160, 67, 0.2) !important;
}

[data-theme="dark"] .bg-warning.bg-opacity-10 {
    background-color: rgba(210, 153, 34, 0.2) !important;
}

[data-theme="dark"] .bg-info.bg-opacity-10 {
    background-color: rgba(31, 111, 235, 0.2) !important;
}

/* Feature cards in dark mode */
[data-theme="dark"] .feature-card {
    background: #161b22;
    border-color: #30363d;
}

[data-theme="dark"] .feature-card:hover {
    border-color: #5a7350;
    background: #1c2128;
}

[data-theme="dark"] .feature-icon {
    color: #7a9171;
}

[data-theme="dark"] .feature-card h3 {
    color: #f0f6fc;
}

[data-theme="dark"] .feature-card p {
    color: #c9d1d9;
}

/* Pack cards in dark mode */
[data-theme="dark"] .pack-card {
    background: #161b22;
    border: 1px solid #30363d;
}

[data-theme="dark"] .pack-card:hover {
    border-color: #444c56;
}

[data-theme="dark"] .pack-body {
    background-color: #161b22;
    color: #f0f6fc;
}

[data-theme="dark"] .pack-persona h4,
[data-theme="dark"] .pack-problem h4,
[data-theme="dark"] .pack-solution h4,
[data-theme="dark"] .pack-benefits h4 {
    color: #f0f6fc;
}

[data-theme="dark"] .pack-persona p,
[data-theme="dark"] .pack-problem p {
    color: #c9d1d9;
}

[data-theme="dark"] .pack-apps-list li,
[data-theme="dark"] .benefits-list li {
    color: #c9d1d9;
}

[data-theme="dark"] .pack-apps-list i {
    color: #7a9171;
}

/* Pricing in dark mode */
[data-theme="dark"] .price-option {
    background: #161b22;
    border-color: #30363d;
}

[data-theme="dark"] .price-option:hover {
    border-color: #5a7350;
    background: #1c2128;
}

[data-theme="dark"] .price-label,
[data-theme="dark"] .price-value {
    color: #f0f6fc;
}

[data-theme="dark"] .price-save {
    color: #7a9171;
}

[data-theme="dark"] .price-option.popular {
    background: linear-gradient(135deg, #2d2410 0%, #3d3010 100%);
    border-color: #d29922;
}

/* Highlight box in dark mode */
[data-theme="dark"] .highlight-box {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.15) 0%, rgba(168, 196, 160, 0.15) 100%);
    border-left-color: #5a7350;
}

/* Story card in dark mode */
[data-theme="dark"] .story-card {
    background: #161b22;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE5E5 100%);
}

[data-theme="dark"] .problem-section {
    background: linear-gradient(135deg, #2d1515 0%, #3d1a1a 100%);
}

.problem-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.2);
    border: 2px solid rgba(220, 53, 69, 0.1);
}

[data-theme="dark"] .problem-card {
    background: #161b22;
    border-color: rgba(248, 81, 73, 0.3);
}

.problem-icon i {
    color: var(--danger-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.problem-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    height: 100%;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

[data-theme="dark"] .problem-item {
    background: #21262d;
}

.problem-item:hover {
    transform: translateY(-5px);
    border-color: var(--danger-color);
    box-shadow: var(--shadow-md);
}

.problem-item-icon {
    font-size: 3rem;
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.problem-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-box-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(248, 81, 73, 0.1) 100%);
    border-left: 4px solid var(--danger-color);
    border-radius: 8px;
    padding: 2rem;
}

[data-theme="dark"] .highlight-box-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(248, 81, 73, 0.2) 100%);
}

/* ===== COMPARISON SECTION - MODERNISÉE ===== */
.comparison-section {
    background: var(--bg-primary);
    position: relative;
}

.comparison-intro {
    margin-bottom: 3rem;
}

.comparison-badges {
    padding: 2rem 0;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.badge-xl {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.comparison-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
}

.approach-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    height: 100%;
    border: 2px solid transparent;
}

[data-theme="dark"] .approach-card {
    background: #161b22;
}

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

.approach-card-video {
    border-color: rgba(0, 123, 255, 0.3);
}

.approach-card-video:hover {
    border-color: rgba(0, 123, 255, 0.6);
}

.approach-card-standalone {
    border-color: rgba(40, 167, 69, 0.3);
}

.approach-card-standalone:hover {
    border-color: rgba(40, 167, 69, 0.6);
}

.approach-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.approach-badge-green {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.approach-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.approach-icon-video {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.approach-icon-standalone {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

.approach-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.approach-subtitle {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.approach-body {
    padding: 1rem 0;
}

.approach-flow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: var(--transition);
}

[data-theme="dark"] .flow-step {
    background: rgba(30, 35, 41, 0.5);
}

.flow-step:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .flow-step:hover {
    background: rgba(30, 35, 41, 0.8);
}

.flow-icon {
    flex-shrink: 0;
}

.flow-icon i {
    font-size: 2rem;
}

.flow-content {
    flex: 1;
}

.flow-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.flow-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.flow-arrow {
    text-align: center;
    color: var(--text-secondary);
    opacity: 0.6;
}

.flow-arrow i {
    font-size: 1.5rem;
}

.approach-examples {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

[data-theme="dark"] .approach-examples {
    background: rgba(0, 123, 255, 0.1);
}

.approach-card-standalone .approach-examples {
    background: rgba(40, 167, 69, 0.05);
    border-left-color: #28a745;
}

[data-theme="dark"] .approach-card-standalone .approach-examples {
    background: rgba(40, 167, 69, 0.1);
}

.approach-examples h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.example-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.example-item:last-child {
    border-bottom: none;
}

.example-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.example-item span {
    color: var(--text-secondary);
    line-height: 1.5;
}

.comparison-connector {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
}

.connector-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

.connector-icon {
    position: relative;
    z-index: 2;
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.comparison-result {
    margin-top: 3rem;
}

.result-card {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.1) 0%, rgba(93, 117, 85, 0.1) 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(122, 145, 113, 0.3);
}

[data-theme="dark"] .result-card {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.2) 0%, rgba(93, 117, 85, 0.2) 100%);
}

.result-header {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.result-header i {
    font-size: 3rem;
    color: var(--danger-color);
}

.result-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-content {
    margin: 2rem 0;
}

.result-formula {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.formula-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    min-width: 150px;
    transition: var(--transition);
}

[data-theme="dark"] .formula-part {
    background: #161b22;
}

.formula-part:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.formula-part-result {
    border: 2px solid var(--warning-color);
    background: rgba(255, 193, 7, 0.1);
}

.formula-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-sm);
}

.formula-icon-theory {
    background: linear-gradient(135deg, #6C63FF 0%, #5A52D5 100%);
}

.formula-icon-action {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.formula-icon-result {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
}

.formula-part span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.formula-part small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.formula-operator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.result-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.comparison-quote {
    margin-top: 3rem;
}

.quote-card {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.05) 0%, rgba(93, 117, 85, 0.05) 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem 3rem;
    position: relative;
    margin: 0;
}

[data-theme="dark"] .quote-card {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.1) 0%, rgba(93, 117, 85, 0.1) 100%);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quote-footer {
    margin-top: 1rem;
    text-align: right;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ===== ANIMATIONS AMÉLIORÉES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.approach-card:hover .approach-icon {
    animation: pulse 1s ease-in-out infinite;
}

/* Apply animations to sections on scroll */
.problem-section,
.story-section,
.comparison-section,
.packs-section,
.features-section {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 1200px) {
    .result-formula {
        gap: 1rem;
    }
    
    .formula-part {
        min-width: 130px;
    }
}

@media (max-width: 992px) {
    .comparison-intro h2 {
        font-size: 2.5rem;
    }
    
    .approach-card {
        margin-bottom: 2rem;
    }
    
    .result-formula {
        flex-direction: column;
    }
    
    .formula-operator {
        transform: rotate(90deg);
    }
    
    .formula-part {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .comparison-badges {
        flex-direction: column;
        padding: 1.5rem 0;
    }
    
    .badge-xl {
        width: 100%;
        justify-content: center;
    }
    
    .comparison-separator {
        font-size: 1.5rem;
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .approach-badge {
        top: -12px;
        right: 10px;
        left: 10px;
        text-align: center;
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .approach-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .approach-header h3 {
        font-size: 1.5rem;
    }
    
    .flow-step {
        padding: 0.8rem;
    }
    
    .flow-icon i {
        font-size: 1.5rem;
    }
    
    .flow-content strong {
        font-size: 1rem;
    }
    
    .approach-examples {
        padding: 1rem;
    }
    
    .example-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .result-card {
        padding: 2rem 1.5rem;
    }
    
    .result-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .result-header i {
        font-size: 2.5rem;
    }
    
    .result-header h3 {
        font-size: 1.5rem;
    }
    
    .quote-card {
        padding: 1.5rem 2rem;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .result-cta {
        flex-direction: column;
    }
    
    .result-cta .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .comparison-intro h2 {
        font-size: 2rem;
    }
    
    .approach-card {
        padding: 1.5rem;
    }
    
    .flow-step:hover {
        transform: translateX(4px);
    }
    
    .connector-icon {
        font-size: 1.5rem;
        padding: 0.8rem;
    }
    
    .formula-operator {
        font-size: 2rem;
    }
    
    .quote-card {
        padding: 1rem 1.5rem;
    }
    
    .quote-text {
        font-size: 1rem;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
}


.formula-operator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.result-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.comparison-quote {
    margin-top: 3rem;
}

.quote-card {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.05) 0%, rgba(93, 117, 85, 0.05) 100%);
    border-left: 5px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem 3rem;
    position: relative;
    margin: 0;
}

[data-theme="dark"] .quote-card {
    background: linear-gradient(135deg, rgba(122, 145, 113, 0.1) 0%, rgba(93, 117, 85, 0.1) 100%);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

.quote-footer {
    margin-top: 1rem;
    text-align: right;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Dark mode for text-danger and text-success */
[data-theme="dark"] .text-danger {
    color: #f85149 !important;
}

[data-theme="dark"] .text-success {
    color: #3fb950 !important;
}

/* ===== ANIMATIONS AMÉLIORÉES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Apply animations to sections on scroll */
.problem-section,
.story-section,
.comparison-section,
.packs-section,
.features-section {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-good::before {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .problem-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-cta .d-flex {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .problem-icon i {
        font-size: 3rem;
    }
    
    .comparison-header i {
        font-size: 2.5rem;
    }
    
    .comparison-list li {
        padding: 0.75rem 0;
        font-size: 0.95rem;
    }
}

/* ===== MISE EN AVANT DU BOUTON ESSAI GRATUIT ===== */
.btn-light {
    position: relative;
    overflow: hidden;
}

.btn-light::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-light:hover::before {
    width: 300px;
    height: 300px;
}

.btn-light:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Badge pour le CTA */
.cta-section .text-white-50 i {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 0.25rem;
}

/* ===== AMÉLIORATIONS DARK MODE ===== */
[data-theme="dark"] .btn-light {
    background: #f0f6fc;
    color: #0d1117;
    border-color: #f0f6fc;
}

[data-theme="dark"] .btn-light:hover {
    background: #ffffff;
    color: #0d1117;
    border-color: #ffffff;
}

[data-theme="dark"] .btn-outline-light {
    background: transparent;
    color: #f0f6fc;
    border-color: #c9d1d9;
}

[data-theme="dark"] .btn-outline-light:hover {
    background: rgba(240, 246, 252, 0.1);
    color: #ffffff;
    border-color: #f0f6fc;
}

/* Amélioration du contraste des sections en dark mode */
[data-theme="dark"] .investor-section {
    background-color: #21262d !important;
}

[data-theme="dark"] .investor-section .btn-warning {
    background: #d29922;
    border-color: #f2cc60;
    color: #000000;
}

[data-theme="dark"] .investor-section .btn-warning:hover {
    background: #f2cc60;
    border-color: #ffea7f;
    color: #000000;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #5a7350;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #7a9171;
}
