:root {
    --wf-bg: #000316;
    --wf-bg-2: #02091d;
    --wf-surface: #071126;
    --wf-surface-2: #0d1930;
    --wf-surface-3: rgba(12, 26, 48, 0.86);
    --wf-surface-soft: rgba(255, 255, 255, 0.035);

    --wf-green: #00c853;
    --wf-green-bright: #52ff4f;
    --wf-green-deep: #009944;
    --wf-green-soft: rgba(0, 200, 83, 0.16);
    --wf-green-border: rgba(82, 255, 79, 0.28);

    --wf-text: #f7f9ff;
    --wf-muted: #9ba8bd;
    --wf-muted-2: #657188;

    --wf-border: rgba(255, 255, 255, 0.08);
    --wf-border-strong: rgba(255, 255, 255, 0.14);
    --wf-border-green: rgba(0, 200, 83, 0.35);

    --wf-radius-xs: 8px;
    --wf-radius-sm: 10px;
    --wf-radius-md: 16px;
    --wf-radius-lg: 24px;
    --wf-radius-xl: 32px;

    --wf-container: 1180px;
    --wf-container-wide: 1320px;
    --wf-section: clamp(72px, 8vw, 140px);

    --wf-font-heading: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --wf-font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --wf-shadow-card: 0 24px 90px rgba(0, 0, 0, 0.36);
    --wf-shadow-green: 0 20px 70px rgba(0, 200, 83, 0.18);
}

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

html {
    min-height: 100%;
    scroll-behavior: auto;
}

body.workforcer-dark-site {
    min-height: 100%;
    margin: 0;
    background:
        radial-gradient(circle at 18% 8%, rgba(0, 200, 83, 0.12), transparent 28rem),
        radial-gradient(circle at 90% 34%, rgba(0, 120, 70, 0.18), transparent 34rem),
        var(--wf-bg);
    color: var(--wf-text);
    font-family: var(--wf-font-body);
    text-rendering: geometricPrecision;
    overflow-x: hidden;
}

body.workforcer-dark-site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.32;
    mask-image: radial-gradient(circle at 50% 0%, #000 0, transparent 68%);
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

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

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

.wf-site-main {
    min-height: 60vh;
}

.wf-container {
    width: min(100% - 40px, var(--wf-container));
    margin-inline: auto;
}

.wf-container-wide {
    width: min(100% - 40px, var(--wf-container-wide));
    margin-inline: auto;
}

.wf-section {
    position: relative;
    padding-block: var(--wf-section);
}

.wf-section--tight {
    padding-block: clamp(48px, 6vw, 88px);
}

.wf-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 14px;
    border: 1px solid var(--wf-border-green);
    border-radius: 999px;
    background: rgba(0, 200, 83, 0.08);
    color: var(--wf-green-bright);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wf-heading-xl,
.wf-heading-lg,
.wf-heading-md {
    margin: 0;
    color: var(--wf-text);
    font-family: var(--wf-font-heading);
    font-weight: 800;
    letter-spacing: -0.055em;
}

.wf-heading-xl {
    font-size: clamp(42px, 6.5vw, 86px);
    line-height: 0.96;
}

.wf-heading-lg {
    font-size: clamp(32px, 4.5vw, 64px);
    line-height: 1.02;
}

.wf-heading-md {
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.08;
}

.wf-highlight {
    color: var(--wf-green-bright);
}

.wf-text {
    color: var(--wf-muted);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
}

.wf-card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)),
        var(--wf-surface);
    border: 1px solid var(--wf-border);
    border-radius: var(--wf-radius-lg);
    box-shadow: var(--wf-shadow-card);
    overflow: hidden;
}

.wf-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(82,255,79,0.08), transparent 44%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wf-card:hover {
    border-color: var(--wf-border-green);
}

.wf-card:hover::after {
    opacity: 1;
}

.wf-glow {
    position: relative;
}

.wf-glow::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 106, 0.28), transparent 55%);
    opacity: 0.7;
}

.wf-btn,
.elementor .wf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: linear-gradient(180deg, #00d968, #00aa4d);
    color: #00110a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 14px 38px rgba(0, 200, 83, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.wf-btn:hover,
.elementor .wf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(0, 200, 83, 0.34);
}

.wf-btn--ghost,
.elementor .wf-btn--ghost {
    background: transparent;
    color: var(--wf-text);
    border-color: var(--wf-border-green);
    box-shadow: none;
}

.wf-btn--ghost:hover,
.elementor .wf-btn--ghost:hover {
    background: rgba(0, 200, 83, 0.08);
}

.wf-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.wf-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wf-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Fallback header/footer. Elementor templates should normally replace these. */
.wf-fallback-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    background: rgba(0, 3, 22, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.wf-fallback-header__inner {
    width: min(100% - 48px, 1240px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.wf-fallback-header__logo,
.wf-fallback-footer__logo {
    display: inline-flex;
    align-items: baseline;
    color: var(--wf-text);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.wf-fallback-header__logo strong,
.wf-fallback-footer__logo strong {
    color: var(--wf-green-bright);
}

.wf-fallback-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wf-fallback-menu a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 600;
}

.wf-fallback-menu a:hover {
    color: var(--wf-green-bright);
}

.wf-fallback-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 18px;
    border: 1px solid var(--wf-border-green);
    border-radius: 999px;
    color: var(--wf-green-bright);
    font-size: 12px;
    font-weight: 800;
}

.wf-fallback-footer {
    position: relative;
    padding: 80px 0 28px;
    background:
        radial-gradient(circle at 85% 10%, rgba(0, 200, 83, 0.22), transparent 26rem),
        #000316;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wf-fallback-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
}

.wf-fallback-footer__logo {
    margin-bottom: 18px;
    font-size: 24px;
}

.wf-fallback-footer__brand p {
    max-width: 340px;
    margin: 0;
    color: var(--wf-muted);
    line-height: 1.65;
}

.wf-fallback-footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wf-fallback-footer__col h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 14px;
}

.wf-fallback-footer__col a {
    color: var(--wf-muted);
    font-size: 14px;
}

.wf-fallback-footer__col a:hover {
    color: var(--wf-green-bright);
}

.wf-fallback-footer__bottom {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--wf-muted-2);
    font-size: 13px;
}

/* Elementor-friendly defaults. */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.wf-container,
.elementor .wf-container {
    width: min(100% - 40px, var(--wf-container));
    max-width: var(--wf-container);
    margin-inline: auto;
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

[dir="rtl"] body.workforcer-dark-site,
body.rtl.workforcer-dark-site {
    direction: rtl;
}

[dir="rtl"] .wf-fallback-menu,
body.rtl .wf-fallback-menu {
    direction: rtl;
}
