/* CloudStaffIO / HRMS marketing landing — welcome.blade.php */

:root {
    --cs-orange: #fe8807;
    --cs-navy: #164084;
    --cs-sky: #4fb0d4;
    --cs-blue: #3376b3;
    --cs-soft: #fdc382;
    --cs-hero-end: #0a1628;
    --cs-page-gutter: clamp(1rem, 4vw, 1.5rem);
    --cs-container-max: 1200px;

    /* Fluid typography (320px → 1200px viewport) */
    --cs-text-xs: clamp(0.68rem, 0.62rem + 0.28vw, 0.78rem);
    --cs-text-sm: clamp(0.78rem, 0.72rem + 0.32vw, 0.9rem);
    --cs-text-base: clamp(0.9rem, 0.84rem + 0.35vw, 1rem);
    --cs-text-md: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --cs-text-lg: clamp(1.1rem, 0.98rem + 0.65vw, 1.35rem);
    --cs-text-xl: clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
    --cs-text-2xl: clamp(1.55rem, 1.2rem + 1.65vw, 2.25rem);
    --cs-text-hero: clamp(1.85rem, 1.05rem + 3.4vw, 3.15rem);
    --cs-text-display: clamp(1.65rem, 1.15rem + 2.4vw, 2.5rem);
    --cs-leading-tight: 1.12;
    --cs-leading-snug: 1.28;
    --cs-leading-normal: 1.45;
    --cs-leading-relaxed: 1.55;
    --cs-tracking-tight: -0.03em;
    --cs-tracking-normal: 0;
}

/* Long / complex-script locales (see config locale.compact_typography) */
body.cs-landing.cs-type-compact {
    --cs-text-xs: clamp(0.64rem, 0.58rem + 0.24vw, 0.72rem);
    --cs-text-sm: clamp(0.72rem, 0.66rem + 0.28vw, 0.82rem);
    --cs-text-base: clamp(0.84rem, 0.78rem + 0.3vw, 0.94rem);
    --cs-text-md: clamp(0.92rem, 0.84rem + 0.42vw, 1.05rem);
    --cs-text-lg: clamp(1rem, 0.9rem + 0.52vw, 1.2rem);
    --cs-text-xl: clamp(1.2rem, 1rem + 0.85vw, 1.55rem);
    --cs-text-2xl: clamp(1.4rem, 1.05rem + 1.35vw, 2rem);
    --cs-text-hero: clamp(1.55rem, 0.88rem + 2.65vw, 2.45rem);
    --cs-text-display: clamp(1.45rem, 1rem + 1.85vw, 2.1rem);
    --cs-leading-tight: 1.2;
    --cs-leading-snug: 1.35;
    --cs-leading-normal: 1.5;
    --cs-leading-relaxed: 1.6;
    --cs-tracking-tight: 0;
}

