/* ============================================================
   ForestFire.app - Cassiopeia Extended User CSS
   Dark industrial design for the Wildcaster wildfire toolkit

   This file is loaded automatically by Cassiopeia's Web Asset
   Manager (template.user style). Files in /media/ survive
   Joomla updates — no PHP modifications needed.
   ============================================================ */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap");

/* ==========================================================
   0. CSS VARIABLES (moved from index.php inline)
   ========================================================== */

:root {
    /* Wildcaster design tokens */
    --wc-bg: #0a0a0a;
    --wc-surface: #1a1a1a;
    --wc-surface-alt: #141414;
    --wc-accent: #ffde14;
    --wc-accent-hover: #e6c800;
    --wc-text: #f0f0f0;
    --wc-text-muted: #999999;
    --wc-danger: #e2053a;
    --wc-border: #2a2a2a;
    --wc-font-heading: "Barlow Condensed", sans-serif;
    --wc-font-body: "Lato", sans-serif;

    /* Override Cassiopeia's built-in variables */
    --hue: 50;
    --template-bg-light: #0a0a0a;
    --template-text-dark: #f0f0f0;
    --template-text-light: #f0f0f0;
    --template-link-color: #ffde14;
    --template-special-color: #ffde14;
    --cassiopeia-font-family-body: "Lato", sans-serif;
    --cassiopeia-font-family-headings: "Barlow Condensed", sans-serif;
    --cassiopeia-font-weight-normal: 400;
    --cassiopeia-font-weight-headings: 700;
}

/* ==========================================================
   0.5 HOMEPAGE FULL-WIDTH GRID OVERRIDE
   Cassiopeia wraps positions in .grid-child elements that are
   constrained to main-start/main-end. On the homepage, we
   force them all to full-width (full-start/full-end) and
   remove the gap so sections flow edge-to-edge.
   ========================================================== */

/* Make all grid-child containers full-width on homepage */
body.is-home .site-grid .grid-child {
    grid-column: full-start / full-end;
    max-width: none;
    padding: 0;
}

/* Banner is already full-width but ensure consistent styling */
body.is-home .container-banner.full-width {
    padding: 0;
}

/* Remove grid gap on homepage for seamless sections */
body.is-home .site-grid {
    gap: 0;
    background-color: var(--wc-bg);
}

/* Hide the main component area on homepage (article content) */
body.is-home .container-component {
    display: none;
}

/* Force module containers to stack children vertically on homepage */
/* Cassiopeia uses flexbox with flex:1 making children sit side-by-side */
body.is-home .container-top-a,
body.is-home .container-top-b,
body.is-home .container-bottom-a,
body.is-home .container-bottom-b {
    display: flex;
    flex-direction: column;
}

body.is-home .container-top-a > *,
body.is-home .container-top-b > *,
body.is-home .container-bottom-a > *,
body.is-home .container-bottom-b > * {
    flex: none;
    margin: 0;
}

/* ==========================================================
   0.6 NEUTRALIZE CARD CHROME ON HOMEPAGE
   Cassiopeia renders modules in top-a/top-b/bottom-a/bottom-b
   with style="card", wrapping them in Bootstrap .card markup.
   We zero out all card styling so module HTML renders cleanly.
   ========================================================== */

