/* ==========================================================================
   DEPOSIUM Design System
   Complete CSS for deposium.ai
   ========================================================================== */

/* Fonts loaded via <link> in header.php — no @import needed */

/* ==========================================================================
   1. CSS VARIABLES
   ========================================================================== */

:root {
    /* Brand palette — deposium_solid */
    --brand-teal: #55c7cc;
    --brand-teal-rgb: 85, 199, 204;
    --brand-teal-dark: #3ba8ad;
    --brand-teal-light: #7dd8dc;

    /* Backgrounds */
    --bg-primary: #0f172a;
    --bg-surface: #1e293b;
    --bg-card: #334155;
    --bg-elevated: #3f506a;

    /* Text */
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --text-faint: #64748b;

    /* Borders */
    --border-color: #334155;
    --border-light: #475569;

    /* Semantic */
    --color-success: #4ade80;
    --color-error: #f87171;
    --color-warning: #fbbf24;
    --color-info: #60a5fa;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    --shadow-teal: 0 0 20px rgba(85, 199, 204, 0.15);
    --shadow-teal-lg: 0 0 40px rgba(85, 199, 204, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-navbar: 500;
    --z-overlay: 900;
    --z-modal: 1000;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;

    /* Navbar */
    --navbar-height: 72px;
}


/* ==========================================================================
   2. CSS RESET
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

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

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ==========================================================================
   3. BASE TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
    font-weight: 500;
}

p {
    margin-bottom: var(--space-4);
    color: var(--text-muted);
    line-height: 1.7;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--brand-teal);
    transition: color var(--transition-base);
}

a:hover {
    color: var(--brand-teal-light);
}

strong, b {
    font-weight: 600;
    color: var(--text-primary);
}

em, i {
    font-style: italic;
}

small {
    font-size: var(--font-size-sm);
}

blockquote {
    border-left: 2px solid rgba(85, 199, 204, 0.3);
    padding: var(--space-5) var(--space-6);
    margin: var(--space-8) 0;
    color: var(--text-muted);
    font-style: italic;
    background: rgba(85, 199, 204, 0.03);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

code {
    background-color: var(--bg-card);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: var(--space-8) 0;
}


/* ==========================================================================
   4. CONTAINER
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-sm {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.container-xs {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}


/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.65rem 1.5rem;
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base),
        transform var(--transition-fast);
    white-space: nowrap;
    user-select: none;
}

.btn:focus-visible {
    outline: 2px solid var(--brand-teal);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

/* Primary — teal background */
.btn-primary {
    background-color: var(--brand-teal);
    color: var(--bg-primary);
    border-color: var(--brand-teal);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--brand-teal-dark);
    border-color: var(--brand-teal-dark);
    box-shadow: var(--shadow-teal);
}

/* Outline — teal border */
.btn-outline {
    background-color: transparent;
    color: var(--brand-teal);
    border-color: var(--brand-teal);
}

.btn-outline:hover {
    background-color: rgba(var(--brand-teal-rgb), 0.1);
    color: var(--brand-teal-light);
    border-color: var(--brand-teal-light);
}

/* Secondary — surface bg */
.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-elevated);
    border-color: var(--border-light);
}

/* Ghost button */
.btn-ghost {
    background-color: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

/* Size variants */
.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: var(--font-size-xs);
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: var(--font-size-base);
    border-radius: var(--radius-lg);
}

/* Full width */
.btn-block {
    width: 100%;
}


/* ==========================================================================
   6. NAVBAR
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    height: var(--navbar-height);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.82) 100%);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(85, 199, 204, 0.06);
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.96);
    border-bottom-color: rgba(85, 199, 204, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(85, 199, 204, 0.04);
}

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

.logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    text-decoration: none;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    transition: color var(--transition-base);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-teal), transparent);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

.logo:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.logo-img {
    width: 28px;
    height: auto;
    transition: filter var(--transition-base);
}

.logo:hover {
    color: var(--brand-teal);
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 4px rgba(85, 199, 204, 0.35));
}

.logo-mark {
    color: var(--brand-teal);
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-1);
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-md);
    letter-spacing: 0.01em;
    transition:
        color var(--transition-base),
        background-color var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background-color: rgba(85, 199, 204, 0.04);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-teal), transparent);
    border-radius: var(--radius-full);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: var(--brand-teal);
    font-weight: 500;
}

.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* SOS Vibe Code nav button */
.nav-sos-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(251, 191, 36, 0.08);
    color: var(--color-warning);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.nav-sos-btn:hover {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.45);
    color: #fcd34d;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.12);
}

.nav-sos-icon {
    font-size: 0.85em;
}

@media (max-width: 1023px) {
    .nav-sos-btn {
        display: none;
    }
}

.mobile-nav-link-sos {
    color: var(--color-warning) !important;
    font-weight: 600 !important;
    border: 1px solid var(--color-warning) !important;
    background: rgba(251, 191, 36, 0.1) !important;
}

/* Nav right-side actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.lang-flag {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    display: block;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-switch:hover {
    border-color: rgba(85, 199, 204, 0.3);
    background: rgba(85, 199, 204, 0.06);
    box-shadow: 0 0 8px rgba(85, 199, 204, 0.1);
}

.lang-switch-mobile {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.lang-switch-mobile .lang-flag {
    width: 20px;
    height: 14px;
}

.login-btn {
    display: none;
    padding: var(--space-2) var(--space-5);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--brand-teal), #7edce0);
    border: none;
    border-radius: var(--radius-full);
    transition:
        box-shadow var(--transition-base),
        transform var(--transition-base);
    text-decoration: none;
}

.login-btn:hover {
    color: var(--bg-primary);
    box-shadow: 0 0 16px rgba(85, 199, 204, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* Demo CTA button in navbar */
.demo-btn {
    display: none;
    padding: var(--space-2) var(--space-5);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.06);
    border: 1px solid rgba(85, 199, 204, 0.2);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition:
        background var(--transition-base),
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.demo-btn:hover {
    background: rgba(85, 199, 204, 0.12);
    border-color: rgba(85, 199, 204, 0.4);
    color: #7edce0;
    box-shadow: 0 0 12px rgba(85, 199, 204, 0.12);
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: background-color var(--transition-base);
}

.hamburger:hover {
    background: rgba(85, 199, 204, 0.06);
}

.hamburger.active {
    background: rgba(85, 199, 204, 0.08);
}

.hamburger.active span {
    background-color: var(--brand-teal);
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: var(--radius-full);
    transition:
        transform var(--transition-base),
        opacity var(--transition-base);
}

.hamburger span:nth-child(1) {
    margin-bottom: 5px;
}

.hamburger span:nth-child(3) {
    margin-top: 5px;
}

/* Hamburger active state (X) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: var(--navbar-height);
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-left: 1px solid rgba(85, 199, 204, 0.08);
    z-index: var(--z-overlay);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: var(--space-6);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: calc(var(--z-overlay) - 1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu .mobile-nav-link {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition:
        color var(--transition-base),
        padding-left var(--transition-base);
}

.mobile-menu .mobile-nav-link:hover,
.mobile-menu .mobile-nav-link.active {
    color: var(--brand-teal);
    padding-left: var(--space-2);
}

.mobile-menu .mobile-nav-link.active {
    border-bottom-color: rgba(85, 199, 204, 0.2);
    font-weight: 500;
}

.mobile-menu .mobile-menu-actions {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* Spacer to offset fixed navbar */
.navbar-spacer {
    height: var(--navbar-height);
}

/* Top banner — coming soon strip */
.top-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    background: rgba(85, 199, 204, 0.08);
    border-bottom: 1px solid rgba(85, 199, 204, 0.15);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: center;
}

.top-banner a {
    color: var(--brand-teal);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.top-banner a:hover {
    text-decoration: underline;
}

.top-banner-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 var(--space-1);
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.top-banner-close:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .top-banner {
        flex-wrap: wrap;
        gap: var(--space-2);
        font-size: 0.75rem;
    }
}


/* ==========================================================================
   7. HERO SECTIONS
   ========================================================================== */

.hero {
    position: relative;
    padding: var(--space-24) 0 var(--space-20);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        circle,
        rgba(var(--brand-teal-rgb), 0.08) 0%,
        rgba(var(--brand-teal-rgb), 0.03) 30%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

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

.hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    line-height: 1.12;
}

/* Hero layout — pre-title / logo+brand inline / post-title */
.hero-pre-title {
    font-size: clamp(1.25rem, 2.8vw, 1.7rem);
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-5);
    white-space: nowrap;
}

.hero-logo-inline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
}

.hero-logo-inline .hero-logo-animated {
    margin-bottom: 0;
}

.hero-logo-inline .hero-logo-img {
    width: clamp(44px, 7vw, 64px);
}

.hero-logo-inline .hero-logo-glow {
    width: 80px;
    height: 80px;
}

.hero h1.hero-brand-text {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--brand-teal);
    text-shadow: 0 0 30px rgba(var(--brand-teal-rgb), 0.35);
    line-height: 1;
    margin: 0;
}

.hero h1.hero-brand-text sup {
    font-size: 0.45em;
    vertical-align: super;
    color: var(--brand-teal);
}

.hero-post-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--brand-teal);
    margin-bottom: var(--space-5);
    letter-spacing: 0.01em;
}

