/* ============================================
   CADENCE NUMÉRIQUE — PRO MAX DESIGN SYSTEM
   ============================================ */

/* --- 1. Design Tokens --- */
:root {
    --primary: #1B4F72;
    --primary-light: #2E86C1;
    --primary-dark: #0D2F4B;
    --accent: #00B894;
    --accent-dark: #00956F;
    --accent-glow: rgba(0, 184, 148, 0.35);
    --ink: #1a1a2e;
    --muted: #5a6072;
    --line: #e2e8f0;
    --soft: #f7f9fc;
    --white: #FFFFFF;
    --warning: #F59E0B;
    --danger: #E74C3C;
    --purple: #7C3AED;
    --icon-color: var(--accent);
    --icon-bg: rgba(0, 184, 148, 0.10);
    --shadow-sm: 0 1px 3px rgba(13, 47, 75, 0.06);
    --shadow: 0 8px 30px rgba(13, 47, 75, 0.08);
    --shadow-lg: 0 20px 60px rgba(13, 47, 75, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 184, 148, 0.15);
    --shadow-card: 0 4px 16px rgba(13, 47, 75, 0.06);
    --shadow-card-hover: 0 20px 50px rgba(13, 47, 75, 0.12), 0 0 0 1px rgba(0, 184, 148, 0.08);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --font: "League Spartan", "Inter", system-ui, -apple-system, sans-serif;
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* --- 2. @property for Animated Gradients --- */
@property --mesh-x1 {
    syntax: "<percentage>";
    initial-value: 25%;
    inherits: false;
}
@property --mesh-y1 {
    syntax: "<percentage>";
    initial-value: 15%;
    inherits: false;
}
@property --mesh-x2 {
    syntax: "<percentage>";
    initial-value: 75%;
    inherits: false;
}
@property --mesh-y2 {
    syntax: "<percentage>";
    initial-value: 80%;
    inherits: false;
}
@property --mesh-x3 {
    syntax: "<percentage>";
    initial-value: 50%;
    inherits: false;
}

/* --- 3. Keyframe Animations --- */
@keyframes meshDrift {
    0%   { --mesh-x1: 20%; --mesh-y1: 10%; --mesh-x2: 80%; --mesh-y2: 85%; --mesh-x3: 45%; }
    25%  { --mesh-x1: 40%; --mesh-y1: 25%; --mesh-x2: 60%; --mesh-y2: 70%; --mesh-x3: 70%; }
    50%  { --mesh-x1: 70%; --mesh-y1: 15%; --mesh-x2: 30%; --mesh-y2: 90%; --mesh-x3: 25%; }
    75%  { --mesh-x1: 55%; --mesh-y1: 35%; --mesh-x2: 45%; --mesh-y2: 65%; --mesh-x3: 60%; }
    100% { --mesh-x1: 20%; --mesh-y1: 10%; --mesh-x2: 80%; --mesh-y2: 85%; --mesh-x3: 45%; }
}

@keyframes heroFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -40px) scale(1.05); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-40px, 30px) scale(1.08); }
    66%      { transform: translate(25px, -30px) scale(0.92); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(20px, -50px) scale(1.1); }
}

@keyframes waveform {
    0%   { height: 6px; background: rgba(0, 184, 148, 0.35); }
    100% { height: 32px; background: rgba(0, 184, 148, 0.8); }
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 184, 148, 0.2); }
    50%      { box-shadow: 0 0 40px rgba(0, 184, 148, 0.4); }
}

@keyframes progressPulse {
    0%, 100% { opacity: 0.8; }
    50%      { opacity: 1; }
}

@keyframes spinSlow {
    to { transform: rotate(360deg); }
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(0, 184, 148, 0.2); }
    50%      { border-color: rgba(0, 184, 148, 0.5); }
}

/* --- 4. Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--noise);
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

button, input, select, textarea {
    font-family: inherit;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    line-height: 1.15;
}

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

a {
    color: inherit;
}

::selection {
    background: rgba(0, 184, 148, 0.2);
    color: var(--primary-dark);
}

/* --- 5. Typography --- */
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 600; }

/* --- 6. Layout --- */
.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    z-index: 9999;
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    left: 12px;
}

/* --- 7. Scroll Progress --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
    background-size: 200% 100%;
    z-index: 9998;
    transition: width 0.1s linear;
    animation: progressPulse 3s ease-in-out infinite;
}

/* --- 8. Top Bar --- */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 51;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    min-height: 38px;
}

.top-bar a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.top-bar a:hover {
    color: var(--accent);
}