body.is-home .grid-child .card {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

body.is-home .grid-child .card-body {
    padding: 0;
}

body.is-home .grid-child .card-header {
    display: none;
}

/* Also neutralize any module heading wrappers */
body.is-home .grid-child .mod-custom {
    padding: 0;
    margin: 0;
}

/* ============================================================
   ForestFire.app - Cassiopeia Extended User CSS
   Main Design System CSS

   Dark industrial design language inspired by
   Weber Rescue (angular/industrial) and OroraTech (content org)

   CSS Variables defined in :root above:
   --wc-bg, --wc-surface, --wc-surface-alt, --wc-accent,
   --wc-accent-hover, --wc-text, --wc-text-muted, --wc-danger,
   --wc-border, --wc-font-heading, --wc-font-body
   ============================================================ */

/* ==========================================================
   1. GLOBAL OVERRIDES - Cassiopeia Default Neutralization
   ========================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--wc-bg);
    color: var(--wc-text);
    font-family: var(--wc-font-body);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override Cassiopeia grid backgrounds */
.site-grid {
    background-color: var(--wc-bg);
}

.container-header {
    background-color: var(--wc-bg);
}

.container-footer {
    background-color: #050505;
}

/* Override Cassiopeia card defaults */
.card {
    background-color: var(--wc-surface);
    border-color: var(--wc-border);
    color: var(--wc-text);
    border-radius: 0;
}

/* Global link styling */
a {
    color: var(--wc-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: var(--wc-accent-hover);
    text-decoration: none;
}

/* Global font overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--wc-font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wc-text);
    line-height: 1.2;
    margin-top: 0;
}

p {
    font-family: var(--wc-font-body);
    color: var(--wc-text);
    line-height: 1.7;
}

/* Override Cassiopeia container max-widths */
.container-header > *,
.container-footer > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Remove Cassiopeia border-radius everywhere */
.card,
.btn,
input,
select,
textarea,
.alert,
.badge {
    border-radius: 0 !important;
}

/* Override Cassiopeia default button styles */
.btn-primary,
.btn-success {
    background-color: var(--wc-accent);
    border-color: var(--wc-accent);
    color: #000;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: var(--wc-accent-hover);
    border-color: var(--wc-accent-hover);
    color: #000;
}

/* ==========================================================
   2. HEADER (.container-header)
   ========================================================== */

.container-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--wc-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.wc-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
}

/* Brand / Logo */
.brand-logo,
.brand-logo span {
    color: var(--wc-accent) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: var(--wc-font-heading);
    font-weight: 700;
    font-size: 2.1rem;
    letter-spacing: 1px;
}

.brand-logo .brand-name {
    color: #ffffff !important;
}

.brand-logo .brand-ext {
    color: var(--wc-accent) !important;
}

.brand-logo:hover,
.brand-logo:hover span {
    color: var(--wc-accent-hover) !important;
}

.site-description {
    color: var(--wc-text-muted) !important;
    font-family: var(--wc-font-body);
    font-size: 1.2rem;
    font-weight: 300;
}

.brand-text {
    font-family: var(--wc-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.brand-dot {
    color: var(--wc-accent);
}

/* Header Navigation */
.wc-header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wc-header-nav a {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-family: var(--wc-font-heading);
    font-weight: 600;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    transition:
        color 0.3s ease,
        border-color 0.3s ease;
    text-decoration: none;
}

.wc-header-nav a:hover,
.wc-header-nav a:focus,
.wc-header-nav a.active {
    color: var(--wc-accent);
    border-bottom-color: var(--wc-accent);
}

/* Mobile menu toggle */
.wc-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--wc-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Joomla mod_menu override in header */
.container-header .mod-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.container-header .mod-menu li a {
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-family: var(--wc-font-heading);
    font-weight: 600;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    transition:
        color 0.3s ease,
        border-color 0.3s ease;
    text-decoration: none;
    display: block;
}

.container-header .mod-menu li a:hover,
.container-header .mod-menu li a:focus,
.container-header .mod-menu li.current > a,
.container-header .mod-menu li.active > a {
    color: var(--wc-accent);
    border-bottom-color: var(--wc-accent);
}

/* ==========================================================
   3. HOMEPAGE SECTIONS (.wc-section)
   ========================================================== */

.wc-section {
    width: 100%;
    padding: 50px 0;
    position: relative;
}

.wc-section:nth-child(odd) {
    background-color: var(--wc-bg);
}

.wc-section:nth-child(even) {
    background-color: var(--wc-surface-alt);
}

.wc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Titles */
.wc-section-title {
    font-family: var(--wc-font-heading);
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.wc-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--wc-accent);
}

.wc-section-subtitle {
    text-align: center;
    color: var(--wc-text-muted);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ==========================================================
   4. HERO SECTION (.wc-hero)
   ========================================================== */

.wc-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    background: var(--wc-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Hero background video */
.wc-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay behind hero text, fading to transparent at top and bottom */
.wc-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 10, 10, 0.6) 30%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.6) 70%,
        transparent 100%
    );
    z-index: 1;
}

