﻿/* ============================================
   iasksolutions — Design System V8+
   ============================================ */

:root {
    --bg-color: #ffffff;
    --bg-secondary: #f8f8fa;
    --text-primary: #0a0a0a;
    --text-secondary: #5e5e60;
    --text-tertiary: #8e8e93;
    --accent-color: #f5f5f7;
    --border-color: #e5e5ea;
    --border-subtle: rgba(0, 0, 0, 0.04);
    --section-divider: rgba(15, 23, 42, 0.08);

    --brand-indigo: #2563EB;
    --brand-indigo-hover: #1D4ED8;
    --brand-indigo-light: rgba(37, 99, 235, 0.08);
    --brand-indigo-glow: rgba(37, 99, 235, 0.15);
    --brand-cyan: #0EA5E9;
    --brand-gradient: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

    --section-padding: 80px;
    --container-max: 1200px;
}

/* ===== RESET & BASE ===== */

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

::selection {
    background: var(--brand-indigo);
    color: white;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== FOCUS STYLES (Accessibility) ===== */

*:focus-visible {
    outline: 2px solid var(--brand-indigo);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== SKIP TO MAIN ===== */

.skip-to-main {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-indigo);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-to-main:focus {
    top: 1rem;
}

/* ===== SCROLL PROGRESS BAR ===== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1100;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--brand-indigo);
    transition: width 0.1s linear;
}

/* ===== HEADER & NAVBAR ===== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    width: 100%;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #ffffff;
    z-index: 1060;
    transition: opacity var(--transition-fast);
}

.navbar-brand span {
    color: var(--brand-cyan);
}

.navbar-brand:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    transition: color var(--transition-fast), background var(--transition-fast);
    position: relative;
}

.nav-menu .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-menu .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-cta {
    font-size: 0.85rem;
    padding: 0.55rem 1.25rem;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1060;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.burger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1005;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu .nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-menu .nav-link:hover {
    background: var(--accent-color);
    color: var(--brand-indigo);
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--brand-indigo);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--brand-indigo-hover);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-ghost:hover {
    border-color: var(--brand-indigo);
    color: var(--brand-indigo);
    background: var(--brand-indigo-light);
}

.btn-lg {
    font-size: 1rem;
    padding: 0.85rem 2rem;
}

.btn-full {
    width: 100%;
}

/* ===== HERO SECTION ===== */

.hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* hero-bg-glow removed — clean background */

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-indigo);
    background: var(--brand-indigo-light);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    width: fit-content;
    letter-spacing: 0.01em;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.hero-highlight {
    display: inline-block;
    position: relative;
}

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

.hero-rotating {
    display: inline-block;
    position: relative;
    min-width: 200px;
}

.hero-rotating-word {
    color: var(--brand-indigo);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}

.hero-rotating-word.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.counter {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* Hero Visual — clean video container */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
}

.hero-video-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-lg);
}

.hero-video-container video {
    width: 135%;
    height: 135%;
    margin: -17.5% 0 0 -17.5%;
    object-fit: cover;
    border: none;
}

/* Scene data attributes removed — no longer needed */

/* hero-visual-atmosphere and foreground removed */

/* Ambient grid, beams, orbs, and floating cards removed */

/* Hero narrative system removed — replaced by simple video container */

/* Narrative caption, timeline, nodes — all removed */

/* ===== Keyframes — kept minimal ===== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scene animations removed — narrative system no longer used */

/* ===== TRUST BAND ===== */

.trust-band {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.trust-band-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logo {
    opacity: 0.35;
    transition: opacity var(--transition-fast);
    height: 30px;
    display: flex;
    align-items: center;
}

.trust-logo:hover {
    opacity: 0.7;
}

.trust-logo svg {
    height: 30px;
    width: 120px;
    color: var(--text-primary);
}

/* ===== SECTION COMMON ===== */

.section-proposition,
.section-services,
.section-methodology,
.section-use-cases,
.section-testimonials,
.section-questionnaire,
.section-about {
    padding: var(--section-padding) 0;
}

.section-proposition,
.section-methodology,
.section-questionnaire {
    background: var(--bg-secondary);
}

.section-services,
.section-use-cases,
.section-about {
    position: relative;
}

.section-services::before,
.section-use-cases::before,
.section-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(100% - 4rem);
    max-width: var(--container-max);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--section-divider), transparent);
}

.section-services {
    padding-top: calc(var(--section-padding) + 0.5rem);
    background: var(--bg-color);
}

