/* Hero Section Révolutionnaire */
.revolutionary-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/city-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.9) 0%, 
        rgba(22, 33, 62, 0.8) 50%,
        rgba(26, 26, 46, 0.9) 100%
    );

    /* background: linear-gradient(135deg,
        rgba(26, 26, 46, 0.9) 0%,
        rgba(255, 107, 53, 0.1) 100%,
        rgba(22, 33, 62, 0.8) 70%,
        rgba(26, 26, 46, 0.9) 100%
    ); */
}

.observation-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: var(--primary-color);
    animation: grid-pulse 4s ease-in-out infinite;
}

.grid-line:nth-child(1) {
    top: 25%;
    left: 0;
    right: 0;
    height: 1px;
    animation-delay: 0s;
}

.grid-line:nth-child(2) {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    animation-delay: 1s;
}

.grid-line:nth-child(3) {
    top: 0;
    bottom: 0;
    left: 25%;
    width: 1px;
    animation-delay: 2s;
}

.grid-line:nth-child(4) {
    top: 0;
    bottom: 0;
    right: 25%;
    width: 1px;
    animation-delay: 3s;
}

@keyframes grid-pulse {

    0%,
    100% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.3;
    }
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: float var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
}

.particle:nth-child(3) {
    top: 80%;
    left: 20%;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

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

.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: 2rem;
    font-size: 1.0rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.30rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-visual {
    margin-bottom: 1rem;
}

.stat-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: var(--glow);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    display: flex;
    flex-direction: column;
}

.stat-title {
    font-weight: 600;
    color: var(--text-primary);
}

.stat-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-primary);
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-medium);
}

.btn-primary:hover .btn-glow {
    left: 100%;
}


/* Visualisation Hero */
.hero-visualization {
    position: relative;
    height: 500px;
}

.city-scanner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 1rem;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(500px);
        opacity: 0;
    }
}

.scanner-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pulse-scanner 2s ease-in-out infinite;
}

@keyframes pulse-scanner {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.observation-points {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.obs-point {
    position: absolute;
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.point-pulse {
    width: 100%;
    height: 100%;
    background: var(--success-color);
    border-radius: 50%;
    animation: point-pulse 2s ease-in-out infinite;
}

@keyframes point-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(67, 233, 123, 0.5);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 20px rgba(67, 233, 123, 0.8);
    }
}

.point-info {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-fast);
}

.obs-point:hover .point-info {
    opacity: 1;
}