/* --- 9. Header & Nav --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(13, 47, 75, 0.08);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--transition-fast);
}

.brand:hover {
    transform: scale(1.02);
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: block;
    flex: 0 0 auto;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 8px 24px rgba(27, 79, 114, 0.18);
    transition: box-shadow var(--transition);
}

.brand:hover .brand-mark {
    box-shadow: 0 8px 24px rgba(0, 184, 148, 0.25);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: rgba(46, 134, 193, 0.06);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--accent) !important;
    color: white !important;
    margin-left: 8px;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--soft);
    margin-left: 8px;
}

.lang-switcher a {
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.lang-switcher a.active {
    background: var(--primary);
    color: white;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--primary);
    background: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.mobile-toggle:hover {
    border-color: var(--accent);
    background: rgba(0, 184, 148, 0.04);
}

/* --- 10. Hero --- */
.hero {
    min-height: 92vh;
    display: grid;
    align-items: center;
    position: relative;
    color: white;
    padding: 120px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at var(--mesh-x1) var(--mesh-y1), rgba(0, 184, 148, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 70% 50% at var(--mesh-x2) var(--mesh-y2), rgba(46, 134, 193, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at var(--mesh-x3) 50%, rgba(124, 58, 237, 0.12) 0%, transparent 70%),
        linear-gradient(160deg, #061a2e 0%, #0D2F4B 25%, #1B4F72 50%, #0D2F4B 75%, #061a2e 100%);
    animation: meshDrift 25s ease-in-out infinite;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.3;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 184, 148, 0.3);
    top: -10%;
    right: -5%;
    animation: float1 18s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(46, 134, 193, 0.25);
    bottom: 10%;
    left: -8%;
    animation: float2 22s ease-in-out infinite;
}

.hero-glow-3 {
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, 0.15);
    top: 40%;
    left: 50%;
    animation: float3 15s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

.hero-content {
    width: min(950px, calc(100% - 48px));
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.02;
    font-weight: 700;
    max-width: 1000px;
    margin: 0 auto 28px;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent), #4ecdc4, var(--accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 760px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.hero-actions, .actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    width: min(1000px, calc(100% - 48px));
    margin: 56px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.proof-item {
    padding: 22px 20px;
    background: rgba(13, 47, 75, 0.2);
    text-align: left;
    transition: background var(--transition-fast);
}

.proof-item:hover {
    background: rgba(13, 47, 75, 0.35);
}

.proof-item strong {
    display: block;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.proof-item span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.84rem;
    font-weight: 500;
}

/* --- Hero Stagger Animation --- */
.hero-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-stagger > :nth-child(1) { animation-delay: 0.15s; }
.hero-stagger > :nth-child(2) { animation-delay: 0.35s; }
.hero-stagger > :nth-child(3) { animation-delay: 0.5s; }
.hero-stagger > :nth-child(4) { animation-delay: 0.65s; }

/* --- 11. Logo Marquee --- */
.logo-band {
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.logo-band::before,
.logo-band::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.logo-band::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.logo-band::after {
    right: 0;
    background: linear-gradient(-90deg, var(--white) 0%, transparent 100%);
}

.logo-band-label {
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.logo-band-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px 40px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
    flex-shrink: 0;
}

.logo-band-grid .tool-logo,
.marquee-content .tool-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    opacity: 0.5;
    transition: opacity var(--transition), color var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-band-grid .tool-logo:hover,
.marquee-content .tool-logo:hover {
    opacity: 1;
    color: var(--primary);
}

.logo-band-grid .tool-logo i,
.marquee-content .tool-logo i {
    font-size: 1.4rem;
    width: 28px;
    text-align: center;
}

.logo-band-grid .tool-logo img,
.marquee-content .tool-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* --- 12. Sections --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section.soft {
    background: var(--soft);
}

.section.dark {
    color: white;
    background: linear-gradient(160deg, #061a2e, var(--primary-dark) 40%, var(--primary) 80%, var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.section.dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.3;
    pointer-events: none;
}

.section-head {
    max-width: 780px;
    margin-bottom: 48px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 184, 148, 0.2);
    background: rgba(0, 184, 148, 0.06);
    color: var(--accent-dark);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section.dark .tag {
    border-color: rgba(0, 184, 148, 0.3);
    background: rgba(0, 184, 148, 0.1);
    color: var(--accent);
}

.section-head h2,
.split-copy h2 {
    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section.dark .section-head h2,
.section.dark .split-copy h2 {
    color: white;
}

.section-head p,
.split-copy p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.section.dark .section-head p,
.section.dark .split-copy p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- 13. Cards --- */
.grid {
    display: grid;
    gap: 24px;
}

.grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    will-change: transform;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 184, 148, 0.15);
}

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

.card[data-tilt] {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--icon-color);
    background: var(--icon-bg);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.icon.red, .icon.green, .icon.purple {
    color: var(--icon-color);
    background: var(--icon-bg);
}

i[class^="fa-"],
i[class*=" fa-"],
.testimonial-stars {
    color: var(--icon-color) !important;
    fill: currentColor !important;
}

.icon,
.icon.red,
.icon.green,
.icon.purple,
.demo-avatar,
.demo-avatar.patient {
    color: var(--icon-color) !important;
    background: var(--icon-bg) !important;
}

.icon i,
.icon.red i,
.icon.green i,
.icon.purple i,
.demo-avatar i,
.demo-avatar.patient i {
    color: var(--icon-color) !important;
}

.hero i[class^="fa-"],
.hero i[class*=" fa-"],
.section.dark i[class^="fa-"],
.section.dark i[class*=" fa-"],
.top-bar i[class^="fa-"],
.top-bar i[class*=" fa-"],
.site-footer i[class^="fa-"],
.site-footer i[class*=" fa-"],
.visual-overlay i[class^="fa-"],
.visual-overlay i[class*=" fa-"],
.trust-badge i,
.proof-item i,
.button.primary i,
.button.secondary i,
.nav-cta i,
.scroll-top i,
.sticky-bar-cta i,
.sticky-bar-close i {
    color: var(--white) !important;
}

.button.light i,
.section.dark .button.light i,
.section.dark .card i[class^="fa-"],
.section.dark .card i[class*=" fa-"] {
    color: var(--icon-color) !important;
}

.card h3 {
    color: var(--primary-dark);
    font-size: 1.18rem;
    line-height: 1.25;
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: gap var(--transition), color var(--transition-fast);
}

.card-link:hover {
    color: var(--accent-dark);
    gap: 14px;
}

.card-link i {
    color: var(--icon-color);
}

.resource-card {
    display: flex;
    flex-direction: column;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.resource-meta span {
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(0, 184, 148, 0.08);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* --- 14. Buttons --- */
.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 28px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-spring), box-shadow var(--transition), background var(--transition-fast), border-color var(--transition-fast);
}

.button:hover {
    transform: translateY(-3px);
}

.button:active {
    transform: translateY(-1px);
}

.button.primary {
    color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 8px 25px var(--accent-glow);
}

.button.primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.button.primary:hover {
    box-shadow: 0 12px 35px rgba(0, 184, 148, 0.4);
}

.button.primary:hover::after {
    left: 125%;
}

.button.secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.button.secondary:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
}

.button.light {
    background: white;
    color: var(--primary);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.button.light:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.1);
}