.hero-positioning {
    display: block;
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: var(--space-6);
    opacity: 0.7;
}

.hero .subtitle {
    font-size: var(--font-size-lg);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--space-10);
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    align-items: center;
}

/* Page tagline — slim intro line at top of first section */
.page-tagline {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: var(--space-6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero badge/tag above title */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--brand-teal);
    background-color: rgba(var(--brand-teal-rgb), 0.1);
    border: 1px solid rgba(var(--brand-teal-rgb), 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    letter-spacing: 0.02em;
}

/* Hero benchmark badge (below CTA) */
.hero-benchmark-badge {
    display: inline-block;
    margin-top: var(--space-8);
    padding: var(--space-2) var(--space-6);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.06);
    border: 1px solid rgba(85, 199, 204, 0.12);
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-benchmark-badge:hover {
    border-color: rgba(85, 199, 204, 0.25);
    box-shadow: 0 0 16px rgba(85, 199, 204, 0.08);
}


/* Fiber optics canvas (how-it-works) */
.section-fibers {
    position: relative;
    overflow: hidden;
}

.section-fibers > *:not(canvas) {
    position: relative;
    z-index: 1;
}

.fibers-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* Animated mesh gradient background (CSS only) */
.section-mesh {
    position: relative;
    overflow: hidden;
}

.section-mesh::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(85, 199, 204, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 75% 60%, rgba(85, 199, 204, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 400px 500px at 50% 80%, rgba(45, 212, 191, 0.09) 0%, transparent 70%);
    animation: meshDrift 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.section-mesh > *:not(canvas):not([class*="grid-bg"]):not([class*="side-grid"]) {
    position: relative;
    z-index: 1;
}

/* Use-cases vertical flow canvas */
.usecases-flow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

@keyframes meshDrift {
    0% {
        transform: translate(0%, 0%) rotate(0deg);
    }
    33% {
        transform: translate(-5%, 3%) rotate(0.5deg);
    }
    66% {
        transform: translate(3%, -4%) rotate(-0.3deg);
    }
    100% {
        transform: translate(-2%, 5%) rotate(0.2deg);
    }
}

/* ==========================================================================
   8. SECTIONS
   ========================================================================== */

.section {
    padding: var(--space-24) 0;
    position: relative;
}

.section-alt {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(85, 199, 204, 0.02) 0%, transparent 50%),
        var(--bg-surface);
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-4);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-teal), rgba(85, 199, 204, 0.3));
    border-radius: var(--radius-full);
    margin: var(--space-4) auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto var(--space-16);
    line-height: 1.7;
}

.section-header {
    margin-bottom: var(--space-16);
}


/* ==========================================================================
   9. GRID SYSTEM
   ========================================================================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}


/* ==========================================================================
   10. CARDS
   ========================================================================== */

.card {
    background:
        linear-gradient(
            168deg,
            rgba(30, 41, 59, 0.85) 0%,
            rgba(30, 41, 59, 0.45) 100%
        );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle top accent */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
    z-index: 1;
}

.card:hover {
    border-color: rgba(85, 199, 204, 0.12);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 24px rgba(85, 199, 204, 0.05);
    transform: translateY(-4px);
}

.card-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-color);
}

.card-content {
    flex: 1;
}

.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-content li {
    position: relative;
    padding-left: var(--space-6);
    margin-bottom: var(--space-3);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.card-content li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--brand-teal-rgb), 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    color: var(--brand-teal);
    font-size: var(--font-size-xl);
}

.card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.card p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.card-footer {
    margin-top: auto;
    padding-top: var(--space-6);
}


/* ==========================================================================
   11. PIPELINE STEPS
   ========================================================================== */

.pipeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    padding-left: var(--space-12);
}

/* Vertical connector line (mobile) */
.pipeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--brand-teal),
        rgba(var(--brand-teal-rgb), 0.2)
    );
    border-radius: var(--radius-full);
}

.pipeline-step {
    position: relative;
    padding: var(--space-6);
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* No top accent line on pipeline steps — the connector line is enough */

.pipeline-step:hover {
    border-color: rgba(85, 199, 204, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 16px rgba(85, 199, 204, 0.04);
}

.pipeline-step-number {
    position: absolute;
    left: calc(-1 * var(--space-12) - 1px);
    top: var(--space-6);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(85, 199, 204, 0.4);
    border-radius: 50%;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--brand-teal);
    z-index: 1;
    box-shadow: 0 0 12px rgba(85, 199, 204, 0.1);
}

.pipeline-step-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.pipeline-step-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}


/* ==========================================================================
   12. ARCHITECTURE DIAGRAM
   ========================================================================== */

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    padding: var(--space-8);
    background: radial-gradient(ellipse at 50% 30%, rgba(85, 199, 204, 0.03) 0%, transparent 60%);
    border-radius: var(--radius-xl);
}

.arch-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    justify-content: center;
    width: 100%;
}

.arch-column-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-teal);
    margin-bottom: var(--space-3);
}

.arch-box {
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.7) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(85, 199, 204, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    width: 100%;
    max-width: 240px;
}

.arch-box:hover {
    border-color: rgba(85, 199, 204, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 12px rgba(85, 199, 204, 0.06);
}

.arch-box.arch-box-highlight {
    border-color: rgba(85, 199, 204, 0.3);
    background: linear-gradient(168deg, rgba(85, 199, 204, 0.12) 0%, rgba(85, 199, 204, 0.04) 100%);
    box-shadow: 0 0 24px rgba(85, 199, 204, 0.08);
    color: #ffffff;
}

.arch-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-teal);
    font-size: var(--font-size-xl);
    transform: rotate(90deg);
    padding: var(--space-2) 0;
}

.arch-arrow svg {
    width: 32px;
    height: 32px;
    stroke: var(--brand-teal);
    stroke-width: 2;
    fill: none;
}


/* ==========================================================================
   13. PRICING CARDS
   ========================================================================== */

/* Pricing grid — uses CSS subgrid so header/features/button align across cards */
/* ---------- Pricing — Section background ---------- */
.pricing-section {
    position: relative;
    /* No overflow — body handles overflow-x, and sticky header needs clear ancestors */
}

/* Subtle radial gradient backdrop for depth */
.pricing-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(85, 199, 204, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pricing-section > .container {
    position: relative;
    z-index: 1;
}

/* ---------- Pricing — Card Grid ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* ---------- Pricing — Staggered Card Reveal ---------- */
.pricing-grid .pricing-card {
    opacity: 0;
}

.pricing-grid.visible .pricing-card {
    animation: pricingCardReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pricing-grid.visible .pricing-card:nth-child(1) { animation-delay: 0s; }
.pricing-grid.visible .pricing-card:nth-child(2) { animation-delay: 0.08s; }
.pricing-grid.visible .pricing-card:nth-child(3) { animation-delay: 0.16s; }
.pricing-grid.visible .pricing-card:nth-child(4) { animation-delay: 0.24s; }

@keyframes pricingCardReveal {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Pricing — Card ---------- */
.pricing-card {
    background:
        linear-gradient(
            168deg,
            rgba(30, 41, 59, 0.85) 0%,
            rgba(30, 41, 59, 0.45) 100%
        );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle gradient accent line at top */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.25), transparent);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(85, 199, 204, 0.12);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(85, 199, 204, 0.06);
}

.pricing-header {
    display: flex;
    flex-direction: column;
}

/* ---------- Featured card (Pro) — dramatic glow ---------- */
.pricing-card.featured,
.pricing-card.popular {
    border-color: rgba(85, 199, 204, 0.25);
    background:
        linear-gradient(
            168deg,
            rgba(85, 199, 204, 0.07) 0%,
            rgba(30, 41, 59, 0.85) 35%,
            rgba(30, 41, 59, 0.55) 100%
        );
    box-shadow:
        0 0 60px rgba(85, 199, 204, 0.08),
        0 8px 32px rgba(0, 0, 0, 0.25);
}

.pricing-card.featured::before,
.pricing-card.popular::before {
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 5%,
        var(--brand-teal) 30%,
        var(--brand-teal-light) 50%,
        var(--brand-teal) 70%,
        transparent 95%
    );
}

/* Radial glow aura above featured card */
.pricing-card.featured::after,
.pricing-card.popular::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 180px;
    background: radial-gradient(ellipse, rgba(85, 199, 204, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pricing-card.featured:hover,
.pricing-card.popular:hover {
    border-color: rgba(85, 199, 204, 0.35);
    box-shadow:
        0 0 80px rgba(85, 199, 204, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ---------- Plan color accents ---------- */

/* Free Trial — green */
.pricing-grid .pricing-card:nth-child(1) {
    border-color: rgba(74, 222, 128, 0.1);
    background:
        linear-gradient(
            168deg,
            rgba(74, 222, 128, 0.05) 0%,
            rgba(30, 41, 59, 0.85) 35%,
            rgba(30, 41, 59, 0.45) 100%
        );
}
.pricing-grid .pricing-card:nth-child(1)::before {
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.25), transparent);
}
.pricing-grid .pricing-card:nth-child(1):hover {
    border-color: rgba(74, 222, 128, 0.2);
}

/* Starter — violet */
.pricing-grid .pricing-card:nth-child(2) {
    border-color: rgba(168, 85, 247, 0.1);
    background:
        linear-gradient(
            168deg,
            rgba(168, 85, 247, 0.05) 0%,
            rgba(30, 41, 59, 0.85) 35%,
            rgba(30, 41, 59, 0.45) 100%
        );
}
.pricing-grid .pricing-card:nth-child(2)::before {
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.25), transparent);
}
.pricing-grid .pricing-card:nth-child(2):hover {
    border-color: rgba(168, 85, 247, 0.2);
}

