* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 80px; /* Espace pour la navbar fixe */
}

/* Navigation fixe */
.fixed-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #3d3d3d;
    z-index: 1000;
    padding: 1rem 2rem;
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-logo .logo-svg {
    width: 120px;
    height: 35px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s;
}

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

.navbar-right {
    display: flex;
    align-items: center;
}

/* Header */
.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    position: relative;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    width: 140px;
    height: 40px;
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.header-right {
    display: flex;
    align-items: center;
}

.btn-enterprise {
    padding: 0.5rem 1.25rem;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-enterprise:hover {
    background-color: #e0e0e0;
}

/* Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    gap: 2rem;
}

.sub-headline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0.9;
    font-weight: 500;
}

.main-headline {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    color: #f5f5f5;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Effet blur to focus pour "incidents" et "clarifier" */
.blur-to-focus {
    animation: blurToFocus 2s ease-out forwards;
    display: inline-block;
    filter: blur(6px);
    opacity: 0.5;
}

@keyframes blurToFocus {
    0% {
        filter: blur(6px);
        opacity: 0.5;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

/* Logo Animation Container */
.logo-animation-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animated-logo {
    width: 100%;
    max-width: 700px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.4));
    z-index: 2;
    position: relative;
}

.logo-glow {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.5) 0%, rgba(0, 212, 255, 0.3) 30%, rgba(255, 68, 68, 0.2) 50%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1.2);
    }
}

/* CTA Section */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-text {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.8;
}

.btn-cta {
    padding: 1rem 2.5rem;
    background-color: #000000;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-cta:hover {
    background-color: #ffffff;
    color: #000000;
    transform: scale(1.05);
}