/* --- 15. Split Layout --- */
.split {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.split.reverse {
    grid-template-columns: 0.9fr 1fr;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-list i {
    color: var(--icon-color);
    margin-top: 5px;
}

.visual {
    min-height: 420px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--primary-dark);
    position: relative;
}

.visual img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual:hover img {
    transform: scale(1.06);
}

.visual-overlay {
    position: absolute;
    inset: auto 20px 20px;
    padding: 22px;
    border-radius: var(--radius);
    background: rgba(13, 47, 75, 0.75);
    color: white;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition);
}

.visual:hover .visual-overlay {
    transform: translateY(-4px);
}

.visual-overlay strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

/* --- 16. Platform Grid --- */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-lg);
}

.platform-card {
    padding: 30px;
    border-right: 1px solid var(--line);
    position: relative;
    transition: background var(--transition);
}

.platform-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.platform-card:hover {
    background: rgba(0, 184, 148, 0.02);
}

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

.platform-card:last-child {
    border-right: 0;
}

.platform-card h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.platform-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.integration-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.integration-pills span {
    padding: 6px 12px;
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(0, 184, 148, 0.08);
    font-size: 0.73rem;
    font-weight: 700;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.integration-pills span:hover {
    background: rgba(0, 184, 148, 0.15);
    transform: translateY(-1px);
}

/* --- 17. Process Timeline --- */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    counter-reset: step;
    position: relative;
}

.process::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--line);
    border-radius: 2px;
    z-index: 0;
}

.process::after {
    content: "";
    position: absolute;
    top: 45px;
    left: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    border-radius: 2px;
    z-index: 1;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.process.animated::after {
    width: 80%;
}

.process-step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    counter-increment: step;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line);
    position: relative;
    z-index: 2;
    margin: 0 8px;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.process-step::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(27, 79, 114, 0.25);
}

.process-step h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- 18. Demo Player --- */
.demo-player {
    max-width: 760px;
    margin: 0 auto;
}

.demo-player-inner {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.demo-player-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 36px;
    background: linear-gradient(160deg, #061a2e, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.demo-player-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.3;
    pointer-events: none;
}

.demo-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 184, 148, 0.25);
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.demo-avatar.patient {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.demo-waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 40px;
}

.demo-waveform span {
    width: 3px;
    border-radius: 3px;
    background: rgba(0, 184, 148, 0.4);
    height: 8px;
    transition: height 0.15s;
}

.demo-waveform.active span {
    animation: waveform 0.6s ease-in-out infinite alternate;
}

.demo-waveform.active span:nth-child(2n) { animation-delay: 0.1s; }
.demo-waveform.active span:nth-child(3n) { animation-delay: 0.2s; }
.demo-waveform.active span:nth-child(5n) { animation-delay: 0.3s; }
.demo-waveform.active span:nth-child(7n) { animation-delay: 0.15s; }

.demo-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line);
}

.demo-play-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform var(--transition-spring), box-shadow var(--transition);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.demo-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0, 184, 148, 0.4);
}

.demo-progress {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: var(--line);
    overflow: hidden;
    cursor: pointer;
}

.demo-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    transition: width 0.3s linear;
}

.demo-time {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.demo-transcript {
    padding: 22px 28px;
    display: grid;
    gap: 12px;
    max-height: 240px;
    overflow-y: auto;
}

.demo-line {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--ink);
    transition: transform var(--transition-fast);
}

.demo-line:hover {
    transform: translateX(4px);
}

.demo-line.ai {
    background: rgba(0, 184, 148, 0.06);
    border-left: 3px solid var(--accent);
}

.demo-line.patient {
    background: var(--soft);
    border-left: 3px solid var(--line);
}