/* Pro — teal (handled by .featured) */

/* Teams — amber */
.pricing-grid .pricing-card:nth-child(4) {
    border-color: rgba(251, 191, 36, 0.1);
    background:
        linear-gradient(
            168deg,
            rgba(251, 191, 36, 0.05) 0%,
            rgba(30, 41, 59, 0.85) 35%,
            rgba(30, 41, 59, 0.45) 100%
        );
}
.pricing-grid .pricing-card:nth-child(4)::before {
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.25), transparent);
}
.pricing-grid .pricing-card:nth-child(4):hover {
    border-color: rgba(251, 191, 36, 0.2);
}

/* ---------- Launch badge ---------- */
.pricing-launch-banner {
    text-align: center;
    margin-bottom: var(--space-6);
}

.pricing-launch-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.06);
    border: 1px solid rgba(85, 199, 204, 0.15);
    border-radius: var(--radius-md);
    letter-spacing: 0.01em;
    margin-bottom: var(--space-3);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.pricing-launch-badge::before {
    content: "\2728";
    flex-shrink: 0;
    font-size: var(--font-size-sm);
}

.pricing-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 1;
}

.pricing-card .pricing-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

/* ---------- Price display ---------- */
.pricing-price {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    line-height: 1;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

/* Gradient price per plan */
.pricing-card.featured .pricing-amount {
    background: linear-gradient(135deg, var(--brand-teal-light), var(--brand-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Free Trial — green */
.pricing-grid .pricing-card:nth-child(1) .pricing-amount {
    background: linear-gradient(135deg, rgba(134, 239, 172, 1), rgba(74, 222, 128, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Starter — violet */
.pricing-grid .pricing-card:nth-child(2) .pricing-amount {
    background: linear-gradient(135deg, rgba(196, 148, 255, 1), rgba(168, 85, 247, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Teams — amber */
.pricing-grid .pricing-card:nth-child(4) .pricing-amount {
    background: linear-gradient(135deg, rgba(253, 224, 71, 1), rgba(251, 191, 36, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price .currency {
    font-size: var(--font-size-xl);
    font-weight: 600;
    vertical-align: super;
}

.pricing-price .period {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--text-muted);
}

/* ---------- Price amount toggle transition ---------- */
.pricing-amount {
    display: inline-block;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.pricing-amount.switching {
    opacity: 0;
    transform: translateY(-6px);
}

/* ---------- Divider — gradient fade ---------- */
.pricing-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.15), transparent);
    margin: var(--space-6) 0;
}

/* ---------- Feature list ---------- */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8) 0;
    flex: 1;
    position: relative;
    z-index: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--brand-teal);
    font-weight: 700;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    background: rgba(85, 199, 204, 0.1);
    border-radius: 50%;
}

.pricing-features li.disabled {
    color: var(--text-faint);
}

.pricing-features li.disabled::before {
    content: "\2717";
    color: var(--color-error);
    background: rgba(248, 113, 113, 0.1);
}

.pricing-features li.highlight {
    color: var(--text-primary);
}

.pricing-features li.highlight::before {
    content: "\2605";
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.pricing-features li .pricing-launch-badge {
    font-size: 0.65em;
    padding: 0.15em 0.5em;
    vertical-align: middle;
    margin-left: var(--space-1);
    white-space: nowrap;
}

.pricing-card .btn {
    align-self: start;
    position: relative;
    z-index: 1;
}

/* Full-width CTA on featured card */
.pricing-card.featured .btn {
    width: 100%;
    justify-content: center;
}

.pricing-overage {
    text-align: left;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-top: var(--space-6);
    line-height: 1.6;
}

/* ---------- Monthly/Annual Toggle — premium pill ---------- */
.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-10);
}

.pricing-toggle-btn {
    padding: var(--space-3) var(--space-8);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border: 1px solid var(--border-light);
    background: rgba(30, 41, 59, 0.6);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-family);
    letter-spacing: 0.02em;
}

.pricing-toggle-btn:first-child {
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    border-right: none;
}

.pricing-toggle-btn:last-child {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.pricing-toggle-btn.active {
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-dark));
    border-color: var(--brand-teal);
    color: var(--bg-primary);
    box-shadow: 0 0 24px rgba(85, 199, 204, 0.25);
}

.pricing-toggle-btn:not(.active):hover {
    border-color: rgba(85, 199, 204, 0.4);
    color: var(--text-primary);
    background: rgba(85, 199, 204, 0.05);
}

/* ---------- Enterprise — full-width premium card ---------- */
.pricing-enterprise-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    background:
        linear-gradient(
            135deg,
            rgba(51, 65, 85, 0.7) 0%,
            rgba(30, 41, 59, 0.35) 100%
        );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    margin-top: var(--space-8);
    margin-bottom: var(--space-10);
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

/* Gradient top accent */
.pricing-enterprise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(148, 163, 184, 0.35),
        rgba(148, 163, 184, 0.2),
        transparent
    );
}

/* Subtle corner glow */
.pricing-enterprise-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.pricing-enterprise-card:hover {
    border-color: rgba(148, 163, 184, 0.22);
    box-shadow: 0 0 40px rgba(148, 163, 184, 0.06);
}

.pricing-enterprise-left h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.pricing-enterprise-subtitle {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.pricing-enterprise-features {
    margin-bottom: 0;
    columns: 1;
}

.pricing-enterprise-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

.pricing-enterprise-right .pricing-price {
    font-size: var(--font-size-2xl);
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, rgba(203, 213, 225, 1), rgba(148, 163, 184, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Period / Notes ---------- */
.pricing-annual {
    font-size: var(--font-size-sm);
    color: var(--brand-teal);
    font-weight: 500;
    margin-top: var(--space-1);
}

.pricing-period-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.pricing-card-note {
    font-size: var(--font-size-xs);
    color: var(--brand-teal);
    font-weight: 500;
    margin-top: auto;
    padding-bottom: var(--space-2);
    position: relative;
    z-index: 1;
}

/* ---------- Pricing tagline ---------- */
.pricing-tagline {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--space-2);
    font-style: italic;
    line-height: 1.4;
}

/* ---------- Comparison table ---------- */
.pricing-compare {
    margin-top: var(--space-10);
}

.pricing-compare-title {
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--brand-teal);
}

.pricing-compare-subtitle {
    max-width: 720px;
    margin: 0 auto var(--space-8);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

.compare-scroll {
    /* No overflow on desktop — sticky header needs unclipped ancestors */
}

/* Pricing comparison table — scoped to .pricing-compare */
.pricing-compare .compare-table {
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    table-layout: fixed;
}

/* Column widths — label gets more room, plan columns share equally */
.pricing-compare .compare-table thead th.compare-label-col { width: 22%; }
.pricing-compare .compare-table thead th:not(.compare-label-col) { width: 15.6%; }

.pricing-compare .compare-table thead th {
    background: var(--bg-primary);
    padding: var(--space-3) var(--space-3);
    text-align: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-bottom: 2px solid var(--border-subtle);
}

/* JS-powered sticky clone — fixed header that appears on scroll */
.compare-sticky-clone {
    position: fixed;
    z-index: var(--z-sticky);
    pointer-events: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.compare-sticky-clone table {
    pointer-events: auto;
}

.compare-sticky-clone th {
    background: var(--bg-primary) !important;
}

.pricing-compare .compare-table thead th.compare-label-col {
    text-align: left;
}

.pricing-compare .compare-table thead th.featured {
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.04);
}

.compare-category td {
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    letter-spacing: 0.06em;
    color: var(--brand-teal);
    padding: var(--space-4) var(--space-3) var(--space-2);
    border-bottom: 2px solid rgba(85, 199, 204, 0.3);
    background: transparent !important;
}

.pricing-compare .compare-table td {
    padding: var(--space-2) var(--space-3);
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.pricing-compare .compare-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.pricing-compare .compare-table tbody tr:hover td {
    background: rgba(85, 199, 204, 0.03);
}

/* Column color accents — pricing plans only */

/* Free Trial — green */
.pricing-compare .compare-table thead th:nth-child(2) { color: rgba(74, 222, 128, 0.85); background: rgba(74, 222, 128, 0.04); }
.pricing-compare .compare-table td:nth-child(2) { background: rgba(74, 222, 128, 0.02); }
.pricing-compare .compare-table tbody tr:hover td:nth-child(2) { background: rgba(74, 222, 128, 0.06); }

/* Starter — violet */
.pricing-compare .compare-table thead th:nth-child(3) { color: rgba(168, 85, 247, 0.85); background: rgba(168, 85, 247, 0.04); }
.pricing-compare .compare-table td:nth-child(3) { background: rgba(168, 85, 247, 0.02); }
.pricing-compare .compare-table tbody tr:hover td:nth-child(3) { background: rgba(168, 85, 247, 0.06); }

/* Pro — teal (featured) */
.pricing-compare .compare-table td:nth-child(4) { background: rgba(85, 199, 204, 0.03); }
.pricing-compare .compare-table tbody tr:hover td:nth-child(4) { background: rgba(85, 199, 204, 0.07); }

/* Teams — amber */
.pricing-compare .compare-table thead th:nth-child(5) { color: rgba(251, 191, 36, 0.85); background: rgba(251, 191, 36, 0.04); }
.pricing-compare .compare-table td:nth-child(5) { background: rgba(251, 191, 36, 0.02); }
.pricing-compare .compare-table tbody tr:hover td:nth-child(5) { background: rgba(251, 191, 36, 0.06); }

/* Enterprise — anthracite */
.pricing-compare .compare-table thead th:nth-child(6) { color: rgba(148, 163, 184, 0.85); background: rgba(148, 163, 184, 0.04); }
.pricing-compare .compare-table td:nth-child(6) { background: rgba(148, 163, 184, 0.02); }
.pricing-compare .compare-table tbody tr:hover td:nth-child(6) { background: rgba(148, 163, 184, 0.06); }

/* Mobile label rows — hidden on desktop, visible on mobile */
.compare-mobile-label {
    display: none;
}

/* ---------- Pricing comparison table — Responsive ---------- */

/* Tablets and smaller desktops — tighter padding */
@media (max-width: 1024px) {
    .pricing-compare .compare-table td,
    .pricing-compare .compare-table thead th {
        padding: var(--space-2) var(--space-1);
        font-size: 0.78rem;
    }

    .pricing-compare .compare-table td:first-child {
        font-size: 0.75rem;
        word-break: break-word;
        hyphens: auto;
    }

    .pricing-compare .compare-table thead th.compare-label-col { width: 18%; }
    .pricing-compare .compare-table thead th:not(.compare-label-col) { width: 16.4%; }

    .stack-table th,
    .stack-table td {
        padding: var(--space-2) var(--space-3);
        font-size: 0.8rem;
    }

    .pricing-extras-card {
        padding: var(--space-6);
    }

    /* Sticky clone — match tighter padding at this breakpoint */
    .compare-sticky-clone th {
        padding: var(--space-2) var(--space-1) !important;
        font-size: 0.78rem !important;
    }
}

/* Pricing table mobile: hide label column, show as separator row */
@media (max-width: 768px) {
    /* Remove fixed layout on mobile — label column is hidden */
    .pricing-compare .compare-table {
        table-layout: auto;
    }

    .pricing-compare .compare-table thead th.compare-label-col {
        display: none;
    }

    .pricing-compare .compare-table tbody td:first-child {
        display: none;
    }

    /* Category rows stay full-width */
    .compare-category td {
        display: table-cell !important;
    }

    /* Show JS-generated label rows on mobile */
    .compare-mobile-label {
        display: table-row;
    }

    .pricing-compare .compare-table .compare-mobile-label td {
        display: table-cell !important;
        text-align: left;
        font-weight: 500;
        font-size: 0.7rem;
        color: var(--text-muted);
        padding: var(--space-2) var(--space-2) 0;
        border-bottom: none;
        background: transparent !important;
    }

    .pricing-compare .compare-table td {
        padding: var(--space-1) var(--space-1);
        font-size: 0.7rem;
    }

    .pricing-compare .compare-table thead th {
        padding: var(--space-2) var(--space-1);
        font-size: 0.65rem;
        width: auto !important;
    }

    /* Sticky clone — also hide label col + match mobile font */
    .compare-sticky-clone table { table-layout: auto; }
    .compare-sticky-clone th.compare-label-col { display: none; }
    .compare-sticky-clone th {
        padding: var(--space-2) var(--space-1) !important;
        font-size: 0.65rem !important;
    }

    /* Top-up / stack tables — compact on mobile */
    .stack-table th,
    .stack-table td {
        padding: var(--space-2) var(--space-2);
        font-size: 0.75rem;
    }

    .pricing-extras-card {
        padding: var(--space-4);
    }
}

/* ---------- General tables (compare-table + stack-table) — Responsive ---------- */

@media (max-width: 1024px) {
    /* General compare tables — tighter padding on tablets */
    .table-wrapper .compare-table th {
        padding: var(--space-3) var(--space-3);
        font-size: var(--font-size-xs);
    }

    .table-wrapper .compare-table td {
        padding: var(--space-2) var(--space-3);
        font-size: 0.8rem;
    }

    .table-wrapper .stack-table th {
        padding: var(--space-2) var(--space-3);
    }

    .table-wrapper .stack-table td {
        padding: var(--space-2) var(--space-3);
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* General compare tables (how-it-works, use-cases) */
    .table-wrapper .compare-table th {
        padding: var(--space-2) var(--space-2);
        font-size: 0.65rem;
        letter-spacing: 0.03em;
    }

    .table-wrapper .compare-table td {
        padding: var(--space-2) var(--space-2);
        font-size: 0.72rem;
        word-break: break-word;
        hyphens: auto;
    }

    /* Stack table — "Why" column text wraps cleanly */
    .table-wrapper .stack-table th {
        padding: var(--space-2) var(--space-2);
        font-size: 0.65rem;
    }

    .table-wrapper .stack-table td {
        padding: var(--space-2) var(--space-2);
        font-size: 0.72rem;
        word-break: break-word;
        hyphens: auto;
    }
}

/* ---------- Developers & API block ---------- */
.pricing-dev-block {
    margin-top: var(--space-10);
    background:
        linear-gradient(
            168deg,
            rgba(85, 199, 204, 0.04) 0%,
            rgba(30, 41, 59, 0.8) 100%
        );
    border: 1px solid rgba(85, 199, 204, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
}

.pricing-dev-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.3), transparent);
}

.pricing-dev-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.pricing-dev-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--brand-teal);
}

.pricing-dev-header p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.pricing-dev-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.pricing-dev-item {
    padding: var(--space-5);
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-base);
}

.pricing-dev-item:hover {
    border-color: rgba(85, 199, 204, 0.2);
}

.pricing-dev-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(85, 199, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.pricing-dev-icon span {
    font-family: 'Courier New', Courier, monospace;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--brand-teal);
    letter-spacing: -0.02em;
}

.pricing-dev-item h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.pricing-dev-item p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-dev-footer {
    text-align: center;
}

.pricing-dev-quota {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.pricing-dev-continuous {
    display: inline-block;
    text-align: left;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    background: rgba(85, 199, 204, 0.05);
    border-left: 3px solid var(--brand-teal);
    padding: var(--space-3) var(--space-5);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    line-height: 1.6;
}

.pricing-dev-continuous strong {
    color: var(--brand-teal);
}

/* ---------- Pricing section titles — teal ---------- */

/* ---------- Supported languages ---------- */
.pricing-languages {
    margin: var(--space-8) 0;
    text-align: left;
}
.lang-tier {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}
.lang-tier-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    min-width: 220px;
    flex-shrink: 0;
}
.lang-tier-ok    { color: var(--brand-teal); }
.lang-tier-maybe { color: var(--text-muted); cursor: pointer; }
.lang-tier-partial { color: rgba(251, 191, 36, 0.7); cursor: pointer; }
.lang-pills {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}
.lang-pill {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    border: 1px solid;
}
.lang-pill-ok      { color: var(--brand-teal); border-color: rgba(85, 199, 204, 0.3); background: rgba(85, 199, 204, 0.06); }
.lang-pill-maybe   { color: var(--text-muted); border-color: rgba(148, 163, 184, 0.2); background: rgba(148, 163, 184, 0.04); }
.lang-pill-partial { color: rgba(251, 191, 36, 0.7); border-color: rgba(251, 191, 36, 0.2); background: rgba(251, 191, 36, 0.04); }
.lang-details {
    margin-bottom: var(--space-3);
}
.lang-details summary {
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    min-width: 220px;
}
.lang-details summary::before {
    content: '▸';
    font-size: 0.7rem;
    transition: transform 0.2s;
}
.lang-details[open] summary::before {
    transform: rotate(90deg);
}
.lang-details summary::-webkit-details-marker { display: none; }
.lang-details .lang-pills {
    margin-top: var(--space-2);
    padding-left: 220px;
}
.lang-unsupported {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: var(--space-2);
}
@media (max-width: 640px) {
    .lang-tier { flex-direction: column; }
    .lang-tier-label { min-width: auto; }
    .lang-details .lang-pills { padding-left: 0; }
}

/* ---------- Credits + Top-up — side by side ---------- */
.pricing-extras {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.pricing-extras-card {
    background:
        linear-gradient(
            168deg,
            rgba(85, 199, 204, 0.04) 0%,
            rgba(30, 41, 59, 0.8) 100%
        );
    border: 1px solid rgba(85, 199, 204, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
}

.pricing-extras-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.3), transparent);
}