.section-use-cases {
    background: var(--bg-secondary);
}

.section-about {
    background: var(--bg-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-services .section-header,
.section-use-cases .section-header,
.section-about .section-header {
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-indigo);
    border-bottom: 2px solid var(--brand-indigo);
    padding-bottom: 0.2rem;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== PROPOSITION SECTION ===== */

.section-proposition {
    background-color: var(--bg-secondary);
}

.section-proposition .section-title {
    color: var(--text-primary);
}

/* --- Approach: 3-step cards --- */
.prop-approach {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 4.5rem;
}

.approach-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.75rem 2rem;
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.approach-step:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-md);
}

/* --- Step number watermark --- */
.approach-num {
    position: absolute;
    top: -8px;
    right: 16px;
    font-size: 6rem;
    font-weight: 900;
    font-family: var(--font-mono);
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(37, 99, 235, 0.04);
    pointer-events: none;
    user-select: none;
}

.approach-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: transform var(--transition-medium);
}

.approach-step:nth-child(1) .approach-icon {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.10), rgba(37, 99, 235, 0.04));
    color: var(--brand-indigo);
}

.approach-step:nth-child(2) .approach-icon {
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0.04));
    color: var(--brand-cyan);
}

.approach-step:nth-child(3) .approach-icon {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08));
    color: var(--brand-indigo);
}

.approach-step:nth-child(4) .approach-icon {
    background: linear-gradient(145deg, rgba(6, 182, 212, 0.10), rgba(37, 99, 235, 0.06));
    color: var(--brand-cyan);
}

.approach-step:hover .approach-icon {
    /* no scale on hover — sober */
}

.approach-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.approach-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
    align-self: stretch;
}

/* --- Highlight step (feuille de route) --- */
.approach-step--highlight {
    border-color: var(--brand-indigo);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, var(--bg-color) 100%);
    box-shadow: 0 0 0 1px var(--brand-indigo), var(--shadow-sm);
}

.approach-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--brand-indigo);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    line-height: 1;
}

/* --- Audit CTA button --- */
.approach-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-indigo);
    background: var(--brand-indigo-light);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-md);
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 1;
}

.approach-cta:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.approach-cta svg {
    transition: transform var(--transition-fast);
}

.approach-cta:hover svg {
    transform: translateX(3px);
}

/* --- Flagship card (construire sur mesure) --- */
.approach-step--flagship {
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.approach-step--flagship::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-indigo);
}

.approach-step--flagship .approach-num {
    color: rgba(37, 99, 235, 0.06);
}

.approach-step--flagship:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--shadow-md);
}

/* --- Services block --- */
.prop-services-block {
    margin-bottom: 2rem;
}

.services-intro {
    text-align: center;
    margin-bottom: 2.75rem;
}

.services-headline {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.services-subline {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* --- Service cards with per-card accent --- */
.service-card {
    --card-accent: var(--brand-indigo);
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--card-accent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:nth-child(1) { --card-accent: #2563EB; }
.service-card:nth-child(2) { --card-accent: #0EA5E9; }
.service-card:nth-child(3) { --card-accent: #8b5cf6; }
.service-card:nth-child(4) { --card-accent: #059669; }
.service-card:nth-child(5) { --card-accent: #f59e0b; }
.service-card:nth-child(6) { --card-accent: #6366f1; }

.service-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--card-accent);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(6, 182, 212, 0.03));
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.service-card:nth-child(1) .service-card-icon { background: linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(37, 99, 235, 0.03)); }
.service-card:nth-child(2) .service-card-icon { background: linear-gradient(135deg, rgba(14, 165, 233, 0.09), rgba(14, 165, 233, 0.03)); }
.service-card:nth-child(3) .service-card-icon { background: linear-gradient(135deg, rgba(139, 92, 246, 0.09), rgba(139, 92, 246, 0.03)); }
.service-card:nth-child(4) .service-card-icon { background: linear-gradient(135deg, rgba(5, 150, 105, 0.09), rgba(5, 150, 105, 0.03)); }
.service-card:nth-child(5) .service-card-icon { background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), rgba(245, 158, 11, 0.03)); }
.service-card:nth-child(6) .service-card-icon { background: linear-gradient(135deg, rgba(99, 102, 241, 0.09), rgba(99, 102, 241, 0.03)); }

.service-card:hover .service-card-icon {
    /* no transform on hover — sober */
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}

.service-card-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* --- Differentiator banner --- */
.prop-differ-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    margin: 2rem 0;
    padding: 2.25rem 2.5rem;
    background: var(--bg-color);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-left: 4px solid var(--brand-indigo);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(37, 99, 235, 0.06), 0 1px 4px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.prop-differ-banner:hover {
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.10), 0 4px 12px rgba(0, 0, 0, 0.03);
    border-color: rgba(37, 99, 235, 0.18);
}

.prop-differ-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.prop-differ-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.03) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.differ-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-indigo);
    flex-shrink: 0;
    transition: transform var(--transition-medium);
}

