:root {
    --wf-bg: #090b10;
    --wf-surface: #11151d;
    --wf-surface-2: #161c25;
    --wf-card: rgba(18, 22, 31, 0.84);
    --wf-card-strong: rgba(15, 18, 25, 0.94);
    --wf-border: rgba(255, 255, 255, 0.08);
    --wf-border-soft: rgba(255, 255, 255, 0.05);
    --wf-text: #f5f7fb;
    --wf-text-soft: #c4ccda;
    --wf-text-faint: #8f9aae;
    --wf-text-dim: #6f7b8f;
    --wf-primary: #d0a061;
    --wf-primary-strong: #c48736;
    --wf-primary-soft: rgba(208, 160, 97, 0.16);
    --wf-accent: #9acdc4;
    --wf-accent-soft: rgba(154, 205, 196, 0.14);
    --wf-cobalt: #4d73ff;
    --wf-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.42);
    --wf-shadow-md: 0 18px 46px rgba(0, 0, 0, 0.28);
    --wf-shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.18);
    --wf-radius-xl: 34px;
    --wf-radius-lg: 26px;
    --wf-radius-md: 20px;
    --wf-radius-sm: 14px;
    --wf-shell-max: 1820px;
    --wf-shell-pad: 34px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--wf-text);
    background: var(--wf-bg);
    overflow-x: hidden;
}

    body.wf-menu-open {
        overflow: hidden;
    }

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

.wf-shell,
.wf-shell-wide {
    width: min(100% - (var(--wf-shell-pad) * 2), var(--wf-shell-max));
    margin-inline: auto;
}

.wf-main {
    position: relative;
    z-index: 2;
    padding-top: 168px;
}

.wf-section {
    position: relative;
    z-index: 2;
    padding: 104px 0;
}

.wf-page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(circle at 8% 18%, rgba(196, 135, 54, 0.18), transparent 24%), radial-gradient(circle at 90% 14%, rgba(77, 115, 255, 0.12), transparent 28%), linear-gradient(180deg, #07090d 0%, #0a0c11 40%, #090b10 100%);
}

.wf-bg-glow,
.wf-bg-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.wf-bg-glow-1 {
    background: radial-gradient(circle at 10% 30%, rgba(196, 135, 54, 0.10), transparent 28%);
}

.wf-bg-glow-2 {
    background: radial-gradient(circle at 92% 20%, rgba(77, 115, 255, 0.09), transparent 30%);
}

.wf-bg-mesh {
    opacity: 0.16;
    background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 92%);
}

.wf-section-heading {
    max-width: 1120px;
    margin-inline: auto;
}

    .wf-section-heading.text-center {
        text-align: center;
    }

.wf-section-heading-left {
    max-width: 860px;
    text-align: left;
}

.wf-section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wf-primary);
    background: rgba(196, 135, 54, 0.08);
    border: 1px solid rgba(196, 135, 54, 0.16);
}

.wf-section-heading h2 {
    margin: 18px 0 16px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.2rem, 3.3vw, 4.15rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: var(--wf-text);
}

.wf-section-heading p,
.wf-section-aside {
    margin: 0;
    color: var(--wf-text-soft);
    font-size: 1.05rem;
    line-height: 1.9;
}

.wf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 18px;
    font-size: 0.96rem;
    font-weight: 800;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease;
}

    .wf-btn:hover {
        transform: translateY(-2px);
    }

.wf-btn-primary {
    color: #121318;
    background: linear-gradient(135deg, #d9af75 0%, #c48736 56%, #e7be87 100%);
    box-shadow: 0 18px 40px rgba(196, 135, 54, 0.24);
}

    .wf-btn-primary:hover {
        box-shadow: 0 24px 48px rgba(196, 135, 54, 0.30);
    }

.wf-btn-soft {
    color: var(--wf-text);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

    .wf-btn-soft:hover {
        background: rgba(255,255,255,0.08);
        border-color: rgba(154, 205, 196, 0.22);
    }

.wf-btn-glow {
    position: relative;
}

    .wf-btn-glow::after {
        content: "";
        position: absolute;
        inset: auto 18px -12px 18px;
        height: 22px;
        border-radius: 999px;
        background: rgba(196, 135, 54, 0.28);
        filter: blur(18px);
        z-index: -1;
    }

.wf-float-card {
    box-shadow: var(--wf-shadow-lg);
}

.wf-hover-shift {
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

    .wf-hover-shift:hover {
        transform: translateY(-6px);
        border-color: rgba(196, 135, 54, 0.18);
        box-shadow: 0 22px 44px rgba(0,0,0,0.26);
    }

.wf-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--wf-text);
}

    .wf-text-link i {
        transition: transform 0.28s ease;
    }

    .wf-text-link:hover i {
        transform: translateX(4px);
    }

.wf-footer {
    position: relative;
    z-index: 2;
    padding: 84px 0 34px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, rgba(10, 12, 17, 0) 0%, rgba(10, 12, 17, 0.68) 100%);
}