.pricing-extras-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--brand-teal);
    margin-bottom: var(--space-4);
}

.credit-pills {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-bottom: var(--space-4);
}

.credit-pill {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(85, 199, 204, 0.08);
    border: 1px solid rgba(85, 199, 204, 0.25);
    border-radius: var(--radius-full);
    color: var(--brand-teal);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.credit-fungible {
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.credit-features {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.pricing-topup-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

/* Table inside extras card */
.pricing-extras-card .stack-table {
    width: 100%;
    margin-top: 0;
}

/* --- Cost simulator --- */

.pricing-calc-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

.calc-fields {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.calc-field {
    flex: 1;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.calc-field.active {
    border-color: rgba(85, 199, 204, 0.3);
    box-shadow: 0 0 12px rgba(85, 199, 204, 0.08);
}

.calc-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-label input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition:
        border-color var(--transition-base),
        background var(--transition-base),
        box-shadow var(--transition-base);
    flex-shrink: 0;
}

.calc-label input[type="radio"]:checked {
    border-color: var(--brand-teal);
    background: var(--brand-teal);
    box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.9);
}

.calc-input-wrap {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
}

.calc-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    font-weight: 700;
    font-family: inherit;
    padding: 0;
    -moz-appearance: textfield;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-input[readonly] {
    color: var(--text-muted);
    cursor: default;
}

.calc-unit {
    font-size: var(--font-size-sm);
    color: var(--text-faint);
    font-weight: 500;
    flex-shrink: 0;
}

/* Slider */
.calc-slider-wrap {
    margin-bottom: var(--space-4);
    transition: opacity 0.3s, max-height 0.3s;
    max-height: 80px;
    overflow: hidden;
}

.calc-slider-wrap.hidden {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

.calc-slider {
    width: 100%;
    height: 6px;
    appearance: none;
    -webkit-appearance: none;
    background: linear-gradient(90deg, rgba(85, 199, 204, 0.3), rgba(85, 199, 204, 0.1));
    border-radius: var(--radius-full);
    outline: none;
    cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-teal);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 8px rgba(85, 199, 204, 0.3);
    cursor: grab;
    transition: box-shadow var(--transition-base);
}

.calc-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 14px rgba(85, 199, 204, 0.5);
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-teal);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 8px rgba(85, 199, 204, 0.3);
    cursor: grab;
}

.calc-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--text-faint);
    margin-top: var(--space-1);
}

