/* ===== NOUVELLE PAGE D'ACCUEIL MODERNE ===== */

/* Variables CSS */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b9d;
    --accent-color: #7c3aed;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-pixel: 'Press Start 2P', monospace;
    --font-terminal: 'VT323', monospace;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-3d: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

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

/* ===== NAVIGATION MODERNE ===== */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    position: relative;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    filter: blur(20px);
    opacity: 0.6;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

.brand-name {
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===== HERO SECTION AMÉLIORÉ ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: -15s;
}

.shape-5 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 60%;
    animation-delay: -7s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    right: 5%;
    animation-delay: -12s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #667eea;
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    opacity: 0.6;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Grid overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

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

/* Energy lines */
.energy-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.energy-lines::before,
.energy-lines::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #667eea, transparent);
    animation: energyFlow 4s ease-in-out infinite;
}

.energy-lines::before {
    left: 20%;
    animation-delay: 0s;
}

.energy-lines::after {
    right: 20%;
    animation-delay: 2s;
}

@keyframes energyFlow {
    0%, 100% { opacity: 0; transform: translateY(-100%); }
    50% { opacity: 1; transform: translateY(100%); }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 100vh;
}

.hero-text {
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.hero-text.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-badge i {
    color: #667eea;
}

.badge-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    color: #ffffff;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-description strong {
    color: #667eea;
    font-weight: 600;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #667eea;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
}

.feature-item i {
    font-size: 1rem;
    animation: featureIconPulse 2s ease-in-out infinite;
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 500;
}

.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: statGlow 3s ease-in-out infinite;
}

@keyframes statGlow {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

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

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.btn-particles::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: btnParticle 2s ease-in-out infinite;
}

@keyframes btnParticle {
    0% { opacity: 0; transform: translate(0, 0) scale(0); }
    50% { opacity: 1; transform: translate(10px, -10px) scale(1); }
    100% { opacity: 0; transform: translate(20px, -20px) scale(0); }
}

/* ===== CODE WINDOW AMÉLIORÉ ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.hero-visual.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.code-window {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    width: 100%;
    position: relative;
}

.window-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 12px;
    animation: windowGlow 4s ease-in-out infinite;
}

@keyframes windowGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.window-header {
    background: #2a2a3e;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.close { background: #ff5f56; }
.control.minimize { background: #ffbd2e; }
.control.maximize { background: #27ca3f; }

.window-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-left: auto;
}

.window-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    display: flex;
    margin-bottom: 0.5rem;
    animation: codeTyping 0.1s ease-in-out;
}

.line-number {
    color: #666;
    margin-right: 1rem;
    min-width: 2rem;
    text-align: right;
}

.code-keyword { color: #ff79c6; }
.code-variable { color: #f8f8f2; }
.code-operator { color: #f1fa8c; }
.code-function { color: #50fa7b; }
.code-punctuation { color: #f8f8f2; }
.code-parameter { color: #8be9fd; }
.code-string { color: #f1fa8c; }
.code-comment { color: #6272a4; }
.code-indent { width: 2rem; }

@keyframes codeTyping {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* ===== SCROLL INDICATOR AMÉLIORÉ ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #667eea, transparent);
    border-radius: 1px;
}

.scroll-text {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 500;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #667eea;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== EXPERTISE SECTION ===== */
.expertise-section {
    padding: 8rem 0;
    background: #0f0f23;
    position: relative;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
}

.expertise-card {
    background: rgba(30, 32, 60, 0.95);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,212,255,0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(102,126,234,0.15);
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #00d4ff 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,212,255,0.15);
    border-color: #667eea;
}

.expertise-icon-glow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #00d4ff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.expertise-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.3px;
}

