:root {
    --bg-dark: #0a0a0f;
    --bg-light: #13131a;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --accent-1: #ec4899;
    --accent-2: #8b5cf6;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .step-number {
    font-family: 'Outfit', sans-serif;
}

/* Typography Details */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--primary);
}

/* Utils */
.section-padding {
    padding: 6rem 2rem;
}

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

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

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.alternate-bg {
    background-color: var(--bg-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent-2));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.software-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.company-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-img {
    height: 80px; /* Taille augmentée */
    width: auto;
    /* Le filtre transforme le logo noir en blanc pour contraster avec le fond sombre */
    filter: brightness(0) invert(1); 
}

.nav-cta {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    background: var(--glass-bg);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism details */
.glass-panel {
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1), transparent 70%);
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);
}

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--accent-1);
}

.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    opacity: 0.2;
}

/* Problem Section */
.section-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    text-align: center;
}

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

.icon-wrapper {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.conclusion {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
}

/* Solution Section */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.feature-visual {
    flex: 1;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), transparent);
}

.mockup-folder {
    font-family: monospace;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.mockup-folder div {
    margin-bottom: 0.5rem;
}

.subfolder {
    padding-left: 1.5rem;
    color: #94a3b8;
}

.arrow {
    text-align: center;
    margin: 1.5rem 0 !important;
    color: var(--primary);
    font-weight: bold;
}

.cloud {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
}

.icon-large {
    font-size: 5rem;
}

/* How it works Section */
.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 900px) {
    .steps-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid rgba(99, 102, 241, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.step p {
    color: var(--text-muted);
}

.step-line {
    display: none;
}

@media (min-width: 900px) {
    .step-line {
        display: block;
        flex: 1;
        height: 2px;
        background: linear-gradient(90deg, rgba(99,102,241,0.1), rgba(99,102,241,0.5), rgba(99,102,241,0.1));
        margin-top: 30px;
        z-index: 1;
    }
}

/* Reassurance Section */
.shield-icon {
    font-size: 4rem;
    margin-top: 2rem;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(99,102,241,0.4));
}

/* Final CTA */
.final-cta {
    position: relative;
    overflow: hidden;
    margin: 4rem 2rem;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

/* Animations */
.reveal-text, .fade-up, .fade-left, .fade-right, .fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up { transform: translateY(30px); }
.fade-left { transform: translateX(-30px); }
.fade-right { transform: translateX(30px); }

.is-visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

@media (max-width: 768px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .section-padding {
        padding: 4rem 1.5rem;
    }
}