/* Malayalam — dedicated fluid scale + Noto Sans Malayalam (config locale.malayalam_typography) */
body.cs-landing.cs-type-ml {
    --cs-text-xs: clamp(0.62rem, 0.56rem + 0.22vw, 0.7rem);
    --cs-text-sm: clamp(0.7rem, 0.64rem + 0.26vw, 0.8rem);
    --cs-text-base: clamp(0.8rem, 0.74rem + 0.28vw, 0.9rem);
    --cs-text-md: clamp(0.88rem, 0.8rem + 0.38vw, 1rem);
    --cs-text-lg: clamp(0.96rem, 0.86rem + 0.48vw, 1.12rem);
    --cs-text-xl: clamp(1.1rem, 0.92rem + 0.75vw, 1.42rem);
    --cs-text-2xl: clamp(1.28rem, 0.98rem + 1.15vw, 1.82rem);
    --cs-text-hero: clamp(1.38rem, 0.72rem + 2.35vw, 2.12rem);
    --cs-text-display: clamp(1.32rem, 0.92rem + 1.55vw, 1.92rem);
    --cs-leading-tight: 1.22;
    --cs-leading-snug: 1.38;
    --cs-leading-normal: 1.52;
    --cs-leading-relaxed: 1.62;
    --cs-tracking-tight: 0;
    font-family: "Noto Sans Malayalam", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.cs-landing.cs-type-ml .cs-hero-cta .btn,
body.cs-landing.cs-type-ml .cs-nav-actions .btn {
    padding-inline: clamp(0.75rem, 1.8vw, 1.15rem);
}

body.cs-landing.cs-type-ml .cs-trust-pill {
    flex: 1 1 11.5rem;
    padding: 0.48rem clamp(0.55rem, 1vw, 0.7rem);
}

@container hero-copy (max-width: 28rem) {
    body.cs-landing.cs-type-ml .cs-hero h1 {
        font-size: clamp(1.32rem, 4cqi + 0.72rem, 1.92rem);
    }
}

@container hero-copy (min-width: 28.01rem) {
    body.cs-landing.cs-type-ml .cs-hero h1 {
        font-size: clamp(1.48rem, 2.4cqi + 0.82rem, 2.12rem);
    }
}

@container trust-pills (min-width: 22.01rem) {
    body.cs-landing.cs-type-ml .cs-trust-pill {
        flex: 1 1 calc(33.333% - 0.4rem);
        font-size: clamp(0.62rem, 1.2cqi + 0.48rem, 0.72rem);
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.75rem;
    overflow-x: hidden;
    max-width: 100%;
}

section[id],
header[id] {
    scroll-margin-top: 5.75rem;
}

body.cs-landing {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--cs-text-base);
    line-height: var(--cs-leading-normal);
    -webkit-font-smoothing: antialiased;
    color: #1a2332;
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    background-color: var(--cs-hero-end);
}

/* Bootstrap fixed steps → fluid scale inside landing */
.cs-landing .display-4 {
    font-size: var(--cs-text-hero) !important;
    line-height: var(--cs-leading-tight) !important;
}

.cs-landing .fs-5 {
    font-size: var(--cs-text-lg) !important;
    line-height: var(--cs-leading-snug) !important;
}

.cs-landing .fs-6,
.cs-landing .lead {
    font-size: var(--cs-text-md) !important;
    line-height: var(--cs-leading-relaxed) !important;
}

.cs-landing .h2,
.cs-landing h2.cs-section-title {
    font-size: var(--cs-text-2xl) !important;
    line-height: var(--cs-leading-tight) !important;
}

/* Adaptive copy — long translations (ML, AR, DE, etc.) stay inside layout */
.cs-landing :where(
    h1, h2, h3, h4, h5, h6,
    p, .lead, .btn, .nav-link,
    .cs-badge-hero, .cs-trust-pill, .cs-hero-note,
    .cs-kicker, .cs-module-tab-nav .nav-link,
    .badge, .cs-pricing-card, .cs-footerTop .btn
) {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.cs-landing .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: var(--cs-text-sm);
    font-weight: 700;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-wrap: normal;
}

.cs-landing .btn-sm {
    min-height: 2.25rem;
    padding: 0.4rem 0.85rem;
    font-size: var(--cs-text-xs);
}

.cs-landing .btn-lg {
    font-size: var(--cs-text-base);
    min-height: 2.75rem;
    padding: 0.65rem clamp(0.85rem, 2vw, 1.35rem);
}

header,
section,
footer {
    max-width: 100%;
    overflow-x: clip;
}

.cs-landing .container {
    max-width: var(--cs-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--cs-page-gutter);
    padding-right: var(--cs-page-gutter);
}

.cs-text-muted {
    color: #5c6b7e !important;
}

/* Navbar */
.cs-nav {
    background: rgba(22, 64, 132, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.cs-nav.scrolled {
    background: rgba(10, 22, 40, 0.92);
}

.cs-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    font-size: var(--cs-text-sm);
    padding: 0.4rem clamp(0.35rem, 0.85vw, 0.75rem) !important;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    max-width: 100%;
}

.cs-nav .nav-link:hover {
    color: var(--cs-soft) !important;
}

.cs-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.35rem 0.55rem;
}

.cs-nav .navbar-toggler:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cs-orange) 45%, transparent);
}

