/* ============================================================================
   FONTS
   ============================================================================ */

/* Inter - Variable */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz\,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

/* JetBrains Mono - Variable */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 800;
    font-display: swap;
    font-style: normal;
}

/* ============================================================================
   CSS VARIABLES
   ============================================================================ */

:root {
    /* ── Brand Colors ── */
    --Primary-color: #0F9E99;
    --Dark-primary-color: #054A47;
    --Light-primary-color: #14BDB7;

    --Secondary-color: #EFE9E0;

    --Black-color: #000;
    --White-color: #ffffff;
    --Primary-tint: rgba(15, 158, 153, 0.2);
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 24px;

    min-height: 100vh;
    width: 100%;
    margin: 0 auto;
    padding: 24px;

    color: var(--Black-color);
    background-color: var(--Secondary-color);
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
p {
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--Dark-primary-color);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    max-width: 1600px;
    width: 100%;
    height: 120px;
    padding: 8px 0;

    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

/* Footer */

footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    width: 100%;
    max-width: 1600px;
    padding: 24px 0;
    border-top: 2px solid var(--Black-color);

    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--Black-color);
}

footer a {
    color: var(--Black-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--Primary-color);
}

@media (max-width: 600px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}


body[data-page="contact"] .menu-cta {
    visibility: hidden;
}

.page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1600px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page>section {
    display: flex;
    gap: 16px;
    width: 100%;
}

.page>section.client-list,
.page>section.contact-grid {
    display: grid;
}

section {
    max-width: 1600px;
    width: 100%;
}

code {
    display: flex;
    justify-content: center;
    align-items: center;

    width: fit-content;
    height: 38px;
    padding: 0 8px;

    background-color: var(--Primary-tint);
    border: 1px solid var(--Light-primary-color);
    border-radius: 8px;
    color: var(--Dark-primary-color);

    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    font-size: 16px;
}

/* ============================================================================
   Menu
   ============================================================================ */

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 36px;
}

nav ul {
    display: flex;
    flex-direction: row;
    gap: 36px;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    cursor: pointer;
}

nav ul li:hover {
    opacity: 50%;
}

.menu-selected {
    color: var(--Primary-color);
}

.menu-default {
    color: var(--Black-color);
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}

/* Block body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--Black-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active {
    position: fixed;
    right: 16px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1200px) {
    header div {
        display: none;
    }
}

/* Mobile Menu Styles */
@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 50%;
        margin: 0;
        flex-direction: column;
        gap: 24px;
        background-color: var(--Secondary-color);
        padding: 80px 32px 32px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav.active {
        right: 0;
    }

    nav .btn-primary {
        width: 100%;
    }

    nav ul li {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    header {
        height: auto;
    }

    header div {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        gap: 16px;
    }

    nav {
        width: 100%;
        right: -100%;
        padding: 24px;
        padding-top: 80px;
    }

    body {
        padding: 16px;
    }
}

/* ============================================================================
   Buttons
   ============================================================================ */

button {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 50px;
    width: fit-content;
    padding: 8px 24px;

    border-radius: 50px;
    border: none;
    cursor: pointer;

    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 800;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
    background-color: var(--Primary-color);
    color: var(--Secondary-color);
    border: 2px solid var(--Primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--Primary-color);
    border: 2px solid var(--Primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--Primary-color);
    border: 2px solid var(--Primary-color);
}

.btn-outline-reverse {
    background-color: transparent;
    color: var(--Secondary-color);
    border: 2px solid var(--Secondary-color);
}

.btn-outline:hover {
    color: var(--Black-color);
    border: 2px solid var(--Black-color);
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--Primary-color);
    outline-offset: 3px;
}

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    background-color: var(--Primary-color);
    color: var(--Secondary-color);
    border: 2px solid var(--Primary-color);
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.scroll-top:hover {
    border: 2px solid var(--Dark-primary-color);
    background-color: var(--Primary-tint);
    color: var(--Dark-primary-color);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================================
   Cards
   ============================================================================ */

.card {
    position: relative;
    min-height: 300px;
    color: var(--Black-color);
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
    display: flex;
    flex: 1;
}

.card-content {
    position: relative;
    z-index: 1;

    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;

    width: 100%;
    padding: 16px;
}

.card-content h3 {
    width: 45%;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 800;
}

.card-content div p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.card-content ul {
    padding-left: 8px;
}

.card-content ul li {
    list-style-type: "➜ ";
    list-style-position: inside;
    font-size: 14px;
    font-weight: 600;
    line-height: 28px;
}

.card-content ul li span {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.card-content ul li span:hover {
    transform: translateX(4px);
    color: var(--Primary-color);
}

.card-cta {
    display: flex;
    justify-content: end;
    align-items: end;
    margin-top: auto;
}

.card-cta img {
    max-height: 150px;
}

.card-cta-img {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}


/* ============================================================================
   Home Page Layout
   ============================================================================ */

.home-hero {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 36px;
    font-weight: 400;
}

.home-sub-hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;

    height: 48px;
    width: 100%;
}

.home-sub-hero p {
    font-size: 20px;
    white-space: nowrap;
}

.home-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;

    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}