.expertise-desc {
    color: #a0a0a0;
    margin: 0.75rem 0 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.tag {
    background: rgba(102,126,234,0.1);
    color: #667eea;
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(102,126,234,0.2);
    transition: all 0.2s ease;
}

.tag:hover {
    background: #667eea;
    color: #fff;
    transform: scale(1.05);
}

/* ===== EXPERTISE CTA ===== */
.expertise-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.expertise-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.expertise-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-cta p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.expertise-cta .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.expertise-cta .btn-primary:hover::before {
    left: 100%;
}

.expertise-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: 8rem 0;
    background: #0a0a0a;
    position: relative;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #a0a0a0;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

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

.portfolio-item {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 2rem;
    color: white;
}

.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.overlay-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-project {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-project:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.portfolio-cta {
    text-align: center;
}

/* ===== ANIMATIONS ===== */
.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .expertise-card {
        flex-basis: 45%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .expertise-card {
        flex-basis: 100%;
        min-width: 0;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-item {
        min-height: 100px;
        padding: 1rem 0.75rem;
    }
    
    .tech-logo {
        width: 40px;
        height: 40px;
    }
    
    .tech-logo i {
        font-size: 1.2rem;
    }
    
    .tech-name {
        font-size: 0.9rem;
    }
    
    .tech-orbit {
        width: 300px;
        height: 300px;
    }
    
    .orbit-1 {
        width: 150px;
        height: 150px;
    }
    
    .orbit-2 {
        width: 220px;
        height: 220px;
    }
    
    .orbit-item {
        width: 40px;
        height: 40px;
    }
    
    .orbit-item i {
        font-size: 1rem;
    }
    
    .tech-cta {
        padding: 2rem 1.5rem;
    }
    
    .tech-cta .cta-content h3 {
        font-size: 1.5rem;
    }
}

/* ===== SECTION TECHNOLOGIES - BLOCS COMPACTS AVEC DÉTAILS ===== */
.tech-stack-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.code-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.tech-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Section */
.tech-header-section {
    text-align: center;
    margin-bottom: 60px;
}

.tech-title-container {
    position: relative;
    display: inline-block;
}

.tech-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.tech-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 400;
    margin-bottom: 24px;
}

.tech-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.tech-underline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50% { opacity: 0.7; transform: scaleX(1.1); }
}

/* Technologies Blocks Container */
.tech-blocks-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

/* Tech Block */
.tech-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-block:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.tech-block.active {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.25);
    transform: translateY(-3px);
}

/* Block Header */
.block-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.block-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.block-icon {
    font-size: 2rem;
    margin-right: 16px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.block-title {
    flex: 1;
}

.block-title h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.tech-count {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 400;
}

.block-arrow {
    font-size: 1.2rem;
    color: #a0a0a0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.block-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    opacity: 0;
}

.tech-block.active .block-arrow {
    transform: rotate(180deg);
    color: #667eea;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.tech-block.active .block-arrow::after {
    width: 30px;
    height: 30px;
    opacity: 1;
}

/* Block Details */
.block-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 0 12px 12px;
    margin-top: -1px;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    padding: 0 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-block.active .block-details {
    max-height: 800px;
    opacity: 1;
    transform: translateY(0);
    padding: 20px;
    margin-bottom: 10px;
}

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

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

/* Tech Detail Item */
.tech-detail-item {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.tech-detail-item:last-child {
    margin-bottom: 0;
}

.tech-detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
}

/* Tech Detail Header */
.tech-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.tech-icon {
    font-size: 1.3rem;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.tech-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin-right: 20px;
    min-width: 100px;
}

.tech-level {
    flex: 1;
    max-width: 150px;
}

.level-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.level-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease-out;
    position: relative;
}

.level-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerCompact 2s ease-in-out infinite;
}

