/* Style sobre, clair et épuré pour Fluxium */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #ffffff;
    font-size: 16px;
}

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

/* Navigation sobre */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    text-decoration: none;
}

.nav-logo i {
    margin-right: 8px;
    color: #4a5568;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #1a202c;
}

.nav-login {
    color: #4a5568 !important;
}

.nav-btn {
    background: #1a202c;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.nav-btn:hover {
    background: #2d3748;
    color: white;
}

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

.bar {
    width: 24px;
    height: 2px;
    background: #1a202c;
    transition: 0.3s;
}

/* Hero Section - sobre */
.hero {
    padding: 140px 0 80px;
    background: #ffffff;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a202c;
    letter-spacing: -0.02em;
}

.gradient-text {
    color: #2d3748;
    font-weight: 600;
}

.hero-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #1a202c;
    color: white;
}

.btn-primary:hover {
    background: #2d3748;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #1a202c;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
}

.btn-large {
    padding: 16px 32px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: #718096;
}

/* Hero Image - simplifié */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    width: 100%;
    max-width: 400px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e0;
}

.card-dots span:first-child {
    background: #e53e3e;
}

.card-dots span:nth-child(2) {
    background: #f6ad55;
}

.card-dots span:last-child {
    background: #48bb78;
}

.card-title {
    font-weight: 500;
    color: #1a202c;
    font-size: 0.95rem;
}

.metric {
    margin-bottom: 24px;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 8px;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
}

.metric-change {
    font-size: 0.875rem;
    font-weight: 500;
    color: #48bb78;
}

.chart-placeholder {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 80px;
    margin-top: 16px;
}

.chart-bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 2px 2px 0 0;
    min-height: 20px;
}

/* Features Section - épuré */
.features {
    padding: 100px 0;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #f7fafc;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.25rem;
    color: #1a202c;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.feature-description {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section - minimaliste */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 32px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    color: #48bb78;
    font-size: 1rem;
}

.about-feature span {
    color: #2d3748;
    font-size: 0.95rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-card {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 400px;
    width: 100%;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.about-card-header i {
    font-size: 1.5rem;
    color: #1a202c;
}

.about-card-header span {
    font-weight: 500;
    color: #1a202c;
}

.performance-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: #f7fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.stat-item .stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    color: #718096;
}

/* Modales globales (succès / erreur) */
.success-modal,
.error-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    z-index: 9999;
    padding: 16px;
}

.success-modal .modal-content,
.error-modal .modal-content {
    background: #ffffff;
    border-radius: 10px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.35);
}

/* Pricing Section - sobre */
.pricing {
    padding: 100px 0;
    background: #f7fafc;
}

.pricing-header {
    text-align: center;
    margin-bottom: 64px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
    border: 2px solid #1a202c;
}

.pricing-badge {
    display: inline-block;
    background: #1a202c;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.pricing-card-header {
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
}

.plan-price {
    margin-bottom: 16px;
}

.currency {
    font-size: 1.25rem;
    color: #718096;
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a202c;
}

.period {
    font-size: 1rem;
    color: #718096;
}

.plan-description {
    color: #4a5568;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #2d3748;
    font-size: 0.95rem;
}

.pricing-features i {
    color: #48bb78;
    font-size: 0.875rem;
}

.pricing-cta {
    margin-top: 24px;
}

.pricing-cta .btn {
    width: 100%;
    justify-content: center;
}

/* CTA Section - minimaliste */
.cta {
    padding: 100px 0;
    background: white;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background: #1a202c;
    color: white;
}

.cta .btn-primary:hover {
    background: #2d3748;
}

.cta .btn-secondary {
    background: transparent;
    color: #1a202c;
    border: 1px solid #e2e8f0;
}

.cta .btn-secondary:hover {
    background: #f7fafc;
}

/* Footer - épuré */
.footer {
    background: #1a202c;
    color: white;
    padding: 60px 0 24px;
    border-top: 1px solid #2d3748;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-logo i {
    margin-right: 8px;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 24px 0;
        border-bottom: 1px solid #e2e8f0;
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .btn {
        padding: 12px 24px;
    }
}