.prop-differ-banner:hover .differ-icon {
    transform: scale(1.06);
}

.differ-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.differ-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.differ-text strong {
    color: var(--brand-indigo);
    font-weight: 600;
}

/* --- Gains & Résultats strip --- */
.pb-gains {
    background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 50%, #ecfdf5 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.pb-gains::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.pb-gains::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.pb-gains-header {
    flex-shrink: 0;
    min-width: 130px;
}

.pb-gains-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.pb-gains-sub {
    display: block;
    font-size: 0.65rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.pb-gains-grid {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.pb-gain-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.pb-gain-value {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--brand-indigo);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.pb-gain-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}

.pb-gain-detail {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.1rem;
}

.pb-gain-divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.15), transparent);
    flex-shrink: 0;
}

/* --- Prop CTA bar --- */
.prop-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2.25rem;
    margin-top: 1.25rem;
    background: var(--brand-indigo);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.prop-cta-title {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    letter-spacing: -0.02em;
}

.prop-cta-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    max-width: 420px;
    position: relative;
    z-index: 1;
    line-height: 1.55;
}

.prop-cta .btn-primary {
    background: white;
    color: var(--brand-indigo);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 1;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

.prop-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.93);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* ===== METHODOLOGY ===== */

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.method-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.method-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.method-card-highlight {
    border-color: rgba(37, 99, 235, 0.15);
    background: var(--bg-color);
}

.method-step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-indigo);
    line-height: 1;
    margin-bottom: 1rem;
}

.method-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.method-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.method-card-text {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.method-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    background: var(--brand-indigo-light);
    color: var(--brand-indigo);
    border-radius: var(--radius-full);
}

/* ===== USE CASES ===== */

.uc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.uc-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.uc-card:hover {
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: var(--shadow-md);
}

.uc-card.active {
    border-color: rgba(37, 99, 235, 0.2);
}

.uc-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.uc-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.uc-problem {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.uc-reveal-prompt {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-indigo);
    transition: gap var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.uc-card:hover .uc-reveal-prompt span,
.uc-card.active .uc-reveal-prompt span {
    transform: translateX(4px);
    transition: transform var(--transition-fast);
}

.uc-hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-medium), opacity var(--transition-medium), margin var(--transition-medium);
    margin-top: 0;
}

.uc-card.active .uc-hidden {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
}

.uc-solution-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-indigo);
    margin-bottom: 0.5rem;
}

.uc-solution {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.uc-solution strong {
    color: var(--text-primary);
    font-weight: 600;
}

.uc-bottom {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.uc-bottom-msg {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 560px;
}

.uc-bottom-msg strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* ===== TESTIMONIALS ===== */

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

.testimonial-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    position: relative;
}

.testimonial-quote-icon {
    margin-bottom: 0.5rem;
}

.testimonial-quote blockquote p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    font-style: normal;
    display: block;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    display: block;
}

.testimonial-metric {
    padding: 0.75rem 1rem;
    background: var(--brand-indigo-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.testimonial-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-indigo);
}

.testimonial-metric-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== QUESTIONNAIRE / QUIZ ===== */

.quiz-widget {
    max-width: 680px;
    margin: 0 auto;
}

.quiz-mode-tabs {
    display: flex;
    background: var(--accent-color);
    border-radius: var(--radius-full);
    padding: 3px;
    margin-bottom: 1.25rem;
}