.cs-nav .navbar-collapse {
    margin-top: 0.5rem;
}

@media (min-width: 992px) {
    .cs-nav .navbar-collapse {
        margin-top: 0;
    }
}

.cs-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
    flex-shrink: 0;
}

.cs-brand-fallback {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--cs-orange) 0%, var(--cs-navy) 100%);
    flex-shrink: 0;
}

.cs-nav-actions {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.cs-nav-actions .btn {
    min-height: 2.125rem;
    padding: 0.45rem clamp(0.65rem, 1.4vw, 1rem);
    flex: 0 1 auto;
}

.cs-nav .navbar-brand {
    min-width: 0;
    max-width: min(100%, 14rem);
}

.cs-nav .navbar-brand .fw-bold {
    overflow-wrap: anywhere;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .cs-nav:not(.cs-nav--stacked) > .container {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 0.35rem;
    }

    .cs-nav:not(.cs-nav--stacked) .navbar-collapse {
        flex: 1 1 0;
        min-width: 0;
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 0.35rem 0.65rem;
    }

    .cs-nav:not(.cs-nav--stacked) .navbar-nav {
        flex: 1 1 auto;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        min-width: 0;
        margin-inline: auto !important;
        row-gap: 0.15rem;
    }

    .cs-nav:not(.cs-nav--stacked) .nav-item {
        flex: 0 1 auto;
        max-width: 100%;
    }

    .cs-nav:not(.cs-nav--stacked) .cs-nav-actions {
        flex: 0 0 auto;
        margin-inline-start: auto;
    }
}

/* Stacked nav (ML / other verbose locales) — brand + actions row, links row below */
@media (min-width: 1200px) {
    .cs-nav--stacked {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .cs-nav--stacked > .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem 1rem;
        row-gap: 0.35rem;
    }

    .cs-nav--stacked .navbar-brand {
        flex: 0 1 auto;
        max-width: min(48%, 16rem);
        margin-right: 0;
    }

    .cs-nav--stacked .cs-nav-actions--toolbar {
        flex: 0 0 auto;
        margin-left: auto;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .cs-nav--stacked .cs-nav-actions--toolbar .btn {
        font-size: clamp(0.72rem, 0.75vw, 0.84rem);
        padding: 0.42rem clamp(0.65rem, 1vw, 0.95rem);
        white-space: normal;
        max-width: 11rem;
    }

    .cs-nav--stacked .navbar-collapse {
        flex: 1 1 100%;
        width: 100%;
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        margin-top: 0.1rem;
        padding-top: 0.55rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .cs-nav--stacked .cs-nav-menu {
        width: 100%;
        margin-inline: 0 !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.4rem 0.7rem;
        row-gap: 0.45rem;
        padding-bottom: 0.15rem;
    }

    .cs-nav--stacked .nav-item {
        flex: 0 1 auto;
        max-width: 100%;
    }

    .cs-nav--stacked .nav-link {
        padding: 0.38rem 0.55rem !important;
        font-size: clamp(0.7rem, 0.74vw, 0.82rem);
        line-height: 1.35;
        letter-spacing: 0;
    }

    .cs-hero:has(.cs-nav--stacked) .cs-hero-content {
        padding-top: 7.75rem;
    }
}

body.cs-landing.cs-type-ml .cs-nav--stacked .nav-link {
    font-size: clamp(0.66rem, 0.68vw, 0.78rem);
    padding: 0.36rem 0.5rem !important;
}

html:has(.cs-nav--stacked) {
    scroll-padding-top: 8rem;
}

html:has(.cs-nav--stacked) section[id],
html:has(.cs-nav--stacked) header[id] {
    scroll-margin-top: 8rem;
}

.cs-btn-ghost,
.cs-btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-weight: 600;
    background: transparent;
}

.cs-btn-ghost:hover,
.cs-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.cs-btn-primary {
    background: linear-gradient(135deg, var(--cs-orange) 0%, #e67600 100%);
    border: none;
    color: #fff;
    font-weight: 700;
}

.cs-btn-primary:hover {
    filter: brightness(1.05);
    color: #fff;
}

.cs-btn-navy {
    background: var(--cs-navy);
    color: #fff;
    font-weight: 700;
    border: none;
}

.cs-btn-navy:hover {
    background: #12356d;
    color: #fff;
}

/* Hero */
.cs-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(160deg, var(--cs-navy) 0%, var(--cs-hero-end) 55%, #050a12 100%);
    overflow: hidden;
}

#csMainNav {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
}

.cs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 80% 20%, rgba(79, 176, 212, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 10% 60%, rgba(254, 136, 7, 0.12) 0%, transparent 45%);
    pointer-events: none;
}

.cs-hero-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 6rem 0 2.5rem;
}