.showcase {
    column-gap: 0;
}

.showcase>div {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 16px;
}

.showcase>div:first-child::before,
.showcase>div:nth-child(2)::before {
    content: "";
    display: block;
    height: 38px;
    visibility: hidden;
}

@media (max-width: 1200px) {
    #home>section:not(.showcase) {
        flex-direction: column;
    }

    .home-hero {
        flex: unset;
    }

    .home-cta {
        flex: unset;
    }
}

/* 2 columns on tablets */
@media (max-width: 968px) {
    .showcase {
        flex-wrap: wrap;
        align-items: stretch;
        flex-direction: row;
    }

    .showcase>div {
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }

    .showcase>div:last-child {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .showcase code {
        margin-top: 32px;
    }
}

/* 1 column on mobile */
@media (max-width: 600px) {
    .showcase {
        flex-direction: column;
    }

    .showcase>div {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .card-cta img {
        max-height: 120px;
    }

    .showcase>div:first-child::before,
    .showcase>div:nth-child(2)::before {
        height: 0px;
    }

    #home>section {
        gap: 0px;
    }
}

@media (max-width: 782px) {
    .home-hero {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .home-hero {
        font-size: 16px;
    }

    .home-sub-hero p {
        font-size: 14px;
    }
}

/* ============================================================================
   Services Page Layout
   ============================================================================ */

#services {
    margin-bottom: auto;
}

.services-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.services-explorer {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.service-folder {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    color: var(--Black-color);
    transition: all 0.2s ease;
}

.service-folder:hover {
    background-color: var(--Primary-color);
    border-color: var(--Primary-color);
    color: var(--White-color);
}

.service-folder.active {
    background-color: rgba(15, 158, 153, 0.15);
    border-color: var(--Primary-color);
    color: var(--Dark-primary-color);
}

.service-subfiles {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 32px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.service-subfiles.collapsed {
    max-height: 0;
    opacity: 0;
}

.service-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background-color: var(--White-color);
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--Black-color);
    transition: all 0.2s ease;
}

.service-file:hover {
    background-color: rgba(15, 158, 153, 0.1);
    border-color: var(--Primary-color);
    color: var(--Dark-primary-color);
}

.service-file.active {
    background-color: var(--Primary-color);
    color: var(--White-color);
    border-color: var(--Primary-color);
}

.services-content {
    flex: 2;
    position: relative;
}

.service-detail {
    display: none;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 8px;
}

.service-detail.active {
    display: flex;
}

.service-detail h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 800;
    color: var(--Dark-primary-color);
}

.service-detail p {
    font-size: 16px;
    line-height: 28px;
}

.folder-icon,
.file-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.service-folder:hover .folder-icon {
    fill: var(--White-color);
}

.service-folder.active .folder-icon {
    fill: var(--Dark-primary-color);
}

.service-file:hover .file-icon {
    fill: var(--Dark-primary-color);
}

.service-file.active .file-icon {
    fill: var(--White-color);
}

@media (max-width: 1200px) {
    .services-layout {
        flex-direction: column;
    }
}

/* ============================================================================
   Products Page Layout - Flexbox 2x2
   ============================================================================ */

.products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.product-card {
    flex: 1 1 calc(50% - 24px);
    /* 2 colonnes, soustrait le gap */
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--Primary-color);
    box-shadow: 0 8px 24px rgba(15, 158, 153, 0.15);
    transform: translateY(-4px);
}

/* Le produit vedette conserve son style mais suit la même largeur */
.product-featured {
    border-color: var(--Primary-color);
    position: relative;
    overflow: hidden;
}

.product-featured:hover {
    box-shadow: 0 12px 32px rgba(15, 158, 153, 0.25);
}

.product-featured:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/Srodisk.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}

.product-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/Srodisk.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease-in-out;
}

.product-featured:hover::before {
    opacity: 0.35;
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.product-card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin: 0;
}

.product-badges-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-badges-group code {
    height: 32px;
    font-size: 12px;
}