@keyframes shimmerCompact {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tech Description */
.tech-description {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin-left: 44px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-blocks-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .block-header {
        padding: 16px;
    }
    
    .tech-block.active .block-details {
        padding: 16px;
    }
    
    .tech-main-title {
        font-size: 2.5rem;
    }
    
    .tech-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .tech-name {
        margin-right: 0;
        min-width: auto;
    }
    
    .tech-level {
        max-width: 100%;
        width: 100%;
    }
    
    .tech-description {
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .tech-stack-section {
        padding: 80px 0;
    }
    
    .tech-main-title {
        font-size: 2rem;
    }
    
    .block-header {
        padding: 12px;
    }
    
    .tech-block.active .block-details {
        padding: 12px;
    }
    
    .tech-detail-item {
        padding: 12px;
    }
    
    .block-title h3 {
        font-size: 1.1rem;
    }
    
    .tech-name {
        font-size: 1rem;
    }
}

/* SECTION CTA - AUDIT SITE INTERNET */
.cta-audit-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
}

.cta-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-text {
    color: #ffffff;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: badgePulse 2s ease-in-out infinite;
}

.cta-badge i {
    font-size: 1rem;
    animation: chartLine 2s ease-in-out infinite;
}

@keyframes chartLine {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-highlight {
    display: block;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

.title-line {
    display: block;
    font-weight: 600;
    color: #a0a0a0;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 40px;
}

.cta-description strong {
    color: #667eea;
    font-weight: 600;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 12px;
    font-size: 1.2rem;
    color: #667eea;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.4;
}

/* Formulaire CTA */
.cta-form-container {
    position: relative;
}

.cta-form-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-form-card:hover::before {
    opacity: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.audit-form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-group label i {
    color: #667eea;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + .input-glow,
.form-group textarea:focus + .input-glow {
    opacity: 1;
}

.form-privacy {
    margin-bottom: 32px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
}

.submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

.submit-btn.loading {
    pointer-events: none;
}

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

.submit-btn.loading .btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-loading {
    display: none;
}

/* Message de succès */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    color: #50fa7b;
    margin-bottom: 24px;
    animation: successPulse 2s ease-in-out infinite;
}

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

.form-success h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.form-success p {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin-bottom: 32px;
}

.success-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.detail-item i {
    color: #667eea;
    font-size: 1rem;
}

/* Éléments décoratifs */
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

.decoration-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    height: 1px;
    animation: lineGlow 4s ease-in-out infinite;
}

.line-1 {
    width: 300px;
    top: 30%;
    left: -150px;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.line-2 {
    width: 200px;
    bottom: 40%;
    right: -100px;
    transform: rotate(-30deg);
    animation-delay: 3s;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .cta-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cta-audit-section {
        padding: 80px 0;
    }
    
    .cta-content {
        gap: 40px;
        padding: 0 16px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-form-card {
        padding: 30px 20px;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .benefit-item {
        padding: 16px;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-audit-section {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-form-card {
        padding: 24px 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .benefit-icon {
        align-self: center;
    }
}

/* Notifications */
.notification {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-content i {
    font-size: 1.2rem;
}

/* Améliorations pour la section CTA */
.form-group.focused label {
    color: #667eea;
}

.form-group.focused input,
.form-group.focused textarea {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Animation d'entrée pour les éléments CTA */
.cta-text,
.cta-form-card {
    opacity: 0;
    transform: translateY(30px);
}

.cta-text.animate-in,
.cta-form-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease;
}

/* Effet de hover amélioré pour les bénéfices */
.benefit-item {
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-item:hover::before {
    left: 100%;
}

/* Animation du badge CTA */
.cta-badge {
    position: relative;
    overflow: hidden;
}

.cta-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-badge:hover::before {
    left: 100%;
}

/* Responsive pour les notifications */
@media (max-width: 768px) {
    .notification {
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

/* Rapport d'analyse */
.analysis-report {
    margin-top: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.score-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.score-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2, #ff6b9d);
    z-index: -1;
    opacity: 0.5;
    animation: scoreGlow 2s ease-in-out infinite;
}

@keyframes scoreGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.score-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.score-grade {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.8;
}

.score-label {
    font-size: 0.8rem;
    color: #a0a0a0;
    font-weight: 500;
}

.report-info {
    text-align: right;
}

.report-url {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.report-date {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Catégories du rapport */
.report-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.category-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 10px;
    font-size: 1.1rem;
    color: #667eea;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
}

.category-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.category-score {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    width: 0%;
    transition: width 1s ease-out;
    position: relative;
}

.score-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: scoreShimmer 2s ease-in-out infinite;
}

@keyframes scoreShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.score-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    min-width: 50px;
    text-align: right;
}

/* Recommandations */
.report-recommendations {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.report-recommendations h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.2);
}

.recommendation-number {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    flex-shrink: 0;
}

.recommendation-text {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.4;
    flex: 1;
}

/* Responsive pour le rapport */
@media (max-width: 768px) {
    .analysis-report {
        padding: 20px;
        margin-top: 20px;
    }
    
    .report-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .report-info {
        text-align: center;
    }
    
    .category-item {
        padding: 12px;
    }
    
    .category-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .category-info h4 {
        font-size: 0.9rem;
    }
    
    .score-text {
        font-size: 0.8rem;
        min-width: 40px;
    }
    
    .recommendation-item {
        padding: 10px 12px;
    }
    
    .recommendation-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .analysis-report {
        padding: 16px;
    }
    
    .score-circle {
        width: 70px;
        height: 70px;
    }
    
    .score-number {
        font-size: 1.3rem;
    }
    
    .score-grade {
        font-size: 0.8rem;
    }
    
    .category-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .category-score {
        width: 100%;
    }
} 