.quiz-mode-tab {
    flex: 1;
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.quiz-mode-tab.active {
    background: var(--bg-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.quiz-mode-panel {
    display: none;
}

.quiz-mode-panel.active {
    display: block;
}

.quiz-progress {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quiz-progress-track {
    flex: 1;
    height: 3px;
    background: var(--accent-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--brand-gradient);
    border-radius: var(--radius-full);
    transition: width var(--transition-medium);
}

.quiz-progress-label {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    font-weight: 500;
    white-space: nowrap;
}

.quiz-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 1.75rem;
    min-height: 220px;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: quizFadeIn 0.35s ease-out;
}

@keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.quiz-options:has(> :nth-child(5)) {
    grid-template-columns: 1fr 1fr 1fr;
}

.quiz-option {
    width: 100%;
    text-align: center;
    padding: 0.7rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 500;
    background: var(--bg-color);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    color: var(--text-primary);
}

.quiz-option:hover {
    border-color: var(--brand-indigo);
    background: var(--brand-indigo-light);
}

.quiz-option.selected {
    border-color: var(--brand-indigo);
    background: var(--brand-indigo-light);
    color: var(--brand-indigo);
    font-weight: 600;
}

.quiz-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    resize: vertical;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
}

.quiz-textarea:focus {
    outline: none;
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.quiz-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--bg-color);
    color: var(--text-primary);
}

.quiz-input:focus {
    outline: none;
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.quiz-nav-btn {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    cursor: pointer;
    color: var(--text-secondary);
    background: transparent;
    border: 1.5px solid var(--border-color);
}

.quiz-nav-btn:hover:not(:disabled) {
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.quiz-nav-next {
    background: var(--brand-indigo);
    color: white !important;
    border-color: var(--brand-indigo) !important;
}

.quiz-nav-next:hover:not(:disabled) {
    background: var(--brand-indigo-hover);
}

.quiz-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.quiz-success {
    text-align: center;
    padding: 1.5rem 0;
}

.quiz-success-icon {
    margin-bottom: 1rem;
}

.quiz-success h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quiz-success p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== ABOUT ===== */

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(180deg, #f8f8fa 0%, #ffffff 100%);
    box-shadow: var(--shadow-xl);
}

.about-content {
    max-width: 680px;
    margin: 0 auto;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* About — Experience Badge */
.about-portrait {
    position: relative;
}

.about-experience-badge {
    position: absolute;
    bottom: -12px;
    right: -12px;
    background: var(--brand-indigo);
    color: white;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    z-index: 2;
}

.exp-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.exp-unit {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.8;
    line-height: 1.2;
}

.exp-company {
    font-size: 0.85rem;
    font-weight: 700;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2;
}

/* About — Bosch Card */
.about-bosch-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(6, 182, 212, 0.03));
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.05);
}

.about-bosch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.bosch-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bosch-logo {
    width: 44px;
    height: 44px;
    background: var(--brand-indigo-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-indigo);
    flex-shrink: 0;
}

.bosch-title {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
    color: var(--text-primary);
}

.bosch-duration {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: block;
    margin-top: 0.1rem;
}

.bosch-description {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.bosch-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.bosch-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.bosch-skill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    background: var(--brand-indigo-light);
    color: var(--brand-indigo);
    border-radius: var(--radius-full);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.about-name {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.about-role {
    font-size: 0.9rem;
    color: var(--brand-indigo);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    max-width: 62ch;
}

.about-pivot {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 500;
}

.about-available {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(6,182,212,0.04));
    border-left: 3px solid var(--brand-indigo);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-primary);
    font-weight: 500;
}

.about-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.about-proof-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 250, 0.96));
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: var(--radius-md);
    padding: 1rem 1rem 1.05rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.about-proof-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.12);
}

.proof-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-indigo);
    margin-bottom: 0.4rem;
}

.about-proof-card p {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
}

.about-cta-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* ===== DIAGNOSTIC MODAL ===== */

.diag-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.diag-modal:not([hidden]) {
    opacity: 1;
    pointer-events: all;
}

.diag-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.diag-modal-panel {
    position: relative;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 1040px;
    max-height: 90vh;
    overflow: hidden;
    padding: 0;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Gradient accent strip at top */
.diag-modal-panel::before {
    content: '';
    display: block;
    height: 4px;
    background: var(--brand-gradient);
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}

.diag-modal-header {
    padding: 1.25rem 2rem 0;
}

.diag-modal .quiz-widget {
    padding: 1rem 2.5rem 1.5rem;
}

.diag-calendly {
    padding: 0.75rem 1.5rem 1.25rem;
}

.diag-calendly-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: var(--brand-indigo-light);
    color: var(--brand-indigo);
    font-size: 0.78rem;
    font-weight: 700;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    margin-top: 0.9rem;
}

.diag-calendly-link:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.22);
    transform: translateY(-1px);
}