.product-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--Primary-color);
    margin: 0;
    line-height: 24px;
}

.product-card-description {
    font-size: 15px;
    line-height: 26px;
    color: var(--Black-color);
    margin: 0;
}

.product-features {
    flex: 1;
}

.product-features ul {
    margin: 0;
    padding-left: 0;
}

.product-features ul li {
    list-style-type: disc;
    list-style-position: inside;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 32px;
    color: var(--Black-color);
}

.product-card-footer {
    display: flex;
    gap: 12px;
    margin-top: auto;
    flex-wrap: wrap;
}

.product-card-footer button {
    flex: 1;
}

/* Mobile : 1 colonne */
@media (max-width: 768px) {
    .product-card {
        flex: 1 1 100%;
        padding: 24px;
    }

    .product-card-footer {
        flex-direction: column;
    }

    .product-card-footer button {
        width: 100%;
    }
}

/* Petits écrans : ajustement */
@media (max-width: 600px) {
    .products-grid {
        gap: 16px;
    }
}

/* ============================================================================
   Product Detail Page - SRODisk Specific Styles
   ============================================================================ */

/* Header Section */
.product-detail-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.product-detail-breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.product-detail-breadcrumb span:hover {
    text-decoration: underline;
}

.product-detail-title {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.product-detail-title-img img {
    max-height: 200px;
}

.product-detail-title-img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.product-detail-title h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin: 0;
}

.product-detail-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 600;
    color: var(--Primary-color);
    margin: 0;
}

/* Content Sections */
.product-detail-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.product-detail-intro {
    text-align: center;
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
}

.product-detail-intro h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin-bottom: 16px;
}

.product-detail-intro p {
    font-size: 16px;
    line-height: 28px;
    margin: 0;
}

.product-detail-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
}

.product-detail-section h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    text-align: center;
    margin: 0 0 24px 0;
}

/* Three Pillars Grid */
.three-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pillar-card {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--Secondary-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover,
.performance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pillar-icon svg {
    width: 64px;
    margin-bottom: 16px;
    fill: var(--Primary-color);
}

.pillar-card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--Black-color);
    margin: 0 0 12px 0;
}

.pillar-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 800;
    color: var(--Primary-color);
    margin: 0 0 12px 0;
}

.pillar-card p:last-child {
    font-size: 15px;
    line-height: 24px;
    color: var(--Black-color);
    margin: 0;
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
}

.use-case-card {
    background: var(--Secondary-color);
    padding: 32px;
    border: 2px solid var(--Black-color);
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.use-case-card:hover {
    box-shadow: 0 0px 32px rgba(15, 158, 153, 0.25);
}

.use-case-card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin: 0 0 24px 0;
}

.use-case-section {
    margin-bottom: 24px;
    overflow: hidden;
}

.use-case-section img {
    width: 100%;
    /* Makes image fill the full width of its container */
    height: auto;
    /* Maintains aspect ratio */
    object-fit: cover;
    /* Optional: crops image to cover container without distortion */
    display: block;
}

.use-case-section:last-child {
    margin-bottom: 0;
}

.use-case-section h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 800;
    color: var(--Primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
}

.use-case-section p {
    font-size: 15px;
    line-height: 24px;
    color: var(--Black-color);
    margin: 0;
}

.use-case-malysis img {
    max-width: 300px;
}

.solution-highlight {
    font-weight: 600;
    color: var(--Dark-primary-color);
}

/* Architecture Flow */
.architecture-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 32px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.flow-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--Primary-color);
    color: var(--White-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
}

.flow-step-content {
    flex: 1;
}

.flow-step-content h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--Black-color);
    margin: 0 0 8px 0;
}

.flow-step-content p {
    font-size: 15px;
    line-height: 24px;
    color: var(--Black-color);
    margin: 0;
}

.highlight-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background-color: var(--Primary-tint);
    border: 2px solid var(--Light-primary-color);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.highlight-box:hover {
    box-shadow: 0 0px 32px rgba(15, 158, 153, 0.25);
}

.highlight-box p {
    font-size: 15px;
    line-height: 24px;
    color: var(--Black-color);
    margin: 0;
}

/* Performance Grid */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.performance-card {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--Secondary-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.performance-card h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--Black-color);
    margin: 0 0 16px 0;
}

.perf-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 800;
    color: var(--Primary-color);
    margin: 0;
}

.performance-note {
    font-size: 14px;
    line-height: 22px;
    color: var(--Black-color);
    text-align: center;
    margin: 0;
}