.footer-link {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-link:hover {
    opacity: 1;
}

/* Section Détection des types de panne */
.detection-section {
    width: 100%;
    padding: 6rem 2rem;
    background-color: #0a0a0a;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

.detection-section.section-fade.section-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.detection-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.detection-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detection-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detection-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin: 0;
}


.detection-chart-container {
    width: 100%;
    height: 400px;
    background-color: #000000;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #3d3d3d;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.detection-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }

    .header-nav {
        display: none;
    }

    .header-right {
        gap: 0.5rem;
    }

    .btn-enterprise,
    .btn-login {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .hero-section {
        padding: 1rem;
    }

    .main-headline {
        font-size: 2.5rem;
    }

    .logo-animation-container {
        max-width: 100%;
    }
    
    .animated-logo {
        max-width: 90%;
    }

    .btn-cta {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .detection-section {
        padding: 4rem 1.5rem;
    }

    .detection-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .detection-title {
        font-size: 2rem;
    }

    .detection-description {
        font-size: 1rem;
    }

    .detection-chart-container {
        height: 300px;
        padding: 1.5rem;
    }
}

/* Section Géolocalisation de pannes */
.geolocation-section {
    width: 100%;
    padding: 6rem 2rem;
    background-color: #000000;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

.geolocation-section.section-fade.section-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.geolocation-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.geolocation-map-container {
    width: 100%;
    height: 500px;
    background-color: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3d3d3d;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#geolocationMap {
    width: 100%;
    height: 100%;
}

.geolocation-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.geolocation-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.geolocation-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin: 0;
}

/* Responsive navbar */
@media (max-width: 768px) {
    .landing-page {
        padding-top: 70px;
    }

    .fixed-navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-content {
        gap: 1rem;
        justify-content: space-between;
    }

    .navbar-menu {
        display: none; /* Cacher le menu sur mobile */
    }

    .navbar-logo .logo-svg {
        width: 100px;
        height: 30px;
    }

    .btn-enterprise {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

/* Responsive pour géolocalisation */
@media (max-width: 768px) {
    .geolocation-section {
        padding: 4rem 1.5rem;
    }

    .geolocation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .geolocation-map-container {
        height: 400px;
        order: 1;
    }

    .geolocation-text {
        order: 2;
    }

    .geolocation-title {
        font-size: 2rem;
    }

    .geolocation-description {
        font-size: 1rem;
    }
}

/* Styles pour les marqueurs de temps sur la carte */
.time-marker {
    background: transparent !important;
    border: none !important;
}

.time-marker div {
    cursor: pointer;
}

/* Section Commentaires des utilisateurs */
.comments-section {
    width: 100%;
    padding: 6rem 2rem;
    background-color: #0a0a0a;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

.comments-section.section-fade.section-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.comments-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.comments-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.comments-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comments-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    text-align: center;
    margin: 0;
}

.comments-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.comments-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    animation: scrollComments 30s linear infinite;
    width: fit-content;
}

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

.comment-card {
    min-width: 350px;
    max-width: 350px;
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.comment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: #555;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
    text-transform: uppercase;
}

.comment-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-text {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.comment-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
}

/* Responsive pour commentaires */
@media (max-width: 768px) {
    .comments-section {
        padding: 4rem 1.5rem;
    }

    .comments-title {
        font-size: 2rem;
    }

    .comments-subtitle {
        font-size: 1rem;
    }

    .comment-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.25rem;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .comment-text {
        font-size: 0.85rem;
    }
}

/* Section SaaS dédié aux entreprises */
.enterprise-saas-section {
    width: 100%;
    padding: 6rem 2rem;
    background-color: #000000;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

.enterprise-saas-section.section-fade.section-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.enterprise-saas-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.enterprise-saas-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.enterprise-saas-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.enterprise-saas-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.enterprise-saas-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(to right, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enterprise-saas-description {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin: 0;
}

.enterprise-saas-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Footer Landing */
.landing-footer {
    width: 100%;
    background-color: #000000;
    border-top: 1px solid #3d3d3d;
    padding: 1.5rem 2rem;
}

.landing-footer .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-footer .footer-powered {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #aaa;
}

.landing-footer .footer-logo {
    height: 24px;
    width: auto;
}

.landing-footer .footer-copyright {
    font-size: 0.85rem;
    color: #aaa;
}

/* Responsive pour SaaS entreprise */
@media (max-width: 768px) {
    .enterprise-saas-section {
        padding: 4rem 1.5rem;
    }

    .enterprise-saas-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .enterprise-saas-image {
        order: 1;
    }

    .enterprise-saas-text {
        order: 2;
    }

    .enterprise-saas-title {
        font-size: 2rem;
    }

    .enterprise-saas-description {
        font-size: 1rem;
    }

    .enterprise-saas-cta {
        flex-direction: column;
        width: 100%;
    }

    .enterprise-saas-cta .btn-cta,
    .enterprise-saas-cta .btn-enterprise {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
    }

    .landing-footer .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .landing-footer .footer-powered {
        font-size: 0.8rem;
    }

    .landing-footer .footer-logo {
        height: 20px;
    }

    .landing-footer .footer-copyright {
        font-size: 0.8rem;
    }
}

/* Modal Enterprise */
.enterprise-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
    animation: fadeIn 0.3s ease-out;
}

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

.enterprise-modal-content {
    background-color: #1a1a1a;
    border: 1px solid #3d3d3d;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease-out;
}

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

.enterprise-modal-close {
    position: sticky;
    top: 1.5rem;
    right: 0;
    float: right;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    z-index: 100;
    margin-bottom: -40px;
    margin-left: auto;
}

.enterprise-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.enterprise-modal-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto 2rem auto;
    border-radius: 8px;
}

.enterprise-modal-title {
    margin: 0 0 2.5rem 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gradient-text-animated {
    background: linear-gradient(90deg, #ff4444, #ff6b35, #00d4ff, #8b5cf6, #ec4899, #ff4444);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.enterprise-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4444, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #aaa;
    line-height: 1.6;
}

.enterprise-form {
    border-top: 1px solid #3d3d3d;
    padding-top: 2rem;
}

.enterprise-form-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #60a5fa;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.enterprise-form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.enterprise-email-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.enterprise-email-input:focus {
    border-color: #8b5cf6;
}

.enterprise-email-input::placeholder {
    color: #666;
}

.enterprise-send-btn {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #ff4444, #8b5cf6);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.enterprise-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

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

.enterprise-form-warning {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #ffc107;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .enterprise-modal-content {
        padding: 2rem 1.5rem;
        max-height: 95vh;
    }

    .enterprise-modal-title {
        font-size: 1.5rem;
    }

    .benefit-item {
        gap: 1rem;
    }

    .benefit-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .benefit-content h3 {
        font-size: 1.1rem;
    }

    .benefit-content p {
        font-size: 0.9rem;
    }

    .enterprise-form-group {
        flex-direction: column;
    }

    .enterprise-send-btn {
        width: 100%;
    }
}