/* Hero content above video overlay */
.wc-hero .wc-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wc-hero h1 {
    font-family: var(--wc-font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 24px;
    letter-spacing: 3px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--wc-font-body);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--wc-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Primary CTA Button - Angular clip-path */
.wc-btn-primary {
    display: inline-block;
    background-color: var(--wc-accent);
    color: #000000;
    padding: 16px 40px;
    font-family: var(--wc-font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.wc-btn-primary:hover,
.wc-btn-primary:focus {
    background-color: var(--wc-accent-hover);
    color: #000000;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Secondary Button - Angular outline */
.wc-btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--wc-accent);
    padding: 16px 40px;
    font-family: var(--wc-font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--wc-accent);
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.wc-btn-secondary:hover,
.wc-btn-secondary:focus {
    background-color: var(--wc-accent);
    color: #000000;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ==========================================================
   5. VIDEO SECTION (.wc-video)
   ========================================================== */

.wc-video {
    background-color: var(--wc-surface-alt);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 0 auto;
    background-color: var(--wc-surface);
}

.video-wrapper iframe,
.video-wrapper video,
.video-wrapper embed,
.video-wrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================
   6. PRODUCT CARDS (.wc-products)
   ========================================================== */

.wc-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.wc-product-card {
    background-color: var(--wc-surface);
    border-top: 3px solid var(--wc-accent);
    padding: 40px 30px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.wc-product-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--wc-danger);
    box-shadow: 0 8px 30px rgba(226, 5, 58, 0.18);
}

.wc-product-card:hover h3,
.wc-product-card:hover .wc-product-inline-icon {
    color: var(--wc-danger);
}

.wc-product-card h3 {
    font-family: var(--wc-font-heading);
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--wc-text);
    margin-bottom: 12px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-product-inline-icon {
    color: var(--wc-accent);
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

svg.wc-product-inline-icon {
    width: 1.3em;
    height: 1.3em;
}

.wc-product-card p {
    font-family: var(--wc-font-body);
    font-weight: 300;
    color: var(--wc-text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* ==========================================================
   7. DIFFERENTIATORS (.wc-differentiators)
   ========================================================== */

.wc-differentiators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.wc-differentiator-item {
    text-align: center;
}

.wc-differentiator-item .diff-icon {
    font-size: 3rem;
    color: var(--wc-accent);
    margin-bottom: 16px;
    line-height: 1;
}

.wc-differentiator-item h3 {
    font-family: var(--wc-font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wc-text);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.wc-differentiator-item p {
    color: var(--wc-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

/* Differentiators - metrics-style layout (actual live classes) */
.wc-differentiators {
    background-color: var(--wc-bg);
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 222, 20, 0.03) 20px,
        rgba(255, 222, 20, 0.03) 22px
    );
}

.wc-diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
}

.wc-diff-item {
    text-align: center;
}

.wc-diff-item .wc-diff-icon {
    display: none;
}

.wc-diff-item h3 {
    font-family: var(--wc-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wc-accent);
    line-height: 1.1;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wc-diff-item p {
    color: var(--wc-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.wc-diff-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wc-text);
    font-size: 0.8rem;
    font-family: var(--wc-font-heading);
    font-weight: 700;
    margin-bottom: 4px;
}

.wc-diff-detail {
    color: var(--wc-text-muted);
    font-family: var(--wc-font-body);
    font-size: 0.95rem;
    font-weight: 400;
}

/* ==========================================================
   8. HOW IT WORKS (.wc-howitworks)
   ========================================================== */

.wc-howitworks {
    background-color: var(--wc-surface-alt);
}

.wc-steps {
    display: flex;
    gap: 0;
    justify-content: center;
    position: relative;
}

.wc-step {
    flex: 1;
    text-align: center;
    padding: 30px;
    position: relative;
}

/* Step number circle */
.wc-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--wc-accent);
    color: #000000;
    font-family: var(--wc-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

/* Connecting line between step circles */
.wc-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 60px; /* center of the 60px circle + 30px padding */
    left: calc(50% + 30px);
    right: calc(-50% + 30px);
    height: 2px;
    background-color: var(--wc-border);
    z-index: 1;
}

.wc-step h3 {
    font-family: var(--wc-font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.wc-step p {
    font-family: var(--wc-font-body);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--wc-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================
   9. INDUSTRIES (.wc-industries)
   ========================================================== */

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

.wc-industry-card {
    background-color: var(--wc-surface);
    padding: 30px;
    border-left: 3px solid var(--wc-accent);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.wc-industry-card:hover {
    border-left-color: #ffffff;
    transform: translateX(4px);
}

.wc-industry-card h3 {
    font-family: var(--wc-font-heading);
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--wc-text);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.wc-industry-card p {
    color: var(--wc-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.wc-industry-card .industry-icon {
    font-size: 2rem;
    color: var(--wc-accent);
    margin-bottom: 16px;
    line-height: 1;
}

/* ==========================================================
   10. METRICS (.wc-metrics)
   ========================================================== */

.wc-metrics {
    background-color: var(--wc-bg);
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 222, 20, 0.03) 20px,
        rgba(255, 222, 20, 0.03) 22px
    );
}

.wc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
}

.wc-metric-item {
    text-align: center;
}

.wc-metric-number {
    font-family: var(--wc-font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--wc-accent);
    line-height: 1.1;
    margin-bottom: 8px;
}

.wc-metric-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wc-text-muted);
    font-size: 0.8rem;
    font-family: var(--wc-font-heading);
    font-weight: 500;
}

/* ==========================================================
   11. PARTNERS (.wc-partners)
   ========================================================== */

.wc-partners {
    text-align: center;
}

.wc-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.wc-partner {
    background-color: var(--wc-surface);
    padding: 24px 16px;
    text-align: center;
}

.wc-partner-name {
    font-family: var(--wc-font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--wc-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.wc-partner-role {
    font-family: var(--wc-font-body);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--wc-text-muted);
}

.wc-partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.wc-partners-logos img {
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
    max-height: 50px;
    width: auto;
}

.wc-partners-logos img:hover {
    filter: grayscale(0%) brightness(1);
}

/* ==========================================================
   12. PRICING (.wc-pricing)
   ========================================================== */

.wc-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.wc-pricing-card {
    background-color: var(--wc-surface);
    padding: 40px 30px;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
}

.wc-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Featured pricing card */
.wc-pricing-featured {
    border: 2px solid var(--wc-accent);
    transform: scale(1.05);
    z-index: 2;
}

.wc-pricing-featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.wc-pricing-card .pricing-tier {
    font-family: var(--wc-font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--wc-text);
    margin-bottom: 16px;
}

.wc-pricing-card .pricing-price {
    font-family: var(--wc-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--wc-accent);
    margin-bottom: 8px;
    line-height: 1.1;
}

.wc-pricing-card .pricing-price.pricing-free {
    font-size: 3rem;
}

.wc-pricing-card .pricing-period {
    font-size: 0.85rem;
    color: var(--wc-text-muted);
    margin-bottom: 24px;
}

.wc-pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--wc-border);
    padding-top: 24px;
}

.wc-pricing-card .pricing-features li {
    font-family: var(--wc-font-body);
    font-weight: 300;
    color: var(--wc-text-muted);
    padding: 8px 0;
    font-size: 0.95rem;
}

.wc-pricing-card .pricing-features li + li {
    border-top: 1px solid rgba(42, 42, 42, 0.5);
}

/* ==========================================================
   13. CTA SECTION (.wc-cta)
   ========================================================== */

.wc-cta {
    background: linear-gradient(
        135deg,
        var(--wc-surface-alt) 0%,
        rgba(20, 20, 20, 1) 50%,
        var(--wc-surface-alt) 100%
    );
    text-align: center;
    padding: 100px 0;
}

.wc-cta h2 {
    font-family: var(--wc-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 20px;
}

.wc-cta p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--wc-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ==========================================================
   14. FOOTER (.container-footer)
   ========================================================== */

.container-footer {
    background-color: #050505;
    padding: 60px 0 30px;
    color: var(--wc-text-muted);
    font-family: var(--wc-font-heading);
}

.wc-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.wc-footer-col h4 {
    font-family: var(--wc-font-heading);
    text-transform: uppercase;
    color: var(--wc-accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.wc-footer-col ul li {
    margin-bottom: 10px;
}

.wc-footer-col ul li a {
    color: var(--wc-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.wc-footer-col ul li a:hover {
    color: var(--wc-accent);
}

.wc-footer-col p {
    color: var(--wc-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer bottom bar */
.wc-footer-bottom {
    border-top: 1px solid var(--wc-border);
    padding-top: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.wc-footer-bottom .copyright {
    color: var(--wc-text-muted);
    font-size: 0.8rem;
}

.wc-footer-bottom .esa-disclaimer {
    font-size: 0.75rem;
    color: var(--wc-text-muted);
    font-style: italic;
}

/* ==========================================================
   15. FUEL MOISTURE CALCULATOR RESTYLING
   ========================================================== */

/* Dark theme override for calculator article */
.com-content-article {
    background-color: var(--wc-bg);
    color: var(--wc-text);
}

.com-content-article .article-info {
    color: var(--wc-text-muted);
    border-color: var(--wc-border);
}

/* ---- Fuel Moisture Calculator Override ---- */

/* Page body background */
.com-content-article__body {
    background-color: #1a1a1a !important;
    font-family: var(--wc-font-body) !important;
}

/* Page headings */
.com-content-article h1 {
    color: #ffde14 !important;
    border-bottom-color: #333333 !important;
    font-family: var(--wc-font-heading) !important;
    background-color: #1a1a1a !important;
}

.com-content-article h2 {
    color: #ffde14 !important;
    border-bottom-color: #333333 !important;
    font-family: var(--wc-font-heading) !important;
}

.com-content-article h3 {
    color: #ffde14 !important;
    font-family: var(--wc-font-heading) !important;
}

.com-content-article h4 {
    color: #ffffff !important;
    font-family: var(--wc-font-heading) !important;
}

/* General text */
.com-content-article p,
.com-content-article li,
.com-content-article span,
.com-content-article div {
    color: #f0f0f0 !important;
}

/* Sections (dark cards) */
.com-content-article .section {
    background-color: #2a2a2a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px !important;
}

/* Calculator main container */
.com-content-article .calculator {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%) !important;
    color: #f0f0f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.com-content-article .calculator h2 {
    color: #ffde14 !important;
    border-bottom-color: rgba(255, 222, 20, 0.3) !important;
}

/* Calculator input groups */
.com-content-article .calc-input-group {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
}

.com-content-article .calc-input-group label {
    color: #f0f0f0 !important;
    font-family: var(--wc-font-heading) !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
}

/* Form inputs inside calculator */
.com-content-article .calc-input-group select,
.com-content-article .calc-input-group input {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #1a1a1a !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    font-family: var(--wc-font-body) !important;
}

.com-content-article .calc-input-group select:focus,
.com-content-article .calc-input-group input:focus {
    border-color: #ffde14 !important;
    box-shadow: 0 0 0 3px rgba(255, 222, 20, 0.25) !important;
    outline: none !important;
}

/* Calculate button */
.com-content-article .calc-button {
    background: #ffde14 !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: var(--wc-font-heading) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.com-content-article .calc-button:hover {
    background: #e6c800 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

/* Result display */
.com-content-article .calc-result {
    background: #2a2a2a !important;
    color: #f0f0f0 !important;
    border-radius: 8px !important;
}

.com-content-article .result-value {
    color: #ffde14 !important;
    font-family: var(--wc-font-heading) !important;
}

.com-content-article .result-label {
    color: #f0f0f0 !important;
    font-family: var(--wc-font-body) !important;
}

/* Note box inside calculator results (targets the light-blue inline-styled div) */
.com-content-article .calc-result div[style*="f0f8ff"] {
    color: #000000 !important;
}

/* Calculation steps */
.com-content-article .calc-steps {
    background: #1a1a1a !important;
    border-left-color: #ffde14 !important;
}

.com-content-article .calc-steps h4 {
    color: #ffde14 !important;
}

.com-content-article .calc-step {
    border-bottom-color: #333333 !important;
    color: #f0f0f0 !important;
}

/* Danger levels - black/gray/yellow/red only */
.com-content-article .danger-extreme {
    background: #c0392b !important;
    color: #ffffff !important;
}

.com-content-article .danger-high {
    background: #e74c3c !important;
    color: #ffffff !important;
}

.com-content-article .danger-moderate {
    background: #ffde14 !important;
    color: #1a1a1a !important;
}

.com-content-article .danger-low {
    background: #999999 !important;
    color: #ffffff !important;
}

/* Info tooltips */
.com-content-article .info-tooltip {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #f0f0f0 !important;
}

/* Tables */
.com-content-article table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.com-content-article table th {
    background-color: #333333 !important;
    color: #ffde14 !important;
    font-family: var(--wc-font-heading) !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    border: 1px solid #444444 !important;
}

.com-content-article table td {
    padding: 10px 16px !important;
    border: 1px solid #333333 !important;
    color: #f0f0f0 !important;
    font-size: 0.95rem !important;
}

.com-content-article table tr:nth-child(even) {
    background-color: #222222 !important;
}

.com-content-article table tr:hover {
    background-color: #2a2a2a !important;
}

/* Warning/example/glossary boxes */
.com-content-article .warning {
    background-color: #2a2a2a !important;
    border-left-color: #ffde14 !important;
    color: #f0f0f0 !important;
}

.com-content-article .warning p {
    color: #f0f0f0 !important;
}

.com-content-article .example {
    background-color: #2a2a2a !important;
    border-left-color: #c0392b !important;
    color: #f0f0f0 !important;
}

.com-content-article .example p {
    color: #f0f0f0 !important;
}

.com-content-article .glossary {
    background-color: #2a2a2a !important;
    border-left-color: #ffde14 !important;
    color: #f0f0f0 !important;
}

.com-content-article .glossary p {
    color: #f0f0f0 !important;
}

.com-content-article .table-note {
    background-color: #2a2a2a !important;
    border-left-color: #ffde14 !important;
    color: #f0f0f0 !important;
}

/* Quick guide / decision tree */
.com-content-article .quick-guide {
    background-color: #2a2a2a !important;
    border-color: #ffde14 !important;
    color: #ffde14 !important;
}

.com-content-article .quick-guide p {
    color: #ffde14 !important;
}

.com-content-article .decision-tree {
    background-color: #1a1a1a !important;
    border-color: #ffde14 !important;
    color: #ffde14 !important;
}

.com-content-article .decision-tree pre {
    color: #ffde14 !important;
}

/* Page title */
.com-content-article h1 {
    color: #ffde14 !important;
    border-bottom-color: #1a1a1a !important;
}

/* Highlight text */
.com-content-article .highlight {
    background-color: #ffde14 !important;
    color: #000000 !important;
}

/* Glossary terms — red */
.com-content-article .glossary-term {
    color: #a01616 !important;
}

/* Scientific References & About This Tool footer */
.com-content-article footer {
    background-color: #808080 !important;
    border-top-color: #666666 !important;
}

/* Subtitle (Assessment tool for Dead Fine Fuel...) */
.com-content-article__body em {
    color: #ffffff !important;
}

/* Form inputs outside calculator */
.com-content-article input[type="text"],
.com-content-article input[type="number"],
.com-content-article input[type="email"],
.com-content-article input[type="password"],
.com-content-article input[type="url"],
.com-content-article textarea {
    background-color: #2a2a2a;
    border: 2px solid #444444;
    color: #f0f0f0;
    padding: 10px;
    font-family: var(--wc-font-body);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.com-content-article input:focus,
.com-content-article textarea:focus,
.com-content-article select:focus {
    border-color: #ffde14;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 222, 20, 0.2);
}

/* Select elements outside calculator */
.com-content-article select {
    background-color: #2a2a2a;
    border: 2px solid #444444;
    color: #f0f0f0;
    padding: 10px;
    font-family: var(--wc-font-body);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    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='%23f0f0f0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* Labels outside calculator */
.com-content-article label {
    color: #f0f0f0;
    font-family: var(--wc-font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

/* General buttons */
.com-content-article .btn,
.com-content-article button[type="submit"],
.com-content-article input[type="submit"] {
    background-color: #ffde14;
    color: #000000;
    border: none;
    padding: 12px 30px;
    font-family: var(--wc-font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.com-content-article .btn:hover,
.com-content-article button[type="submit"]:hover,
.com-content-article input[type="submit"]:hover {
    background-color: #e6c800;
}

/* Danger level indicators */
.danger-level-low {
    color: #999999;
}

.danger-level-moderate {
    color: #ffde14;
}

.danger-level-high {
    color: #e74c3c;
}

.danger-level-very-high {
    color: #c0392b;
}

.danger-level-extreme {
    color: #8b0000;
}

/* ==========================================================
   16. SUBPAGE STYLING
   ========================================================== */

/* Subpage grid background */
.site-grid {
    background-color: var(--wc-bg);
}

/* Article content container */
.container-component {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Article body text */
.container-component .com-content-article__body,
.container-component article {
    color: var(--wc-text);
}

.container-component .com-content-article__body p,
.container-component article p {
    font-family: var(--wc-font-body);
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--wc-text);
    margin-bottom: 1.5em;
}

/* Article headings */
.container-component h1,
.container-component h2,
.container-component h3,
.container-component h4 {
    font-family: var(--wc-font-heading);
    color: var(--wc-text);
    margin-top: 2em;
    margin-bottom: 0.8em;
}

.container-component h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
}

.container-component h2 {
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.container-component h3 {
    font-size: 1.4rem;
}

/* Subpage cards */
.container-component .card {
    background-color: var(--wc-surface);
    border-color: var(--wc-border);
    color: var(--wc-text);
}

/* Strip card styling from main-bottom video modules */
.container-component .main-bottom.card {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}
.container-component .main-bottom.card .card-body {
    padding: 0;
}

/* Video overlay logo - responsive */
.wc-video-logo {
    font-size: 4rem !important;
}
@media (max-width: 768px) {
    .wc-video-logo {
        font-size: 1.4rem !important;
    }
}

/* Video diagonal line overlay — 1px lines, 5px spacing, -45deg
   Gradient opacity: 70% at top-left → 0% at bottom-right */
.wc-video-wrapper {
    position: relative;
}
.wc-video-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 1) 0px,
        rgba(0, 0, 0, 1) 3px,
        transparent 3px,
        transparent 8px
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    pointer-events: none;
    z-index: 1;
    border-radius: 8px;
}
/* Ensure logo sits above the line overlay */
.wc-video-wrapper > div {
    z-index: 2;
}

/* Subpage images */
.container-component img {
    max-width: 100%;
    height: auto;
}

/* Subpage lists */
.container-component ul,
.container-component ol {
    color: var(--wc-text);
    font-family: var(--wc-font-body);
    line-height: 1.8;
    font-size: 1.05rem;
}

.container-component ul li,
.container-component ol li {
    margin-bottom: 8px;
}

/* Blockquotes */
.container-component blockquote {
    border-left: 3px solid var(--wc-accent);
    padding-left: 20px;
    margin: 24px 0;
    color: var(--wc-text-muted);
    font-style: italic;
}

/* Code blocks */
.container-component code {
    background-color: var(--wc-surface);
    color: var(--wc-accent);
    padding: 2px 6px;
    font-size: 0.9rem;
}

.container-component pre {
    background-color: var(--wc-surface);
    border: 1px solid var(--wc-border);
    padding: 20px;
    overflow-x: auto;
    color: var(--wc-text);
}

.container-component pre code {
    padding: 0;
    background: none;
}

/* ==========================================================
   17. RESPONSIVE BREAKPOINTS
   ========================================================== */

/* -- Large Desktop (< 1200px) -- */
@media (max-width: 1200px) {
    .wc-section {
        padding: 40px 0;
    }

    .wc-hero h1 {
        font-size: 3rem;
    }

    .wc-section-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .wc-metric-number {
        font-size: 2.5rem;
    }
}

.wc-diff-item h3 {
    font-size: 2.2rem;
}

/* -- Tablet Landscape (< 992px) -- */
@media (max-width: 992px) {
    .wc-hero h1 {
        font-size: 2.5rem;
    }

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

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

    .wc-differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

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

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

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

    .wc-pricing-featured {
        transform: scale(1);
    }

    .wc-pricing-featured:hover {
        transform: translateY(-4px);
    }

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

    .wc-steps {
        flex-wrap: wrap;
    }

    .wc-step {
        flex: 0 0 50%;
    }

    .wc-step:not(:last-child)::after {
        display: none;
    }
}

/* -- Tablet Portrait (< 768px) -- */
@media (max-width: 768px) {
    .wc-section {
        padding: 30px 0;
    }

    .wc-hero {
        min-height: auto;
        padding: 40px 0;
    }

    .wc-hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

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

    .wc-section-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
        margin-bottom: 36px;
    }

    /* Stack navigation */
    .wc-header-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px 24px;
        border-bottom: 1px solid var(--wc-border);
        backdrop-filter: blur(12px);
    }

    .wc-header-nav.is-open {
        display: flex;
    }

    .wc-header-nav a {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--wc-border);
    }

    .wc-menu-toggle {
        display: block;
    }

    /* Joomla menu stacking on mobile */
    .container-header .mod-menu {
        flex-direction: column;
    }

    /* Grid adjustments */
    .wc-products-grid {
        grid-template-columns: 1fr;
    }

    .wc-industries-grid {
        grid-template-columns: 1fr;
    }

    .wc-pricing-grid {
        grid-template-columns: 1fr;
    }

    .wc-pricing-featured {
        transform: scale(1);
    }

    /* Steps stack vertically */
    .wc-steps {
        flex-direction: column;
    }

    .wc-step {
        flex: none;
        width: 100%;
    }

    .wc-step:not(:last-child)::after {
        display: none;
    }

    /* CTA section */
    .wc-cta {
        padding: 60px 0;
    }

    .wc-cta h2 {
        font-size: 1.8rem;
    }

    /* Footer stacking */
    .wc-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    /* Partners */
    .wc-partners-logos {
        gap: 24px;
    }

    .wc-partners-logos img {
        max-height: 36px;
    }

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

    .wc-diff-grid {
        grid-template-columns: 1fr;
    }

    .wc-diff-item h3 {
        font-size: 1.8rem;
    }
    /* Container component for subpages */
    .container-component {
        padding: 24px 16px;
    }
}

/* -- Mobile (< 576px) -- */
@media (max-width: 576px) {
    .wc-container {
        padding: 0 16px;
    }

    .wc-hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

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

    .wc-btn-primary,
    .wc-btn-secondary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .wc-section-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .wc-metric-number {
        font-size: 2rem;
    }

    .wc-diff-item h3 {
        font-size: 1.5rem;
    }

    .wc-differentiators-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wc-metrics-grid {
        gap: 20px;
    }

    .brand-text {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .wc-product-card {
        padding: 30px 20px;
    }

    .wc-pricing-card {
        padding: 30px 20px;
    }

    .container-component h1 {
        font-size: 1.6rem;
    }

    .container-component h2 {
        font-size: 1.4rem;
    }

    .container-component .com-content-article__body p,
    .container-component article p {
        font-size: 1rem;
    }
}

/* ==========================================================
   18. UTILITY CLASSES
   ========================================================== */

/* Text utilities */
.wc-text-accent {
    color: var(--wc-accent);
}

.wc-text-muted {
    color: var(--wc-text-muted);
}

.wc-text-danger {
    color: var(--wc-danger);
}

.wc-text-center {
    text-align: center;
}

.wc-text-uppercase {
    text-transform: uppercase;
}

/* Spacing utilities */
.wc-mt-0 {
    margin-top: 0;
}
.wc-mt-1 {
    margin-top: 8px;
}
.wc-mt-2 {
    margin-top: 16px;
}
.wc-mt-3 {
    margin-top: 24px;
}
.wc-mt-4 {
    margin-top: 40px;
}

.wc-mb-0 {
    margin-bottom: 0;
}
.wc-mb-1 {
    margin-bottom: 8px;
}
.wc-mb-2 {
    margin-bottom: 16px;
}
.wc-mb-3 {
    margin-bottom: 24px;
}
.wc-mb-4 {
    margin-bottom: 40px;
}

/* Display utilities */
.wc-d-flex {
    display: flex;
}

.wc-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.wc-gap-1 {
    gap: 8px;
}
.wc-gap-2 {
    gap: 16px;
}
.wc-gap-3 {
    gap: 24px;
}
.wc-gap-4 {
    gap: 40px;
}

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

/* ==========================================================
   19. ANIMATIONS
   ========================================================== */

/* Fade in up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Scroll-triggered fade-in class */
.wc-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

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

/* Stagger delay helpers for sequential reveals */
.wc-fade-in.wc-delay-1 {
    transition-delay: 0.1s;
}
.wc-fade-in.wc-delay-2 {
    transition-delay: 0.2s;
}
.wc-fade-in.wc-delay-3 {
    transition-delay: 0.3s;
}
.wc-fade-in.wc-delay-4 {
    transition-delay: 0.4s;
}
.wc-fade-in.wc-delay-5 {
    transition-delay: 0.5s;
}
.wc-fade-in.wc-delay-6 {
    transition-delay: 0.6s;
}

/* Smooth transitions on all interactive elements */
a,
button,
.wc-btn-primary,
.wc-btn-secondary,
.wc-product-card,
.wc-industry-card,
.wc-pricing-card,
.wc-partners-logos img,
input,
select,
textarea {
    transition: all 0.3s ease;
}

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

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

    .wc-hero-video {
        display: none;
    }
}

/* ==========================================================
   20. PRINT STYLES
   ========================================================== */

@media print {
    body {
        background-color: #ffffff;
        color: #000000;
    }

    .container-header,
    .container-footer,
    .wc-cta,
    .wc-btn-primary,
    .wc-btn-secondary {
        display: none;
    }

    .wc-section {
        background-color: #ffffff !important;
        padding: 20px 0;
    }

    .wc-section-title,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: #000000;
    }

    p,
    li,
    td,
    th {
        color: #333333;
    }

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

/* ==========================================================
   21. ARTICLE / SUBPAGE STYLES
   ========================================================== */

.wc-page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.wc-page-content h1 {
    font-family: var(--wc-font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wc-text);
    margin: 0 0 32px;
    line-height: 1.1;
}

.wc-page-content .wc-lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--wc-text);
    line-height: 1.7;
    margin-bottom: 40px;
    border-left: 3px solid var(--wc-accent);
    padding-left: 20px;
}

.wc-page-content h2 {
    font-family: var(--wc-font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wc-text);
    margin: 48px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--wc-border);
}

.wc-page-content h3 {
    font-family: var(--wc-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wc-accent);
    margin: 28px 0 8px;
}

.wc-page-content p {
    font-family: var(--wc-font-body);
    font-weight: 300;
    color: var(--wc-text-muted);
    line-height: 1.75;
    margin-bottom: 16px;
}

.wc-page-content ul {
    font-family: var(--wc-font-body);
    font-weight: 300;
    color: var(--wc-text-muted);
    line-height: 1.75;
    padding-left: 20px;
    margin-bottom: 20px;
}

.wc-page-content ul li {
    margin-bottom: 8px;
}

.wc-page-content ul li strong {
    color: var(--wc-text);
    font-weight: 600;
}

.wc-article-image {
    margin: 36px 0;
    background: var(--wc-surface);
    border: 1px solid var(--wc-border);
}

.wc-article-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

/* Empty image slot — hidden until real image is added */
.wc-article-image--empty {
    display: none;
}

@media (max-width: 768px) {
    .wc-page-content {
        padding: 16px 0 40px;
    }
    .wc-page-content .wc-lead {
        font-size: 1.1rem;
    }
    .wc-article-image img {
        max-height: 260px;
    }
}