.calc-slider-labels span:nth-child(2) {
    color: var(--text-muted);
    font-weight: 600;
}

/* Tier badge */
.calc-tier {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
    transition: background var(--transition-base), color var(--transition-base);
}

.calc-tier.tier-10 {
    background: rgba(74, 222, 128, 0.1);
    color: var(--color-success);
}

.calc-tier.tier-20 {
    background: rgba(74, 222, 128, 0.15);
    color: #6ee7a0;
}

/* Mobile stacking */
@media (max-width: 639px) {
    .calc-fields {
        flex-direction: column;
        gap: var(--space-3);
    }
}


/* ==========================================================================
   14. FAQ ACCORDION
   ========================================================================== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    background:
        linear-gradient(
            168deg,
            rgba(30, 41, 59, 0.7) 0%,
            rgba(30, 41, 59, 0.35) 100%
        );
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(85, 199, 204, 0.12);
}

.faq-item.active {
    border-color: rgba(85, 199, 204, 0.2);
    box-shadow: 0 0 24px rgba(85, 199, 204, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-5) var(--space-6);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--brand-teal);
}

/* Animated chevron icon */
.faq-question::after {
    content: '';
    flex-shrink: 0;
    margin-left: var(--space-4);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(85, 199, 204, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition:
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        background-color 0.3s ease;
}

.faq-question:hover::after {
    background-color: rgba(85, 199, 204, 0.12);
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    background-color: rgba(85, 199, 204, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2355c7cc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--space-6) var(--space-6);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.7;
}


/* ==========================================================================
   15. FORMS
   ========================================================================== */

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.7) 0%, rgba(30, 41, 59, 0.3) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.form-label .required {
    color: var(--color-error);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(85, 199, 204, 0.08);
    border-radius: var(--radius-md);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(85, 199, 204, 0.3);
    box-shadow: 0 0 16px rgba(85, 199, 204, 0.06);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825L.375 3.2l.85-.85L6 7.125 10.775 2.35l.85.85z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: var(--space-10);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Validation states */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--color-error);
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

.form-error {
    font-size: var(--font-size-xs);
    color: var(--color-error);
    margin-top: var(--space-2);
}

.form-help {
    font-size: var(--font-size-xs);
    color: var(--text-faint);
    margin-top: var(--space-2);
}

/* Checkbox / Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--brand-teal);
    flex-shrink: 0;
}

.form-check label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    cursor: pointer;
}


/* ==========================================================================
   16. STACK TABLE
   ========================================================================== */

.stack-table {
    width: 100%;
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stack-table thead {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.6) 100%);
}

.stack-table th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid rgba(85, 199, 204, 0.08);
}

.stack-table td {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.stack-table tbody tr {
    background: rgba(30, 41, 59, 0.4);
    transition: background 0.3s ease;
}

.stack-table tbody tr:hover {
    background: rgba(85, 199, 204, 0.04);
}

.stack-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive table wrapper */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
}


/* ==========================================================================
   16b. COMPARISON TABLE
   ========================================================================== */

.compare-table {
    width: 100%;
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
}

.compare-table thead {
    background: rgba(15, 23, 42, 0.95);
}

.compare-table th {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    border-bottom: 2px solid rgba(85, 199, 204, 0.15);
}

.compare-table th.compare-highlight {
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.08);
}

/* Use-cases comparison table — column header color accents */
.table-wrapper .compare-table th:nth-child(2) {
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.08);
}
/* Claude Projects — indigo */
.table-wrapper .compare-table th:nth-child(3) {
    color: rgba(168, 130, 247, 0.9);
    background: rgba(168, 130, 247, 0.06);
}
/* NotebookLM — amber */
.table-wrapper .compare-table th:nth-child(4) {
    color: rgba(251, 191, 36, 0.9);
    background: rgba(251, 191, 36, 0.06);
}
/* MS GraphRAG — slate/cool */
.table-wrapper .compare-table th:nth-child(5) {
    color: rgba(148, 163, 184, 0.9);
    background: rgba(148, 163, 184, 0.06);
}

.compare-table td {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.compare-table td.compare-highlight {
    color: var(--brand-teal);
    font-weight: 500;
    background: rgba(85, 199, 204, 0.03);
}

.compare-table tbody tr {
    background: rgba(30, 41, 59, 0.4);
    transition: background 0.3s ease;
}

.compare-table tbody tr:hover {
    background: rgba(85, 199, 204, 0.04);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* MCP Callout — after comparison table */
.mcp-callout {
    margin-top: var(--space-10);
    padding: var(--space-8) var(--space-8);
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.45) 100%);
    border-left: 4px solid var(--brand-teal);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(85, 199, 204, 0.12);
    border-left: 4px solid var(--brand-teal);
}

.mcp-callout h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-4);
}

.mcp-callout p {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.mcp-callout-features {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--brand-teal);
    letter-spacing: 0.04em;
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
}

.mcp-callout-sub {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    opacity: 0.7;
}

/* Infra note — after MCP callout */
.infra-note {
    margin-top: var(--space-6);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    opacity: 0.55;
    font-style: italic;
    line-height: 1.6;
    max-width: 720px;
}


/* ==========================================================================
   17. USE CASE CARDS
   ========================================================================== */

.uc-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.uc-card {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.45) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition:
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.uc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
    z-index: 1;
}

.uc-card:hover {
    border-color: rgba(85, 199, 204, 0.12);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 24px rgba(85, 199, 204, 0.05);
    transform: translateY(-3px);
}

.uc-card:hover .uc-card-image img {
    transform: scale(1.06);
}

.uc-card-horizontal {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.uc-card-horizontal .uc-card-image {
    width: 100%;
    margin: 0;
}

.uc-card-horizontal .uc-card-body {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.uc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.uc-card-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 0;
}

.uc-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.08);
    border: 1px solid rgba(85, 199, 204, 0.15);
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.uc-card-summary {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

.uc-card-detail-content {
    padding-top: var(--space-4);
    border-top: 1px solid rgba(85, 199, 204, 0.06);
    margin-top: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.7;
}

.uc-result-box {
    background: linear-gradient(135deg, rgba(85, 199, 204, 0.06) 0%, rgba(85, 199, 204, 0.02) 100%);
    border: 1px solid rgba(85, 199, 204, 0.1);
    border-left: 3px solid rgba(85, 199, 204, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-6);
    margin-top: var(--space-4);
}

.uc-result-box p {
    color: var(--brand-teal);
    font-weight: 500;
    margin-bottom: 0;
}

/* Legacy toggle — kept for backward compat */
.uc-card-toggle {
    display: none;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: var(--brand-teal);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition-base);
}

.uc-card-toggle:hover {
    color: var(--brand-teal-light);
}


/* ==========================================================================
   18. METRICS / COUNTERS
   ========================================================================== */

.metrics-bar {
    position: relative;
    overflow: hidden;
    width: 100%;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(85, 199, 204, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(85, 199, 204, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-top: 1px solid rgba(85, 199, 204, 0.1);
    border-bottom: 1px solid rgba(85, 199, 204, 0.1);
    padding: var(--space-16) 0;
}

.metrics-bar > * {
    position: relative;
    z-index: 1;
}

.metrics-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-6) var(--space-4);
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.6) 0%, rgba(30, 41, 59, 0.25) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
}

.metric-item:hover {
    border-color: rgba(85, 199, 204, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 0 16px rgba(85, 199, 204, 0.04);
}

.metric-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-teal), #7edce0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 500;
}

