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

:root {
    --radius: 0.625rem;
    --background: oklch(1 0 0);
    --foreground: oklch(0.145 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.145 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.145 0 0);
    --primary: oklch(0.205 0 0);
    --primary-foreground: oklch(0.985 0 0);
    --secondary: oklch(0.97 0 0);
    --secondary-foreground: oklch(0.205 0 0);
    --muted: oklch(0.97 0 0);
    --muted-foreground: oklch(0.556 0 0);
    --accent: oklch(0.97 0 0);
    --accent-foreground: oklch(0.205 0 0);
    --destructive: oklch(0.577 0.245 27.325);
    --border: oklch(0.922 0 0);
    --input: oklch(0.922 0 0);
    --ring: oklch(0.708 0 0);
    --sidebar: oklch(0.985 0 0);
    --sidebar-foreground: oklch(0.145 0 0);
    --sidebar-accent: oklch(0.97 0 0);
    --sidebar-accent-foreground: oklch(0.205 0 0);
    --sidebar-border: oklch(0.922 0 0);
    --shadow-card: 0 1px 3px oklch(0 0 0 / 0.05), 0 1px 1px oklch(0 0 0 / 0.03);

    --primary-dark: var(--primary);
    --accent-red: var(--primary);
    --accent-orange: var(--accent-foreground);
    --bright-orange: var(--primary);
    --bg-dark: var(--background);
    --bg-card: var(--card);
    --text-white: var(--foreground);
    --text-light: var(--foreground);
    --text-muted: var(--muted-foreground);
    --border-color: var(--border);
    --radius-card: 0.75rem;

    --color-primary: var(--primary);
    --color-primary-dark: var(--primary);
    --color-accent: var(--accent-foreground);

    --brand-gradient: linear-gradient(135deg, var(--primary) 0%, var(--muted-foreground) 100%);
    --website-surface: color-mix(in oklch, var(--card) 88%, transparent);
    --website-surface-strong: var(--card);
    --website-surface-muted: var(--muted);
    --website-border: color-mix(in oklch, var(--border) 70%, transparent);
    --website-border-strong: var(--border);
    --website-shadow: var(--shadow-card);
    --website-glow: color-mix(in oklch, var(--foreground) 8%, transparent);
    --website-hover: color-mix(in oklch, var(--accent) 72%, transparent);
}

.dark {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.205 0 0);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.205 0 0);
    --popover-foreground: oklch(0.985 0 0);
    --primary: oklch(0.922 0 0);
    --primary-foreground: oklch(0.205 0 0);
    --secondary: oklch(0.269 0 0);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.269 0 0);
    --muted-foreground: oklch(0.708 0 0);
    --accent: oklch(0.269 0 0);
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.704 0.191 22.216);
    --border: oklch(1 0 0 / 10%);
    --input: oklch(1 0 0 / 15%);
    --ring: oklch(0.556 0 0);
    --sidebar: oklch(0.205 0 0);
    --sidebar-foreground: oklch(0.985 0 0);
    --sidebar-accent: oklch(0.269 0 0);
    --sidebar-accent-foreground: oklch(0.985 0 0);
    --sidebar-border: oklch(1 0 0 / 10%);
    --shadow-card:
        inset 0 1px 0 oklch(1 0 0 / 0.04), 0 1px 2px oklch(0 0 0 / 0.2),
        0 0.5px 1px oklch(0 0 0 / 0.15);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--background);
    position: relative;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Arrière-plan : subtle app-token ambience */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 72% 44% at 50% 10%, var(--website-glow) 0%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    pointer-events: none;
    z-index: 0;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.6rem 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}

.card-nav-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    z-index: 99;
    box-sizing: border-box;
    pointer-events: auto;
    margin: 0 auto;
    padding: 0;
    max-width: min(800px, calc(100vw - 2rem));
}

.card-nav {
    display: block;
    height: 60px;
    min-height: 60px;
    padding: 0 0.75rem 0 1.1rem;
    background: var(--card);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: visible;
    transition: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.card-nav.open {
    height: auto;
}

.card-nav-top {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.45rem 0 0;
    z-index: 2;
    min-width: 0;
    overflow: hidden;
    gap: 1rem;
    width: 100%;
}

.hamburger-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 6px;
    color: var(--text-white);
}

.hamburger-menu:hover .hamburger-line {
    opacity: 0.75;
}

.hamburger-line {
    width: 30px;
    height: 2px;
    background-color: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease, margin 0.3s ease;
    transform-origin: 50% 50%;
}

.hamburger-menu.open .hamburger-line:first-child {
    transform: translateY(4px) rotate(45deg);
}

.hamburger-menu.open .hamburger-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    left: 0;
    top: 0;
    transform: none;
    cursor: pointer;
    user-select: none;
    flex-shrink: 1;
    min-width: 0;
    order: 1;
    margin-left: 0;
}

