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

html {
    scroll-behavior: smooth;
}

/* Language Switching */
[data-lang="fr"] {
    display: none;
}

html[lang="fr"] [data-lang="en"] {
    display: none;
}

html[lang="fr"] [data-lang="fr"] {
    display: inline;
}

html[lang="en"] [data-lang="fr"] {
    display: none;
}

html[lang="en"] [data-lang="en"] {
    display: inline;
}

/* Block-level language elements */
.product-description [data-lang],
.section-description [data-lang],
.security-description [data-lang],
.feature-description [data-lang] {
    display: block;
}

html[lang="fr"] .product-description [data-lang="fr"],
html[lang="fr"] .section-description [data-lang="fr"],
html[lang="fr"] .security-description [data-lang="fr"],
html[lang="fr"] .feature-description [data-lang="fr"],
html[lang="en"] .product-description [data-lang="en"],
html[lang="en"] .section-description [data-lang="en"],
html[lang="en"] .security-description [data-lang="en"],
html[lang="en"] .feature-description [data-lang="en"] {
    display: block;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #1d1d1f;
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #1d1d1f;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    letter-spacing: -0.2px;
}

.nav-links a:hover {
    opacity: 0.6;
}

.lang-switcher {
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: 1.5px solid #1d1d1f;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: #1d1d1f;
    color: white;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: #6e6e73;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.hero-image-container {
    margin: 80px 0 60px;
}