.metric-context {
    font-size: var(--font-size-xs);
    color: var(--text-faint);
    margin-top: var(--space-1);
}

.metrics-ref {
    display: inline-block;
    font-size: var(--font-size-xs);
    color: var(--brand-teal);
    border: 1px solid rgba(var(--brand-teal-rgb), 0.3);
    background: rgba(var(--brand-teal-rgb), 0.06);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-4);
    margin-bottom: var(--space-10);
    text-align: center;
}


/* ==========================================================================
   19. TEAM SECTION
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

.team-card {
    text-align: center;
    padding: var(--space-8);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition:
        border-color var(--transition-base),
        box-shadow var(--transition-base);
}

.team-card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    margin: 0 auto var(--space-5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--brand-teal);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.team-role {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--brand-teal);
    margin-bottom: var(--space-3);
}

.team-bio {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
}


/* ==========================================================================
   20. CTA SECTION
   ========================================================================== */

.cta-section {
    padding: var(--space-20) 0;
    background: linear-gradient(
        160deg,
        #0f2e30 0%,
        #0a2426 40%,
        #0f172a 100%
    );
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(
        ellipse,
        rgba(85, 199, 204, 0.08) 0%,
        rgba(85, 199, 204, 0.02) 40%,
        transparent 70%
    );
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-4);
}

.cta-section p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: linear-gradient(135deg, var(--brand-teal), #3da8ad);
    color: #ffffff;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(85, 199, 204, 0.2);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(85, 199, 204, 0.35);
    transform: translateY(-2px);
}

.cta-section .btn-outline {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
}

.cta-section .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.cta-grid-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ==========================================================================
   21. FOOTER
   ========================================================================== */

.footer {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(85, 199, 204, 0.03) 0%, transparent 40%),
        var(--bg-surface);
    border-top: 1px solid rgba(85, 199, 204, 0.08);
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.15), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    margin-bottom: var(--space-12);
}

.footer-logo {
    font-size: var(--font-size-lg);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, var(--text-primary), var(--brand-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-3);
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-4);
    display: inline-block;
}

.footer-brand p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background: rgba(85, 199, 204, 0.3);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: var(--space-3);
}

.footer-col a {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a svg {
    flex-shrink: 0;
}

.footer-col a:has(svg) {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-col a:hover {
    color: var(--brand-teal);
    padding-left: 4px;
    text-decoration: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(85, 199, 204, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-align: center;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.1), transparent);
}

.footer-bottom p {
    font-size: var(--font-size-xs);
    color: var(--text-faint);
    margin-bottom: 0;
}

.footer-bottom a {
    color: var(--text-faint);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--brand-teal);
    text-decoration: none;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    font-size: var(--font-size-xs);
    color: var(--text-faint);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--text-muted);
}


/* ==========================================================================
   22. ANIMATIONS
   ========================================================================== */

/* Fade in (triggered by JS adding .visible) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

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

/* Slide in from left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

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

/* Stagger delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Pulse animation for live indicators */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Spin animation for loaders */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}


/* ==========================================================================
   23. UTILITY CLASSES
   ========================================================================== */

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text color */
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-teal { color: var(--brand-teal); }
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }
.text-white { color: #ffffff; }

/* Font weight */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Font size */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }

/* Margin top */
.mt-1 { margin-top: var(--space-4); }
.mt-2 { margin-top: var(--space-8); }
.mt-3 { margin-top: var(--space-12); }
.mt-4 { margin-top: var(--space-16); }

/* Margin bottom */
.mb-1 { margin-bottom: var(--space-4); }
.mb-2 { margin-bottom: var(--space-8); }
.mb-3 { margin-bottom: var(--space-12); }
.mb-4 { margin-bottom: var(--space-16); }

/* Padding */
.p-1 { padding: var(--space-4); }
.p-2 { padding: var(--space-8); }
.p-3 { padding: var(--space-12); }

/* Gap */
.gap-1 { gap: var(--space-4); }
.gap-2 { gap: var(--space-8); }
.gap-3 { gap: var(--space-12); }

/* Display */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }

/* Width */
.w-full { width: 100%; }
.max-w-sm { max-width: 400px; }
.max-w-md { max-width: 600px; }
.max-w-lg { max-width: 800px; }

/* Border radius */
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }

/* 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;
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: var(--space-8) 0;
}

/* Badge (generic) */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 500;
    border-radius: var(--radius-full);
    background-color: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.badge-teal {
    background-color: rgba(var(--brand-teal-rgb), 0.1);
    color: var(--brand-teal);
    border-color: rgba(var(--brand-teal-rgb), 0.2);
}

.badge-success {
    background-color: rgba(74, 222, 128, 0.1);
    color: var(--color-success);
    border-color: rgba(74, 222, 128, 0.2);
}


/* ==========================================================================
   24. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --------------------------------------------------
   sm: >= 640px
   -------------------------------------------------- */
@media (min-width: 640px) {
    :root {
        --container-padding: 2rem;
    }

    h1 {
        font-size: var(--font-size-4xl);
    }

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

    .grid-2:has(.card-with-image) {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .grid-2.grid-2-wide {
        max-width: 840px;
    }

    .uc-card-horizontal {
        flex-direction: row;
    }

    .uc-card-horizontal .uc-card-image {
        width: 280px;
        min-width: 280px;
        min-height: 280px;
        border-bottom: none;
        border-right: 1px solid rgba(85, 199, 204, 0.06);
    }

    .uc-card-horizontal .uc-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .uc-list {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Alternate card direction: even cards flip image to right */
    .uc-card-horizontal:nth-child(even) {
        flex-direction: row-reverse;
    }

    .uc-card-horizontal:nth-child(even) .uc-card-image {
        border-right: none;
        border-left: 1px solid rgba(85, 199, 204, 0.06);
    }

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

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

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

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

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

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

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

    .pricing-enterprise-card {
        flex-direction: row;
        align-items: center;
    }

    .pricing-enterprise-features {
        columns: 2;
    }

    .pricing-enterprise-right {
        align-items: flex-end;
        text-align: right;
        flex-shrink: 0;
    }
}

/* --------------------------------------------------
   md: >= 768px
   -------------------------------------------------- */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: var(--font-size-xl);
    }

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

    .arch-diagram {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
    }

    .arch-arrow {
        transform: rotate(0deg);
        padding: 0 var(--space-4);
    }

    .arch-column {
        flex: 1;
        max-width: 280px;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

/* --------------------------------------------------
   lg: >= 1024px
   -------------------------------------------------- */
@media (min-width: 1024px) {
    /* Show desktop nav, hide hamburger */
    .nav-links {
        display: flex;
    }

    .login-btn,
    .demo-btn {
        display: inline-flex;
    }

    .hamburger {
        display: none;
    }

    /* Grids: full columns */
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

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

    /* Pipeline: horizontal layout */
    .pipeline {
        flex-direction: row;
        align-items: stretch;
        padding-left: 0;
        gap: var(--space-4);
    }

    .pipeline::before {
        /* Switch to horizontal line */
        top: 20px;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 2px;
    }

    .pipeline-step {
        flex: 1;
        text-align: center;
    }

    .pipeline-step-number {
        position: relative;
        left: auto;
        top: auto;
        margin: 0 auto var(--space-4);
    }

    /* Hero spacing */
    .hero {
        padding: var(--space-24) 0;
    }

    /* Section padding */
    .section {
        padding: var(--space-24) 0;
    }
}

/* --------------------------------------------------
   xl: >= 1280px (optional refinements)
   -------------------------------------------------- */
@media (min-width: 1280px) {
    .hero h1 {
        font-size: 3.25rem;
    }

    .container {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }
}


/* ==========================================================================
   25. MOBILE MENU (covered in navbar section, additional states)
   ========================================================================== */

/* Body scroll lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu transitions */
@media (max-width: 1023px) {
    .mobile-menu {
        display: block;
    }
}

@media (min-width: 1024px) {
    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }
}


/* ==========================================================================
   26. ACTIVE PAGE INDICATOR
   Active state handled by PHP (is_page()) adding .active class to .nav-link
   See: .nav-link.active (line ~497) and .mobile-nav-link.active (line ~676)
   ========================================================================== */


/* ==========================================================================
   27. CUSTOM SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background-color: var(--bg-card);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--border-light);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--bg-card) var(--bg-primary);
}


/* ==========================================================================
   28. SELECTION
   ========================================================================== */

::selection {
    background-color: rgba(var(--brand-teal-rgb), 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background-color: rgba(var(--brand-teal-rgb), 0.3);
    color: var(--text-primary);
}


/* ==========================================================================
   ADDITIONAL COMPONENTS
   ========================================================================== */

/* --- Intro / Highlight box --- */
.eu-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
}

.eu-badge img {
    width: 36px;
    height: auto;
}

.eu-badge span {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-muted);
}

