/* ============================================
   ZeoSign Theme - Main Stylesheet
   Primary: rgb(220,38,38) / #DC2626
   Secondary: white / #FFFFFF
   Balance: black / #000000
   ============================================ */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:1rem;line-height:1.5;color:#000;background:#f8fafc;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;overflow-x:hidden}
::selection{background:#dc2626;color:#fff}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{font:inherit;cursor:pointer;border:none;background:none}
input,textarea,select{font:inherit}
h1,h2,h3,h4,h5,h6{line-height:1.2;font-weight:600;color:#000}
p{color:rgba(0,0,0,.72)}

/* --- Accessibility --- */
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{background:#fff;width:auto;height:auto;padding:.75rem 1.25rem;margin:0;clip:auto;z-index:100000}
.zs-hidden{display:none!important}

/* --- Site --- */
.zs-site{display:flex;flex-direction:column;min-height:100vh}
.zs-main{flex:1}

/* --- Page Header & Content --- */
.page-header{
    position:relative;
    padding:5rem 0 4rem;
    background:#000;
    color:#fff;
    text-align:center;
}
.page-header-bg{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(220,38,38,.15),rgba(0,0,0,.85));
    z-index:0;
}
.page-header-content{
    position:relative;
    z-index:1;
    max-width:700px;
    margin:0 auto;
}
.page-title{
    font-size:clamp(2rem,5vw,3.5rem);
    font-weight:700;
    color:#fff;
    margin-bottom:.75rem;
    letter-spacing:-.02em;
}
.page-subtitle{
    font-size:1.125rem;
    color:rgba(255,255,255,.7);
    margin:0;
    line-height:1.6;
}
.page-content{
    padding:3rem 1.5rem 4rem;
    max-width:85rem;
    margin:0 auto;
}
.page-content .wp-block{margin-bottom:2rem}
.page-content h2{font-size:1.75rem;margin-bottom:1rem;color:#000}
.page-content h3{font-size:1.375rem;margin-bottom:.75rem;color:#000}
.page-content p{margin-bottom:1rem;line-height:1.75;color:#333}
.page-content a{color:#dc2626;text-decoration:underline;text-underline-offset:2px}
.page-content a:hover{color:#b91c1c}
.page-content ul,.page-content ol{margin:1rem 0;padding-left:1.5rem}
.page-content li{margin-bottom:.5rem}
.page-content blockquote{border-left:4px solid #dc2626;padding-left:1.5rem;margin:1.5rem 0;font-style:italic;color:#555}
.page-content img{border-radius:8px;margin:1.5rem auto;max-width:100%;height:auto}
.page-content .alignleft{float:left;margin-right:1.5rem}
.page-content .alignright{float:right;margin-left:1.5rem}
.page-content .aligncenter{display:block;margin:1.5rem auto}

@media(max-width:40rem){
    .page-header{padding:4rem 0 3rem}
    .page-content{padding:2rem 1rem 3rem}
}

/* ============================================
   ZEOSIGN HEADER (Bootstrap 5 reference)
   ============================================ */
:root{
    --zeo-red:#e42528;
    --zeo-red-hover:#d91b24;
    --zeo-red-light:#fff1f2;
    --bs-gutter-x:1.5rem;
}

/* --- Bootstrap utility helpers (recreated, scoped to header) --- */
.fixed-top{position:fixed;top:0;left:0;right:0;z-index:1030}
.z-2{z-index:1020}
.z-3{z-index:1030}
.z-1{z-index:1}
.mx-auto{margin-left:auto;margin-right:auto}
.d-flex{display:flex}
.d-none{display:none}
.d-block{display:block}
.align-items-center{align-items:center}
.justify-content-between{justify-content:space-between}
.justify-content-end{justify-content:flex-end}
.flex-column{flex-direction:column}
.flex-shrink-0{flex-shrink:0}
.gap-1{gap:.25rem}
.gap-2{gap:.5rem}
.px-3{padding-left:1rem;padding-right:1rem}
.py-3{padding-top:1rem;padding-bottom:1rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.p-4{padding:1.5rem}
.pt-4{padding-top:1.5rem}
.p-3{padding:1rem}
.py-1{padding-top:.25rem;padding-bottom:.25rem}
.ms-1{margin-left:.25rem}
.me-2{margin-right:.5rem}
.mb-1{margin-bottom:.25rem}
.mb-0{margin-bottom:0}
.bg-white{background-color:#fff}
.bg-danger{background-color:var(--zeo-red)}
.border{border:1px solid #dee2e6}
.border-bottom{border-bottom:1px solid #dee2e6}
.border-top{border-top:1px solid #dee2e6}
.rounded-4{border-radius:1rem}
.rounded-3{border-radius:.5rem}
.shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}
.text-white{color:#fff}
.text-dark{color:#000}
.text-muted{color:#6c757d}
.text-danger{color:var(--zeo-red)}
.text-secondary{color:#6c757d}
.text-light{color:#f8f9fa}
.text-uppercase{text-transform:uppercase}
.text-decoration-none{text-decoration:none}
.fs-4{font-size:1.5rem}
.fs-5{font-size:1.25rem}
.fs-6{font-size:1rem}
.fw-bold{font-weight:700}
.small{font-size:.875em}
.position-relative{position:relative}

@media(min-width:576px){
    .d-sm-inline-block{display:inline-block}
    .px-3{padding-left:1rem;padding-right:1rem}
}
@media(min-width:768px){
    .d-md-inline-block{display:inline-block}
    .px-md-4{padding-left:1.5rem;padding-right:1.5rem}
}
@media(min-width:992px){
    .d-lg-flex{display:flex}
    .d-lg-none{display:none !important}
}

/* Custom 844px breakpoint */
@media(min-width:844px){
    .d-custom-lg-inline-block{display:inline-block}
    .d-custom-lg-none{display:none !important}
}
@media(max-width:843.98px){
    .d-custom-lg-inline-block{display:none !important}
    .d-custom-lg-none{display:inline-flex !important}
}

.navbar-brand{display:inline-flex;align-items:center;gap:.5rem;padding-top:.3125rem;padding-bottom:.3125rem;margin-right:1rem;font-size:1.25rem;line-height:inherit;white-space:nowrap;text-decoration:none;color:#000}

.nav-link{display:inline-flex;align-items:center;background:none;border:none;padding:.5rem 1rem;font-size:1rem;font-weight:400;color:#0d6efd;text-decoration:none;cursor:pointer}

/* --- Scroll Progress Bar --- */
.zs-progress-wrap{background:#e9ecef;height:4px}
#scroll-progress{
    height:4px;
    background:linear-gradient(90deg,var(--zeo-red),#f43f5e);
    width:0%;
    transition:width .05s linear;
}

/* --- Dynamic Header --- */
.glass-header{
    transition:max-width .4s cubic-bezier(.16,1,.3,1),padding .4s ease;
    max-width:100rem;
    z-index:1030 !important;
}
.glass-header.shrunk{
    max-width:80rem;
    padding-top:.5rem !important;
    padding-bottom:.5rem !important;
}

#header-inner{position:relative !important}

/* Nav link color & styling */
.nav-link-black{
    color:#000 !important;
    font-weight:600;
    font-size:.95rem;
    padding:.75rem 1rem !important;
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    white-space:nowrap;
}
.nav-link-black:hover{color:var(--zeo-red) !important}

/* --- Buttons --- */
.btn{
    display:inline-block;
    font-weight:600;
    line-height:1.5;
    color:#000;
    text-align:center;
    vertical-align:middle;
    cursor:pointer;
    user-select:none;
    background-color:transparent;
    border:1px solid transparent;
    padding:.375rem .75rem;
    font-size:1rem;
    border-radius:.25rem;
    text-decoration:none;
    transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.btn-outline-zeo{
    color:var(--zeo-red);
    border-color:var(--zeo-red);
    border-radius:8px;
}
.btn-outline-zeo:hover{background-color:var(--zeo-red-light);color:var(--zeo-red);border-color:var(--zeo-red)}
.btn-zeo{background-color:var(--zeo-red);color:#fff;border-radius:8px}
.btn-zeo:hover{background-color:var(--zeo-red-hover);color:#fff}
.btn-light{background-color:#f8f9fa;border-color:#dee2e6;color:#000}
.btn-light:hover{background-color:#e2e6ea;border-color:#d3d9df}
.btn-close{
    box-sizing:content-box;
    width:1em;
    height:1em;
    padding:.25em .25em;
    color:#000;
    background:transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border:0;
    border-radius:.375rem;
    opacity:.5;
    cursor:pointer;
}
.btn-close:hover{opacity:.75}

/* --- FULL-WIDTH MEGA MENU --- */
.mega-menu-parent{position:static !important}

/* Invisible hover bridge */
.mega-menu-parent::after{
    content:'';
    position:absolute;
    top:100%;
    left:0;
    right:0;
    height:0;
    display:block;
    z-index:999;
}

.mega-dropdown-menu{
    position:absolute;
    left:0;
    right:0;
    width:100%;
    top:100%;
    margin-top:8px;
    border-radius:16px;
    border:1px solid #e2e8f0;
    box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);
    display:none;
    opacity:0;
    transform:translateY(-8px);
    transition:opacity .25s ease,transform .25s ease;
    z-index:1000;
    background-color:#fff;
    pointer-events:auto;
}

/* Grid helpers (Bootstrap 5 grid recreated) */
.row{
    display:flex;
    flex-wrap:wrap;
    margin-top:calc(-1 * .5rem);
    margin-right:calc(-.5 * var(--bs-gutter-x));
    margin-left:calc(-.5 * var(--bs-gutter-x));
}
.row>*{
    width:100%;
    max-width:100%;
    padding-right:calc(var(--bs-gutter-x) * .5);
    padding-left:calc(var(--bs-gutter-x) * .5);
    margin-top:.5rem;
}
.col-6{flex:0 0 auto;width:50%}
.col-7{flex:0 0 auto;width:58.333333%}
.col-5{flex:0 0 auto;width:41.666667%}

/* Mega item link */
.mega-item-link{
    text-decoration:none;
    padding:10px;
    border-radius:12px;
    transition:background-color .2s ease;
    display:flex;
    align-items:flex-start;
    gap:12px;
}
.mega-item-link:hover{background-color:var(--zeo-red-light)}

.mega-icon-box{
    width:36px;
    height:36px;
    border-radius:8px;
    background-color:#ffe4e6;
    color:var(--zeo-red);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}
.mega-item-link:hover .mega-icon-box{background-color:var(--zeo-red);color:#fff}

/* Right preview card */
.mega-preview-card{
    position:relative;
    height:100%;
    min-height:220px;
    border-radius:12px;
    overflow:hidden;
    background-color:#0f172a;
    color:#fff;
}
.mega-preview-img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.5;
    transition:opacity .2s ease,transform .2s ease;
}
.badge{
    display:inline-block;
    padding:.35em .65em;
    font-size:.75em;
    font-weight:700;
    line-height:1;
    color:#fff;
    text-align:center;
    white-space:nowrap;
    vertical-align:baseline;
    border-radius:.375rem;
    letter-spacing:.05em;
}
.badge.bg-danger{background-color:var(--zeo-red)}

/* --- OFF-CANVAS MOBILE MENU --- */
.zs-offcanvas{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    z-index:1045;
    display:flex;
    flex-direction:column;
    max-width:100%;
    width:400px;
    background-color:#fff;
    background-clip:padding-box;
    outline:0;
    box-shadow:0 1px 1px rgba(0,0,0,.14),0 2px 2px rgba(0,0,0,.14),0 4px 4px rgba(0,0,0,.14),0 6px 6px rgba(0,0,0,.14);
    transform:translateX(100%);
    transition:transform .3s ease-in-out;
    visibility:hidden;
    pointer-events:none;
}
.zs-offcanvas.show{
    transform:none !important;
    visibility:visible !important;
    pointer-events:auto;
}
.zs-offcanvas-overlay{
    position:fixed;
    inset:0;
    z-index:1040;
    background-color:rgba(0,0,0,.5);
    opacity:0;
    visibility:hidden;
    transition:opacity .3s ease-in-out;
    pointer-events:none;
}
.zs-offcanvas-overlay.show{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
@media(max-width:991.98px){
    .zs-offcanvas{width:100%;max-width:400px}
}

/* Ensure accordion inside offcanvas stays hidden until toggled */
.zs-offcanvas .accordion-body.d-none{
    display:none !important;
}
.zs-offcanvas .accordion-body:not(.d-none){
    display:block !important;
}
.offcanvas-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:1rem 1rem;
    border-bottom:1px solid #dee2e6;
}
.offcanvas-title{margin-bottom:0;line-height:1.5}
.offcanvas-body{
    flex-grow:1;
    padding:1rem 1rem;
    overflow-y:auto;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

/* Accordion (mobile) */
.accordion{--bs-accordion-color:#212529;--bs-accordion-bg:#fff;--bs-accordion-border-color:#dee2e6}
.accordion-item{border-bottom:1px solid #dee2e6}
.accordion-header{margin-bottom:0}
.accordion-button{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    padding:1rem 1.25rem;
    font-size:1rem;
    text-align:left;
    background-color:transparent;
    border:0;
    border-radius:0;
    overflow-anchor:none;
    color:#000;
    cursor:pointer;
}
.accordion-button::after{
    flex-shrink:0;
    width:1.25rem;
    height:1.25rem;
    margin-left:auto;
    content:'';
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat:no-repeat;
    background-size:1.25rem;
    transition:transform .2s ease-in-out;
}
.accordion-button:not(.collapsed)::after{transform:rotate(180deg)}
.accordion-body{
    padding:1rem 1.25rem;
    color:#212529;
    background-color:#fff;
}
.accordion-button+.accordion-body.d-none{display:none}
.accordion-button:not(.collapsed)+.accordion-body.d-none{display:block}

/* Customizer logo in header */
#header-inner .custom-logo-link img{height:44px;width:auto}
@media(max-width:575.98px){
    #header-inner{padding:.5rem .75rem}
    .glass-header{padding-left:.5rem;padding-right:.5rem}
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero{padding:7.5rem 0 4rem;background:#fff}
.hero-container{max-width:85rem;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;gap:4rem}
.hero-content{flex:1;max-width:60rem}
.hero-badge{font-size:.8125rem;font-weight:600;color:#dc2626;margin-bottom:1.25rem;text-transform:uppercase;letter-spacing:.06em}
.hero-title{font-size:clamp(2.25rem,4.5vw,3.75rem);font-weight:700;line-height:1.08;color:#000;margin-bottom:1.5rem;letter-spacing:-.02em}
.hero-subtitle{font-size:1.25rem;color:rgba(0,0,0,.65);line-height:1.6;margin-bottom:2.5rem;max-width:38ch}
.hero-cta-group{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:3rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;font-weight:600;line-height:1.5;border-radius:.5rem;padding:.75rem 1.5rem;min-height:2.75rem;text-decoration:none;transition:all .15s ease;cursor:pointer;border:1px solid transparent;white-space:nowrap}
.btn-primary{background:#dc2626;color:#fff;border-color:#dc2626}
.btn-primary:hover{background:#b91c1c;border-color:#b91c1c}
.btn-secondary{background:transparent;color:#dc2626;border-color:#dc2626}
.btn-secondary:hover{background:#fef2f2}
.btn-lg{padding:1rem 2rem;min-height:3rem;font-size:1rem}
.hero-trust{padding-top:1.5rem;border-top:1px solid #f1f5f9}
.trust-label{font-size:.8125rem;font-weight:500;color:rgba(0,0,0,.45);margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.06em}
.trust-logos{display:flex;flex-wrap:wrap;gap:2.5rem;align-items:center}
.trust-logo-text{font-size:.9375rem;font-weight:700;color:rgba(0,0,0,.25);letter-spacing:.02em}
.hero-visual{flex:0 0 480px;display:flex;justify-content:center;align-items:center}
.hero-mockup{width:100%;max-width:440px;border-radius:12px;overflow:hidden;box-shadow:0 25px 50px rgba(0,0,0,.15)}
.mockup-header{background:#1a1a1a;padding:12px 16px;display:flex;align-items:center;gap:12px}
.mockup-dots{display:flex;gap:6px}
.mockup-dots span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.15)}
.mockup-dots span:nth-child(1){background:#ff5f57}
.mockup-dots span:nth-child(2){background:#febc2e}
.mockup-dots span:nth-child(3){background:#28c840}
.mockup-bar{flex:1;height:8px;background:rgba(255,255,255,.1);border-radius:4px}
.mockup-body{background:#f8f9fa;padding:2rem;min-height:300px}
.mockup-doc{background:#fff;border-radius:8px;padding:2rem;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.mockup-line{height:10px;background:#e5e7eb;border-radius:5px;margin-bottom:12px}
.mockup-signature{margin-top:2rem;padding-top:1.5rem;border-top:2px dashed #e5e7eb;display:flex;align-items:center;justify-content:space-between}
.mockup-sig-line{width:120px;height:2px;background:#dc2626;border-radius:1px;position:relative}
.mockup-sig-line::after{content:'';position:absolute;right:-20px;top:-15px;width:30px;height:30px;border-radius:50%;background:#dc2626;opacity:.15}
.mockup-check{width:28px;height:28px;border-radius:50%;background:#dc2626;display:flex;align-items:center;justify-content:center}
.mockup-check::after{content:'';width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);margin-top:-2px}

/* ============================================
   SECTIONS (Shared)
   ============================================ */
.section-container{max-width:85rem;margin:0 auto;padding:0 1.5rem}
.section-header{text-align:center;max-width:48rem;margin:0 auto 4rem}
.section-title{font-size:clamp(1.875rem,3.5vw,2.75rem);font-weight:700;color:#000;margin-bottom:1rem;letter-spacing:-.02em}
.section-subtitle{font-size:1.125rem;color:rgba(0,0,0,.6);line-height:1.6}

/* Features */
.features{padding:5rem 0;background:#fff}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.feature-card{padding:2rem;border-radius:.75rem;background:#fafafa;border:1px solid #f0f0f0;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex;flex-direction:column}
.feature-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.08);border-color:rgba(220,38,38,.15)}
.card-icon{width:3rem;height:3rem;color:#dc2626;margin-bottom:1.25rem;display:flex;align-items:center;justify-content:center;background:rgba(220,38,38,.06);border-radius:.5rem}
.card-icon svg{width:24px;height:24px}
.feature-card .card-title{font-size:1.125rem;font-weight:600;color:#000;margin-bottom:.75rem}
.card-description{color:rgba(0,0,0,.6);line-height:1.6;margin-bottom:1.25rem;flex:1}
.card-link{font-weight:600;color:#dc2626;display:inline-flex;align-items:center;gap:.375rem;font-size:.875rem;transition:gap .15s}
.card-link:hover{gap:.625rem}
.card-link svg{width:14px;height:14px}

/* Logo Ticker */
.logo-ticker{overflow:hidden;padding:2.5rem 0;background:#fafafa;border-top:1px solid #f1f5f9;border-bottom:1px solid #f1f5f9}
.ticker-track{display:flex;animation:tickerScroll 25s linear infinite;width:max-content}
.ticker-track:hover{animation-play-state:paused}
@keyframes tickerScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.ticker-item{flex:0 0 auto;width:175px;padding:0 1.25rem;display:flex;align-items:center;justify-content:center;min-height:4rem}
.ticker-logo-text{font-size:1.125rem;font-weight:700;color:rgba(0,0,0,.2);letter-spacing:.02em;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}}

/* Solutions */
.solutions{padding:5rem 0;background:#fff}
.solutions-tabs{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:3rem;border-bottom:2px solid #f1f5f9;justify-content:center}
.tab-btn{padding:.875rem 1.75rem;font-size:.875rem;font-weight:600;color:rgba(0,0,0,.55);transition:all .15s;position:relative;border-bottom:2px solid transparent;margin-bottom:-2px}
.tab-btn:hover{color:#000}
.tab-btn.active{color:#dc2626;border-bottom-color:#dc2626}
.tab-panel{display:none;animation:fadeIn .25s ease}
.tab-panel.active{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.solutions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.solution-card{display:flex;flex-direction:column;background:#fff;border-radius:.75rem;overflow:hidden;border:1px solid #f1f5f9;transition:transform .2s,box-shadow .2s}
.solution-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.08)}
.card-image{aspect-ratio:3/2;overflow:hidden;background:#f0f0f0}
.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.solution-card:hover .card-image img{transform:scale(1.05)}
.card-image-placeholder{width:100%;height:100%;min-height:140px}
.solution-sales-1{background:linear-gradient(135deg,#fee2e2,#fecaca)}
.solution-sales-2{background:linear-gradient(135deg,#fef2f2,#fca5a5)}
.solution-sales-3{background:linear-gradient(135deg,#fca5a5,#f87171)}
.solution-sales-4{background:linear-gradient(135deg,#f87171,#dc2626)}
.solution-hr-1{background:linear-gradient(135deg,#ede9fe,#ddd6fe)}
.solution-hr-2{background:linear-gradient(135deg,#e0e7ff,#c7d2fe)}
.solution-hr-3{background:linear-gradient(135deg,#dbeafe,#bfdbfe)}
.solution-hr-4{background:linear-gradient(135deg,#ccfbf1,#99f6e4)}
.solution-legal-1{background:linear-gradient(135deg,#fef9c3,#fef08a)}
.solution-legal-2{background:linear-gradient(135deg,#fff7ed,#fed7aa)}
.solution-legal-3{background:linear-gradient(135deg,#fce7f3,#fbcfe8)}
.solution-legal-4{background:linear-gradient(135deg,#d1fae5,#a7f3d0)}
.solution-fin-1{background:linear-gradient(135deg,#e0f2fe,#bae6fd)}
.solution-fin-2{background:linear-gradient(135deg,#f0fdf4,#bbf7d0)}
.solution-fin-3{background:linear-gradient(135deg,#faf5ff,#e9d5ff)}
.solution-fin-4{background:linear-gradient(135deg,#fff1f2,#fecdd3)}
.card-content{padding:1.5rem;flex:1;display:flex;flex-direction:column}
.solution-card .card-title{font-size:1rem;font-weight:600;color:#000;margin-bottom:.5rem;line-height:1.35}
.solution-card .card-description{color:rgba(0,0,0,.55);line-height:1.55;margin-bottom:1rem;font-size:.875rem;flex:1}

/* Resources */
.resources{padding:5rem 0;background:#f9fafb}
.resources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.resource-card{background:#fff;border-radius:.75rem;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.06);transition:transform .2s,box-shadow .2s;border:1px solid #f0f0f0}
.resource-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.1)}
.resource-card .card-image{aspect-ratio:4/3;overflow:hidden}
.resource-card .card-image-placeholder{background:#f0f0f0;width:100%;height:100%}
.resource-card .card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.resource-card:hover .card-image img{transform:scale(1.05)}
.resource-card .card-content{padding:1.5rem}
.card-badge{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#dc2626;margin-bottom:.5rem;display:block}
.resource-card .card-title{font-size:1.125rem;line-height:1.35;margin-bottom:.5rem}
.resource-card .card-title a{color:#000;text-decoration:none}
.resource-card .card-title a:hover{color:#dc2626}
.card-excerpt{font-size:.875rem;color:rgba(0,0,0,.55);line-height:1.55;margin:0}

/* CTA Banner */
.cta-banner{padding:5rem 0;background:#000;color:#fff}
.cta-content{text-align:center;max-width:48rem;margin:0 auto}
.cta-title{font-size:clamp(1.875rem,3.5vw,2.75rem);font-weight:700;color:#fff;margin-bottom:1rem}
.cta-text{font-size:1.125rem;color:rgba(255,255,255,.65);line-height:1.6;margin-bottom:2.5rem}
.cta-buttons{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}
.cta-banner .btn-primary{background:#dc2626;border-color:#dc2626;color:#fff}
.cta-banner .btn-primary:hover{background:#b91c1c;border-color:#b91c1c}
.btn-white{background:#fff;color:#000;border-color:#fff}
.btn-white:hover{background:rgba(255,255,255,.9)}

/* ============================================
   HOW IT WORKS (Parallax) Section
   ============================================ */
:root{
    --hiw-card-bg:#f8fafc;
    --hiw-border:#e2e8f0;
    --hiw-main:#0f172a;
    --hiw-muted:#64748b;
}
.parallax-section{position:relative;background-color:#fff}
.sticky-viewport{height:100vh;display:flex;align-items:center;justify-content:center}
.hiw-container{width:100%;max-width:85rem;margin:0 auto;padding:0 1.5rem}

/* Recreated grid/utilities for this section */
#how-it-works .row{display:flex;flex-wrap:wrap;margin-right:calc(-.5 * 1.5rem);margin-left:calc(-.5 * 1.5rem)}
#how-it-works .row>*{padding-right:calc(1.5rem * .5);padding-left:calc(1.5rem * .5)}
#how-it-works .col-lg-7{flex:0 0 auto;width:58.3333%}
#how-it-works .col-lg-5{flex:0 0 auto;width:41.6667%}
#how-it-works .col-lg-8{flex:0 0 auto;width:66.6667%}
#how-it-works .justify-content-center{justify-content:center}
#how-it-works .align-items-center{align-items:center}
#how-it-works .text-center{text-align:center}
#how-it-works .d-flex{display:flex}
#how-it-works .flex-column{flex-direction:column}
#how-it-works .align-items-start{align-items:flex-start}
#how-it-works .gap-2{gap:.5rem}
#how-it-works .gap-3{gap:1rem}
#how-it-works .g-4>*{margin-top:1.5rem}
#how-it-works .display-6{font-size:clamp(1.875rem,3.5vw,2.5rem);font-weight:700}
#how-it-works .text-dark{color:#0f172a}
#how-it-works .text-secondary{color:#64748b}
#how-it-works .lead{font-size:1.125rem;line-height:1.6}
#how-it-works .fs-6{font-size:1.0625rem}
#how-it-works .fw-bold{font-weight:700}
#how-it-works .m-0{margin:0}
#how-it-works .mb-3{margin-bottom:1rem}
#how-it-works .shadow-sm{box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}

#how-it-works .section-header{margin-bottom:2.5rem;max-width:100%;text-align:center}
.section-badge{color:#dc2626;font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.875rem;margin-bottom:.5rem;display:inline-block}
.hiw-heading{color:#0f172a;font-weight:700;margin-bottom:1rem;letter-spacing:-.02em}
.hiw-subtitle{color:#64748b;margin:0}

/* Left side image stage */
.preview-stage{height:480px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;position:relative;overflow:hidden}
.step-media{position:absolute;inset:0;padding:1.5rem;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .4s ease,visibility .4s ease;z-index:1}
.step-media.active{opacity:1;visibility:visible;z-index:2}
.step-media img{width:100%;height:100%;object-fit:cover;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 4px 12px rgba(0,0,0,.05)}
.step-media-placeholder{width:100%;height:100%;border-radius:12px;border:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fafc,#fef2f2);display:flex;align-items:center;justify-content:center}
.step-media-placeholder span{font-size:3rem;font-weight:700;color:#dc2626;opacity:.35}

/* Right side step list */
.step-item{border:1px solid transparent;border-radius:12px;padding:1rem 1.25rem;transition:all .3s ease;cursor:pointer}
.step-icon{width:38px;height:38px;border-radius:50%;border:2px solid #cbd5e1;color:#64748b;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;transition:all .3s ease}
.step-title{color:#64748b;font-size:1.15rem;font-weight:700;margin:0;transition:color .3s ease}
.step-desc{color:#475569;font-size:.875rem;margin-top:.35rem;display:none;margin-bottom:0}
.step-item.active{background-color:#f8fafc;border-color:#e2e8f0;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.step-item.active .step-icon{border-color:#dc2626;background-color:#dc2626;color:#fff}
.step-item.active .step-title{color:#0f172a}
.step-item.active .step-desc{display:block}

@media(max-width:64rem){
    #how-it-works .col-lg-7{width:100%}
    #how-it-works .col-lg-5{width:100%}
    .preview-stage{height:360px}
    .sticky-viewport{height:auto;padding:4rem 0}
    #how-it-works .g-4>*{margin-top:1rem}
}
@media(max-width:40rem){
    .preview-stage{height:280px}
    .step-title{font-size:1rem}
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer{background:#000;color:#fff;padding:4rem 0 0}
.footer-container{max-width:85rem;margin:0 auto;padding:0 1.5rem}
.footer-top{display:grid;grid-template-columns:1.5fr repeat(4,1fr);gap:2.5rem;margin-bottom:3rem}
.footer-brand .footer-logo{display:flex;align-items:center;margin-bottom:.75rem}
.footer-logo svg{width:140px;height:32px}
.footer-tagline{color:rgba(255,255,255,.45);margin:0 0 1.5rem;font-size:.875rem}
.social-links{display:flex;gap:.75rem;margin-bottom:1.5rem}
.social-links a{color:rgba(255,255,255,.45);transition:color .15s;display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.15)}
.social-links a:hover{color:#dc2626;border-color:#dc2626}
.app-badges{display:flex;gap:.75rem}
.app-badge{padding:.5rem 1rem;border:1px solid rgba(255,255,255,.25);border-radius:.375rem;font-size:.75rem;color:rgba(255,255,255,.6);transition:all .15s}
.app-badge:hover{border-color:rgba(255,255,255,.5);color:#fff}
.footer-column h4{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1.25rem;color:rgba(255,255,255,.85)}
.footer-column ul li{margin-bottom:.625rem}
.footer-column a{color:rgba(255,255,255,.45);font-size:.8125rem;transition:color .15s}
.footer-column a:hover{color:#dc2626}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:1.5rem 0;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;font-size:.8125rem;color:rgba(255,255,255,.4)}
.footer-legal{display:flex;flex-wrap:wrap;gap:1.5rem}
.footer-legal a:hover{color:#dc2626}
.footer-lang{display:flex;align-items:center;gap:.5rem}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll{opacity:0;transform:translateY(20px);transition:opacity .5s ease,transform .5s ease}
.animate-on-scroll.is-visible{opacity:1;transform:translateY(0)}
.feature-card:nth-child(2).animate-on-scroll{transition-delay:.1s}
.feature-card:nth-child(3).animate-on-scroll{transition-delay:.2s}
.feature-card:nth-child(4).animate-on-scroll{transition-delay:.3s}
.feature-card:nth-child(5).animate-on-scroll{transition-delay:.4s}
.feature-card:nth-child(6).animate-on-scroll{transition-delay:.5s}
.solution-card:nth-child(2).animate-on-scroll{transition-delay:.1s}
.solution-card:nth-child(3).animate-on-scroll{transition-delay:.2s}
.solution-card:nth-child(4).animate-on-scroll{transition-delay:.3s}
.resource-card:nth-child(2).animate-on-scroll{transition-delay:.1s}
.resource-card:nth-child(3).animate-on-scroll{transition-delay:.2s}
@media(prefers-reduced-motion:reduce){.animate-on-scroll{opacity:1;transform:none;transition:none}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* ============================================
   RESPONSIVE
   ============================================ */
@media(max-width:64rem){
    .hero-container{flex-direction:column;text-align:center;gap:2.5rem}
    .hero-content{max-width:100%}
    .hero-title{font-size:clamp(1.875rem,5vw,2.75rem)}
    .hero-subtitle{margin-left:auto;margin-right:auto;max-width:45ch}
    .hero-cta-group{justify-content:center}
    .hero-visual{flex:0 0 auto;width:100%;max-width:480px}
    .features-grid{grid-template-columns:repeat(2,1fr)}
    .solutions-grid{grid-template-columns:repeat(2,1fr)}
    .resources-grid{grid-template-columns:1fr 1fr}
    .footer-top{grid-template-columns:1fr 1fr;gap:2rem}
}
@media(max-width:40rem){
    .hero{padding:6rem 0 2rem}
    .hero-container{padding:0 1rem;flex-direction:column-reverse}
    .hero-title{font-size:clamp(1.5rem,6vw,2.25rem)}
    .hero-subtitle{font-size:1rem}
    .hero-cta-group{flex-direction:column;align-items:stretch}
    .hero-cta-group .btn{text-align:center}
    .hero-visual{display:none}
    .features{padding:3rem 0}
    .features-grid{grid-template-columns:1fr}
    .section-header{margin-bottom:2.5rem}
    .solutions{padding:3rem 0}
    .solutions-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}
    .tab-btn{padding:.75rem 1rem;font-size:.8125rem;white-space:nowrap}
    .solutions-grid{grid-template-columns:1fr}
    .resources{padding:3rem 0}
    .resources-grid{grid-template-columns:1fr}
    .cta-banner{padding:3rem 0}
    .cta-buttons{flex-direction:column;align-items:stretch}
    .cta-buttons .btn{text-align:center}
    .site-footer{padding:3rem 0 0}
    .footer-top{grid-template-columns:1fr;gap:2rem}
    .footer-bottom{flex-direction:column;text-align:center}
    .footer-legal{justify-content:center}
}

/* WordPress overrides */
.wp-caption{max-width:100%}
.wp-caption-text{font-size:.875rem;color:rgba(0,0,0,.6);padding:.5rem 0}