.diag-calendly-frame-wrap {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
    min-height: min(76vh, 820px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.diag-calendly-frame {
    display: block;
    width: 100%;
    height: min(76vh, 820px);
    border: 0;
    background: transparent;
}

.diag-submit-feedback {
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    line-height: 1.55;
    border: 1px solid transparent;
}

.diag-submit-feedback[data-state="error"] {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.diag-modal:not([hidden]) .diag-modal-panel {
    transform: translateY(0) scale(1);
}

.diag-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
    z-index: 2;
}

.diag-modal-close:hover {
    background: var(--bg-color);
    color: var(--text-primary);
    border-color: var(--brand-indigo);
}

.diag-modal-header {
    margin-bottom: 0.75rem;
    padding-right: 2.5rem;
}

.diag-modal-title {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.diag-modal-meta-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.diag-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-tertiary);
}

.diag-meta-sep {
    color: var(--border-color);
    font-size: 0.8rem;
}

.diag-meta-item svg {
    color: var(--brand-indigo);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .diag-modal-panel {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 16px;
        max-height: 95vh;
    }
    .diag-modal {
        padding: 0.5rem;
        align-items: flex-end;
    }
    .diag-modal-panel {
        border-radius: 20px 20px 12px 12px;
    }

    .diag-calendly {
        padding: 0.5rem 1rem 1rem;
    }

    .diag-calendly-link {
        width: 100%;
        margin-top: 0.75rem;
    }

    .diag-calendly-frame-wrap,
    .diag-calendly-frame {
        min-height: 70vh;
        height: 70vh;
    }
}

/* ===== FOOTER ===== */

.footer {
    background: var(--text-primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-logo span {
    color: var(--brand-cyan);
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-made {
    font-style: italic;
}

/* ===== BACK TO TOP ===== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--brand-indigo);
    border-color: var(--brand-indigo);
    color: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ===== STICKY MOBILE CTA ===== */

.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    z-index: 100;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.sticky-mobile-cta.visible {
    transform: translateY(0);
}

/* ===== ANIMATIONS ===== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* n8n Chat Customization */
:root {
    --chat--color-primary: var(--brand-indigo);
    --chat--color-primary-shade-50: #eef2ff;
    --chat--color-primary-shade-100: #dbeafe;
    --chat--color-secondary: var(--brand-cyan);
    --chat--color-white: #ffffff;
    --chat--color-light: var(--accent-color);
    --chat--color-light-shade-50: #e5e5ea;
    --chat--color-medium: var(--text-secondary);
    --chat--color-dark: var(--text-primary);
    --chat--color-disabled: #c7c7cc;
    --chat--color-typing: var(--text-tertiary);
    --chat--border-radius: 12px;
    --chat--header--background: var(--brand-indigo);
    --chat--header--color: #ffffff;
    --chat--message--user--background: var(--brand-indigo);
    --chat--message--user--color: #ffffff;
    --chat--message--bot--background: var(--accent-color);
    --chat--message--bot--color: var(--text-primary);
    --chat--toggle--background: var(--brand-indigo);
    --chat--toggle--hover--background: var(--brand-indigo-hover);
    --chat--toggle--active--background: var(--brand-indigo-hover);
    --chat--toggle--color: #ffffff;
    --chat--font-family: var(--font-sans);
}

/* ===== REDUCED MOTION ===== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-in-up {
        opacity: 1;
        transform: none;
    }

    .hero-rotating-word {
        transition: none;
    }

    .narrative-scene {
        opacity: 0;
        transform: none;
    }

    .narrative-scene.active {
        opacity: 1;
        position: relative;
    }

    .narrative-scene.exiting-left,
    .narrative-scene.exiting-right {
        display: none;
    }

    .hero-visual-atmosphere,
    .hero-narrative {
        transform: none !important;
    }

    .hero-ambient-card {
        opacity: 1;
    }
}

/* ===== LEGAL MODAL ===== */

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.legal-modal:not([hidden]) {
    opacity: 1;
    pointer-events: all;
}

.legal-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.legal-modal-panel {
    position: relative;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2rem 2.5rem 2.5rem;
    transform: translateY(24px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.legal-modal:not([hidden]) .legal-modal-panel {
    transform: translateY(0) scale(1);
}

.legal-modal-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
    border-radius: 20px 20px 0 0;
}

.legal-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    padding: 0.25rem;
}

.legal-tab {
    flex: 1;
    padding: 0.55rem 1rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-sans);
}

.legal-tab.active {
    background: var(--bg-color);
    color: var(--text-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.legal-content h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-content p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--brand-indigo);
    text-decoration: none;
    font-weight: 500;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content ul {
    margin: 0.5rem 0 0.75rem 1.25rem;
    list-style: disc;
}

.legal-content li {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.legal-content em {
    color: var(--text-tertiary);
    font-style: italic;
}

@media (max-width: 640px) {
    .legal-modal-panel {
        padding: 1.5rem 1.25rem 2rem;
        max-height: 90vh;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }
}

/* ===== RESPONSIVE — TABLET ===== */

@media (max-width: 1100px) {
    .prop-approach {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    :root {
        --section-padding: 80px;
    }

    .nav-menu,
    .nav-cta {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        padding: 130px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-subtitle {
        max-width: 600px;
    }

    .hero-cta-group {
        justify-content: center;
    }

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

    .node-label {
        display: none;
    }

    .narrative-track {
        left: 28px;
        right: 28px;
    }

    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        padding: 1.5rem 0.4rem 0.85rem;
    }

    .hero-visual-atmosphere {
        inset: -36px -18px -24px;
    }

    .hero-ambient-card {
        width: 146px;
        padding: 0.78rem 0.85rem;
        border-radius: 20px;
    }

    .hero-ambient-card.card-1 {
        left: 8px;
    }

    .hero-ambient-card.card-2 {
        right: 4px;
    }

    .hero-ambient-card.card-3 {
        left: -6px;
    }

    .hero-ambient-card.card-4 {
        left: 16px;
        bottom: 72px;
    }

    .hero-ambient-card.card-5 {
        right: -4px;
        bottom: 60px;
    }


    .trust-logos {
        gap: 2rem;
    }

    .prop-approach {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

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

    .prop-differ-banner {
        padding: 1.75rem;
    }

    .pb-gains {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .pb-gains-grid {
        width: 100%;
    }

    .prop-cta {
        flex-direction: row;
    }

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

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-proof-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-proof-grid .about-proof-card:last-child {
        grid-column: span 2;
    }

    .about-portrait {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-cta-group {
        justify-content: flex-start;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

/* ===== RESPONSIVE — MOBILE ===== */

@media (max-width: 640px) {

    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section-services::before,
    .section-use-cases::before,
    .section-about::before {
        width: calc(100% - 2.5rem);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .counter {
        font-size: 1.5rem;
    }

    .hero-visual {
        max-width: 100%;
        padding: 1rem 0 0.55rem;
    }

    .hero-visual-atmosphere {
        inset: -24px -8px -14px;
    }

    .hero-ambient-card {
        width: 126px;
        padding: 0.7rem 0.76rem;
        border-radius: 18px;
    }

    .hero-ambient-card.card-2,
    .hero-ambient-card.card-5,
    .hero-ambient-beam.beam-2 {
        display: none;
    }

    .hero-ambient-card.card-1 {
        top: 2px;
        left: 8px;
    }

    .hero-ambient-card.card-3 {
        top: 102px;
        left: -2px;
    }

    .hero-ambient-card.card-4 {
        bottom: 80px;
        left: 18px;
    }

    .ambient-card-kicker {
        font-size: 0.56rem;
        margin-bottom: 0.25rem;
    }

    .ambient-card-title {
        font-size: 0.78rem;
    }

    .ambient-card-meta {
        display: none;
    }

    .narrative-caption {
        font-size: 0.85rem;
        padding: 10px 16px 4px;
    }

    .trust-logos {
        gap: 1.5rem;
    }

    .trust-logo svg {
        width: 90px;
        height: 24px;
    }

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

    .prop-differ-banner {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .pb-gains {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }

    .pb-gains-grid {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pb-gain-divider {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    }

    .prop-cta {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }

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

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

    .about-proof-grid {
        grid-template-columns: 1fr;
    }

    .about-proof-grid .about-proof-card:last-child {
        grid-column: span 1;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .quiz-card {
        padding: 1.25rem;
        min-height: 180px;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .quiz-options:has(> :nth-child(5)) {
        grid-template-columns: 1fr 1fr;
    }

    .diag-modal-header {
        padding: 1.25rem 1.25rem 0;
    }

    .diag-modal .quiz-widget {
        padding: 0.75rem 1.25rem 1.25rem;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .back-to-top {
        bottom: 5rem;
        right: 1rem;
    }

    .sticky-mobile-cta {
        display: block;
    }
}

/* ===== RESPONSIVE — SMALL MOBILE ===== */

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
    }

    .approach-step {
        padding: 1.5rem 1.25rem;
    }

    .method-card {
        padding: 1.5rem 1rem;
    }

    .uc-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }
}