/* Coming soon banner */
.coming-soon-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    max-width: 640px;
    margin: 0 auto var(--space-6);
    padding: var(--space-4) var(--space-6);
    background: linear-gradient(135deg, rgba(85, 199, 204, 0.12) 0%, rgba(45, 212, 191, 0.06) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(85, 199, 204, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(85, 199, 204, 0.08);
}

.coming-soon-emoji {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.coming-soon-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coming-soon-text strong {
    color: var(--brand-teal);
    font-size: var(--font-size-lg);
    letter-spacing: 0.02em;
}

.coming-soon-text span {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.coming-soon-link {
    flex-shrink: 0;
    padding: var(--space-2) var(--space-4);
    background: rgba(85, 199, 204, 0.15);
    border: 1px solid rgba(85, 199, 204, 0.3);
    border-radius: var(--radius-md);
    color: var(--brand-teal);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.coming-soon-link:hover {
    background: rgba(85, 199, 204, 0.25);
    border-color: rgba(85, 199, 204, 0.5);
}

@media (max-width: 600px) {
    .coming-soon-banner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
}

.intro-box {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.7) 0%, rgba(30, 41, 59, 0.3) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.intro-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.15), transparent);
}

.intro-box p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

/* --- Module groups (for pricing/plan detail) --- */
.module-group {
    margin-bottom: var(--space-6);
}

.module-group h4 {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(85, 199, 204, 0.1);
    display: inline-block;
}

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

/* --- Requirements disclaimer text --- */
.requirements-text {
    font-size: var(--font-size-sm);
    font-weight: 600;
    padding: var(--space-4) var(--space-6);
    color: var(--brand-teal);
    background: rgba(85, 199, 204, 0.05);
    border-top: 1px solid rgba(85, 199, 204, 0.06);
}

/* Remove card-header border when requirements block follows it */
.card-header + .requirements-text {
    margin-top: 0;
}

.card:has(.card-header + .requirements-text) .card-header {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: var(--space-3);
}

/* --- Price display (generic) --- */
.price {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--brand-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.period {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 400;
}

/* --- Actionnaire section --- */
.actionnaire-section {
    background-color: rgba(30, 41, 59, 0.5);
}

.actionnaire-card {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    padding: var(--space-12);
    border-radius: var(--radius-lg);
}

/* --- Apporteur grid --- */
.apporteur-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .apporteur-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Alert / Notice boxes --- */
.alert {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.alert-info {
    background-color: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: var(--color-info);
}

.alert-success {
    background-color: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: var(--color-success);
}

.alert-error {
    background-color: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: var(--color-error);
}

.alert-warning {
    background-color: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: var(--color-warning);
}

/* --- Tooltip --- */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: var(--z-dropdown);
}

.tooltip:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px);
}

/* --- Loading spinner --- */
.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-top-color: var(--brand-teal);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* --- Tabs (generic) --- */
.tabs {
    display: flex;
    gap: var(--space-1);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--space-8);
    overflow-x: auto;
}

.tab {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition:
        color var(--transition-base),
        border-color var(--transition-base);
    white-space: nowrap;
}

.tab:hover {
    color: var(--text-primary);
}

.tab.active {
    color: var(--brand-teal);
    border-bottom-color: var(--brand-teal);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* --- Back to top button --- */
.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity var(--transition-base),
        background-color var(--transition-base);
    z-index: var(--z-sticky);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background-color: var(--bg-elevated);
    color: var(--text-primary);
}

/* --- Skip to content (a11y) --- */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    padding: var(--space-3) var(--space-6);
    background-color: var(--brand-teal);
    color: var(--bg-primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: calc(var(--z-modal) + 1);
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: var(--space-4);
}


/* ==========================================================================
   SECTION TITLE WITH ICON
   ========================================================================== */

.section-title-with-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-2);
}

.section-title-with-icon .section-title {
    margin-bottom: 0;
}

.section-title-icon {
    width: 56px;
    height: 56px;
    opacity: 0.85;
}

/* ==========================================================================
   HERO — BLOB CANVAS BACKGROUND
   ========================================================================== */

.hero-blobs-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   CEILING — 3D PERSPECTIVE GRID (inverted, top-anchored)
   ========================================================================== */

.ceiling-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 450px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.ceiling-grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    transform-origin: center top;
    transform: perspective(500px) rotateX(-60deg);
    background-image:
        linear-gradient(rgba(var(--brand-teal-rgb), 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-teal-rgb), 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
}

.ceiling-grid-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
    pointer-events: none;
}

/* Floor grid — mirrored, bottom-anchored */
.floor-grid-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 450px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.floor-grid-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    transform-origin: center bottom;
    transform: perspective(500px) rotateX(60deg);
    background-image:
        linear-gradient(rgba(var(--brand-teal-rgb), 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-teal-rgb), 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
}

.floor-grid-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 40%);
    pointer-events: none;
}

/* Side grids — left & right, rotateY perspective */
.side-grid-left,
.side-grid-right {
    position: absolute;
    top: 0;
    width: 350px;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.side-grid-left  { left: 0; }
.side-grid-right { right: 0; }

.side-grid-left::before,
.side-grid-right::before {
    content: '';
    position: absolute;
    top: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(var(--brand-teal-rgb), 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-teal-rgb), 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
}

.side-grid-left::before {
    left: 0;
    transform-origin: left center;
    transform: perspective(500px) rotateY(60deg);
}

.side-grid-right::before {
    right: 0;
    transform-origin: right center;
    transform: perspective(500px) rotateY(-60deg);
}

.side-grid-left::after,
.side-grid-right::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.side-grid-left::after {
    left: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, transparent 45%);
}

.side-grid-right::after {
    right: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 45%);
}

/* ==========================================================================
   HERO — 3D PERSPECTIVE GRID
   ========================================================================== */

.hero-grid-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-grid-bg::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    width: 200%;
    height: 120%;
    transform: translateX(-50%) perspective(400px) rotateX(55deg);
    background-image:
        linear-gradient(rgba(var(--brand-teal-rgb), 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-teal-rgb), 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 70%, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 70%, black 10%, transparent 60%);
    animation: gridPulse 8s ease-in-out infinite;
}

.hero-grid-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    width: 200%;
    height: 120%;
    transform: translateX(-50%) perspective(400px) rotateX(55deg);
    background-image:
        linear-gradient(rgba(var(--brand-teal-rgb), 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--brand-teal-rgb), 0.05) 1px, transparent 1px);
    background-size: 180px 180px;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 70%, black 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 70%, black 10%, transparent 60%);
    animation: gridPulse 8s ease-in-out infinite reverse;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-grid-bg::before,
    .hero-grid-bg::after {
        animation: none;
        opacity: 0.7;
    }
}

/* ==========================================================================
   HERO — KEYWORDS LINE
   ========================================================================== */

.hero-keywords {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--brand-teal);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-10);
}

/* ==========================================================================
   NAVBAR — ACTIVE PAGE LOGO GLOW
   ========================================================================== */

.logo.logo-home-glow span {
    color: var(--brand-teal);
    text-shadow: 0 0 12px rgba(var(--brand-teal-rgb), 0.5);
    transition: color var(--transition-base), text-shadow var(--transition-base);
}

.logo.logo-home-glow .logo-img {
    filter: drop-shadow(0 0 6px rgba(var(--brand-teal-rgb), 0.4));
}

.logo.logo-home-glow::after {
    transform: translateX(-50%) scaleX(1);
}

/* ==========================================================================
   ANIMATED LOGO (Home hero)
   ========================================================================== */

.hero-logo-animated {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-8);
}

.hero-logo-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(var(--brand-teal-rgb), 0.25) 0%,
        rgba(var(--brand-teal-rgb), 0.08) 40%,
        transparent 70%
    );
    border-radius: 50%;
    animation: logoGlow 4s ease-in-out infinite;
    pointer-events: none;
}

.hero-logo-img {
    position: relative;
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(var(--brand-teal-rgb), 0.3));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ==========================================================================
   CARD WITH IMAGE
   ========================================================================== */

.card-with-image {
    overflow: hidden;
    padding: 0;
}

.card-with-image .card-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(85, 199, 204, 0.08);
}

.card-with-image .card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-with-image:hover .card-image::after {
    opacity: 1;
}

.card-with-image .card-image img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: auto;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-with-image:hover .card-image img {
    transform: scale(1.06);
}

/* ==========================================================================
   HALLUCINATION CHART
   ========================================================================== */
.halluc-chart-wrapper {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.halluc-chart {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.7) 0%, rgba(30, 41, 59, 0.35) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.halluc-chart svg {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   BENCHMARK METRICS
   ========================================================================== */
.bench-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.bench-metric {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.7) 0%, rgba(30, 41, 59, 0.35) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.bench-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
}

.bench-metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-teal), #7edce0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.bench-metric-label {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 600;
    margin-top: var(--space-2);
}

.bench-metric-context {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.bench-chart {
    max-width: 700px;
    margin: var(--space-10) auto 0;
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.7) 0%, rgba(30, 41, 59, 0.35) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.bench-chart svg {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .bench-metrics {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .bench-metric-value {
        font-size: 2rem;
    }
}

/* ==========================================================================
   CARD WITH IMAGE
   ========================================================================== */
.card-with-image h3,
.card-with-image ul,
.card-with-image p {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
    font-size: var(--font-size-base);
}

.card-with-image h3 {
    padding-top: var(--space-5);
    color: var(--brand-teal);
    font-weight: 600;
}

.card-with-image ul {
    padding-bottom: var(--space-6);
}

/* ==========================================================================
   CTA WITH BACKGROUND DECORATION
   ========================================================================== */

.cta-with-bg {
    position: relative;
    overflow: hidden;
}

.cta-bg-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.08;
    pointer-events: none;
}

.cta-bg-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   CONTACT CARD ICONS
   ========================================================================== */

.card-icon-img {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-5);
    filter: brightness(0) saturate(100%) invert(72%) sepia(42%) saturate(389%) hue-rotate(131deg) brightness(96%) contrast(89%);
}