.logo-image {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-container .logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bright-orange);
    letter-spacing: 0.5px;
    margin-right: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-star-icon {
    width: 22px;
    height: 22px;
    margin-left: 0.6rem;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.card-nav-cta-button {
    background: var(--bright-orange);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    padding: 0 1rem;
    height: 40px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    order: 2;
    flex-shrink: 0;
    white-space: nowrap;
}

.card-nav-cta-button:hover {
    background: var(--accent-orange);
    transform: scale(1.02);
}

.card-nav-content {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 8rem clamp(1rem, 5vw, 3rem) 4rem;
    background: transparent;
    z-index: 1;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Language switcher bar – tout petit bloc au-dessus du hero (qq % de hauteur) */
.lang-switcher-bar {
    width: 100%;
    height: clamp(28px, 4vh, 40px);
    max-height: 5vh;
    margin: -0.5rem 0 0 0;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    background: transparent;
    z-index: 10;
    box-sizing: border-box;
    flex-shrink: 0;
}
.lang-switcher-bar .lang-option {
    background: none;
    border: none;
    color: var(--text-light, rgba(255, 255, 255, 0.7));
    font-family: "Poppins", sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}
.lang-switcher-bar .lang-option:hover {
    color: var(--text-white, #fff);
}
.lang-switcher-bar .lang-option.active {
    color: var(--bright-orange, #ff6b35);
}
.lang-switcher-bar .lang-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    user-select: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    margin-top: 15vh;
    margin-bottom: 4rem;
    max-width: 1200px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background: var(--bright-orange);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-white);
    border: 0.5px solid color-mix(in oklch, var(--primary) 20%, transparent);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-secondary:hover {
    border-color: var(--bright-orange);
    background: color-mix(in oklch, var(--primary) 8%, transparent);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero video: thumbnail + play, opens lightbox with YouTube embed */
.video-container {
    width: 100%;
    max-width: min(1120px, 100%);
    margin: 3rem auto 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #000;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.video-hero-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    border-radius: inherit;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0a0a0f;
}

.video-hero-preview:focus-visible {
    outline: 2px solid var(--bright-orange, #ff6b35);
    outline-offset: 4px;
}

.video-hero-preview__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.45s ease;
}

.video-hero-preview:hover .video-hero-preview__thumb {
    transform: scale(1.06);
}

.video-hero-preview__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 6, 12, 0.05) 0%,
        rgba(6, 6, 12, 0.35) 100%
    );
    pointer-events: none;
}

.video-hero-preview__play-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.5rem;
    height: 3.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.55));
    transition: transform 0.3s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.video-hero-preview:hover .video-hero-preview__play-wrap {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-hero-preview__play-bg {
    position: absolute;
    inset: 0;
    border-radius: 0.65rem;
    background: #ff0033;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 4px 0 rgba(0, 0, 0, 0.15) inset;
}

.video-hero-preview__play-triangle {
    position: relative;
    z-index: 1;
    margin-left: 4px;
    color: #fff;
}

/* Video lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2.5rem);
    box-sizing: border-box;
}

.video-lightbox[hidden] {
    display: none !important;
}

.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 8, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.video-lightbox__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 960px);
    padding: 0.5rem;
    border-radius: calc(var(--radius-card) + 4px);
    background: rgba(12, 12, 18, 0.92);
    border: 1px solid color-mix(in oklch, var(--primary) 20%, transparent);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 32px 80px rgba(0, 0, 0, 0.65);
}

.video-lightbox__close {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(24, 24, 32, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.video-lightbox__close:hover {
    background: color-mix(in oklch, var(--primary) 25%, transparent);
    color: #fff;
}

.video-lightbox__frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #000;
}

.video-lightbox__frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (prefers-reduced-motion: reduce) {
    .video-hero-preview__thumb,
    .video-hero-preview__play-wrap {
        transition: none;
    }

    .video-hero-preview:hover .video-hero-preview__thumb {
        transform: scale(1.02);
    }

    .video-hero-preview:hover .video-hero-preview__play-wrap {
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 480px) {
    .video-hero-preview__play-wrap {
        width: 3.65rem;
        height: 2.55rem;
    }
}

/* Workflow Carousel */
.logo-carousel-section {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    margin-top: 70px;
    padding: 3rem clamp(1rem, 5vw, 3rem);
    background: transparent;
    overflow: hidden;
    border-top: 0.5px solid color-mix(in oklch, var(--primary) 8%, transparent);
    border-bottom: 0.5px solid color-mix(in oklch, var(--primary) 8%, transparent);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .logo-carousel-section {
        overflow-x: hidden;
    }
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
}

.logo-track {
    display: flex;
    gap: 4rem;
    animation: scroll-logos 25s linear infinite;
    width: fit-content;
}

.logo-item {
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-white);
    opacity: 0.4;
    white-space: nowrap;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Benefits Section */
.benefits-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem clamp(1rem, 5vw, 3rem);
    background: transparent;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.benefits-title {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 0.75rem;
}

.benefits-description {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--text-light);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

.benefits-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-block {
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem 1.75rem;
    border-radius: var(--radius-card);
    border: 0.5px solid color-mix(in oklch, var(--primary) 10%, transparent);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefit-block:hover {
    transform: translateY(-4px);
    border-color: color-mix(in oklch, var(--primary) 20%, transparent);
    box-shadow: 0 12px 40px 0 color-mix(in oklch, var(--primary) 12%, transparent);
}

.benefit-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bright-orange);
    margin-bottom: 0.75rem;
}

.benefit-block p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .benefits-blocks {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .benefit-block {
        padding: 1.75rem 1.5rem;
    }
}

/* Faster Section */
.faster-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem clamp(1rem, 5vw, 3rem);
    background: transparent;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    overflow-x: hidden;
}

.faster-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-align: center;
}

.section-description {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blocks-container {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.block-large {
    flex: 0 0 calc(75% - 0.75rem);
    background: rgba(0, 0, 0, 0.95);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    border: 0.5px solid color-mix(in oklch, var(--primary) 10%, transparent);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    position: relative;
}

.block-large h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.block-large p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    color: #ffffff;
    font-size: 0.95rem;
}

.feature-list .icon {
    position: absolute;
    left: 0;
    color: var(--bright-orange);
    font-weight: 600;
}

.block-small {
    flex: 0 0 calc(25% - 0.75rem);
    background: rgba(0, 0, 0, 0.95);
    padding: 2.5rem;
    border-radius: var(--radius-card);
    border: 0.5px solid color-mix(in oklch, var(--primary) 10%, transparent);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    position: relative;
}

.block-small h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.block-small p {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.api-icons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.api-item {
    padding: 0.7rem 1rem;
    background: color-mix(in oklch, var(--primary) 10%, transparent);
    border: 0.5px solid color-mix(in oklch, var(--primary) 20%, transparent);
    border-radius: 6px;
    color: var(--bright-orange);
    font-weight: 500;
    text-align: center;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.small-blocks {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.small-block {
    flex: 1;
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    border-radius: var(--radius-card);
    border: 0.5px solid color-mix(in oklch, var(--primary) 10%, transparent);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    position: relative;
}

.small-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.small-block p {
    color: #ffffff;
    font-size: 0.9rem;
}

/* Data Table */
.data-table-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    background: rgba(0, 0, 0, 0.95);
    border-radius: var(--radius-card);
    border: 0.5px solid color-mix(in oklch, var(--primary) 10%, transparent);
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    position: relative;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table thead {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.data-table th {
    padding: 1rem 0.8rem;
    text-align: left;
    color: #ffffff;
    font-weight: 600;
    border-bottom: 0.5px solid color-mix(in oklch, var(--primary) 10%, transparent);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.data-table td {
    padding: 0.9rem 0.8rem;
    color: #ffffff;
    border-bottom: 0.5px solid color-mix(in oklch, var(--primary) 8%, transparent);
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.7);
}

.data-table tbody tr:hover {
    background: color-mix(in oklch, var(--primary) 10%, transparent);
}

.change-up {
    color: #4ade80;
    font-weight: 500;
}

.change-down {
    color: #f87171;
    font-weight: 500;
}

.section-italic {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
}

#docs .section-italic,
.spot-issues-section .section-italic {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

#features .section-italic {
    max-width: 670px;
    margin-left: auto;
    margin-right: auto;
}

/* Architecture Workflow Section (Performance et intégration) */
.architecture-layout {
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 40px) 80px;
    --bg: #030303;
    --card: var(--card);
    --border: rgba(255, 255, 255, 0.05);
    --accent-primary: var(--primary);
    --accent-warm: var(--primary);
}

.architecture-layout .bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(12px, 2vw, 20px);
}

.architecture-layout .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.architecture-layout .card:hover {
    border-color: rgba(255, 255, 255, 0.09);
}

.architecture-layout .mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
}

.architecture-layout .tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #444;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

#card-storage {
    grid-column: span 4;
    min-height: 300px;
    padding: clamp(24px, 3vw, 40px);
    justify-content: flex-end;
    position: relative;
}

.storage-glow-core {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.12;
    top: 50%;
    right: -20%;
    transform: translate(50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.db-offset-container {
    position: absolute;
    top: 0;
    right: -30%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

.storage-db-pro-svg {
    width: 100%;
    max-width: 380px;
    min-width: 280px;
    height: auto;
}

.storage-data-particle {
    filter: drop-shadow(0 0 4px var(--accent-warm));
}

.storage-db-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    fill: #444;
    font-weight: bold;
    letter-spacing: 0.3em;
}

#card-globe {
    grid-column: span 8;
    min-height: 300px;
    padding: clamp(24px, 3vw, 48px);
    justify-content: flex-end;
}

#earth-canvas {
    position: absolute;
    top: 0;
    right: -30%;
    width: 90%;
    height: 100%;
    pointer-events: none;
    opacity: .8;
    z-index: 1;
}

.globe-content {
    position: relative;
    z-index: 10;
}

.globe-content h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 10px;
}