.hero-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Scroll Indicator */
.scroll-indicator {
    display: inline-block;
    width: 30px;
    height: 50px;
    border: 2px solid #1d1d1f;
    border-radius: 20px;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-indicator span {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #1d1d1f;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* Stats Section */
.stats {
    background: #1d1d1f;
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-label {
    font-size: 21px;
    color: #a1a1a6;
    letter-spacing: -0.3px;
    line-height: 1.4;
}

/* About Section */
.about {
    background: #f5f5f7;
    padding: 140px 0;
}

.about-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.about-feature {
    background: #ffffff;
    padding: 48px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-feature .icon-placeholder {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0;
}

.feature-title {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-description {
    font-size: 17px;
    color: #6e6e73;
    line-height: 1.6;
    letter-spacing: -0.2px;
}

/* Timeline Section */
.timeline-section {
    background: #ffffff;
    padding: 140px 0;
    overflow-x: auto;
    overflow-y: visible;
}

.timeline-section .container {
    padding-left: 60px;
    padding-right: 60px;
}

.timeline-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 100px;
}

.timeline {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 200px 120px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d1d1f 0%, #424245 100%);
    border-radius: 2px;
    transform: translateY(-50%);
}

.timeline-item {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #ffffff;
    border: 4px solid #1d1d1f;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    width: 28px;
    height: 28px;
    border-width: 5px;
    box-shadow: 0 0 0 8px rgba(29, 29, 31, 0.15);
}

.timeline-content {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
}

.timeline-content.top {
    bottom: 40px;
}

.timeline-content.bottom {
    top: 40px;
}

.timeline-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8e8ed;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: #1d1d1f;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.timeline-date {
    font-size: 14px;
    color: #6e6e73;
    font-weight: 500;
}

/* Projects Section */
.projects {
    background: #ffffff;
}

.product-section {
    padding: 120px 0;
    border-bottom: 1px solid #e8e8ed;
}

.product-section:last-child {
    border-bottom: none;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    row-gap: 10px;
    align-items: center;
}

/* Left aligned products */
.product-section.left .product-content {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "logo visual"
        "name visual"
        "description visual"
        "button visual";
}

.product-section.left .product-logo {
    grid-area: logo;
}

.product-section.left .product-name {
    grid-area: name;
}

.product-section.left .product-visual {
    grid-area: visual;
}

.product-section.left .product-description {
    grid-area: description;
}

.product-section.left .cta-button {
    grid-area: button;
}

/* Right aligned products */
.product-section.right .product-content {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "visual logo"
        "visual name"
        "visual description"
        "visual button";
}

.product-section.right .product-logo {
    grid-area: logo;
}

.product-section.right .product-name {
    grid-area: name;
}

.product-section.right .product-visual {
    grid-area: visual;
}

.product-section.right .product-description {
    grid-area: description;
}

.product-section.right .cta-button {
    grid-area: button;
}

.product-logo {
    margin-bottom: 30px;
}

.product-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.product-name {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #1d1d1f;
    line-height: 1.1;
}

.product-description {
    font-size: 20px;
    color: #6e6e73;
    line-height: 1.5;
    margin-bottom: 40px;
    letter-spacing: -0.3px;
    text-align: justify;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 0 32px;
    background: transparent;
    color: #1d1d1f;
    border: 2px solid #1d1d1f;
    text-decoration: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
    justify-self: start;
    width: fit-content;
}

.cta-button:hover {
    background: #1d1d1f;
    color: white;
}

.product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.product-visual .image-placeholder {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 20px;
    padding: 100px 40px;
    text-align: center;
    color: #6e6e73;
    font-size: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Security Section */
.security {
    background: #ffffff;
    padding: 140px 0;
}

.security-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

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

.security-icon {
    margin-bottom: 24px;
}

.icon-placeholder {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: transform 0.3s ease;
}

.security-item:hover .icon-placeholder {
    transform: scale(1.05);
}

.security-title {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.security-description {
    font-size: 17px;
    color: #6e6e73;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

/* Partnership Section */
.partnership {
    background: #f5f5f7;
    padding: 160px 0;
    text-align: center;
}

.partnership-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 30px;
    color: #1d1d1f;
    line-height: 1.1;
}

.section-description {
    font-size: 24px;
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 50px;
    letter-spacing: -0.3px;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 0 48px;
    background: transparent;
    color: #1d1d1f;
    border: 2px solid #1d1d1f;
    text-decoration: none;
    border-radius: 980px;
    font-size: 21px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: -0.3px;
}

.cta-button-large:hover {
    background: #1d1d1f;
    color: white;
}

/* Contact Section */
.contact {
    padding: 160px 0;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin-top: 60px;
}

.contact-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.contact-item p {
    font-size: 21px;
    color: #6e6e73;
}

.contact-item a {
    color: #1d1d1f;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.7;
}

/* Footer */
.footer {
    background: #f5f5f7;
    padding: 40px 0;
    border-top: 1px solid #e8e8ed;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #6e6e73;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #6e6e73;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 64px;
    }

    .product-name {
        font-size: 48px;
    }

    .section-title {
        font-size: 56px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .stat-number {
        font-size: 64px;
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .product-content {
        grid-template-columns: 1fr !important;
        grid-template-areas: none !important;
        gap: 30px;
    }

    .product-section.left .product-logo,
    .product-section.right .product-logo {
        grid-area: auto;
    }

    .product-section.left .product-name,
    .product-section.right .product-name {
        grid-area: auto;
    }

    .product-section.left .product-visual,
    .product-section.right .product-visual {
        grid-area: auto;
    }

    .product-section.left .product-description,
    .product-section.right .product-description {
        grid-area: auto;
    }

    .product-section.left .cta-button,
    .product-section.right .cta-button {
        grid-area: auto;
    }

    .timeline-section .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .timeline {
        padding: 150px 80px;
    }

    .timeline-line {
        left: 0;
        right: 0;
    }

    .timeline-content {
        width: 160px;
    }

    .timeline-card {
        padding: 18px;
        font-size: 14px;
    }

    .timeline-title {
        font-size: 16px;
    }

    .timeline-icon {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .hero-image-container {
        margin: 60px 0 40px;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        object-fit: contain;
    }

    .stats {
        padding: 80px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stat-number {
        font-size: 56px;
    }

    .stat-label {
        font-size: 18px;
    }

    .security {
        padding: 100px 0;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .security-header {
        margin-bottom: 60px;
    }

    .about {
        padding: 100px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-feature {
        padding: 36px;
    }

    .about-header {
        margin-bottom: 60px;
    }

    .timeline-section {
        padding: 80px 0;
    }

    .timeline-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .timeline {
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .timeline-line {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 4px;
        height: 100%;
        transform: none;
        background: linear-gradient(180deg, #1d1d1f 0%, #424245 100%);
    }

    .timeline-item {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin-bottom: 50px;
        padding-left: 60px;
    }

    .timeline-item:last-child {
        margin-bottom: 0;
    }

    .timeline-content {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100%;
        max-width: none;
    }

    .timeline-content.top,
    .timeline-content.bottom {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
    }

    .timeline-card {
        padding: 20px;
    }

    .timeline-dot {
        position: absolute;
        left: 20px;
        top: 50px;
        transform: translate(-140%, 0);
        z-index: 3;
    }

    .timeline-item:hover .timeline-dot {
        width: 24px;
        height: 24px;
    }

    .product-content {
        grid-template-columns: 1fr !important;
        grid-template-areas: none !important;
        row-gap: 10px;
        column-gap: 30px;
    }

    .product-section.left .product-logo,
    .product-section.right .product-logo {
        grid-area: auto;
        margin-bottom: 0px;
    }

    .product-section.left .product-name,
    .product-section.right .product-name {
        grid-area: auto;
        margin-bottom: 30px;
    }

    .product-section.left .product-visual,
    .product-section.right .product-visual {
        grid-area: auto;
    }

    .product-section.left .product-description,
    .product-section.right .product-description {
        grid-area: auto;
    }

    .product-section.left .cta-button,
    .product-section.right .cta-button {
        grid-area: auto;
    }

    .product-section {
        padding: 80px 0;
    }

    .product-name {
        font-size: 40px;
    }

    .product-description {
        font-size: 21px;
    }

    .section-title {
        font-size: 40px;
    }

    .section-description {
        font-size: 21px;
    }

    .contact-info {
        flex-direction: column;
        gap: 60px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 12px;
    }

    .partnership,
    .contact {
        padding: 100px 0;
    }
}

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

    .hero-subtitle {
        font-size: 18px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 16px;
    }

    .product-name {
        font-size: 32px;
    }

    .product-description {
        font-size: 18px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }
}
