:root {
    --bg-color: #050508;
    --surface-color: rgba(255, 255, 255, 0.05);
    --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --accent-gradient: linear-gradient(135deg, #7000ff 0%, #aa00ff 100%);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background effects */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(5, 5, 8, 0.8), rgba(5, 5, 8, 0.8)),
        url('images/Texture-de-fond.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.glow-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(112, 0, 255, 0.1) 0%, transparent 40%);
}

/* Header & Nav */
header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: 0.3s;
}

.lang-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.lang-btn.active {
    background: var(--primary-gradient);
    color: #000;
    border-color: transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.btn-outline {
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding: 10rem 0 5rem;
    align-items: center;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

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

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

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

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

/* Visual Image Wrapper */
.image-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: var(--surface-color);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.main-viz {
    width: 100%;
}

/* Services */
.services {
    padding: 8rem 0;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.service-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 24px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    transform: translateY(-10px);
}

.service-card.active {
    border-color: #7000ff;
    box-shadow: 0 10px 40px rgba(112, 0, 255, 0.1);
}

.service-visual {
    margin: -3rem -3rem 2rem -3rem;
    height: 180px;
    overflow: hidden;
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.5s ease;
}

.service-card:hover .service-visual img {
    opacity: 1;
    transform: scale(1.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f2fe;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
}

/* How it works */
.how-it-works {
    padding: 8rem 0;
}

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

.step {
    position: relative;
    padding: 2.5rem;
    background: var(--surface-color);
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

/* FAQ */
.faq {
    padding-bottom: 8rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.faq-item p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding-bottom: 8rem;
}

.cta-box {
    background: linear-gradient(135deg, #7000ff 0%, #00f2fe 100%);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

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

.cta-box h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        text-align: center;
    }

    .hero p {
        margin: 0 auto 3rem;
    }

    .hero-btns,
    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 2.2rem;
    }

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