#card-privacy {
    grid-column: span 6;
    padding: clamp(24px, 3vw, 40px);
}

.tech-lock-bg {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 60%;
    opacity: .04;
    pointer-events: none;
    z-index: 0;
    color: var(--accent-warm);
}

#card-prompt {
    grid-column: span 6;
    padding: clamp(24px, 3vw, 40px);
    background: #000;
}

.prompt-input {
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    color: var(--accent-warm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

#prompt-terminal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    height: 110px;
    overflow-y: auto;
    color: var(--accent-warm);
    line-height: 1.65;
}

.prompt-row {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.send-btn {
    background: none;
    border: none;
    cursor: pointer;
    opacity: .35;
    transition: opacity .2s;
    flex-shrink: 0;
    color: var(--accent-warm);
}

.send-btn:hover {
    opacity: 1;
}

#card-workflow {
    grid-column: span 12;
    padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 36px) clamp(32px, 4vw, 52px);
}

.wf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.wf-header h3 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    letter-spacing: -0.03em;
    font-weight: 500;
}

.wf-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wf-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(255, 255, 255, .35);
    letter-spacing: .1em;
}

.dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00e596;
    box-shadow: 0 0 8px #00e596;
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

/* Workflow canvas */
.wf-canvas-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 16px 0 8px;
}

.wf-canvas {
    position: relative;
    width: 850px;
    max-width: 100%;
    margin: 0 auto;
    transform-origin: top center;
    border-radius: 16px;
}

/* Centrage forcé du workflow dans la card sur mobile/téléphone */
@media (max-width: 900px) {
    #card-workflow .wf-canvas-outer {
        justify-content: center;
        overflow-x: hidden;
    }
    #card-workflow .wf-canvas {
        left: 50%;
        margin-left: 0;
        transform-origin: top center;
    }
}

.wf-canvas::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    border-radius: 14px;
}

svg.wf-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.node {
    position: absolute;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: box-shadow .2s, border-color .2s;
    z-index: 10;
    background: #1c1c22;
    border: 1.5px solid rgba(255, 255, 255, .1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
    padding: 14px 18px;
}

.node:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .65);
    border-color: rgba(255, 255, 255, .22);
}

.node.node-tool {
    background: #18181f;
    border-color: rgba(255, 255, 255, .08);
}

.node.node-success {
    border-color: rgba(0, 229, 150, .35) !important;
}

.node.node-success:hover {
    border-color: rgba(0, 229, 150, .6) !important;
}

.node-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a35;
    flex-shrink: 0;
}

.node-tool .node-icon {
    background: #232330;
}

.node-label {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .03em;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}

.node-sublabel {
    font-size: 10px;
    color: rgba(255, 255, 255, .4);
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}

@media (max-width: 900px) {
    #card-storage {
        grid-column: span 12;
    }

    #card-globe {
        grid-column: span 12;
    }

    #card-privacy {
        grid-column: span 12;
    }

    #card-prompt {
        grid-column: span 12;
    }
}

/* Spot Issues Section */
.spot-issues-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem clamp(1rem, 5vw, 3rem);
    margin-bottom: 3rem;
    background: transparent;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    overflow: visible;
}

.spot-issues-section h2,
.compare-section__title,
.spot-issues-section .section-description,
.spot-issues-section .services-grid,
.spot-issues-section .section-italic,
.spot-issues-section .visual-divider {
    position: relative;
    z-index: 1;
}

.visual-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.spot-issues-section h2,
.compare-section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-align: center;
}

/* Services Grid — cartes fixes 362×340 (section #docs) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 362px);
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    width: 362px;
    height: 340px;
    box-sizing: border-box;
    background: var(--card);
    border-radius: var(--radius-card);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    position: relative;
}

.service-card:hover {
    background: var(--card);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 40px 0 color-mix(in oklch, var(--primary) 15%, transparent);
}

.service-image {
    width: 100%;
    flex: 0 0 170px;
    height: 170px;
    min-height: unset;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: var(--card);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    background:
        radial-gradient(circle at 22% 22%, color-mix(in oklch, var(--primary) 12%, transparent), transparent 30%),
        linear-gradient(135deg, var(--website-surface-muted), var(--website-surface-strong));
}

.service-illustration::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid var(--website-border);
    border-radius: 10px;
    opacity: 0.45;
}

.service-illustration img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 270px;
    height: 100%;
    max-height: 140px;
    object-fit: contain;
    filter: grayscale(1) contrast(0.92);
    opacity: 0.9;
}

html.dark .service-illustration img {
    filter: grayscale(1) brightness(0.92) contrast(1.08);
    opacity: 0.86;
}

.service-content {
    flex: 1;
    min-height: 0;
    padding: 1rem 1.1rem 1.1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
}

.service-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: #ffffff;
}

.service-content p {
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.38;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Comparison matrix — pas de cadre section (pas de bordure / trait autour du bloc) */
.compare-section {
    --compare-table-w: 1050px;
    --compare-table-h: 500px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem clamp(16px, 4vw, 40px) 5rem;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
}