/* ==========================================================================
   CONTACT ALT SECTION (dark CTA style)
   ========================================================================== */

.cta-section.cta-with-bg:has(.contact-alt-grid) {
    padding: var(--space-12) 0;
}

.contact-alt-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
    margin-top: var(--space-8);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.contact-alt-card {
    flex: 1 1 300px;
    max-width: 380px;
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.45) 100%);
    border: 1px solid rgba(85, 199, 204, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: left;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}

.contact-alt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
}

.contact-alt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(85, 199, 204, 0.06);
    border-color: rgba(85, 199, 204, 0.15);
}

.contact-alt-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
}

.contact-alt-card h4 {
    color: #ffffff;
    font-size: var(--font-size-lg);
    margin: 0;
}

.contact-alt-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-5);
    max-width: none;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
    margin-top: var(--space-8);
}

.partner-grid .contact-alt-card {
    flex: 1 1 240px;
    max-width: 320px;
}

.contact-alt-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    padding: 6px;
    background: rgba(85, 199, 204, 0.08);
    border-radius: var(--radius-md);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.contact-alt-card .btn-outline {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.contact-alt-card .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ==========================================================================
   USE CASE CARD IMAGE
   ========================================================================== */

.uc-card-image {
    overflow: hidden;
    border-bottom: 1px solid rgba(85, 199, 204, 0.06);
    aspect-ratio: 1 / 1;
    position: relative;
}

.uc-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 23, 42, 0.4) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.uc-card:hover .uc-card-image::after {
    opacity: 1;
}

.uc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: auto;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   SECTION ILLUSTRATION (two-column layout)
   ========================================================================== */

.section-illustrated {
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.section-illustrated-content {
    flex: 1;
}

.section-illustrated-image {
    flex: 0 0 340px;
    max-height: 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(85, 199, 204, 0.1);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(85, 199, 204, 0.04);
}

.section-illustrated-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-illustrated-image:hover img {
    transform: scale(1.04);
}

@media (max-width: 768px) {
    .section-illustrated {
        flex-direction: column;
    }

    .section-illustrated-image {
        flex: none;
        width: 100%;
        max-height: 240px;
    }
}

/* ==========================================================================
   HYBRID SEARCH — PROBLEM CALLOUT
   ========================================================================== */

.hybrid-problem {
    background: linear-gradient(168deg, rgba(255, 107, 107, 0.08) 0%, rgba(255, 107, 107, 0.02) 100%);
    border: 1px solid rgba(255, 107, 107, 0.1);
    border-left: 3px solid rgba(255, 107, 107, 0.5);
    border-radius: var(--radius-md);
    padding: var(--space-6) var(--space-8);
    margin-top: var(--space-10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hybrid-problem h3 {
    font-size: var(--font-size-lg);
    color: #ff6b6b;
    margin-bottom: var(--space-3);
}

.hybrid-problem p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   FOOTER LEGAL INFO
   ========================================================================== */

/* Newsletter */
.footer-newsletter {
    margin-top: var(--space-6);
}

.footer-newsletter h4 {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-2);
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: var(--space-3);
}

.newsletter-input {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    border: 1px solid rgba(85, 199, 204, 0.1);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-input:focus {
    border-color: rgba(85, 199, 204, 0.3);
    box-shadow: 0 0 12px rgba(85, 199, 204, 0.06);
}

.newsletter-btn {
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, var(--brand-teal), #3da8ad);
    color: white;
    border: 1px solid transparent;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.newsletter-btn:hover {
    box-shadow: 0 2px 12px rgba(85, 199, 204, 0.25);
    transform: translateX(1px);
}

.newsletter-msg {
    font-size: var(--font-size-xs);
    margin-top: var(--space-2);
    min-height: 1.2em;
}

.newsletter-msg.success {
    color: var(--brand-teal);
}

.newsletter-msg.error {
    color: #e74c3c;
}

.footer-legal-info {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-6);
    margin-bottom: var(--space-6);
    text-align: center;
}

.footer-legal-info p {
    font-size: var(--font-size-xs);
    color: var(--text-faint);
    margin-bottom: var(--space-1);
}

.footer-carbon {
    text-align: center;
    padding: var(--space-6) 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-carbon:hover {
    opacity: 1;
}

/* ==========================================================================
   LEGAL PAGE — Navigation + Blocks
   ========================================================================== */

.legal-nav {
    position: sticky;
    top: var(--navbar-height);
    z-index: 50;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-3) 0;
}

.legal-nav .container {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
}

.legal-nav-link {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.legal-nav-link:hover {
    color: var(--brand-teal);
    background: rgba(var(--brand-teal-rgb), 0.1);
}

.legal-block h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-4);
}

.legal-block h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.legal-block p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-block a {
    color: var(--brand-teal);
    text-decoration: underline;
}

.legal-updated {
    margin-top: var(--space-8);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
    text-align: center;
}

.legal-updated p {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* "Last updated" date shown small under the legal page hero title */
.legal-hero-date {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: var(--space-2);
}

/* Smooth scroll offset for sticky nav */
#mentions, #confidentialite, #cgu, #cgv, #retractation, #remboursement, #cookies {
    scroll-margin-top: 80px;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .navbar,
    .mobile-menu,
    .mobile-menu-overlay,
    .back-to-top,
    .hamburger {
        display: none !important;
    }

    .navbar-spacer {
        height: 0;
    }

    body {
        background-color: #ffffff;
        color: #000000;
    }

    .section {
        padding: 2rem 0;
    }

    .card,
    .pricing-card,
    .team-card,
    .uc-card {
        box-shadow: none;
        border: 1px solid #cccccc;
        break-inside: avoid;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }
}


/* ==========================================================================
   URGENCE VIBE CODE — Premium service block
   ========================================================================== */

.urgence-block {
    background: linear-gradient(168deg, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.45) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(85, 199, 204, 0.08);
    border-left: 3px solid rgba(85, 199, 204, 0.4);
    border-radius: var(--radius-xl);
    padding: var(--space-10) var(--space-8);
    margin-bottom: var(--space-10);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.urgence-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(85, 199, 204, 0.2), transparent);
}

.urgence-header {
    margin-bottom: var(--space-8);
}

.urgence-header h3 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.urgence-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    flex-wrap: wrap;
}

.urgence-pricing .price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-teal), #7edce0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.urgence-badge {
    display: inline-block;
    background: rgba(74, 222, 128, 0.06);
    color: var(--color-success);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.urgence-degressive {
    color: var(--brand-teal);
    font-weight: 600;
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3);
}

.urgence-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.urgence-step {
    position: relative;
    text-align: center;
    padding: var(--space-5);
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(85, 199, 204, 0.06);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s ease;
}

.urgence-step:hover {
    border-color: rgba(85, 199, 204, 0.15);
}

/* Connector arrows between steps */
.urgence-step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    right: calc(-1 * var(--space-3) - 4px);
    top: 28px;
    font-size: var(--font-size-xl);
    color: var(--brand-teal);
    opacity: 0.6;
}

.urgence-step-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(85, 199, 204, 0.06);
    border: 1px solid rgba(85, 199, 204, 0.1);
    border-radius: var(--radius-full);
    margin: 0 auto var(--space-3);
    font-size: 1.4rem;
}

.urgence-step h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.urgence-step p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

.urgence-example {
    background: rgba(85, 199, 204, 0.03);
    border: 1px solid rgba(85, 199, 204, 0.08);
    border-left: 2px solid rgba(85, 199, 204, 0.3);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) auto;
    max-width: 700px;
    text-align: left;
}

.urgence-example p {
    font-style: italic;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin: 0;
}

.urgence-block .btn {
    margin-top: var(--space-6);
}

/* Urgence responsive — tablet */
@media (max-width: 1024px) {
    .urgence-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .urgence-step:nth-child(2)::after {
        display: none;
    }
}

/* Urgence responsive — mobile */
@media (max-width: 640px) {
    .urgence-block {
        padding: var(--space-8) var(--space-5);
    }

    .urgence-header h3 {
        font-size: var(--font-size-2xl);
    }

    .urgence-steps {
        grid-template-columns: 1fr;
    }

    .urgence-step::after {
        display: none;
    }
}


/* Hero — mobile responsive fix */
@media (max-width: 640px) {
    .hero {
        padding: var(--space-16) var(--space-4) var(--space-12);
    }

    .hero-content {
        max-width: 100%;
        padding: 0 var(--space-2);
    }

    .hero-logo-inline {
        transform: scale(0.8);
    }

    .hero h1.hero-brand-text {
        font-size: 1.8rem;
    }

    .hero-post-title {
        font-size: 1.2rem;
    }

    .hero-positioning {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .hero .subtitle {
        white-space: normal;
        font-size: var(--font-size-base);
        max-width: 100%;
        padding: 0 var(--space-2);
    }

    .hero-keywords {
        font-size: 0.7rem;
        letter-spacing: 0.04em;
        padding: 0 var(--space-2);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-4);
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in,
    .slide-in-left,
    .slide-in-right,
    .scale-in {
        opacity: 1;
        transform: none;
    }
}