.demo-line strong {
    color: var(--primary-dark);
    font-size: 0.78rem;
    display: block;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.demo-note {
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 18px;
}

/* --- 19. Industries --- */
.industry-card {
    display: flex;
    flex-direction: column;
}

.industry-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 10px 0 18px;
    padding: 0;
    flex: 1;
}

.industry-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
}

.industry-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.industry-result {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 20. Comparison --- */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.compare-col {
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--line);
    transition: transform var(--transition), box-shadow var(--transition);
}

.compare-col:hover {
    transform: translateY(-4px);
}

.compare-col.before {
    background: rgba(231, 76, 60, 0.03);
    border-color: rgba(231, 76, 60, 0.15);
}

.compare-col.before:hover {
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.08);
}

.compare-col.after {
    background: rgba(0, 184, 148, 0.03);
    border-color: rgba(0, 184, 148, 0.2);
}

.compare-col.after:hover {
    box-shadow: 0 12px 40px rgba(0, 184, 148, 0.08);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line);
}

.compare-col.before .compare-header {
    color: var(--danger);
    border-color: rgba(231, 76, 60, 0.15);
}

.compare-col.after .compare-header {
    color: var(--accent-dark);
    border-color: rgba(0, 184, 148, 0.2);
}

.compare-col ul {
    list-style: none;
    display: grid;
    gap: 14px;
    padding: 0;
}

.compare-col li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: background var(--transition-fast);
}

.compare-col li:hover {
    background: rgba(0, 0, 0, 0.02);
}

.compare-col.before li i {
    color: var(--danger);
    margin-top: 3px;
    flex-shrink: 0;
}

.compare-col.after li i {
    color: var(--accent-dark);
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- 21. Metrics --- */
.metric-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.metric {
    padding: 32px;
    background: rgba(13, 47, 75, 0.2);
    backdrop-filter: blur(6px);
    transition: background var(--transition-fast);
}

.metric:hover {
    background: rgba(13, 47, 75, 0.35);
}

.metric strong {
    display: block;
    color: var(--accent);
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 10px;
    font-weight: 700;
}

/* --- 22. Testimonials --- */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-track > .testimonial {
    flex: 0 0 calc(33.333% - 16px);
    margin: 0 12px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.2);
}

.testimonial {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.testimonial::before {
    content: "\201C";
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(0, 184, 148, 0.08);
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-metric {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 184, 148, 0.08);
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 700;
    align-self: flex-start;
}

.testimonial-metric span {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.testimonial-stars {
    color: var(--icon-color);
    font-size: 1.05rem;
    letter-spacing: 3px;
}

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

.testimonial-author {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.testimonial-author strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.92rem;
}

.testimonial-author span {
    color: var(--muted);
    font-size: 0.82rem;
}

/* --- 23. Calculator --- */
.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.calc-box {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-card);
}

.range-row {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.range-row:last-child {
    margin-bottom: 0;
}

.range-row label {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-row label span {
    color: var(--accent-dark);
    font-weight: 800;
    font-size: 1rem;
}

.range-row input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--line);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.range-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 3px 12px var(--accent-glow);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.range-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.4);
}

.range-row input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 3px 12px var(--accent-glow);
    cursor: pointer;
}

.calc-result {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.result-tile {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
    transition: transform var(--transition);
}

.result-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.2;
    pointer-events: none;
}

.result-tile:hover {
    transform: translateY(-2px);
}

.result-tile.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.result-tile span {
    font-size: 0.82rem;
    opacity: 0.85;
    font-weight: 500;
}

.result-tile strong {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 8px 0 4px;
}

.result-tile small {
    font-size: 0.82rem;
    opacity: 0.7;
}

/* --- 24. Analytics Panel --- */
.analytics-panel {
    align-self: stretch;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-card);
}

.analytics-panel h3 {
    color: var(--primary-dark);
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.analytics-panel p {
    color: var(--muted);
    margin-bottom: 24px;
}

.metric-list {
    display: grid;
    gap: 10px;
}

.metric-list span {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--primary-dark);
    background: var(--soft);
    font-weight: 700;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.metric-list span:hover {
    border-color: rgba(0, 184, 148, 0.2);
    background: rgba(0, 184, 148, 0.04);
}

/* --- 25. FAQ --- */
.faq {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 184, 148, 0.2);
}

.faq-item.open {
    border-color: rgba(0, 184, 148, 0.25);
    box-shadow: 0 8px 30px rgba(0, 184, 148, 0.06);
}

.faq-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border: 0;
    background: white;
    color: var(--primary-dark);
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-button:hover {
    color: var(--accent-dark);
}

.faq-button i {
    color: var(--accent) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-item.open .faq-button i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    padding: 0 24px;
    color: var(--muted);
    opacity: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.faq-item.open .faq-content {
    max-height: 300px;
    padding: 0 24px 24px;
    opacity: 1;
}

/* --- 26. Pricing --- */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    padding: 36px;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.price-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 184, 148, 0.1);
    position: relative;
    z-index: 1;
    transform: scale(1.02);
}

.price-card.featured:hover {
    transform: scale(1.02) translateY(-6px);
}

.badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(0, 184, 148, 0.08);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.price {
    color: var(--primary);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price small {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.price-setup {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
}

.pricing-note {
    margin-top: 32px;
    text-align: center;
    color: var(--muted);
    font-size: 0.86rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.price-card ul {
    display: grid;
    gap: 12px;
    list-style: none;
    margin-bottom: 10px;
    flex: 1;
}

.price-card .button {
    margin-top: auto;
}

.price-card li {
    display: flex;
    gap: 12px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.price-card li i {
    color: var(--icon-color);
    margin-top: 4px;
}

/* --- 27. Contact Form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-item i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--icon-color);
    background: var(--icon-bg);
    flex-shrink: 0;
}

.form {
    display: grid;
    gap: 18px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--soft);
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field {
    display: grid;
    gap: 8px;
}

.field label {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.88rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.1);
}

.form-message {
    display: none;
    padding: 16px 20px;
    border-radius: var(--radius);
    color: var(--accent-dark);
    background: rgba(0, 184, 148, 0.08);
    font-weight: 600;
    border: 1px solid rgba(0, 184, 148, 0.15);
}

.form-message.visible {
    display: block;
    animation: slideInUp 0.4s ease;
}

.form-message.error {
    color: var(--danger);
    background: rgba(231, 76, 60, 0.06);
    border-color: rgba(231, 76, 60, 0.15);
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.consent-field input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}

.consent-field label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.55;
}

.consent-field a {
    color: var(--primary);
    text-decoration: underline;
}

/* --- 28. Legal --- */
.legal-content h2 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 14px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.7;
}

.legal-content ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
    padding-left: 0;
}

.legal-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}

.legal-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.legal-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* --- 29. Footer --- */
.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background: var(--ink);
    padding: 64px 0 32px;
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light), var(--accent));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 40px;
}

.footer-grid h3,
.footer-grid h4 {
    color: white;
    margin-bottom: 14px;
}

.footer-grid p {
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    margin: 10px 0;
    font-size: 0.92rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-grid a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    margin: 0;
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* --- 30. Sticky Bar --- */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 47, 75, 0.92);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 184, 148, 0.2);
    box-shadow: 0 -8px 30px rgba(13, 47, 75, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sticky-bar.hidden {
    transform: translateY(100%);
}

.sticky-bar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.sticky-bar-text {
    flex: 1;
    color: white;
}

.sticky-bar-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.sticky-bar-text span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
}

.sticky-bar-cta {
    flex-shrink: 0;
    min-height: 42px;
    font-size: 0.88rem;
}

.sticky-bar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.sticky-bar-close:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

/* --- 31. Scroll Top --- */
.scroll-top {
    position: fixed;
    bottom: 85px;
    right: 24px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: white;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background var(--transition-fast), color var(--transition-fast);
}

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

.scroll-top:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(27, 79, 114, 0.25);
}

/* --- 32. Trust Badges --- */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    position: relative;
    z-index: 2;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.trust-badge i {
    color: var(--accent);
    font-size: 0.82rem;
}

/* --- 33. Service Tabs / Panels --- */
.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.service-tab {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.service-tab:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.service-tab.active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.service-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-lg);
}

.service-panel-info {
    padding: 36px;
    background: linear-gradient(160deg, #061a2e, var(--primary-dark), var(--primary));
    color: white;
    position: relative;
    overflow: hidden;
}

.service-panel-info::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.2;
    pointer-events: none;
}

.service-panel-info p {
    color: rgba(255, 255, 255, 0.82);
}