.wf-footer-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr 1fr;
    gap: 42px;
}

.wf-footer-brand h5,
.wf-footer-col h6 {
    margin: 0 0 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--wf-text);
}

.wf-footer-brand p {
    margin: 0;
    color: var(--wf-text-soft);
    line-height: 1.9;
    max-width: 460px;
}

.wf-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

    .wf-footer-links a {
        color: var(--wf-text-soft);
        transition: color 0.25s ease, transform 0.25s ease;
    }

        .wf-footer-links a:hover {
            color: var(--wf-text);
            transform: translateX(3px);
        }

.wf-footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: var(--wf-text-faint);
    font-size: 0.92rem;
}

.wf-back-to-top {
    position: fixed;
    right: 26px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 18px;
    color: #101115;
    background: linear-gradient(135deg, #d9af75 0%, #c48736 56%, #e7be87 100%);
    box-shadow: 0 16px 34px rgba(196, 135, 54, 0.26);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

    .wf-back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

@media (max-width: 1399.98px) {
    .wf-main {
        padding-top: 120px;
    }

    .wf-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
}

@media (max-width: 1199.98px) {
    .wf-main {
        padding-top: 112px;
    }

    .wf-section {
        padding: 84px 0;
    }

    .wf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    :root {
        --wf-shell-pad: 16px;
    }

    .wf-main {
        padding-top: 96px;
    }

    .wf-section {
        padding: 68px 0;
    }

    .wf-section-heading h2 {
        margin-top: 16px;
    }

    .wf-section-heading p,
    .wf-section-aside {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .wf-btn {
        width: 100%;
    }

    .wf-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .wf-back-to-top {
        right: 14px;
        bottom: 14px;
    }
}

.wf-shell {
    width: 100%;
}

.wf-shell-wide {
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
}

/* =========================================
   GLOBAL STABILITY FIX – REMOVE SHAKING / FLICKER
========================================= */
html {
    overflow-x: hidden;
}

body,
.wf-main,
.wf-page-bg {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.wf-page-bg,
.wf-bg-glow,
.wf-bg-mesh {
    transform: translateZ(0);
    will-change: auto;
}

.wf-back-to-top {
    will-change: opacity, visibility;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   GLOBAL PAGE BACKGROUND – MATCH PRODUCT ECOSYSTEMS
   Apply same premium background across all pages
========================================================= */

html,
body {
    min-height: 100%;
    background: radial-gradient(circle at 0% 18%, rgba(196,135,54,0.16), transparent 28%), radial-gradient(circle at 88% 12%, rgba(77,115,255,0.13), transparent 31%), linear-gradient(180deg, #070910 0%, #090d16 42%, #070910 100%) !important;
    color: var(--wf-text);
}

/* Keep every page section transparent so global background shows */
main,
.wf-main,
.wf-page,
section,
.wf-section,
.wf-home-hero,
.wf-company-hero,
.wf-pe-hero,
.wf-careers-hero,
.wf-platform-hero,
.wf-engineering-hero,
.wf-industry-hero,
.wf-intelligence-hero,
.wf-perspectives-hero,
.wf-connect-hero {
    background: transparent !important;
}

/* Same soft overlay system on all pages */
.wf-home-hero-bg,
.wf-company-hero-bg,
.wf-pe-hero-bg,
.wf-careers-hero-bg,
.wf-platform-hero-bg,
.wf-engineering-hero-bg,
.wf-industry-hero-bg,
.wf-intelligence-hero-bg,
.wf-perspectives-hero-bg,
.wf-connect-hero-bg {
    background: transparent !important;
}

/* Remove heavy page-specific blue/purple washes */
.wf-careers-hero,
.wf-careers-main,
.wf-careers-section,
.wf-careers-bg,
.wf-platforms-page,
.wf-engineering-page,
.wf-industry-page,
.wf-intelligence-page,
.wf-perspectives-page,
.wf-connect-page {
    background: transparent !important;
}





.wf-btn-primary,
.wf-nav-btn-primary {
    background: linear-gradient(180deg, #e0b46a 0%, #c99545 100%);
    color: #0c0d12 !important;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 22px rgba(201,149,69,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}

    .wf-btn-primary:hover,
    .wf-nav-btn-primary:hover {
        background: linear-gradient(180deg, #e6bb74 0%, #d4a154 100%);
        color: #0c0d12 !important;
        box-shadow: 0 12px 30px rgba(212,161,84,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
        transform: translateY(-1px);
    }