/* Hero copy column — fluid type follows available width (not only viewport) */
.cs-hero-copy {
    container-type: inline-size;
    container-name: hero-copy;
    min-width: 0;
}

.cs-hero h1 {
    color: #fff;
    font-weight: 800;
    letter-spacing: var(--cs-tracking-tight);
    line-height: var(--cs-leading-tight);
    font-size: var(--cs-text-hero);
    max-width: 100%;
}

.cs-hero .lead {
    color: rgba(255, 255, 255, 0.82);
    max-width: 36rem;
    line-height: var(--cs-leading-relaxed);
    font-size: var(--cs-text-md);
}

.cs-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--cs-soft);
    font-size: var(--cs-text-xs);
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    max-width: 100%;
    line-height: var(--cs-leading-snug);
    white-space: normal;
}

@container hero-copy (max-width: 28rem) {
    .cs-hero h1 {
        font-size: clamp(1.45rem, 4.5cqi + 0.85rem, 2.15rem);
        line-height: var(--cs-leading-tight);
    }

    .cs-hero .lead {
        font-size: clamp(0.88rem, 2.2cqi + 0.72rem, 1.02rem);
    }

    .cs-badge-hero {
        font-size: clamp(0.64rem, 1.8cqi + 0.55rem, 0.74rem);
    }

    .cs-hero-cta .btn {
        font-size: clamp(0.82rem, 2cqi + 0.68rem, 0.95rem);
    }
}

@container hero-copy (min-width: 28.01rem) {
    .cs-hero h1 {
        font-size: clamp(1.75rem, 2.8cqi + 0.95rem, var(--cs-text-hero));
    }
}

.cs-hero-cta {
    gap: 0.75rem;
    align-items: center;
}

.cs-hero-cta .btn {
    flex: 1 1 auto;
    min-width: min(100%, 10.5rem);
    max-width: 100%;
}

.cs-hero-note {
    color: rgba(255, 255, 255, 0.65);
    font-size: var(--cs-text-xs);
    margin-top: 0.75rem;
    line-height: var(--cs-leading-normal);
    max-width: 100%;
}

.cs-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    container-type: inline-size;
    container-name: trust-pills;
}

.cs-trust-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--cs-text-xs);
    font-weight: 600;
    padding: 0.45rem clamp(0.5rem, 1.2vw, 0.75rem);
    border-radius: 8px;
    white-space: normal;
    text-align: center;
    line-height: var(--cs-leading-snug);
    max-width: 100%;
    flex: 1 1 10.5rem;
}

@container trust-pills (max-width: 22rem) {
    .cs-trust-pill {
        flex: 1 1 100%;
        font-size: clamp(0.66rem, 2.8cqi + 0.5rem, 0.76rem);
        padding: 0.42rem 0.55rem;
    }
}