/* Not List */
.not-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.not-item {
    padding: 16px 20px;
    background-color: var(--Secondary-color);
    border: 2px solid var(--Black-color);
    border-radius: 8px;
    border-left: 4px solid var(--Black-color);
    font-size: 15px;
    line-height: 24px;
    margin: 0;

    display: flex;
    align-items: center;
    gap: 8px;
}

.not-item svg {
    width: 32px;
    fill: red;
}

/* CTA Section */
.product-detail-cta {
    text-align: center;
    padding: 48px 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
}

.product-detail-cta h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin: 0 0 16px 0;
}

.product-detail-cta p {
    font-size: 16px;
    line-height: 26px;
    color: var(--Black-color);
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* Benchmark Accordion */
.benchmark-accordion {
    margin-top: 32px;
    border: 2px solid var(--Black-color);
    border-radius: 12px;
    background-color: var(--White-color);
    overflow: hidden;
    transition: all 0.2s ease;
}

.benchmark-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background-color: var(--White-color);
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 18px;
    color: var(--Dark-primary-color);
    transition: background-color 0.2s ease;
}

.benchmark-header:hover {
    background-color: var(--Secondary-color);
}

.benchmark-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benchmark-icon {
    color: var(--Primary-color);
    flex-shrink: 0;
}

.accordion-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
    color: var(--Primary-color);
}

.benchmark-accordion.open .accordion-arrow {
    transform: rotate(180deg);
}

.benchmark-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease, padding 0.2s ease;
    padding: 0 24px;
    background-color: var(--White-color);
    border-top: 0px solid var(--Black-color);
}

.benchmark-accordion.open .benchmark-content {
    max-height: 2000px;
    opacity: 1;
    padding: 24px 24px 32px 24px;
    border-top: 2px solid var(--Black-color);
}

.benchmark-screenshot {
    margin-bottom: 24px;
}

.benchmark-screenshot img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 2px solid var(--Black-color);
    border-radius: 8px;
    background-color: var(--Secondary-color);
    object-fit: contain;
}

.screenshot-caption {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-top: 12px;
    text-align: center;
}

.benchmark-description h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 18px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin-bottom: 12px;
}

.benchmark-description ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.benchmark-description ul li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 28px;
    padding-left: 24px;
    position: relative;
}

.benchmark-description ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--Primary-color);
    font-weight: bold;
}

.benchmark-note {
    background-color: var(--Primary-tint);
    padding: 16px;
    border: 2px solid var(--Primary-color);
    border-radius: 8px;
    font-size: 14px;
    line-height: 22px;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .benchmark-header {
        font-size: 15px;
        padding: 16px 20px;
    }

    .benchmark-title svg {
        width: 20px;
        height: 20px;
    }

    .benchmark-accordion.open .benchmark-content {
        padding: 20px;
    }

    .benchmark-description ul li {
        font-size: 14px;
        line-height: 24px;
    }
}

/* Responsive Design for SRODisk Detail Page */
@media (max-width: 968px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-title h1 {
        font-size: 32px;
    }

    .product-detail-subtitle {
        font-size: 16px;
    }

    .product-detail-intro,
    .product-detail-section,
    .product-detail-cta {
        padding: 24px;
    }

    .product-detail-intro h2,
    .product-detail-section h2,
    .product-detail-cta h2 {
        font-size: 24px;
    }

    .three-pillars-grid {
        grid-template-columns: 1fr;
    }

    .pillar-icon {
        font-size: 2.5rem;
    }

    .use-case-card {
        padding: 24px;
    }

    .architecture-flow {
        gap: 24px;
    }

    .flow-step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .flow-step-content h4 {
        font-size: 16px;
    }

    .product-detail-cta {
        padding: 32px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .performance-grid {
        grid-template-columns: 1fr;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .product-detail-title h1 {
        font-size: 24px;
    }

    .product-detail-subtitle {
        font-size: 14px;
    }
}

/* ============================================================================
   Clients Page Layout
   ============================================================================ */

.client-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1rem;
}

.client-list img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid var(--Black-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.client-list img:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 420px) {
    .client-list {
        display: flex;
        flex-direction: column;
        grid-template-columns: unset;
    }

    .client-list img {
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================================================
   About Page Layout
   ============================================================================ */

.about-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
}

.about-intro h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 800;
    color: var(--Dark-primary-color);
}

.about-intro p {
    font-size: 18px;
    line-height: 28px;
}

.about-partners {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
}

.partner-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.partner-logo {
    max-height: 120px;
    max-width: 160px;
    width: auto;
    flex-shrink: 0;
}

.partner-card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-card-header h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--Dark-primary-color);
}