.compare-section .compare-section__lede {
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 42rem;
    padding-inline: 0.25rem;
}

.compare-table-wrap {
    margin-bottom: 0;
    margin-top: 0;
}

/* Conteneur scroll horizontal : sans cadre (pas de bordure / fond / ombre — seul le tableau reste visible) */
.compare-glass-panel {
    max-width: var(--compare-table-w, 1050px);
    width: 100%;
    margin-inline: auto;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.22) rgba(0, 0, 0, 0.35);
}

/* WebKit : barre de défilement du panneau = fine et semi-transparente (pas la bande orange globale) */

.compare-glass-panel::-webkit-scrollbar {
    height: 6px;
}

.compare-glass-panel::-webkit-scrollbar:vertical {
    width: 6px;
}

.compare-glass-panel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.compare-glass-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
}

.compare-glass-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.38);
}

.compare-matrix {
    --compare-row-count: 7;
    --compare-col-crit: 170px;
    --compare-col-brand: calc((var(--compare-table-w) - var(--compare-col-crit)) / 4);
    --compare-cell-pad-y: 0.5rem;
    --compare-cell-pad-x: 0.45rem;

    width: var(--compare-table-w);
    min-width: var(--compare-table-w);
    height: var(--compare-table-h);
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

/* Même arrondi que les blocs / cards (--radius-card) ; coins sur les cellules pour ne pas casser le sticky */
.compare-matrix thead tr:first-child .compare-matrix__th:first-child {
    border-top-left-radius: var(--radius-card);
}

.compare-matrix thead tr:first-child .compare-matrix__th:last-child {
    border-top-right-radius: var(--radius-card);
}

.compare-matrix tbody tr:last-child .compare-matrix__rowhead {
    border-bottom-left-radius: var(--radius-card);
}

.compare-matrix tbody tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-card);
}

.compare-matrix tr {
    height: calc(var(--compare-table-h) / var(--compare-row-count));
}

/* Colonnes : critère + 4 colonnes marque (même largeur chacune) = 1050px */
.compare-matrix__col--crit {
    width: var(--compare-col-crit);
}

/* Gladius, Open AI, Anthropic, Mistral : largeurs identiques */
.compare-matrix__col--brand {
    width: var(--compare-col-brand);
}

.compare-matrix__th,
.compare-matrix__td,
.compare-matrix__rowhead {
    box-sizing: border-box;
    border: 1px solid color-mix(in oklch, var(--primary) 5%, transparent);
    vertical-align: middle;
    font-weight: 400;
    color: var(--text-light);
}

.compare-matrix__th {
    padding: var(--compare-cell-pad-y) var(--compare-cell-pad-x);
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    line-height: 1.35;
    border-bottom: 1px solid color-mix(in oklch, var(--primary) 8%, transparent);
    background: rgba(0, 0, 0, 0.65);
    color: var(--text-white);
}

/* Colonne 1 « Critères » : sticky au scroll horizontal — fond bien opaque (pas de transparence faible) */
.compare-matrix__th--crit {
    width: var(--compare-col-crit);
    min-width: var(--compare-col-crit);
    max-width: var(--compare-col-crit);
    text-align: left;
    padding-left: 1.05rem;
    padding-right: 0.65rem;
    background: #14110f;
    color: var(--text-white);
    position: sticky;
    left: 0;
    z-index: 5;
    box-shadow:
        inset 0 0 0 1px color-mix(in oklch, var(--primary) 28%, transparent),
        8px 0 20px -6px rgba(0, 0, 0, 0.95);
    border-top: none;
    border-bottom: none;
}

/* Colonne Gladius : même mise en forme que les autres marques ; défile avec le tableau (non sticky) */
.compare-matrix__th--featured {
    width: var(--compare-col-brand);
    min-width: var(--compare-col-brand);
    max-width: var(--compare-col-brand);
    background: color-mix(in oklch, var(--primary) 12%, transparent);
    border-left: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
    border-right: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
    color: var(--bright-orange);
    box-shadow: inset 0 0 32px color-mix(in oklch, var(--primary) 6%, transparent);
}

.compare-matrix__rowhead {
    width: var(--compare-col-crit);
    min-width: var(--compare-col-crit);
    max-width: var(--compare-col-crit);
    padding: var(--compare-cell-pad-y) 0.75rem var(--compare-cell-pad-y) 1.05rem;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: clamp(0.8rem, 1.15vw, 0.9rem);
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.94);
    background: var(--background);
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid color-mix(in oklch, var(--primary) 10%, transparent);
    position: sticky;
    left: 0;
    z-index: 3;
    box-shadow:
        inset 0 0 0 1px color-mix(in oklch, var(--primary) 12%, transparent),
        10px 0 24px -8px rgba(0, 0, 0, 0.98);
}

.compare-matrix__td {
    padding: var(--compare-cell-pad-y) var(--compare-cell-pad-x);
    text-align: center;
}