@container trust-pills (min-width: 22.01rem) {
    .cs-trust-pill {
        font-size: clamp(0.68rem, 1.4cqi + 0.52rem, 0.78rem);
        flex: 1 1 calc(50% - 0.35rem);
    }
}

.cs-hero-visual {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.cs-hero-visual::after {
    content: "";
    position: absolute;
    inset: 8% -4% -6% 10%;
    background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--cs-sky) 35%, transparent), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

.cs-hero-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.cs-hero-partners {
    position: relative;
    z-index: 1;
    padding: 1.75rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.cs-hero-partners__label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    text-align: center;
}

.cs-hero-partners__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.cs-hero-partners__logos span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Sections */
.cs-section {
    padding: 5rem 0;
    background: #fff;
}

.cs-section-title {
    font-weight: 800;
    color: var(--cs-navy);
    letter-spacing: var(--cs-tracking-tight);
    font-size: var(--cs-text-2xl);
    line-height: var(--cs-leading-tight);
}

.cs-kicker {
    color: var(--cs-blue);
    font-weight: 700;
    font-size: var(--cs-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: var(--cs-leading-snug);
}

.cs-bg-soft {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.cs-bg-navy-tint {
    background: linear-gradient(180deg, #f0f6fb 0%, #e8f2f9 100%);
}

.cs-card-elevate {
    border: 1px solid rgba(22, 64, 132, 0.1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(22, 64, 132, 0.06);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cs-card-elevate:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(22, 64, 132, 0.12);
}

.cs-icon-sq {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.cs-module-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    background: color-mix(in srgb, var(--cs-navy) 8%, #fff);
    margin-bottom: 0.65rem;
}

/* How it works */
.cs-stage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-stage-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(22, 64, 132, 0.08);
}

.cs-stage-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cs-stage-check {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--cs-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Role cards */
.cs-role-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
}

.cs-role-card .cs-icon-sq {
    margin: 0 auto 1rem;
}

/* Security */
.cs-security {
    background: var(--cs-navy);
    color: #e8f0f8;
}

.cs-security h2,
.cs-security .cs-section-title {
    color: #fff;
}

/* Pricing */
.cs-pricing-row {
    overflow: visible;
    padding-top: 0.5rem;
    padding-bottom: 1.25rem;
}

.cs-pricing-row > [class*="col-"] {
    overflow: visible;
}

.cs-pricing-card {
    border: 1px solid rgba(22, 64, 132, 0.12);
    border-radius: 20px;
    background: #fff;
    height: 100%;
    position: relative;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease;
    transform: translateY(0) scale(1);
    will-change: transform;
}

.cs-pricing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.38s ease;
    background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(79, 176, 212, 0.14) 0%, transparent 70%);
}

.cs-pricing-card:hover {
    transform: translateY(-10px) scale(1.025);
    border-color: rgba(51, 118, 179, 0.28);
    box-shadow:
        0 18px 40px rgba(22, 64, 132, 0.14),
        0 4px 14px rgba(22, 64, 132, 0.08);
}

.cs-pricing-card:hover::after {
    opacity: 1;
}

.cs-pricing-card.featured {
    border-color: var(--cs-orange);
    box-shadow: 0 20px 50px rgba(254, 136, 7, 0.15);
}

.cs-pricing-card.featured::after {
    background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(254, 136, 7, 0.2) 0%, transparent 70%);
}

.cs-pricing-card.featured:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: color-mix(in srgb, var(--cs-orange) 85%, #fff);
    box-shadow:
        0 22px 52px rgba(254, 136, 7, 0.28),
        0 0 0 1px rgba(254, 136, 7, 0.35),
        0 8px 24px rgba(254, 136, 7, 0.18);
}

.cs-pricing-card .price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cs-navy);
    line-height: 1.1;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-pricing-card:hover .price-tag {
    transform: scale(1.03);
}