.service-panel-grid {
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.mini {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.mini:hover {
    border-color: rgba(0, 184, 148, 0.2);
    transform: translateY(-2px);
}

.mini strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.mini span {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- 34. Floating Decorations --- */
.section-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.08;
}

.section-decoration-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: -100px;
    right: -100px;
}

.section-decoration-2 {
    width: 250px;
    height: 250px;
    background: var(--primary-light);
    bottom: -80px;
    left: -80px;
}

/* --- 35. Reveals & Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.reveal-left {
    transform: translateX(-28px);
}

.reveal.reveal-left.visible {
    transform: translateX(0);
}

.reveal.reveal-right {
    transform: translateX(28px);
}

.reveal.reveal-right.visible {
    transform: translateX(0);
}

.reveal.reveal-scale {
    transform: scale(0.92);
}

.reveal.reveal-scale.visible {
    transform: scale(1);
}

.grid .reveal:nth-child(1) { transition-delay: 0s; }
.grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.grid .reveal:nth-child(6) { transition-delay: 0.4s; }
.grid .reveal:nth-child(7) { transition-delay: 0.48s; }
.grid .reveal:nth-child(8) { transition-delay: 0.56s; }

/* --- 36. Focus Styles --- */
.button:focus-visible,
.nav-cta:focus-visible,
.main-nav a:focus-visible,
.faq-button:focus-visible,
.mobile-toggle:focus-visible,
.scroll-top:focus-visible,
.demo-play-btn:focus-visible,
.carousel-dot:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* --- 37. Responsive ≤1020px --- */
@media (max-width: 1020px) {
    .main-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 76px;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a::after {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-cta {
        margin-left: 0;
    }

    .grid.four,
    .grid.three,
    .pricing,
    .process,
    .platform-grid,
    .hero-proof {
        grid-template-columns: repeat(2, 1fr);
    }

    .process::before,
    .process::after {
        display: none;
    }

    .process {
        gap: 16px;
    }

    .process-step {
        margin: 0;
    }

    .platform-card:nth-child(2n) {
        border-right: 0;
    }

    .platform-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .split,
    .split.reverse,
    .service-panel,
    .calculator,
    .contact-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .calc-result {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-track > .testimonial {
        flex: 0 0 calc(50% - 16px);
    }
}

/* --- 38. Responsive ≤640px --- */
@media (max-width: 640px) {
    .top-bar-inner {
        justify-content: center;
        gap: 16px;
        font-size: 0.76rem;
    }

    .container {
        width: min(100% - 32px, 1200px);
    }

    .brand {
        font-size: 1rem;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: 85vh;
        padding: 100px 0 52px;
    }

    .hero-actions,
    .actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .grid.four,
    .grid.three,
    .grid.two,
    .hero-proof,
    .platform-grid,
    .service-panel-grid,
    .metric-band,
    .calc-result,
    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 72px 0;
    }

    .card,
    .price-card,
    .form,
    .calc-box {
        padding: 24px;
    }

    .proof-item {
        padding: 18px;
        text-align: center;
    }

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

    .platform-card,
    .platform-card:nth-child(2n) {
        border-right: 0;
    }

    .platform-card:nth-child(-n + 3) {
        border-bottom: 1px solid var(--line);
    }

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

    .sticky-bar-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sticky-bar-text span {
        display: none;
    }

    .sticky-bar-cta {
        width: auto;
        flex: 1;
    }

    .scroll-top {
        bottom: 78px;
        right: 16px;
    }

    .testimonial-track > .testimonial {
        flex: 0 0 calc(100% - 16px);
    }

    .logo-band::before,
    .logo-band::after {
        width: 40px;
    }

    .faq-button {
        padding: 18px 20px;
        font-size: 0.92rem;
    }

    .hero-glow-1 {
        width: 250px;
        height: 250px;
    }

    .hero-glow-2 {
        width: 200px;
        height: 200px;
    }

    .hero-glow-3 {
        width: 150px;
        height: 150px;
    }
}

/* --- 39. Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-stagger > * {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .hero {
        animation: none;
    }

    .marquee-track {
        animation: none;
    }

    .hero-glow {
        animation: none;
    }
}

/* --- 40. Page Load Transition --- */
body {
    opacity: 0;
    animation: pageLoad 0.6s ease 0.1s forwards;
}

@keyframes pageLoad {
    to { opacity: 1; }
}

/* ============================================
   FEATURES EXCELLENCE — 8 COMPOSANTS PRO
   ============================================ */

/* --- 41. Vapi Demo Widget --- */
@keyframes vapiPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,184,148,0.5); }
    50% { box-shadow: 0 0 0 14px rgba(0,184,148,0); }
}

.vapi-fab {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px var(--accent-glow);
    animation: vapiPulse 3s ease-in-out infinite;
    transition: transform var(--transition-spring), box-shadow var(--transition);
}

.vapi-fab:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(0,184,148,0.45);
    animation: none;
}

.vapi-fab i { font-size: 1.1rem; }

.vapi-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(6,26,46,0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.vapi-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.vapi-modal {
    width: min(420px, calc(100% - 32px));
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.vapi-overlay.open .vapi-modal {
    transform: translateY(0) scale(1);
}

.vapi-modal-header {
    padding: 28px 28px 20px;
    background: linear-gradient(160deg, #061a2e, var(--primary));
    color: white;
    text-align: center;
    position: relative;
}

.vapi-modal-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.2;
    pointer-events: none;
}

.vapi-modal-header h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 6px;
    position: relative;
}

.vapi-modal-header p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    position: relative;
}

.vapi-modal-body {
    padding: 32px 28px;
    text-align: center;
}

.vapi-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,184,148,0.12), rgba(46,134,193,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
}

.vapi-status {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 24px;
    min-height: 24px;
}

.vapi-status.active {
    color: var(--accent-dark);
    font-weight: 600;
}

.vapi-waveform-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 50px;
    margin-bottom: 24px;
}

.vapi-waveform-lg span {
    width: 4px;
    border-radius: 4px;
    background: var(--line);
    height: 10px;
}

.vapi-waveform-lg.active span {
    animation: waveform 0.5s ease-in-out infinite alternate;
}

.vapi-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.vapi-call-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform var(--transition-spring), box-shadow var(--transition);
}

.vapi-call-btn.start {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 6px 20px var(--accent-glow);
}

.vapi-call-btn.start:hover {
    transform: scale(1.1);
}

.vapi-call-btn.end {
    background: linear-gradient(135deg, var(--danger), #c0392b);
    color: white;
    box-shadow: 0 6px 20px rgba(231,76,60,0.3);
}

.vapi-call-btn.end:hover {
    transform: scale(1.1);
}

.vapi-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 1;
    transition: background var(--transition-fast);
}

.vapi-close:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

.vapi-modal-footer {
    padding: 0 28px 20px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
}