.compare-matrix__value {
    display: block;
    font-size: clamp(0.65rem, 0.95vw, 0.78rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-light);
    text-align: center;
    max-width: 100%;
    margin-inline: auto;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.compare-matrix__value--featured {
    color: #fff;
    font-weight: 500;
}

.compare-matrix__value--with-star {
    white-space: nowrap;
}

.compare-value-star {
    font-size: 1em;
    font-weight: 700;
    color: var(--bright-orange);
    line-height: 0;
    margin-left: 0.12em;
}

.compare-matrix tbody tr:nth-child(even) .compare-matrix__td {
    background: rgba(255, 255, 255, 0.03);
}

.compare-matrix tbody tr:nth-child(odd) .compare-matrix__td {
    background: rgba(255, 255, 255, 0.03);
}

.compare-matrix tbody tr:hover .compare-matrix__rowhead {
    background: #121212;
    color: #ffffff;
}

.compare-matrix tbody tr:hover .compare-matrix__td:not(.compare-matrix__td--featured) {
    background: rgba(255, 255, 255, 0.05);
}

.compare-matrix__td--featured {
    width: var(--compare-col-brand);
    min-width: var(--compare-col-brand);
    max-width: var(--compare-col-brand);
    background: color-mix(in oklch, var(--primary) 10%, transparent);
    border-left: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
    border-right: 1px solid color-mix(in oklch, var(--primary) 35%, transparent);
    box-shadow: inset 0 0 28px color-mix(in oklch, var(--primary) 5%, transparent);
}

.compare-matrix tbody tr:nth-child(even) .compare-matrix__td--featured {
    background: color-mix(in oklch, var(--primary) 12%, transparent);
}

.compare-matrix tbody tr:hover .compare-matrix__td--featured {
    background: color-mix(in oklch, var(--primary) 15%, transparent);
}

.compare-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.compare-status__svg {
    display: block;
}

/* Indicateurs : verts / ambre du site ; colonne Gladius en orange marque */
.compare-matrix__td:not(.compare-matrix__td--featured) .compare-status--strong {
    color: #4ade80;
    filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.45));
}

.compare-matrix__td:not(.compare-matrix__td--featured) .compare-status--partial {
    color: var(--accent-orange);
    filter: drop-shadow(0 0 6px color-mix(in oklch, var(--primary) 35%, transparent));
}

.compare-matrix__td:not(.compare-matrix__td--featured) .compare-status--limited {
    color: var(--text-muted);
}

.compare-matrix__td--featured .compare-status--strong {
    color: var(--bright-orange);
    filter: drop-shadow(0 0 10px color-mix(in oklch, var(--primary) 75%, transparent)) drop-shadow(0 0 16px color-mix(in oklch, var(--primary) 30%, transparent));
}

.compare-matrix__td--featured .compare-status--partial {
    color: var(--accent-orange);
    filter: drop-shadow(0 0 8px color-mix(in oklch, var(--primary) 50%, transparent));
}

.compare-matrix__td--featured .compare-status--limited {
    color: rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 0 5px color-mix(in oklch, var(--primary) 25%, transparent));
}

.compare-legend {
    display: block;
    width: 100%;
    max-width: min(50rem, 100%);
    margin: 1.5rem auto 0;
    padding: 1rem clamp(0.75rem, 3vw, 1.5rem);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: normal;
    color: var(--text-muted);
    line-height: 1.55;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    .compare-matrix__td--featured .compare-status--strong,
    .compare-matrix__td--featured .compare-status--partial,
    .compare-matrix__td--featured .compare-status--limited,
    .compare-matrix__td:not(.compare-matrix__td--featured) .compare-status--strong,
    .compare-matrix__td:not(.compare-matrix__td--featured) .compare-status--partial {
        filter: none;
    }

    .compare-matrix__th--featured {
        box-shadow: none;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: rgba(0, 0, 0, 0.98);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 0.5px solid color-mix(in oklch, var(--primary) 15%, transparent);
    backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--bright-orange);
}

#modal-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

#modal-body p {
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Reviews Section */
.reviews-section {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 5rem 0;
    background: transparent;
    overflow: hidden;
    border-top: none;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .reviews-section {
        overflow-x: hidden;
    }

    .reviews-section::before,
    .reviews-section::after {
        width: 60px;
        opacity: 0.4;
        filter: blur(50px);
    }

    .reviews-container {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    }
}

.reviews-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    z-index: 10;
    filter: blur(40px);
    opacity: 0.6;
}

.reviews-section::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    z-index: 10;
    filter: blur(40px);
    opacity: 0.6;
}

.reviews-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-align: center;
    padding: 0 clamp(3rem, 12vw, 12rem);
    position: relative;
    z-index: 2;
}

.reviews-section .section-description {
    padding: 0 clamp(1rem, 5vw, 3rem);
    position: relative;
    z-index: 2;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 100%;
    overflow: hidden;
    padding: 0 clamp(3rem, 12vw, 12rem);
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.review-track {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    position: relative;
}

.review-track-top {
    animation: scroll-right 30s linear infinite;
}

.review-track-bottom {
    animation: scroll-left 30s linear infinite;
}

.review-item {
    flex-shrink: 0;
    width: 350px;
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    position: relative;
}

.review-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-size: 0.85rem;
    color: var(--bright-orange);
    font-weight: 700;
}

/* Pilot Onboarding Section */
.pilot-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem clamp(1.25rem, 5vw, 3rem);
    position: relative;
    z-index: 1;
}

.pilot-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-align: center;
}

.pilot-section .section-description {
    max-width: 720px;
    margin-inline: auto;
}

.pilot-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.5rem;
}

.pilot-step {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 1.35rem;
    background: var(--website-surface-strong);
    border: 1px solid var(--website-border);
    border-radius: var(--radius-card);
    box-shadow: var(--website-shadow);
}

.pilot-step__number {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    background: var(--muted);
    border: 1px solid var(--website-border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pilot-step h3 {
    color: var(--foreground);
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.pilot-step p {
    color: var(--muted-foreground);
    font-size: 0.92rem;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .pilot-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .pilot-flow {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .pilot-step {
        min-height: 0;
        gap: 1.5rem;
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Team Section */
.team-section {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 5rem clamp(1rem, 5vw, 3rem);
    margin-top: 3rem;
    margin-bottom: 3rem;
    background: transparent;
    position: relative;
    z-index: 1;
    border-top: none;
    box-sizing: border-box;
    overflow-x: hidden;
}

.team-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-align: center;
}

.team-section .section-description {
    margin-bottom: 3rem;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--card);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 40px 0 color-mix(in oklch, var(--primary) 15%, transparent);
}

.team-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    background: var(--card);
}

.team-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, color-mix(in oklch, var(--primary) 15%, transparent) 0%, color-mix(in oklch, var(--primary) 10%, transparent) 50%, color-mix(in oklch, var(--primary) 15%, transparent) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image-placeholder img {
    width: auto;
    height: auto;
    max-width: min(12rem, 42%);
    max-height: 11rem;
    object-fit: contain;
    display: block;
}

.team-content {
    padding: 2rem;
    text-align: left;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    color: var(--bright-orange);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    background: var(--card);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: var(--bright-orange);
    border-color: color-mix(in oklch, var(--primary) 30%, transparent);
    background: color-mix(in oklch, var(--primary) 10%, transparent);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem clamp(1rem, 5vw, 3rem);
    margin-bottom: 3rem;
    background: transparent;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    overflow-x: hidden;
}

.faq-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-align: center;
}

.faq-section .section-description {
    max-width: 800px;
    margin-bottom: 2.5rem;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    padding: 1.25rem 1.5rem;
}

.faq-item[open] {
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 12px 40px 0 color-mix(in oklch, var(--primary) 18%, transparent);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    flex: 1;
}

.faq-toggle {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--bright-orange);
    background: var(--card);
}

.faq-item[open] .faq-toggle {
    transform: rotate(90deg);
}

.faq-answer {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 8rem clamp(1rem, 5vw, 3rem) 6rem;
    margin-bottom: 3rem;
    background: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    overflow-x: hidden;
}

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

.contact-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bright-orange);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-flex;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    outline: none;
    user-select: none;
}