.cs-pricing-card ul li {
    color: #475569;
}

/* Stats */
.cs-stat-card {
    background: #fff;
    border: 1px solid rgba(22, 64, 132, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    height: 100%;
}

.cs-stat-card .cs-stat-value {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.1;
}

.cs-stat-card .cs-stat-note {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    margin-top: 0.35rem;
}

/* FAQ */
.cs-accordion .accordion-button:not(.collapsed) {
    background: rgba(22, 64, 132, 0.06);
    color: var(--cs-navy);
    font-weight: 700;
}

.cs-accordion .accordion-button {
    font-weight: 600;
}

/* Demo form */
.cs-form-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.cs-form-panel .form-control,
.cs-form-panel .form-select {
    border-radius: 10px;
    border-color: rgba(22, 64, 132, 0.18);
    min-height: 44px;
}

.cs-form-panel .form-control:focus,
.cs-form-panel .form-select:focus {
    border-color: color-mix(in srgb, var(--cs-blue) 55%, #cbd5e1);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cs-sky) 28%, transparent);
}

.cs-form-panel .form-label {
    color: #334155;
    margin-bottom: 0.35rem;
}

/* Newsletter */
.cs-newsletter {
    background: linear-gradient(135deg, #0c1929 0%, #08111e 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding: 2.5rem 0;
}

.cs-newsletter__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cs-newsletter__form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: min(100%, 320px);
    max-width: 480px;
}

.cs-newsletter__form .btn {
    flex: 0 0 auto;
    min-height: 2.5rem;
    padding: 0.5rem 1.15rem;
}

.cs-newsletter__form .form-control {
    flex: 1;
    min-width: 200px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    min-height: 44px;
}

.cs-newsletter__form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.cs-newsletter__form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(254, 136, 7, 0.5);
    box-shadow: 0 0 0 3px rgba(254, 136, 7, 0.15);
    color: #fff;
}

/* Footer */
.cs-footer {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(79, 176, 212, 0.12) 0%, transparent 45%),
        linear-gradient(180deg, #0c1929 0%, #08111e 100%);
    color: #94a3b8;
    padding: 3.5rem 0 1.5rem;
}

.cs-footerTop {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.cs-footerTop > .d-flex {
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem !important;
}

.cs-footerTop > .d-flex > div:first-child {
    flex: 1 1 12rem;
    min-width: 0;
}

.cs-footerTop__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.cs-footerTop .btn {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 0.5rem 1.15rem;
}

.cs-release-cta {
    align-items: center !important;
}

.cs-release-cta .btn {
    flex: 0 0 auto;
}

.cs-pricing-card .btn {
    min-height: 2.5rem;
    transform: scale(1);
    transform-origin: center;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease,
        filter 0.28s ease;
}

.cs-pricing-card .btn:hover,
.cs-pricing-card .btn:focus-visible {
    transform: scale(1.08);
}

.cs-pricing-card .cs-btn-navy:hover,
.cs-pricing-card .cs-btn-navy:focus-visible {
    box-shadow:
        0 0 0 3px rgba(51, 118, 179, 0.22),
        0 0 22px rgba(51, 118, 179, 0.45),
        0 10px 28px rgba(22, 64, 132, 0.28);
}

.cs-pricing-card .cs-btn-primary:hover,
.cs-pricing-card .cs-btn-primary:focus-visible {
    filter: brightness(1.06);
    box-shadow:
        0 0 0 3px rgba(254, 136, 7, 0.28),
        0 0 26px rgba(254, 136, 7, 0.55),
        0 10px 28px rgba(254, 136, 7, 0.35);
}

.cs-pricing-card:hover .btn {
    transform: scale(1.04);
}

.cs-pricing-card:hover .btn:hover,
.cs-pricing-card:hover .btn:focus-visible {
    transform: scale(1.1);
}

.cs-footerCol {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 14px;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.32);
    height: 100%;
}

.cs-footer a {
    color: #dbe5f2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cs-footer a:hover {
    color: var(--cs-soft);
}

.cs-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.9rem;
}