/* --- 42. Chat IA Widget --- */
@keyframes chatBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.chat-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 200;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(27,79,114,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-spring), box-shadow var(--transition);
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(27,79,114,0.4);
}

.chat-fab .chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid white;
    animation: chatBounce 2s ease-in-out infinite;
}

.chat-panel {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 201;
    width: 380px;
    max-height: 520px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.chat-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-panel-header {
    padding: 18px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.chat-panel-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,184,148,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.chat-panel-header strong {
    font-size: 0.95rem;
    display: block;
}

.chat-panel-header span {
    font-size: 0.76rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.chat-panel-close {
    margin-left: auto;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 240px;
    max-height: 340px;
    background: var(--soft);
}

.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.88rem;
    line-height: 1.55;
    animation: slideInUp 0.3s ease;
}

.chat-msg.ai {
    background: white;
    color: var(--ink);
    border: 1px solid var(--line);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-msg.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-typing {
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    align-self: flex-start;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    border-bottom-left-radius: 4px;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    background: var(--muted);
    border-radius: 50%;
    animation: chatBounce 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

.chat-input-area {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    background: white;
    flex-shrink: 0;
}

.chat-input-area input {
    flex: 1;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font: inherit;
    font-size: 0.88rem;
    color: var(--ink);
    background: var(--soft);
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-input-area input:focus {
    border-color: var(--accent);
}

.chat-send-btn {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.chat-send-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.06);
}

/* --- 43. Configurateur Avancé --- */
.configurator {
    max-width: 860px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.config-steps-bar {
    display: flex;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    padding: 0;
}

.config-step-indicator {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    position: relative;
    transition: color var(--transition-fast);
}

.config-step-indicator.active {
    color: var(--accent-dark);
    background: white;
}

.config-step-indicator.completed {
    color: var(--accent);
}

.config-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--line);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.config-step-indicator.active .config-step-num {
    background: var(--accent);
    color: white;
}

.config-step-indicator.completed .config-step-num {
    background: var(--accent);
    color: white;
}

.config-body {
    padding: 36px;
}

.config-panel {
    display: none;
}

.config-panel.active {
    display: block;
    animation: slideInUp 0.35s ease;
}

.config-panel h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.config-panel > p {
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 0.92rem;
}

.config-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.config-option {
    padding: 20px;
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
    text-align: left;
}

.config-option:hover {
    border-color: rgba(0,184,148,0.3);
    background: rgba(0,184,148,0.02);
    transform: translateY(-2px);
}

.config-option.selected {
    border-color: var(--accent);
    background: rgba(0,184,148,0.04);
}

.config-option strong {
    display: block;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.config-option span {
    color: var(--muted);
    font-size: 0.84rem;
}

.config-option i {
    font-size: 1.4rem;
    margin-bottom: 10px;
    display: block;
}

.config-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.config-tool-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.config-tool-tag:hover {
    border-color: rgba(0,184,148,0.3);
}

.config-tool-tag.selected {
    border-color: var(--accent);
    background: rgba(0,184,148,0.06);
    color: var(--accent-dark);
}

.config-tool-tag i {
    font-size: 0.7rem;
    color: var(--line);
}

.config-tool-tag.selected i {
    color: var(--accent) !important;
}

.config-result-card {
    padding: 32px;
    background: linear-gradient(160deg, #061a2e, var(--primary));
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.config-result-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.2;
    pointer-events: none;
}

.config-result-card h3 {
    color: white;
    position: relative;
}

.config-result-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin: 16px 0 8px;
    position: relative;
}

.config-result-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 24px 0;
    position: relative;
}

.config-result-items span {
    padding: 10px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
}

.config-nav {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.config-nav .button {
    min-width: 140px;
}

/* --- 44. Live Metrics --- */
.live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: relative;
}

.live-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
    animation: vapiPulse 2s ease-in-out infinite;
}

.metric-live {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(0,184,148,0.04);
    border: 1px solid rgba(0,184,148,0.12);
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
}

.metric-live strong {
    font-size: 1.4rem;
    color: var(--accent-dark);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.metric-live span {
    color: var(--muted);
    font-size: 0.85rem;
}

/* --- 45. Article Layout --- */
.article-hero {
    padding: 60px 0 40px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta .tag { margin-bottom: 0; }

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.article-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    padding: 48px 0;
}

.article-content {
    max-width: 720px;
}

.article-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.article-content h2:first-child { margin-top: 0; }

.article-content p {
    color: var(--muted);
    margin-bottom: 18px;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    color: var(--muted);
    margin-bottom: 18px;
    padding-left: 24px;
    line-height: 1.8;
}

.article-content li { margin-bottom: 8px; }

.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    margin: 24px 0;
    background: rgba(0,184,148,0.04);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--muted);
    font-style: italic;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.toc {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
}

.toc h4 {
    color: var(--primary-dark);
    font-size: 0.88rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.toc a {
    display: block;
    padding: 8px 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color var(--transition-fast);
}

.toc a:last-child { border-bottom: none; }
.toc a:hover { color: var(--accent-dark); }

.related-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

/* --- 46. Case Study Layout --- */
.case-hero {
    padding: 80px 0 60px;
    background: linear-gradient(160deg, #061a2e, var(--primary-dark), var(--primary));
    color: white;
    position: relative;
    overflow: hidden;
}

.case-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--noise);
    background-size: 256px;
    opacity: 0.2;
    pointer-events: none;
}

.case-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 36px;
    background: rgba(255,255,255,0.08);
}

.case-stat {
    padding: 24px;
    background: rgba(13,47,75,0.2);
    text-align: center;
}

.case-stat strong {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.case-stat span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.case-body {
    padding: 64px 0;
}

.case-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}

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

.case-section h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-section h2 i {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.case-quote {
    padding: 32px;
    background: var(--soft);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent);
    margin: 32px 0;
    position: relative;
}

.case-quote::before {
    content: "\201C";
    font-size: 4rem;
    color: rgba(0,184,148,0.12);
    font-family: Georgia, serif;
    position: absolute;
    top: 8px;
    left: 20px;
    line-height: 1;
}

.case-quote blockquote {
    font-style: italic;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.case-quote cite {
    color: var(--primary-dark);
    font-weight: 700;
    font-style: normal;
    font-size: 0.9rem;
}

/* --- 47. Booking Embed --- */
.booking-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.booking-tab {
    flex: 1;
    padding: 14px;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background: white;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--muted);
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.booking-tab.active {
    border-color: var(--accent);
    color: var(--accent-dark);
    background: rgba(0,184,148,0.04);
}

.booking-tab i { margin-right: 8px; }

.booking-panel { display: none; }
.booking-panel.active { display: block; }

.booking-embed {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 500px;
    background: white;
}

.booking-embed iframe {
    width: 100%;
    height: 560px;
    border: none;
}

/* --- 48. Dashboard --- */
.dash-login {
    max-width: 440px;
    margin: 0 auto;
    padding: 48px 36px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.dash-login h2 {
    text-align: center;
    margin-bottom: 8px;
}

.dash-login > p {
    text-align: center;
    color: var(--muted);
    margin-bottom: 28px;
    font-size: 0.92rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.dash-stat {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    transition: transform var(--transition), box-shadow var(--transition);
}

.dash-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.dash-stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.dash-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.dash-stat-change {
    font-size: 0.78rem;
    font-weight: 700;
}

.dash-stat-change.up { color: var(--accent); }
.dash-stat-change.down { color: var(--danger); }

.dash-chart {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    min-height: 300px;
}

.dash-chart h3 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.dash-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 200px;
    padding-top: 20px;
    border-bottom: 2px solid var(--line);
}

.dash-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent), rgba(0,184,148,0.4));
    border-radius: 4px 4px 0 0;
    min-height: 10px;
    transition: height 0.6s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}

.dash-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--muted);
    white-space: nowrap;
}