/* TrueFocus Effect Styles */
#true-focus-container {
    position: relative;
    display: inline-flex;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    outline: none;
    user-select: none;
}

.focus-word {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.5s ease, color 0.3s ease;
    outline: none;
    user-select: none;
    color: #ffffff;
}

.focus-word.active {
    filter: blur(0);
}

.focus-frame {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    box-sizing: content-box;
    border: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.5s ease, width 0.5s ease, height 0.5s ease;
    transform-origin: top left;
}

.focus-frame.visible {
    opacity: 1;
}

.corner {
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 3px solid var(--bright-orange);
    filter: drop-shadow(0px 0px 4px var(--bright-orange));
    border-radius: 3px;
    transition: none;
}

.corner.top-left {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.corner.top-right {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.corner.bottom-left {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
}

.corner.bottom-right {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.contact-section h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.contact-form-container {
    margin-top: 2.5rem;
}

.contact-form {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: nowrap;
    align-items: stretch;
}

.email-input {
    flex: 1;
    min-width: 0;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    background: var(--card);
    color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.5);
    position: relative;
}

.email-input::placeholder {
    color: var(--text-muted);
}

.email-input:focus {
    background: var(--card);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 4px 20px 0 color-mix(in oklch, var(--primary) 15%, transparent);
}

.submit-btn {
    padding: 0.5rem 1.5rem;
    background: var(--bright-orange);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.submit-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.form-message {
    margin-top: 1.2rem;
    padding: 0.9rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: transparent;
    color: #ffffff;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    position: relative;
}

.form-message.error {
    display: block;
    background: var(--card);
    color: var(--accent-red);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Responsive */
@media (max-width: 1240px) {
    .services-grid {
        grid-template-columns: repeat(2, 362px);
    }
}

@media (max-width: 820px) {
    .services-grid {
        grid-template-columns: minmax(0, 362px);
        justify-content: center;
    }

    .service-card {
        width: 100%;
        max-width: 362px;
        height: auto;
        min-height: 340px;
    }
}

@media (max-width: 1024px) {
    /* Tablet */
    .video-container {
        margin-top: 2.5rem;
    }

    .data-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 700px;
    }

}

@media (max-width: 768px) {
    :root {
        --radius-card: 16px;
    }

    .main-header {
        padding: 1.1rem 0;
        width: 100%;
        box-sizing: border-box;
    }

    .card-nav-container {
        width: calc(100% - 2rem);
        max-width: calc(100vw - 2rem);
        padding: 0;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .card-nav {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .card-nav-top {
        padding: 0 0.6rem;
        min-width: 0;
        box-sizing: border-box;
        width: 100%;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .logo-container {
        flex-shrink: 1;
        min-width: 0;
        max-width: calc(100% - 100px);
        overflow: hidden;
        order: 1;
        margin-right: auto;
    }

    .card-nav-cta-button {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }

    .logo-container .logo {
        font-size: 1.1rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .card-nav-top {
        padding: 0.5rem 0.75rem;
        justify-content: space-between;
    }

    .logo-container .logo {
        font-size: 1.1rem;
    }

    .logo-image {
        width: 32px;
        height: 32px;
    }

    .logo-container {
        position: static;
        transform: none;
        order: 1;
        flex-shrink: 1;
        min-width: 0;
    }

    .card-nav-cta-button {
        display: block;
        padding: 0 0.75rem;
        font-size: 0.75rem;
        height: auto;
        min-height: 32px;
        white-space: nowrap;
        flex-shrink: 0;
        order: 2;
        margin-left: auto;
    }

    .hero {
        min-height: auto;
        padding: 5rem clamp(1.5rem, 5vw, 3rem) 2rem;
    }

    .hero-content {
        margin-top: 8vh;
        margin-bottom: 1.2rem;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 0.75rem;
        width: auto;
        max-width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem 1.5rem;
        padding: 0;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        margin-bottom: 0.5rem;
    }

    .footer-section:nth-child(2),
    .footer-section:nth-child(3),
    .footer-section:nth-child(4) {
        display: block;
    }

    .main-footer {
        padding: 3rem clamp(1.5rem, 5vw, 3rem) 2rem;
        max-width: 100vw;
        width: 100%;
    }

    .footer-content {
        max-width: 100%;
        padding: 0;
    }

    .logo-carousel-section,
    .faster-section,
    .spot-issues-section,
    .compare-section,
    .pilot-section,
    .reviews-section,
    .team-section,
    .contact-section {
        padding: 3rem clamp(1.5rem, 5vw, 3rem);
    }

    .logo-carousel-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .blocks-container {
        flex-direction: column;
        gap: 1rem;
    }

    .block-large,
    .block-small {
        flex: 0 0 100%;
        padding: 1.75rem;
    }

    .block-large h3,
    .block-small h3 {
        font-size: 1.3rem;
    }

    .small-blocks {
        flex-direction: column;
        gap: 1rem;
    }

    .small-block {
        padding: 1.5rem;
    }

    .data-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: var(--radius-card);
        margin-bottom: 1.5rem;
    }

    .data-table {
        min-width: 650px;
        font-size: 0.8rem;
    }

    .compare-legend {
        margin-top: 1.25rem;
        padding: 0.85rem clamp(0.5rem, 2.5vw, 1rem);
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.6rem;
        font-size: 0.8rem;
    }

    .review-item {
        width: 85vw;
        min-width: 280px;
        max-width: 400px;
        padding: 1.5rem;
    }

    .reviews-container {
        padding: 0 clamp(1rem, 4vw, 2rem);
    }

    .team-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-image {
        height: 220px;
    }

    .team-content {
        padding: 1.5rem;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .team-bio {
        font-size: 0.9rem;
    }

    .contact-logo {
        font-size: 1.8rem;
    }

    .focus-word {
        font-size: 1.8rem;
    }

    .contact-section h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .contact-form {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .email-input {
        flex: 1;
        min-width: 0;
        padding: 0.85rem 1.15rem;
        font-size: 0.85rem;
    }

    .submit-btn {
        width: auto;
        padding: 0.85rem 1.5rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    /* Mobile */
    .video-container {
        margin-top: 0.9rem;
    }

    .section-description {
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    .section-italic {
        font-size: 0.85rem;
    }

    .header-content {
        padding: 0 clamp(1.5rem, 5vw, 3rem);
    }
}

@media (max-width: 480px) {
    :root {
        --radius-card: 12px;
    }

    .main-header {
        padding: 0.8rem 0;
        width: 100%;
        box-sizing: border-box;
    }

    .card-nav-container {
        width: calc(100% - 1rem);
        max-width: calc(100vw - 1rem);
        padding: 0;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .card-nav {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .card-nav-top {
        padding: 0.4rem 0.6rem;
        min-width: 0;
        box-sizing: border-box;
        width: 100%;
        justify-content: space-between;
    }

    .logo-container {
        flex-shrink: 1;
        min-width: 0;
        max-width: calc(100% - 90px);
        overflow: hidden;
        order: 1;
        margin-right: auto;
    }

    .card-nav-cta-button {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }

    .logo-container .logo {
        font-size: 0.9rem;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logo-image {
        width: 28px;
        height: 28px;
    }

    .hero {
        min-height: auto;
        padding: 4rem clamp(1rem, 4vw, 2rem) 1.5rem;
    }

    .hero-content {
        margin-top: 6vh;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.3;
    }

    .hero-description {
        font-size: clamp(0.95rem, 3.5vw, 1.15rem);
        margin-bottom: 1.25rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 0.6rem;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .btn-primary,
    .btn-secondary {
        width: auto;
        padding: 0.65rem 1.1rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .faster-section,
    .spot-issues-section,
    .compare-section,
    .pilot-section,
    .reviews-section,
    .team-section,
    .contact-section {
        padding: 2.5rem clamp(1rem, 4vw, 2rem);
    }

    .logo-carousel-section {
        padding: 1rem clamp(1rem, 4vw, 2rem) 1.25rem;
    }

    .faster-section h2,
    .spot-issues-section h2,
    .compare-section__title,
    .pilot-section h2,
    .reviews-section h2,
    .team-section h2 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
        margin-bottom: 0.75rem;
    }

    .block-large,
    .block-small,
    .small-block {
        padding: 1.25rem;
        border-radius: var(--radius-card);
    }

    .block-large h3,
    .block-small h3,
    .small-block h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .block-large p,
    .block-small p,
    .small-block p {
        font-size: 0.85rem;
    }

    .feature-list li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
        padding-left: 1.75rem;
    }

    .data-table-container {
        border-radius: var(--radius-card);
    }

    .data-table {
        min-width: 600px;
        font-size: 0.7rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.7rem;
    }

    .data-table th {
        font-size: 0.65rem;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1rem;
    }

    .service-content p {
        font-size: 0.8rem;
    }

    .review-item {
        width: 90vw;
        min-width: 260px;
        padding: 1.25rem;
    }

    .review-text {
        font-size: 0.85rem;
    }

    .review-author {
        font-size: 0.8rem;
    }

    .team-image {
        height: 200px;
    }

    .team-content {
        padding: 1.25rem;
    }

    .team-name {
        font-size: 1.2rem;
    }

    .team-role {
        font-size: 0.85rem;
    }

    .team-bio {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .social-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.85rem;
    }

    .contact-logo {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .focus-word {
        font-size: 1.5rem;
    }

    .contact-section h2 {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
        margin-bottom: 0.75rem;
    }

    .contact-section .section-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 2rem;
    }

    .contact-form {
        flex-direction: row;
        gap: 0.6rem;
        flex-wrap: nowrap;
    }

    .email-input {
        flex: 1;
        min-width: 0;
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }

    .submit-btn {
        width: auto;
        padding: 0.5rem 1.25rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .header-content {
        padding: 0 clamp(1rem, 4vw, 2rem);
    }

    /* Small Phone */
    .video-container {
        margin-top: 0.75rem;
    }

    .section-description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    .section-italic {
        font-size: 0.8rem;
        margin-top: 1rem;
    }

    .logo-item {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem 1.5rem;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .main-footer {
        padding: 2.5rem clamp(1rem, 4vw, 2rem) 1.5rem;
        max-width: 100vw;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem 1.5rem;
        max-width: 100%;
        padding: 0;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .nav-card-label {
        font-size: 15px;
    }

    .nav-card-link {
        font-size: 13px;
    }
}

/* Extra small devices (phones in portrait, less than 360px) */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .faster-section h2,
    .spot-issues-section h2,
    .compare-section__title,
    .reviews-section h2,
    .team-section h2,
    .contact-section h2 {
        font-size: 1.3rem;
    }

    .block-large,
    .block-small,
    .small-block {
        padding: 1rem;
    }

    .data-table {
        min-width: 550px;
        font-size: 0.65rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem 0.3rem;
    }

    .review-item {
        width: 95vw;
        min-width: 240px;
        padding: 1rem;
    }

    .team-image {
        height: 180px;
    }

    .contact-logo {
        font-size: 1.3rem;
    }

    .focus-word {
        font-size: 1.3rem;
    }
}

/* Footer */
.main-footer {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 4rem clamp(1rem, 5vw, 3rem) 2rem;
    background: var(--card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(30px) saturate(180%);
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bright-orange);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--bright-orange);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 0.5px solid color-mix(in oklch, var(--primary) 8%, transparent);
    text-align: center;
    position: relative;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bright-orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Standalone legal pages in /html/ (mentions légales, privacy, terms, 404) */
.legal-page {
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-light);
}

.legal-page .legal-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 0.5px solid color-mix(in oklch, var(--primary) 12%, transparent);
}

.legal-back {
    color: var(--bright-orange);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
}

.legal-back:hover {
    text-decoration: underline;
}

.legal-main {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.legal-main h1 {
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.legal-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

.legal-main h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 2rem 0 0.65rem;
}

.legal-main p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1rem;
}

.legal-main ul {
    margin: 0 0 1rem 1.15rem;
    padding: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.legal-main li {
    margin-bottom: 0.35rem;
}

/* App theme alignment overrides */
html.light,
html.dark {
    background: var(--background);
    color: var(--foreground);
}

.card-nav,
.service-card,
.service-card:hover,
.service-image,
.review-item,
.team-card,
.team-image,
.social-link,
.faq-item,
.faq-toggle,
.contact-form,
.modal-content,
.legal-page .legal-top,
.feature-card,
.workflow-card,
.comparison-card,
.footer {
    background: var(--website-surface-strong);
    border-color: var(--website-border);
    box-shadow: var(--website-shadow);
}

.btn-secondary,
.lang-switcher-bar,
.lang-switcher-bar .lang-option,
.theme-option,
.form-group input,
.form-group textarea,
.architecture-layout .card,
.wf-pill,
.theme-option:hover,
.lang-switcher-bar .lang-option:hover {
    background: var(--website-surface-muted);
    border-color: var(--website-border);
    color: var(--foreground);
}

.card-nav-cta-button,
.btn-primary,
.submit-btn,
.page-404__btn {
    background: var(--primary);
    color: var(--primary-foreground);
}

.card-nav-cta-button:hover,
.btn-primary:hover,
.submit-btn:hover,
.page-404__btn:hover {
    background: var(--foreground);
    color: var(--background);
}

.logo-container .logo,
.hero-content h1,
.section-header,
.team-role,
.review-author,
.legal-back,
.footer-links a:hover,
.social-link:hover,
.faq-toggle,
.contact-info h3,
.service-icon,
.architecture-layout .tag,
.prompt-input,
#prompt-terminal,
.send-btn {
    color: var(--primary);
}

.hero-description,
.section-description,
.service-content p,
.review-text,
.team-bio,
.faq-answer,
.footer-section p,
.legal-main p,
.legal-main ul,
.legal-meta {
    color: var(--muted-foreground);
}

.service-card:hover,
.team-card:hover,
.faq-item[open],
.social-link:hover {
    border-color: var(--website-border-strong);
    box-shadow: var(--website-shadow);
}

.architecture-layout {
    --bg: var(--background);
    --card: var(--website-surface-strong);
    --border: var(--website-border);
    --accent-primary: var(--primary);
    --accent-warm: var(--primary);
}

.storage-glow-core,
.team-image-placeholder {
    background: var(--website-surface-muted);
}

.lang-switcher-bar {
    align-items: center;
    border: 1px solid var(--website-border);
}

.lang-switcher-bar .lang-option.active {
    color: var(--foreground);
}

.theme-option {
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    padding: 0;
}

.theme-option svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.legal-page,
body {
    background: var(--background);
}

.video-container,
.video-hero-preview,
.video-lightbox__panel,
.video-lightbox__frame,
.video-lightbox__close,
.benefit-block,
.block-large,
.block-small,
.api-item,
.small-block,
.data-table-container,
.data-table thead,
.data-table td,
.compare-matrix__th,
.compare-matrix__th--crit,
.compare-matrix__rowhead,
.compare-matrix__td--featured,
.email-input,
.email-input:focus,
.form-message.error {
    background: var(--website-surface-strong);
    border-color: var(--website-border);
    box-shadow: var(--website-shadow);
}

.btn-secondary:hover,
.api-item,
.data-table tbody tr:hover,
.compare-matrix__th--featured,
.compare-matrix tbody tr:nth-child(even) .compare-matrix__td,
.compare-matrix tbody tr:nth-child(odd) .compare-matrix__td,
.compare-matrix tbody tr:hover .compare-matrix__rowhead,
.compare-matrix tbody tr:hover .compare-matrix__td:not(.compare-matrix__td--featured),
.compare-matrix tbody tr:nth-child(even) .compare-matrix__td--featured,
.compare-matrix tbody tr:hover .compare-matrix__td--featured {
    background: var(--website-surface-muted);
}

.btn-secondary,
.video-lightbox__panel,
.benefit-block,
.block-large,
.block-small,
.small-block,
.data-table-container,
.data-table th,
.data-table td,
.compare-matrix__th,
.compare-matrix__td,
.compare-matrix__rowhead,
.compare-matrix__th--featured,
.compare-matrix__td--featured,
.email-input {
    border-color: var(--website-border);
}

.benefit-block:hover,
.email-input:focus {
    border-color: var(--website-border-strong);
    box-shadow: var(--website-shadow);
}

.video-hero-preview:focus-visible {
    outline-color: var(--ring);
}

.video-hero-preview__play-bg {
    background: var(--primary);
    box-shadow: inset 0 0 0 1px var(--website-border);
}

.video-hero-preview__play-triangle {
    color: var(--primary-foreground);
}

.video-hero-preview__scrim,
.video-lightbox__backdrop {
    background: color-mix(in oklch, var(--background) 74%, transparent);
}

.video-lightbox__close,
.video-lightbox__close:hover {
    color: var(--foreground);
}

.benefit-block h3,
.feature-list .icon,
.api-item,
.compare-matrix__th--featured,
.compare-value-star,
.compare-matrix__td--featured .compare-status--strong,
.compare-matrix__td--featured .compare-status--partial {
    color: var(--primary);
    filter: none;
}

.block-large h3,
.block-small h3,
.small-block h3,
.block-large p,
.block-small p,
.small-block p,
.feature-list li,
.data-table th,
.data-table td,
.compare-matrix__th,
.compare-matrix__rowhead,
.compare-matrix__value--featured,
.email-input,
.form-message.success {
    color: var(--foreground);
}

.benefits-description,
.benefit-block p,
.compare-matrix__value,
.compare-matrix__td--featured .compare-status--limited,
.email-input::placeholder {
    color: var(--muted-foreground);
    filter: none;
}

.compare-matrix__th--crit,
.compare-matrix__rowhead {
    box-shadow: none;
}

.compare-matrix__td:not(.compare-matrix__td--featured) .compare-status--partial {
    color: var(--muted-foreground);
    filter: none;
}