.cs-footerBrand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
}

.cs-footer .cs-admin-link {
    color: #94a3b8;
    font-size: 0.8rem;
}

.cs-footer .cs-admin-link:hover {
    color: var(--cs-soft);
}

/* Scroll reveal */
.cs-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cs-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@keyframes csElasticSnap {
    0% { transform: scale(1); }
    35% { transform: scale(1.06); }
    55% { transform: scale(0.97); }
    75% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.cs-elastic {
    transform-origin: center;
    transition: transform 0.2s ease;
    will-change: transform;
}

.cs-elastic:hover,
.cs-elastic:focus-visible {
    animation: csElasticSnap 420ms ease-out;
}

/* Responsive */
@media (max-width: 767.98px) {
    .cs-hero {
        min-height: auto;
    }

    .cs-hero-content {
        padding-top: 4.75rem;
        padding-bottom: 1.25rem;
    }

    .cs-hero-content .row {
        row-gap: 0.9rem !important;
    }

    .cs-hero h1 {
        font-size: var(--cs-text-hero);
        margin-top: 0.75rem !important;
        margin-bottom: 0.65rem !important;
    }

    .cs-hero .lead {
        font-size: var(--cs-text-md);
        line-height: var(--cs-leading-relaxed);
        margin-bottom: 0;
    }

    .cs-hero-cta {
        margin-top: 0.9rem !important;
        gap: 0.55rem;
        flex-direction: column;
        align-items: stretch !important;
    }

    .cs-hero-cta .btn {
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
        font-size: var(--cs-text-base);
        padding-top: 0.58rem;
        padding-bottom: 0.58rem;
        border-radius: 8px;
    }

    .cs-hero-note {
        margin-top: 0.6rem;
        font-size: var(--cs-text-xs);
        text-align: center;
    }

    .cs-trust-pills {
        gap: 0.45rem;
        margin-top: 0.8rem;
    }

    .cs-trust-pills .cs-trust-pill {
        flex: 1 1 100%;
        min-width: 0;
        font-size: var(--cs-text-xs);
        line-height: var(--cs-leading-snug);
        padding: 0.42rem 0.55rem;
    }

    .cs-hero-visual {
        margin-top: 0.15rem;
    }

    .cs-hero-visual img {
        border-radius: 12px !important;
    }

    .cs-hero-partners {
        padding: 0.95rem 0 1.2rem;
    }

    .cs-hero-partners__label {
        margin-bottom: 0.65rem;
    }

    .cs-hero-partners__logos {
        gap: 0.65rem 1.25rem;
    }

    .cs-hero-partners__logos span {
        font-size: 0.82rem;
    }

    .cs-section {
        padding: 3.5rem 0;
    }

    .cs-module-tab-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
        overflow: visible !important;
        padding-bottom: 0 !important;
        margin-bottom: 1rem !important;
    }

    .cs-module-tab-nav .nav-item {
        width: 100%;
    }

    .cs-module-tab-nav .nav-link {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
        min-height: 40px;
        text-align: center;
        padding: 0.45rem 0.6rem;
        font-size: 0.8rem;
        white-space: normal;
        line-height: 1.25;
    }

    .cs-newsletter__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cs-newsletter__form {
        max-width: 100%;
    }

    .cs-footerTop > .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .cs-footerTop__actions {
        justify-content: stretch;
        width: 100%;
    }

    .cs-footerTop__actions .btn {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: min(100%, 9.5rem);
    }
}

@media (min-width: 768px) {
    .cs-hero-content {
        padding: 6.5rem 0 2rem;
    }
}