.dash-activity {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
}

.dash-activity h3 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.dash-activity-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}

.dash-activity-item:last-child { border-bottom: none; }

.dash-activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.dash-activity-text {
    flex: 1;
}

.dash-activity-text strong {
    color: var(--primary-dark);
    font-size: 0.88rem;
    display: block;
    margin-bottom: 2px;
}

.dash-activity-text span {
    color: var(--muted);
    font-size: 0.8rem;
}

.dash-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media (max-width: 1020px) {
    .config-options { grid-template-columns: 1fr; }
    .config-tools-grid { grid-template-columns: repeat(2, 1fr); }
    .config-result-items { grid-template-columns: 1fr; }
    .article-body { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .case-stats-bar { grid-template-columns: 1fr; }
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-layout { grid-template-columns: 1fr; }
    .chat-panel { left: 16px; right: 16px; width: auto; bottom: 84px; }
    .config-step-indicator span:not(.config-step-num) { display: none; }
}

@media (max-width: 640px) {
    .vapi-fab { bottom: 80px; right: 16px; padding: 0 16px; font-size: 0.82rem; min-height: 46px; }
    .vapi-fab span { display: none; }
    .chat-fab { bottom: 16px; left: 16px; width: 48px; height: 48px; }
    .chat-panel { bottom: 74px; max-height: 440px; }
    .config-options { grid-template-columns: 1fr; }
    .config-tools-grid { grid-template-columns: repeat(2, 1fr); }
    .config-body { padding: 24px; }
    .dash-grid { grid-template-columns: 1fr; }
    .related-articles { grid-template-columns: 1fr; }
    .booking-embed iframe { height: 480px; }
}

/* ============================================
   ÉPURATION — masquer les icônes décoratives
   On ne garde que les icônes nécessaires au
   fonctionnement (menu, chat, agent IA, démo,
   fermeture, FAQ). Tout le reste est masqué.
   ============================================ */
i.fa-solid,
i.fa-regular,
i.fa-brands,
i[class^="fa-"],
i[class*=" fa-"] {
    display: none !important;
}

/* Icônes fonctionnelles conservées */
.mobile-toggle i,
.chat-fab i,
.chat-send-btn i,
.chat-panel-close i,
.chat-panel-avatar i,
.vapi-fab i,
.vapi-close i,
.vapi-call-btn i,
.scroll-top i,
.sticky-bar-close i,
.demo-play-btn i,
.faq-button i {
    display: inline-flex !important;
}