.partner-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--Dark-primary-color);
    background-color: var(--Primary-tint);
    border: 1px solid var(--Light-primary-color);
    border-radius: 8px;
    padding: 4px 10px;
}

.partner-card p {
    font-size: 16px;
    line-height: 26px;
}

.partner-card .btn-outline {
    width: fit-content;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid var(--Primary-color);
    color: var(--Primary-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 800;
    background-color: transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.partner-card .btn-outline:hover {
    color: var(--Black-color);
    border-color: var(--Black-color);
}

@media (max-width: 600px) {
    .partner-card {
        flex-direction: column;
        align-items: center;
    }

    .partner-logo {
        max-width: 120px;
    }

    .partner-card .btn-outline {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .about-intro h2 {
        font-size: 24px;
    }

    .about-intro p {
        font-size: 14px;
    }

    .partner-card-content {
        font-size: 14px;
    }
}

/* ============================================================================
   Contact Page Layout
   ============================================================================ */

.contact-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
}

.contact-intro h2 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin: 0;
}

.contact-intro p {
    font-size: 18px;
    line-height: 28px;
    color: var(--Black-color);
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    width: 100%;
}

.contact-card {
    display: flex;
    width: 100%;
    align-self: start;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
}

.contact-card .card-content {
    padding: 32px;
}

.contact-card .card-content h3 {
    width: 100%;
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--Dark-primary-color);
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: fit-content;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-item h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 800;
    color: var(--Primary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-item p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: var(--Black-color);
    margin: 0;
}

.contact-info-item a {
    color: var(--Black-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: var(--Primary-color);
    text-decoration: underline;
}

/* Contact Form Card (simple border) */
.contact-form-card {
    padding: 32px;
    background-color: var(--White-color);
    border: 2px solid var(--Black-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    font-weight: 800;
    color: var(--Dark-primary-color);
    margin: 0;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--Black-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--Black-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    background-color: var(--White-color);
    color: var(--Black-color);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--Primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41%2C8.58L12%2C13.17L16.59%2C8.58L18%2C10L12%2C16L6%2C10L7.41%2C8.58Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    background-size: 24px 24px;
}

.contact-form button[type="submit"] {
    margin-top: 8px;
    width: 100%;
}

.form-success {
    color: var(--Primary-color);
    padding: 12px;
    border: 1px solid var(--Primary-color);
    margin-bottom: 16px;
}

/* ============================================================================
   Formulaire
   ============================================================================ */
.en-cours {
    background-color: rgba(0, 0, 0, 0.2);
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: table;
}

.en-cours .en-cours-content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 10;
    display: table-cell;
    vertical-align: middle;
    padding: 20px;

    border: 2px solid var(--Black-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--White-color);
}

.en-cours .en-cours-content h2 {
    font-size: 2em;
    padding: 0 0 20px;
    margin: 0;
    font-weight: normal;
}

.modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.modal-close-btn {
    padding: 8px;
}

.modal-close-btn:hover {
    background-color: var(--Primary-color);
}

.modal-close-btn:hover svg {
    fill: var(--White-color);
}

.modal-close-btn svg {
    fill: var(--Black-color);
    height: 32px;
    width: 32px;
}

#Status {
    font-size: 1.25em;
    text-align: left;
}

.invalide {
    border: 1px solid #ff0000 !important;
    background-color: #f6e8a8 !important;
}

/* Modal Content */
.dialog {
    display: block;
    font-weight: 400;
    margin: 0;
    position: relative;
    background: #ffffff;
    color: #666666;
    border-radius: 3px;
    border: none;
    overflow: hidden;
    box-shadow: 0 0 0 1px #999999;
    text-align: left;
    margin: 20px auto;
    max-width: 600px;
    width: 80%;
    z-index: 10;
}

.dialog .titlebar {
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
    font-size: 1.25em;
    font-weight: bold;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    background: #ffffff;
    color: #666666;
    text-align: center;
    width: auto !important;
    border-bottom: 1px solid #cccccc;
}

/* The Close Button */
.dialog .close {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    border: 0;
    font-size: 1.5em;
    color: #666666;
    background: none;
    padding: 8px;
}

.dialog .close:hover,
.dialog .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.dialog .content {
    padding: 15px 15px 15px;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-intro {
        padding: 24px;
    }

    .contact-intro h2 {
        font-size: 24px;
    }

    .contact-intro p {
        font-size: 16px;
    }

    .contact-form-card {
        padding: 24px;
    }

    .contact-card .card-content h3,
    .contact-form-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        flex-direction: column;
    }
}


/* ============================================================================
   Reduced Motion
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}