@media (max-width: 1199.98px) {
    .cs-footerTop > .d-flex > div:first-child {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .cs-footerTop__actions {
        flex: 1 1 100%;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (min-width: 1200px) {
    .cs-pricing-row > [class*="col-"] {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cs-elastic:hover,
    .cs-elastic:focus-visible {
        animation: none;
    }

    .cs-pricing-card,
    .cs-pricing-card:hover,
    .cs-pricing-card .price-tag,
    .cs-pricing-card .btn,
    .cs-pricing-card:hover .btn {
        transform: none;
        transition: box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
    }

    .cs-pricing-card::after {
        transition: none;
    }
}

/* Feature showcase — module tabs & grids */
.cs-module-pillar {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-module-tab-nav {
    gap: 0.35rem;
    scrollbar-width: thin;
    flex-wrap: wrap;
    justify-content: center;
}

.cs-module-tab-nav .nav-link {
    color: var(--cs-navy);
    font-weight: 600;
    font-size: var(--cs-text-xs);
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    border-radius: 100px;
    padding: 0.45rem clamp(0.55rem, 1.5vw, 0.85rem);
    border: 1px solid rgba(22, 64, 132, 0.12);
    background: #fff;
    max-width: 100%;
}

.cs-module-tab-nav .nav-link:hover {
    background: rgba(22, 64, 132, 0.06);
    color: var(--cs-navy);
}

.cs-module-tab-nav .nav-link.active {
    background: var(--cs-navy);
    color: #fff;
    border-color: var(--cs-navy);
}

.cs-module-detail {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid rgba(22, 64, 132, 0.1);
}

.cs-feature-check {
    color: var(--cs-orange);
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1.4;
}

.cs-feature-list li {
    color: #334155;
}

.cs-manager-item {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(22, 64, 132, 0.08);
}

/* Differentiators strip */
.cs-diff-strip {
    background: linear-gradient(135deg, var(--cs-navy) 0%, #0a1628 100%);
    color: rgba(255, 255, 255, 0.9);
}

.cs-kicker-light {
    color: var(--cs-soft) !important;
}

.cs-diff-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
}

.cs-diff-star {
    color: var(--cs-orange);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Global section */
.cs-global-stat {
    background: #f8fafc;
    border: 1px solid rgba(22, 64, 132, 0.1);
}

.cs-global-stat__value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cs-navy);
}

.cs-global-list li {
    color: #334155;
}

/* Security grid */
.cs-security-grid-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-security-tile {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Plan comparison matrix */
.cs-plan-table {
    font-size: 0.85rem;
}

.cs-plan-table thead th {
    background: #f1f5f9;
    color: var(--cs-navy);
    font-weight: 700;
    border-bottom-width: 1px;
    padding: 0.75rem 0.5rem;
}

.cs-plan-table tbody td {
    padding: 0.65rem 0.5rem;
    vertical-align: middle;
    color: #475569;
}

.cs-plan-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.cs-integration-card .cs-module-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.cs-ess-card .cs-icon-sq {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
}

/* Public release notes */
.cs-release-note-card {
    border-top: 3px solid color-mix(in srgb, var(--cs-orange) 60%, transparent);
}

.cs-release-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cs-navy);
    background: rgba(22, 64, 132, 0.08);
    border: 1px solid rgba(22, 64, 132, 0.14);
}

.cs-release-version {
    border-top: 3px solid color-mix(in srgb, var(--cs-blue) 65%, transparent);
}

.cs-release-meta {
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(22, 64, 132, 0.1);
}

.cs-release-block {
    border: 1px solid rgba(22, 64, 132, 0.1);
    border-radius: 12px;
    background: #fff;
    padding: 0.9rem 1rem;
}

.cs-release-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.3;
}

.cs-release-section-icon {
    display: inline-flex;
    width: 1.35rem;
    height: 1.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(22, 64, 132, 0.08);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.cs-release-list-items {
    color: #52637a !important;
}

.cs-release-list-items li::marker {
    color: rgba(22, 64, 132, 0.55);
}
