/* ==========================================================================
   AuxBOS - Global Styles & Variables
   ========================================================================== */

:root {
    /* Colors */
    --primary: #111111;
    --primary-hover: #333333;
    --brand-magenta: #a4003d;
    --brand-magenta-dark: #4a001c;
    --secondary: #666666;
    --bg-light: #f9fafb;
    --bg-pink: #ffffff;
    --text-main: #111827;
    --text-muted: #52525b;  /* Darkened from #6b7280 to hit WCAG AA 7:1 on white (was 4.83:1). */
    --white: #ffffff;
    --border-color: #f3f4f6;

    /* Fluid Typography - minimal, tighter scale */
    --h1-size: clamp(1.9rem, 3vw + 0.9rem, 2.9rem);
    --h2-size: clamp(1.45rem, 2vw + 0.6rem, 2.1rem);
    --h3-size: clamp(1.1rem, 1vw + 0.75rem, 1.35rem);
    --body-size: clamp(0.9rem, 0.25vw + 0.82rem, 1rem);

    /* Spacing - tighter sections */
    --section-padding: clamp(44px, 5vw, 80px) 0;
    --section-padding-mobile: 44px 0;

    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Premium Elevation */
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.05);
    --shadow-magenta: 0 10px 30px rgba(164, 0, 61, 0.15);

    /* Typography */
    --font-main: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-heading: 'Kanit', 'Poppins', sans-serif;

    /* Heading tracking. Kanit at 700-800 is already narrow, so negative tracking
       has to stay proportional to the font size — see the mobile override below. */
    --tracking-heading: -0.02em;
    --tracking-display: -0.035em;
    --tracking-title: -0.015em;
}

/* Small screens: ease off the negative tracking entirely. Tight tracking that
   reads as "designed" at 46px reads as "broken" at 29px, because glyph shapes
   don't shrink linearly and sub-pixel rendering closes the gaps further.
   Overriding the custom properties here retargets every heading at once. */
@media (max-width: 767px) {
    :root {
        --tracking-heading: -0.005em;
        --tracking-display: -0.01em;
        --tracking-title: 0em;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: var(--font-main);
    font-size: var(--body-size);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    word-wrap: break-word;
}

/* Utilities */

/* Label text that screen readers announce but sighted users don't need, e.g.
   where a placeholder or icon already carries the meaning visually. */
.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;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* Typography base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* em-based so tracking scales with the fluid font sizes. Fixed px values
       stay constant while the text shrinks, which collides glyphs on mobile. */
    letter-spacing: var(--tracking-heading);
}

h1 {
    font-size: var(--h1-size);
    font-weight: 800;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 700;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 700;
}

.text-primary {
    color: var(--brand-magenta);
}

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

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 2rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

/* ==========================================================================
   Buttons & Actions
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-large {
    padding: 12px 26px;
    font-size: 0.98rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #a4003d 0%, #4a001c 100%);
    color: var(--white);
    border: none;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    padding: 12px 28px;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:active {
    box-shadow: 0 10px 20px -10px rgba(164, 0, 61, 0.5);
    background: linear-gradient(90deg, #a4003d 0%, #2a000f 100%);
    transform: translateY(-2px);
}

.btn-primary i {
    color: var(--white);
    transition: transform var(--transition-normal);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(164, 0, 61, 0.2);
    position: relative;
    padding: 12px 28px;
    font-weight: 600;
}

.btn-outline:hover,
.btn-outline:active {
    background: linear-gradient(90deg, #a4003d 0%, #2a000f 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(164, 0, 61, 0.5);
}

.btn-white {
    background-color: var(--white);
    color: #111111;
    border: 1px solid rgba(164, 0, 61, 0.1);
}

.btn-white:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-main);
    padding: 10px 16px;
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-white {
    background-color: var(--white);
    color: var(--text-main);
    border: 1px solid rgba(164, 0, 61, 0.15);
}

.btn-white:hover {
    background-color: #f8f8f8;
    color: var(--primary);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1160px, calc(100% - 40px));
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    transition: all var(--transition-normal);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.navbar.scrolled {
    top: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

/* flex:none on both — the nav row is a flex container, and with the menu at its
   natural width the logo was being shrunk below its aspect ratio (rendering
   ~60px wide instead of ~112px) rather than the row simply running out of room. */
.logo {
    display: flex;
    align-items: center;
    flex: none;
}

.brand-logo-img {
    height: 45px;
    width: auto;
    display: block;
    flex: none;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.center-logo-img {
    width: 60%;
    height: auto;
    filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.3));
}

/* On desktop the drawer chrome (icons, descriptions, chevrons) stays hidden and
   the menu collapses to a plain inline row. */
.modal-menu-header, .menu-icon, .menu-desc, .menu-arrow {
    display: none;
}

.menu-items {
    display: flex;
    align-items: center;
    /* 8 top-level items share the 1160px pill with the logo and the Login CTA.
       Measured at 1280px: logo 112 + menu + CTA 125 must stay under ~1099, so
       the gap and font are tighter than the old 6-item layout's 32px / 0.95rem. */
    gap: 16px;
}

.menu-item {
    font-weight: 500;
    font-size: 0.85rem;
    position: relative;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    white-space: nowrap;
}

.menu-item:hover {
    color: var(--brand-magenta);
    transform: translateY(-1px);
}

.menu-item.is-active {
    color: var(--brand-magenta);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Resources dropdown
   -------------------------------------------------------------------------- */

.menu-group {
    position: relative;
    display: flex;
    align-items: center;
}

.menu-group-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
}

.menu-group-toggle:hover,
.menu-group.open > .menu-group-toggle,
.menu-group.has-active > .menu-group-toggle {
    color: var(--brand-magenta);
}

.menu-group.has-active > .menu-group-toggle {
    font-weight: 600;
}

.menu-group-caret {
    font-size: 0.65rem;
    transition: transform 0.25s var(--transition-fast);
}

.menu-group.open .menu-group-caret {
    transform: rotate(180deg);
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 290px;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1001;
}

/* Invisible bridge across the gap, so the panel doesn't close while the pointer
   travels from the toggle down to it. */
.menu-dropdown::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.menu-group.open > .menu-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: background 0.18s;
}

.dropdown-item:hover {
    background: var(--bg-light);
}

.dropdown-item.is-active {
    background: rgba(164, 0, 61, 0.06);
}

.dropdown-icon {
    width: 38px;
    height: 38px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 1rem;
    background: var(--bg-light);
}

.dropdown-item:hover .dropdown-icon {
    background: var(--white);
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.15;
}

.dropdown-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-main);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: var(--bg-light);
}

/* Mobile-only CTA inside the drawer — hidden on desktop */
.nav-actions-mobile {
    display: none;
    padding: 20px 30px 24px;
    background: var(--white);
    position: relative;
    z-index: 10;
    width: 100%;
}

.nav-actions-mobile .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* script.js sets an inline display on the drawer CTA when the menu opens, which
   would otherwise survive a resize back up to desktop and leave a stray Login
   button in the pill. Inline styles beat normal rules, so this needs !important. */
@media (min-width: 992px) {
    .nav-actions-mobile {
        display: none !important;
    }
}

/* Full-screen overlay behind mobile nav drawer */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Navigation — drawer
   Breakpoint is 991px, not 767px: the inline row carries 8 top-level items now
   and will not fit a tablet. Keep every drawer rule inside this one block so
   the nav has a single home.
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    .navbar {
        top: 0 !important;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        padding: 12px 0;
    }

    .navbar.scrolled {
        top: 0 !important;
        border-radius: 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed !important;
        top: 50vh !important;
        left: 50vw !important;
        transform: translate(-50%, -50%) scale(0.95);
        width: 90vw;
        max-width: 420px;
        height: auto;
        max-height: 85vh;
        background: var(--white);
        border-radius: 20px;
        display: flex !important;
        flex-direction: column;
        padding: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
        overflow: hidden;
    }

    .nav-links.active {
        transform: translate(-50%, -50%) scale(1);
        visibility: visible;
        opacity: 1;
    }

    .modal-menu-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 30px 20px;
        border-bottom: 1px solid var(--border-color);
        position: relative;
    }

    .modal-menu-header h3 {
        margin: 0;
        font-family: var(--font-heading);
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--primary);
    }

    .mobile-menu-close {
        position: absolute;
        top: 25px;
        right: 25px;
        background: none;
        border: none;
        font-size: 1.3rem;
        color: var(--text-muted);
        cursor: pointer;
        transition: color 0.2s;
    }

    .mobile-menu-close:hover {
        color: var(--brand-magenta);
    }

    .menu-items {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        max-height: 50vh;
        overflow-y: auto;
        gap: 0;
    }

    .menu-item {
        display: flex;
        align-items: center;
        padding: 16px 30px;
        gap: 16px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        transition: background 0.2s;
        text-decoration: none;
        white-space: normal;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item:hover {
        background: var(--bg-light);
        transform: none;
    }

    .menu-item.is-active {
        background: rgba(164, 0, 61, 0.05);
    }

    .menu-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        width: 30px;
        flex: none;
    }

    .menu-text {
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 4px;
        align-items: flex-start;
    }

    .menu-title {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1.15rem;
        color: var(--primary);
        line-height: 1.1;
    }

    .menu-desc {
        display: block;
        font-family: var(--font-main);
        font-size: 0.8rem;
        color: var(--text-muted);
        line-height: 1.2;
    }

    .menu-arrow {
        display: block;
        font-size: 0.8rem;
        color: #d1d5db;
        transition: transform 0.2s;
        flex: none;
    }

    .menu-item:hover .menu-arrow {
        transform: translateX(4px);
        color: var(--brand-magenta);
    }

    /* Resources becomes an inline accordion rather than a floating panel. */
    .menu-group {
        display: block;
        position: static;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .menu-group:last-child {
        border-bottom: none;
    }

    .menu-group-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 16px 30px;
        gap: 16px;
        font-size: 1rem;
        text-align: left;
        transition: background 0.2s;
    }

    .menu-group-toggle:hover {
        background: var(--bg-light);
    }

    .menu-group-caret {
        font-size: 0.8rem;
        color: #d1d5db;
        flex: none;
    }

    .menu-group.open > .menu-group-toggle {
        background: var(--bg-light);
    }

    .menu-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: var(--bg-light);
        /* Animate the accordion open without hardcoding a height. */
        display: grid;
        grid-template-rows: 0fr;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        overflow: hidden;
        transition: grid-template-rows 0.28s ease;
    }

    .menu-dropdown::before {
        display: none;
    }

    .menu-group.open > .menu-dropdown {
        transform: none;
        grid-template-rows: 1fr;
    }

    .menu-dropdown-inner {
        min-height: 0;
        overflow: hidden;
    }

    .dropdown-item {
        padding: 13px 30px 13px 46px;
        border-radius: 0;
        gap: 14px;
    }

    .dropdown-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        background: var(--white);
    }

    .dropdown-title {
        font-size: 0.95rem;
    }

    .mobile-menu-btn {
        display: flex !important;
        position: relative;
        z-index: 990; /* Keep beneath the overlay (999) and modal (1000) */
    }

    .nav-actions {
        display: none !important;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding-top: clamp(140px, 15vh, 200px);
    padding-bottom: 60px;
    background: radial-gradient(circle at 50% -20%, rgba(164, 0, 61, 0.05) 0%, transparent 50%), var(--white);
    overflow: hidden;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    padding: 0 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    background: rgba(164, 0, 61, 0.06);
    color: var(--brand-magenta);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 32px;
    border: 1px solid rgba(164, 0, 61, 0.1);
}

.subheadline {
    font-size: clamp(1.1rem, 1vw + 0.8rem, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.subheadline a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 0, 61, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.subheadline a:hover {
    text-decoration-color: var(--primary);
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
}

/* Page Header (Secondary Pages) */
.page-header {
    background:
        radial-gradient(circle at 0% 0%, rgba(164, 0, 61, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(164, 0, 61, 0.05) 0%, transparent 50%),
        #ffffff;
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.15;
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(164, 0, 61, 0.03) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}


.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: var(--h1-size);
    font-weight: 800;
    margin-bottom: 16px;
    color: #0b1c33;
    letter-spacing: var(--tracking-display);
}

.page-header .subheadline {
    margin-bottom: 0;
    max-width: 650px;
}


.micro-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stars {
    color: #FFB800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars span {
    color: var(--text-main);
    font-weight: 600;
    margin-left: 4px;
}

.proof-divider {
    color: #ccc;
}

/* Hero Visual & Animations */
.hero-visual {
    position: relative;
    z-index: 1;
    perspective: 1000px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-mockup {
    position: relative;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.dashboard-mockup:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(-1deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.main-dashboard-img {
    width: 100%;
    /* Lock aspect ratio so the browser reserves the box before the video
       loads — eliminates CLS shift when the video swaps into place. */
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    display: block;
    background: var(--bg-light);
}

.floating-widget {
    position: absolute;
    background: var(--white);
    padding: 16px 24px 16px 40px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    z-index: 5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.widget-1 {
    top: 20px;
    right: -40px;
    animation-delay: 0s;
}

.widget-2 {
    bottom: 40px;
    left: -50px;
    animation-delay: 2s;
}

.widget-icon {
    position: absolute;
    left: -16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #111;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 0 0 12px var(--white);
}

.widget-icon i {
    color: #f97316;
    /* Orange color like the reference clock icon */
}

.widget-text {
    display: flex;
    flex-direction: column;
}

.widget-text strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 2px;
}

.widget-text span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 400;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   Partners Section
   ========================================================================== */

.partners-section {
    padding: var(--section-padding);
    background: radial-gradient(circle at 50% 50%, rgba(164, 0, 61, 0.03) 0%, transparent 70%);
    overflow: hidden;
}

.hex-grid-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 1000px;
    height: 450px;
    margin: 60px auto 0;
}

/* Base Hex Positioning - Refactored for responsiveness */
.hex-wrap {
    position: absolute;
    width: 110px;
    height: 127px;
    top: 50%;
    left: 50%;
    margin-left: -55px;
    margin-top: -63.5px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.03));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hex-wrap:nth-child(1) { transform: translate(-300px, -95px); }
.hex-wrap:nth-child(2) { transform: translate(-190px, -95px); }
.hex-wrap:nth-child(3) { transform: translate(-245px, 0); }
.hex-wrap:nth-child(4) { transform: translate(-300px, 95px); }
.hex-wrap:nth-child(5) { transform: translate(-190px, 95px); }

.hex-wrap:nth-child(7) { transform: translate(190px, -95px); }
.hex-wrap:nth-child(8) { transform: translate(300px, -95px); }
.hex-wrap:nth-child(9) { transform: translate(245px, 0); }
.hex-wrap:nth-child(10) { transform: translate(190px, 95px); }
.hex-wrap:nth-child(11) { transform: translate(300px, 95px); }

.hex-wrap:hover {
    filter: drop-shadow(0 15px 30px rgba(164, 0, 61, 0.15));
    z-index: 10;
}

.hex-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff5f8;
    /* Very light brand blush */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: background-color 0.3s ease;
}

.hex-wrap:hover::before {
    background-color: #fce7ef;
    /* Slightly darker blush on hover */
}

.hex-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hex-content i {
    font-size: 2rem;
    color: #a4003d66;
    /* Muted brand magenta */
    transition: all 0.3s;
}

.hex-wrap:hover .hex-content i {
    color: #a4003d;
    /* Full brand magenta on hover */
}

.center-main-hex {
    position: relative;
    width: 240px;
    height: 277px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    z-index: 20;
    transform: perspective(600px) translateZ(20px);
}

.center-main-hex::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fce7ef 0%, #fbd5e5 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.center-main-hex::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    background: linear-gradient(135deg, #fff5f8 0%, #fdf0f4 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-content-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@media (max-width: 900px) {
    .hex-grid-container {
        transform: scale(0.6);
        margin-top: -60px;
        margin-bottom: -60px;
    }
}

@media (max-width: 600px) {
    .hex-grid-container {
        transform: scale(0.4);
        margin-top: -120px;
        margin-bottom: -120px;
    }
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */

.section-header {
    max-width: 700px;
    margin: 0 auto 40px;
}



.section-title {
    font-size: var(--h2-size);
    margin-bottom: 16px;
    letter-spacing: var(--tracking-title);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Problem & Solution Section
   ========================================================================== */

.ps-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.ps-card {
    flex: 1;
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 24px;
    border: none;
    max-width: 500px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.ps-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ps-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.ps-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #a4003d 0%, #4a001c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
}

.problem-card .ps-icon {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.ps-desc {
    margin-bottom: 30px;
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
}

.ps-list {
    list-style: none;
    padding: 0;
    align-self: center;
    /* This centers the list block while keeping items aligned */
    width: fit-content;
}

.ps-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.4;
    transition: transform 0.2s ease;
}

.problem-list li i {
    color: #ef4444;
    /* Minimalist red */
    font-size: 0.8rem;
    opacity: 0.8;
}

.solution-list li i {
    color: #a4003d;
    /* Brand magenta */
    font-size: 0.9rem;
}



.solution-list li {
    font-weight: 600;
    color: var(--text-main);
}

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

.arrow-icon {
    font-size: 1.8rem;
    color: var(--text-muted);
    opacity: 0.5;
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .ps-container {
        flex-direction: column;
        align-items: center;
    }

    .ps-divider {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: none;
    transition: transform var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #a4003d 0%, #4a001c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.feature-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.feature-card ul li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
    background-color: var(--bg-pink);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.step-card {
    width: 30%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #a4003d 0%, #4a001c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 24px;
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: rgba(255, 0, 100, 0.2);
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Differentiators & Industries
   ========================================================================== */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.diff-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: none;
    text-align: left;
    transition: transform var(--transition-normal);
}

.diff-card:hover {
    transform: translateY(-5px);
}

.diff-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #a4003d 0%, #4a001c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 24px;
}

.diff-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.diff-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.industries {
    background-color: var(--white);
}

.industries-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.industry-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    border: none;
    text-align: left;
    transition: transform var(--transition-normal);
}

.industry-card:hover {
    transform: translateY(-5px);
}

.ind-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #a4003d 0%, #4a001c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 24px;
}

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.industry-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.ind-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ind-link:hover {
    color: var(--secondary);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.test-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(164, 0, 61, 0.08);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    opacity: 0.8;
}

.test-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333;
    font-family: var(--font-main);
    flex-grow: 1;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

.author-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.badge-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.badge-logo {
    color: #f953c6;
}

.trust-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    width: 100%;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing {
    background-color: var(--bg-pink);
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.toggle-label {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    cursor: pointer;
}

.save-badge {
    position: absolute;
    top: -20px;
    right: -30px;
    background: rgba(164, 0, 61, 0.15);
    /* More vibrant glass pink */
    color: #a4003d;
    font-size: 0.65rem;
    padding: 2px 12px;
    border-radius: 100px;
    white-space: nowrap;
    font-weight: 800;
    border: 1px solid rgba(164, 0, 61, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Toggle Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
    margin: 0 15px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e2e8f0;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
    background-color: #a4003d;
    /* Brand magenta for checked state */
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.pricing-card.popular {
    border: 2.5px solid #a4003d;
    /* Brand magenta border */
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(164, 0, 61, 0.1);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #a4003d;
    /* Brand magenta */
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(164, 0, 61, 0.3);
}

.pricing-card-header {
    text-align: left;
    margin-bottom: 24px;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0b1c33;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 15px;
}

.currency {
    font-size: 1.8rem;
    font-weight: 800;
    margin-right: 2px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: var(--tracking-display);
}

.period {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
}

.plan-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features {
    margin: 0 0 40px 0;
    list-style: none;
    padding: 0;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.plan-features li i {
    color: #a4003d;
    /* Brand magenta checkmarks */
    font-size: 1.1rem;
}

.pricing-card .btn {
    margin-top: auto;
}

.popular .btn.btn-primary {
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    border: none;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(164, 0, 61, 0.2);
}

.popular .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(164, 0, 61, 0.3);
    color: var(--white);
}

.popular .btn.btn-outline {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid rgba(164, 0, 61, 0.25);
}

.popular .btn.btn-outline:hover,
.popular .btn.btn-outline:active {
    background: linear-gradient(90deg, #a4003d 0%, #2a000f 100%);
    color: var(--white);
    border-color: transparent;
}

/* ==========================================
   Pricing Hero Card — single one-time license
   ========================================== */
.pricing-hero-card {
    position: relative;
    max-width: 980px;
    margin: 40px auto 70px;
    background: linear-gradient(180deg, #ffffff 0%, #fdf6f9 100%);
    border-radius: 28px;
    border: 1px solid rgba(164, 0, 61, 0.12);
    box-shadow: 0 30px 80px -30px rgba(164, 0, 61, 0.18), 0 8px 20px -10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.pricing-hero-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(164, 0, 61, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-hero-card::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -140px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(164, 0, 61, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-hero-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 24px -8px rgba(164, 0, 61, 0.45);
}

.pricing-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
}

.pricing-hero-left {
    padding: 48px 44px 44px;
    border-right: 1px dashed rgba(164, 0, 61, 0.14);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pricing-hero-right {
    padding: 48px 44px 44px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.pricing-hero-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.15;
    color: var(--text-main);
    margin: 0;
}

.pricing-hero-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    margin: 0;
}

.pricing-hero-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.pricing-hero-price .currency {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.pricing-hero-price .amount {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-main);
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-hero-price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-hero-strike {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(164, 0, 61, 0.10);
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-hero-strike strong {
    color: var(--text-main);
    text-decoration: line-through;
    text-decoration-color: rgba(164, 0, 61, 0.45);
    text-decoration-thickness: 2px;
    margin-right: 4px;
}

.pricing-hero-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pillar {
    background: #fff;
    border: 1px solid rgba(164, 0, 61, 0.10);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(164, 0, 61, 0.25);
}

.pillar i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pillar-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pillar-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.88rem;
    line-height: 1.2;
}

.pillar-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.pricing-hero-includes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

.pricing-hero-includes li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-main);
    font-size: 0.92rem;
    line-height: 1.35;
}

.pricing-hero-includes li i {
    color: #16a34a;
    margin-top: 4px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pricing-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pricing-hero-actions .btn {
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

.pricing-hero-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(22, 163, 74, 0.08);
    border-left: 3px solid #16a34a;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.4;
}

.pricing-hero-guarantee i {
    color: #16a34a;
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .pricing-hero-inner {
        grid-template-columns: 1fr;
    }
    .pricing-hero-left {
        border-right: none;
        border-bottom: 1px dashed rgba(164, 0, 61, 0.14);
        padding: 40px 28px 32px;
    }
    .pricing-hero-right {
        padding: 32px 28px 40px;
    }
    .pricing-hero-includes {
        grid-template-columns: 1fr;
    }
    .pricing-hero-price .amount {
        font-size: 3rem;
    }
    .pricing-hero-title {
        font-size: 1.7rem;
    }
}

/* ==========================================
   Region Cards — Pakistan + International packages
   ========================================== */
.pricing-region-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 1080px;
    margin: 40px auto 0;
}

.pricing-region-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fdf6f9 100%);
    border-radius: 24px;
    border: 1px solid rgba(164, 0, 61, 0.12);
    padding: 40px 34px 34px;
    box-shadow: 0 20px 60px -30px rgba(164, 0, 61, 0.20), 0 6px 16px -8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px -30px rgba(164, 0, 61, 0.28);
}

.pricing-region-card::before {
    content: '';
    position: absolute;
    top: -110px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(164, 0, 61, 0.10) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* International variant — cool blue accent */
.pricing-region-card--intl {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
    border-color: rgba(37, 99, 235, 0.14);
    box-shadow: 0 20px 60px -30px rgba(37, 99, 235, 0.22), 0 6px 16px -8px rgba(0, 0, 0, 0.04);
}

.pricing-region-card--intl:hover {
    box-shadow: 0 30px 80px -30px rgba(37, 99, 235, 0.28);
}

.pricing-region-card--intl::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.11) 0%, transparent 65%);
}

.region-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 6px 16px -6px rgba(164, 0, 61, 0.35);
    position: relative;
    z-index: 1;
}

.region-ribbon.international {
    background: linear-gradient(135deg, #1e40af 0%, #0b1a44 100%);
    box-shadow: 0 6px 16px -6px rgba(30, 64, 175, 0.35);
}

.pricing-region-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1.15;
    color: var(--text-main);
    margin: 0;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.pricing-region-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    position: relative;
    z-index: 1;
}

.pricing-region-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    padding: 18px 0 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.pricing-region-price .currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.pricing-region-price .amount {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-region-card--intl .pricing-region-price .currency {
    color: #1e40af;
}

.pricing-region-card--intl .pricing-region-price .amount {
    background: linear-gradient(135deg, #1e40af 0%, #0b1a44 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-region-price .period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-region-compare {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(22, 163, 74, 0.08);
    border-left: 3px solid #16a34a;
    border-radius: 10px;
    font-size: 0.84rem;
    color: var(--text-main);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.pricing-region-compare i {
    color: #16a34a;
    flex-shrink: 0;
}

.pricing-region-compare strong {
    color: #ef4444;
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.5);
    margin-right: 3px;
    font-weight: 700;
}

.pricing-region-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.pricing-region-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-region-features li i {
    color: #16a34a;
    margin-top: 4px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.pricing-region-card--intl .pricing-region-features li i {
    color: #1e40af;
}

.pricing-region-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 4px;
    position: relative;
    z-index: 1;
}

.pricing-region-actions .btn {
    flex: 1;
    min-width: 130px;
    justify-content: center;
}

/* International variant — swap primary button to the blue accent */
.pricing-region-card--intl .btn.btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #0b1a44 100%);
    border: none;
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(30, 64, 175, 0.5);
}

.pricing-region-card--intl .btn.btn-primary:hover,
.pricing-region-card--intl .btn.btn-primary:active {
    background: linear-gradient(90deg, #1e40af 0%, #050b22 100%);
    box-shadow: 0 15px 30px -12px rgba(30, 64, 175, 0.55);
    transform: translateY(-2px);
    color: #fff;
}

.pricing-region-card--intl .btn.btn-outline {
    border-color: rgba(30, 64, 175, 0.25);
    color: var(--text-main);
}

.pricing-region-card--intl .btn.btn-outline:hover,
.pricing-region-card--intl .btn.btn-outline:active {
    background: linear-gradient(90deg, #1e40af 0%, #050b22 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(30, 64, 175, 0.5);
}

.pricing-region-guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(22, 163, 74, 0.06);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.pricing-region-guarantee i {
    color: #16a34a;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .pricing-region-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        gap: 24px;
    }
    .pricing-region-card {
        padding: 32px 24px 28px;
    }
    .pricing-region-price .amount {
        font-size: 2.6rem;
    }
    .pricing-region-title {
        font-size: 1.4rem;
    }
}

/* ==========================================
   Everything Included — shared summary strip
   ========================================== */
.included-strip {
    max-width: 1080px;
    margin: 48px auto 0;
    padding: 36px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.08);
}

.included-strip-title {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 0 8px;
}

.included-strip-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0 0 28px;
}

.included-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.included-modules {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px 20px;
    padding-top: 22px;
    border-top: 1px dashed rgba(164, 0, 61, 0.15);
    margin: 0;
    list-style: none;
}

.included-modules li {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--text-main);
    font-size: 0.85rem;
    line-height: 1.3;
}

.included-modules li i {
    color: #16a34a;
    font-size: 0.8rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .included-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    .included-modules {
        grid-template-columns: repeat(2, 1fr);
    }
    .included-strip {
        padding: 28px 20px;
    }
}

/* ==========================================
   Breadcrumbs — sits between header nav and page header
   ========================================== */
.breadcrumbs {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 0.82rem;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
}

.breadcrumbs li + li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(0, 0, 0, 0.2);
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumbs li[aria-current="page"] {
    color: var(--text-main);
    font-weight: 600;
}

/* ==========================================
   Topic Chips — related-page pill row (interactive)
   ========================================== */
.topic-chips {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 28px auto 0;
    padding: 22px 28px;
    background:
        radial-gradient(circle at top left, rgba(164, 0, 61, 0.08) 0%, transparent 55%),
        radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #fdf6f9 100%);
    border: 1px solid rgba(164, 0, 61, 0.10);
    border-radius: 24px;
    box-shadow:
        0 30px 60px -30px rgba(164, 0, 61, 0.20),
        0 6px 16px -8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.topic-chips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a4003d 0%, #ff5c93 50%, #1e40af 100%);
    opacity: 0.7;
}

.topic-chips-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    padding-right: 22px;
    border-right: 1px dashed rgba(164, 0, 61, 0.20);
}

.topic-chips-label i {
    font-size: 0.9rem;
    color: var(--primary);
    animation: chipCompass 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes chipCompass {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-8deg); }
    75%      { transform: rotate(8deg); }
}

.topic-chips-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-start;
}

.topic-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    overflow: hidden;
}

/* Shine sweep on hover */
.topic-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.topic-chip:hover::before {
    left: 130%;
}

.topic-chip-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(164, 0, 61, 0.08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.topic-chip-label {
    position: relative;
    z-index: 1;
}

.topic-chip-arrow {
    font-size: 0.7rem;
    opacity: 0;
    max-width: 0;
    margin-left: 0;
    color: currentColor;
    transition: opacity 0.25s ease, max-width 0.25s ease, margin-left 0.25s ease, transform 0.25s ease;
    transform: translateX(-4px);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.topic-chip:hover {
    transform: translateY(-3px);
    border-color: transparent;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    box-shadow:
        0 14px 28px -14px rgba(164, 0, 61, 0.5),
        0 4px 10px -4px rgba(164, 0, 61, 0.25);
}

.topic-chip:hover .topic-chip-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: rotate(-6deg) scale(1.05);
}

.topic-chip:hover .topic-chip-arrow {
    opacity: 1;
    max-width: 20px;
    margin-left: 4px;
    transform: translateX(0);
}

.topic-chip:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Staggered entrance so the row feels alive on page load */
.topic-chip {
    animation: chipFadeUp 0.5s ease both;
}

.topic-chip:nth-child(1)  { animation-delay: 0.02s; }
.topic-chip:nth-child(2)  { animation-delay: 0.08s; }
.topic-chip:nth-child(3)  { animation-delay: 0.14s; }
.topic-chip:nth-child(4)  { animation-delay: 0.20s; }
.topic-chip:nth-child(5)  { animation-delay: 0.26s; }
.topic-chip:nth-child(6)  { animation-delay: 0.32s; }
.topic-chip:nth-child(7)  { animation-delay: 0.38s; }
.topic-chip:nth-child(8)  { animation-delay: 0.44s; }

@keyframes chipFadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .topic-chip,
    .topic-chips-label i {
        animation: none;
    }
    .topic-chip::before {
        display: none;
    }
    .topic-chip:hover {
        transform: none;
    }
}

@media (max-width: 720px) {
    .topic-chips {
        padding: 18px 18px;
        border-radius: 20px;
        gap: 14px;
    }
    .topic-chips-label {
        padding-right: 0;
        border-right: none;
        padding-bottom: 12px;
        border-bottom: 1px dashed rgba(164, 0, 61, 0.20);
        width: 100%;
        justify-content: center;
    }
    .topic-chips-row {
        justify-content: center;
    }
    .topic-chip {
        font-size: 0.82rem;
        padding: 6px 12px 6px 6px;
    }
    .topic-chip-icon {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
}

/* ==========================================
   Inline callout — mid-body "learn more" strip
   ========================================== */
.inline-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 26px;
    margin: 28px 0;
    background: linear-gradient(135deg, rgba(164, 0, 61, 0.06) 0%, rgba(164, 0, 61, 0.02) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    flex-wrap: wrap;
}

.inline-callout-text {
    flex: 1;
    min-width: 240px;
}

.inline-callout-text strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.inline-callout-text span {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.inline-callout .btn {
    flex-shrink: 0;
}

/* ==========================================
   Related Resources — reusable link cards
   Shared component to strengthen internal linking for SEO.
   ========================================== */
.related-section {
    padding: 70px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.related-header {
    text-align: center;
    margin-bottom: 40px;
}

.related-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.related-heading {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    color: var(--text-main);
    margin: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -20px rgba(164, 0, 61, 0.18);
    border-color: rgba(164, 0, 61, 0.20);
}

.related-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(164, 0, 61, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.related-card h4 {
    font-size: 1.05rem;
    margin: 0;
    color: var(--text-main);
}

.related-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.related-card-link {
    margin-top: auto;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.related-card:hover .related-card-link {
    gap: 10px;
}

/* Feature-card titles that are internal links stay looking like headings */
.feature-card h3 a,
.industry-card h3 a,
.diff-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.feature-card h3 a:hover,
.industry-card h3 a:hover,
.diff-card h3 a:hover {
    color: var(--primary);
}

/* Inline text-link accent — anchors inside body prose */
.legal-body p a,
.acc-content a,
.ps-desc a,
.ps-list a,
.diff-card p a,
.step-content p a,
.industry-card p a,
.feature-card p a,
.rebrand-body a,
.pricing-region-desc a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 0, 61, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.legal-body p a:hover,
.acc-content a:hover,
.ps-desc a:hover,
.ps-list a:hover,
.diff-card p a:hover,
.step-content p a:hover,
.industry-card p a:hover,
.feature-card p a:hover,
.rebrand-body a:hover,
.pricing-region-desc a:hover {
    text-decoration-color: var(--primary);
}

/* ==========================================
   Regional landing pages — hero, trust strip, industry grid
   ========================================== */

.region-hero {
    position: relative;
    padding: 180px 0 60px;
    background:
        radial-gradient(circle at 15% 20%, rgba(164, 0, 61, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(30, 64, 175, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #fdf6f9 100%);
    overflow: hidden;
}

.region-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.region-hero-flag {
    width: 96px;
    height: 96px;
    border-radius: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    line-height: 1;
    box-shadow: 0 24px 44px -14px rgba(164, 0, 61, 0.35),
                0 8px 20px -10px rgba(0, 0, 0, 0.10);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.region-hero-flag:hover {
    transform: rotate(0) scale(1.04);
}

.region-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(164, 0, 61, 0.08);
    border: 1px solid rgba(164, 0, 61, 0.15);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.region-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--text-main);
    margin: 0;
    font-weight: 800;
    max-width: 780px;
}

.region-hero-headline .text-primary {
    color: var(--primary);
}

.region-hero-lede {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0;
}

.region-hero-lede a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 0, 61, 0.35);
    text-underline-offset: 3px;
}

.region-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

/* Stack the two hero CTAs full-width on mobile so tap targets are big enough. */
@media (max-width: 480px) {
    .region-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .region-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Trust strip */
.region-trust {
    padding: 40px 0 20px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.region-trust-grid {
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    box-shadow: 0 30px 60px -30px rgba(164, 0, 61, 0.22),
                0 8px 20px -10px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(164, 0, 61, 0.08);
    position: relative;
    overflow: hidden;
}

.region-trust-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a4003d 0%, #ff5c93 50%, #1e40af 100%);
}

.region-trust-item {
    text-align: center;
    padding: 6px;
    border-right: 1px dashed rgba(164, 0, 61, 0.14);
}

.region-trust-item:last-child {
    border-right: none;
}

/* Wrap-safe dividers when the grid collapses to 2 columns at tablet width. */
@media (max-width: 899px) and (min-width: 641px) {
    .region-trust-item:nth-child(2n) {
        border-right: none;
    }
}

.region-trust-num {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.region-trust-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Industry grid for regional pages */
.region-industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.region-industry-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.region-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -22px rgba(164, 0, 61, 0.22);
    border-color: rgba(164, 0, 61, 0.20);
}

.region-industry-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(164, 0, 61, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.region-industry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-main);
    line-height: 1.2;
}

.region-industry-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.region-industry-card:hover .region-industry-link {
    gap: 12px;
}

@media (max-width: 640px) {
    .region-hero {
        padding: 60px 0 50px;
    }
    .region-hero-flag {
        width: 78px;
        height: 78px;
        font-size: 2.4rem;
        border-radius: 20px;
    }
    .region-hero-headline {
        font-size: 1.9rem;
    }
    .region-hero-lede {
        font-size: 1rem;
    }
    .region-trust-grid {
        padding: 22px 18px;
    }
    .region-trust-item {
        border-right: none;
        border-bottom: 1px dashed rgba(164, 0, 61, 0.14);
        padding-bottom: 18px;
    }
    .region-trust-item:last-child {
        border-bottom: none;
        padding-bottom: 6px;
    }
}

/* ==========================================
   Case Study grid — cards on /case-studies
   ========================================== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
    max-width: 1120px;
    margin: 0 auto;
}

.case-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a4003d 0%, #ff5c93 50%, #1e40af 100%);
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -30px rgba(164, 0, 61, 0.22);
    border-color: rgba(164, 0, 61, 0.20);
}

.case-card:hover::before {
    opacity: 1;
}

.case-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}

.case-card-emblem {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.12);
}

.case-card-industry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(164, 0, 61, 0.08);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.case-card-industry i {
    font-size: 0.65rem;
}

.case-card-headline {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-main);
    margin: 8px 0 0;
    letter-spacing: -0.005em;
}

.case-card-company {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-card-summary {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.case-card-link {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.case-card:hover .case-card-link {
    gap: 12px;
}

@media (max-width: 640px) {
    .case-card {
        padding: 26px 22px;
    }
    .case-card-headline {
        font-size: 1.15rem;
    }
}

/* ==========================================
   Case Study page — hero, metrics, sections, quote
   ========================================== */

.case-hero {
    position: relative;
    padding: 180px 0 70px;
    background:
        radial-gradient(circle at 10% 20%, rgba(164, 0, 61, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(30, 64, 175, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #fdf6f9 100%);
    overflow: hidden;
}

.case-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

/* Big icon badge, centered above the headline */
.case-hero-emblem {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 20px 40px -14px rgba(164, 0, 61, 0.35),
                0 8px 20px -10px rgba(0, 0, 0, 0.12);
    transform: rotate(-4deg);
    transition: transform 0.3s ease;
}

.case-hero-emblem:hover {
    transform: rotate(0deg) scale(1.04);
}

/* Small eyebrow with "Case Study · CompanyName" */
.case-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    padding: 6px 16px;
    background: rgba(164, 0, 61, 0.08);
    border: 1px solid rgba(164, 0, 61, 0.15);
    border-radius: 999px;
}

.case-hero-eyebrow i {
    color: var(--primary);
}

.case-hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--text-main);
    margin: 0;
    font-weight: 800;
    max-width: 780px;
}

.case-hero-lede {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0;
}

/* Tags row below the lede — company snapshot */
.case-hero-tags {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.08);
}

.case-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 4px 8px;
}

.case-hero-tags span + span {
    border-left: 1px solid var(--border-color);
    padding-left: 16px;
}

.case-hero-tags i {
    color: var(--primary);
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .case-hero {
        padding: 60px 0 50px;
    }
    .case-hero-inner {
        gap: 18px;
    }
    .case-hero-emblem {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
        border-radius: 18px;
    }
    .case-hero-headline {
        font-size: 1.9rem;
        line-height: 1.15;
    }
    .case-hero-lede {
        font-size: 1rem;
    }
    .case-hero-tags {
        flex-direction: column;
        gap: 6px;
        padding: 14px 18px;
        border-radius: 20px;
    }
    .case-hero-tags span + span {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 8px;
        padding-top: 8px;
        width: 100%;
        justify-content: center;
    }
}

/* Metrics strip */
.case-metrics {
    margin-top: -30px;
    position: relative;
    z-index: 2;
    padding: 0 0 20px;
}

.case-metrics-grid {
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    box-shadow: 0 30px 60px -30px rgba(164, 0, 61, 0.22),
                0 8px 20px -10px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(164, 0, 61, 0.08);
    position: relative;
    overflow: hidden;
}

.case-metrics-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a4003d 0%, #ff5c93 50%, #1e40af 100%);
}

.case-metric {
    text-align: center;
    padding: 8px;
    border-right: 1px dashed rgba(164, 0, 61, 0.14);
}

.case-metric:last-child {
    border-right: none;
}

/* When the grid wraps to 2 columns on tablet, remove border on every
   right-hand item so no orphan divider appears at wrap points. */
@media (max-width: 899px) and (min-width: 641px) {
    .case-metric:nth-child(2n) {
        border-right: none;
    }
}

.case-metric-value {
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.case-metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Sections */
.case-section {
    margin-bottom: 50px;
}

.case-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.case-section-num {
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    padding: 4px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px -4px rgba(164, 0, 61, 0.4);
}

.case-section-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
}

.case-section-body p {
    margin: 0 0 16px;
}

.case-section-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.case-section-body ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.case-section-body ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: rgba(22, 163, 74, 0.14);
    color: #16a34a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.case-section-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 0, 61, 0.35);
    text-underline-offset: 3px;
}

.case-section-body a:hover {
    text-decoration-color: var(--primary);
}

/* Pull-quote */
.case-quote {
    position: relative;
    margin: 50px 0;
    padding: 44px 40px 36px;
    background: linear-gradient(135deg, #fdf6f9 0%, #fff 100%);
    border-left: 4px solid var(--primary);
    border-radius: 20px;
    box-shadow: 0 20px 40px -24px rgba(164, 0, 61, 0.18);
}

.case-quote-mark {
    position: absolute;
    top: -18px;
    left: 32px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 20px -6px rgba(164, 0, 61, 0.4);
}

.case-quote p {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 22px;
    font-style: italic;
    letter-spacing: -0.005em;
}

.case-quote footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
    padding-top: 18px;
    border-top: 1px dashed rgba(164, 0, 61, 0.20);
}

.case-quote footer strong {
    color: var(--text-main);
    font-weight: 700;
}

.case-quote footer span {
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .case-hero {
        padding: 60px 0 50px;
    }
    .case-hero-company {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 18px;
    }
    .case-hero-company-meta {
        text-align: center;
    }
    .case-hero-tags {
        justify-content: center;
    }
    .case-metrics-grid {
        padding: 24px 18px;
        gap: 20px;
        border-radius: 18px;
    }
    .case-metric {
        border-right: none;
        border-bottom: 1px dashed rgba(164, 0, 61, 0.14);
        padding-bottom: 20px;
    }
    .case-metric:last-child {
        border-bottom: none;
        padding-bottom: 8px;
    }
    .case-section-title {
        font-size: 1.5rem;
    }
    .case-quote {
        padding: 36px 24px 28px;
    }
    .case-quote p {
        font-size: 1.15rem;
    }
}

/* ==========================================
   Blog article page — premium editorial layout
   ========================================== */

.article-hero {
    position: relative;
    padding: 170px 0 40px;
    background:
        radial-gradient(circle at 15% 20%, rgba(164, 0, 61, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(30, 64, 175, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #fdf6f9 100%);
    border-bottom: 1px solid rgba(164, 0, 61, 0.08);
    overflow: hidden;
}

.article-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.article-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-hero-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px -6px rgba(164, 0, 61, 0.4);
}

.article-hero-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-hero-meta .meta-item i {
    color: var(--primary);
    opacity: 0.7;
}

.article-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 22px;
    font-weight: 800;
}

.article-hero-lede {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* Author bar between hero and body */
.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 820px;
    margin: 32px auto 0;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    flex-wrap: wrap;
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.05);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px -2px rgba(164, 0, 61, 0.3);
}

.article-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.article-author-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
    line-height: 1.2;
}

.article-author-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Share buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.article-share-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-right: 4px;
}

.article-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.2s, color 0.2s;
}

.article-share a:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
}

/* Content wrapper with a subtle side rule */
.article-content-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 24px 20px;
}

/* CTA box below article */
.article-cta {
    margin-top: 60px;
    padding: 36px;
    background: linear-gradient(135deg, #fdf6f9 0%, #fff 100%);
    border: 1px solid rgba(164, 0, 61, 0.14);
    border-radius: 22px;
    box-shadow: 0 20px 40px -24px rgba(164, 0, 61, 0.18);
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(164, 0, 61, 0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.article-cta-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.article-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: var(--text-main);
}

.article-cta p {
    color: var(--text-muted);
    margin: 0 0 22px;
    line-height: 1.6;
}

.article-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

@media (max-width: 640px) {
    .article-hero {
        padding: 130px 0 30px;
    }
    .article-hero-lede {
        font-size: 1rem;
    }
    .article-author-bar {
        flex-direction: column;
        gap: 20px;
        padding: 18px;
    }
    .article-content-wrap {
        padding: 40px 20px 20px;
    }
    .article-cta {
        padding: 28px 22px;
    }
}

/* ==========================================
   Compare Block — problem vs solution on landing pages
   A modern, side-by-side comparison replacing the older .ps-container
   for landing pages. Clean cards, colored headers, checked bullets.
   ========================================== */
.compare-block {
    max-width: 1080px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
}

.compare-block::before {
    content: 'vs';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.compare-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 40px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.compare-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.14);
}

/* Problem card — red accent */
.compare-card.is-problem {
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 40%);
    border-color: rgba(239, 68, 68, 0.14);
}

.compare-card.is-problem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ef4444 0%, #b91c1c 100%);
}

/* Solution card — brand magenta accent */
.compare-card.is-solution {
    background: linear-gradient(180deg, #fdf6f9 0%, #ffffff 40%);
    border-color: rgba(164, 0, 61, 0.14);
}

.compare-card.is-solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a4003d 0%, #2a000f 100%);
}

.compare-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
}

.compare-card.is-problem .compare-card-tag {
    background: rgba(239, 68, 68, 0.10);
    color: #b91c1c;
}

.compare-card.is-solution .compare-card-tag {
    background: rgba(164, 0, 61, 0.10);
    color: var(--primary);
}

.compare-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    line-height: 1.2;
}

.compare-card-lede {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.compare-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.compare-card-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-main);
}

.compare-card-list li i {
    flex-shrink: 0;
    margin-top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    margin-top: 3px;
}

.compare-card.is-problem .compare-card-list li i {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.compare-card.is-solution .compare-card-list li i {
    background: rgba(22, 163, 74, 0.14);
    color: #16a34a;
}

.compare-card-list a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 0, 61, 0.35);
    text-underline-offset: 3px;
}

.compare-card-list a:hover {
    text-decoration-color: var(--primary);
}

@media (max-width: 860px) {
    .compare-block {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    /* On stacked mobile view, the "vs" badge tries to sit in a gap that varies
       in position because the cards have different heights. The TODAY / WITH
       AUXBOS chip tags already communicate the comparison — cleaner to hide. */
    .compare-block::before {
        display: none;
    }
    .compare-card {
        padding: 32px 24px 28px;
    }
    .compare-card-title {
        font-size: 1.25rem;
    }
}

/* ==========================================
   Article body — blog post typography
   ========================================== */
.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-main);
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 32px 0 12px;
}

.article-body p {
    margin: 0 0 18px;
    color: var(--text-main);
}

.article-body p a,
.article-body li a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 0, 61, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.article-body p a:hover,
.article-body li a:hover {
    text-decoration-color: var(--primary);
}

/* Custom-styled bullet lists — no default disc, magenta check-in-circle marker */
.article-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.article-body ul li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 14px;
    color: var(--text-main);
    line-height: 1.7;
}

.article-body ul li::before {
    content: "\f00c"; /* Font Awesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 6px;
    width: 22px;
    height: 22px;
    background: rgba(22, 163, 74, 0.14);
    color: #16a34a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* Custom-styled numbered lists — gradient circle badge with the number */
.article-body ol {
    list-style: none;
    counter-reset: article-counter;
    padding: 0;
    margin: 0 0 24px;
}

.article-body ol li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.7;
    counter-increment: article-counter;
}

.article-body ol li::before {
    content: counter(article-counter);
    position: absolute;
    left: 0;
    top: 3px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    box-shadow: 0 4px 10px -3px rgba(164, 0, 61, 0.4);
}

/* Nested lists — inherit style but with slightly smaller markers */
.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
    margin: 12px 0 12px 8px;
}

.article-body ul ul li::before {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
    top: 8px;
}

.article-body strong {
    color: var(--text-main);
    font-weight: 700;
}

.article-body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.65;
}

/* Tables in blog articles — scroll horizontally on narrow screens */
.article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.article-body table thead {
    background: var(--bg-light);
}

.article-body table th,
.article-body table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    white-space: normal;
}

.article-body table th {
    border-bottom: 2px solid var(--primary);
    font-weight: 700;
    color: var(--text-main);
}

@media (max-width: 640px) {
    .article-body {
        font-size: 1rem;
        line-height: 1.7;
    }
    .article-body h2 {
        font-size: 1.5rem;
        margin: 36px 0 14px;
    }
    .article-body h3 {
        font-size: 1.15rem;
    }
}

/* ==========================================
   Landing-page problem/solution cards
   Overrides for pages that reuse .ps-* markup outside the homepage.
   ========================================== */
.landing-ps .ps-card {
    text-align: left;
}

.landing-ps .ps-header {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    margin-bottom: 20px;
}

.landing-ps .ps-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.2rem;
}

.landing-ps .ps-header h3 {
    margin: 0;
    font-size: 1.35rem;
}

.landing-ps .ps-desc {
    text-align: left;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.landing-ps .ps-list {
    align-self: stretch;
    width: 100%;
}

.landing-ps .ps-list li {
    margin-bottom: 14px;
    font-size: 0.95rem;
    align-items: flex-start;
}

.landing-ps .ps-list li i {
    margin-top: 5px;
    flex-shrink: 0;
}

/* ==========================================
   Vertical Timeline — "A typical day on AuxBOS"
   Works for any number of steps, mobile-friendly.
   ========================================== */
.timeline {
    max-width: 780px;
    margin: 40px auto 0;
    position: relative;
    padding-left: 32px;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 20px;
    width: 2px;
    background: linear-gradient(180deg, #a4003d 0%, rgba(164, 0, 61, 0.15) 100%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    padding: 20px 28px 20px 32px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-step:hover {
    transform: translateX(4px);
    border-color: rgba(164, 0, 61, 0.20);
    box-shadow: 0 12px 30px -14px rgba(164, 0, 61, 0.20);
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step-num {
    position: absolute;
    left: -44px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a4003d 0%, #4a001c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px -4px rgba(164, 0, 61, 0.4);
    border: 3px solid #fff;
    z-index: 1;
}

.timeline-step p {
    margin: 0;
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.55;
}

.timeline-step p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(164, 0, 61, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.timeline-step p a:hover {
    text-decoration-color: var(--primary);
}

@media (max-width: 640px) {
    .timeline {
        padding-left: 24px;
    }
    .timeline::before {
        left: 14px;
    }
    .timeline-step {
        padding: 16px 18px 16px 24px;
    }
    .timeline-step-num {
        left: -38px;
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-width: 2px;
    }
}

/* ==========================================
   Rebranding / White-label section
   ========================================== */
.rebrand-section {
    position: relative;
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 56px 48px;
    background: linear-gradient(135deg, #0f0910 0%, #1f0413 60%, #2a000f 100%);
    border-radius: 32px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 40px 100px -40px rgba(164, 0, 61, 0.5);
}

.rebrand-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(164, 0, 61, 0.55) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.rebrand-section::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(255, 190, 0, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.rebrand-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.rebrand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffd7e6;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.rebrand-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1.15;
    margin: 18px 0 14px;
    color: #fff;
    font-weight: 800;
}

.rebrand-title span {
    background: linear-gradient(90deg, #ff5c93 0%, #ffb26b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rebrand-body {
    color: #d4d4d8;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 26px;
}

.rebrand-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.rebrand-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
}

.rebrand-list li i {
    color: #ff5c93;
    margin-top: 4px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.rebrand-visual {
    position: relative;
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.rebrand-swap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rebrand-swap-arrow {
    color: #ff5c93;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rebrand-logo-box {
    flex: 1;
    aspect-ratio: 3 / 2;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.rebrand-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rebrand-logo-box.placeholder {
    background: linear-gradient(135deg, #4a89dc 0%, #6bb92d 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    flex-direction: column;
    gap: 6px;
}

.rebrand-logo-box.placeholder small {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    opacity: 0.85;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.rebrand-swatch-row {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    justify-content: center;
}

.rebrand-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
    .rebrand-section {
        padding: 40px 24px;
        margin-top: 60px;
    }
    .rebrand-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .rebrand-title {
        font-size: 1.8rem;
    }
    .rebrand-list {
        grid-template-columns: 1fr;
    }
}

.self-hosted-box {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 30px 40px;
    border: 1px dashed var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto 0;
    gap: 30px;
    flex-wrap: wrap;
}

.sh-content {
    flex: 1;
    min-width: 300px;
}

.sh-content h3 {
    margin-bottom: 8px;
}

.sh-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


.pricing-trust {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-trust i {
    color: var(--primary);
    margin-right: 4px;
}

.pricing-trust .divider {
    margin: 0 16px;
    opacity: 0.5;
}

/* ==========================================================================
   ROI Calculator Section
   ========================================================================== */

.roi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: transparent;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.roi-features li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.roi-features li i {
    color: var(--primary);
}

.calc-box {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-md);
}

.calc-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

/* Custom Range Slider */
.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #d1d5db;
    outline: none;
    margin-bottom: 20px;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.employee-display {
    text-align: right;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

#employee-value {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.calc-results {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.result-row span {
    color: var(--text-muted);
}

.old-cost strong {
    color: #ef4444;
    text-decoration: line-through;
}

.saas-cost strong {
    color: #ef4444;
    font-weight: 700;
}

.aux-cost strong {
    color: var(--text-main);
    font-weight: 700;
}

.result-row.saas-cost,
.result-row.aux-cost {
    align-items: flex-start;
}

.result-divider {
    height: 2px;
    background: var(--border-color);
    margin: 16px 0;
}

.savings {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.savings span {
    font-weight: 700;
    color: var(--text-main);
}

.savings strong {
    color: #10b981;
    font-size: 1.75rem;
    font-weight: 800;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acc-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-normal);
}

.acc-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
}

.acc-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.acc-icon {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 1.25rem;
}

.acc-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.acc-item.active {
    border-color: var(--primary);
}

.acc-item.active .acc-icon {
    transform: rotate(45deg);
}

.acc-item.active .acc-content {
    padding: 0 24px 24px;
    max-height: 500px;
}

/* ==========================================================================
   Integrations
   ========================================================================== */

.integration-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.integration-track {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 14px;
}

/* On mobile, turn it into a slider */
@media (max-width: 767px) {
    .integration-track {
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: max-content;
        animation: logo-scroll 25s linear infinite;
        gap: 20px;
    }

    /* Keep boxes consistent size for the animation math */
    .int-box {
        flex: 0 0 160px;
        min-width: 160px;
    }

    .integration-slider::before,
    .integration-slider::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px;
        z-index: 2;
        pointer-events: none;
    }

    .integration-slider::before {
        left: 0;
        background: linear-gradient(to right, var(--white), transparent);
    }

    .integration-slider::after {
        right: 0;
        background: linear-gradient(to left, var(--white), transparent);
    }
}

@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move 50% because we duplicated the items */
        transform: translateX(-50%);
    }
}

/* Hide the duplicates on desktop to keep the layout clean */
@media (min-width: 768px) {
    .integration-track .int-box:nth-child(n+7) {
        display: none;
    }
}

.int-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 20px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    transition: var(--transition-normal);
}

.int-box:hover {
    border-color: var(--primary);
}

.int-box i {
    font-size: 1.7rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.int-box:hover i {
    color: var(--primary);
}

.int-box span {
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.25;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */

.final-cta {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0;
}

.final-cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 16px;
}

.final-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.microcopy {
    font-size: 0.9rem !important;
    opacity: 0.7 !important;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: #111111;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(6, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

@media (max-width: 1300px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 32px;
    }
    .brand-col {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 12px;
    }
    .brand-col .tagline {
        max-width: none;
    }
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: var(--tracking-title);
}

.footer-logo i {
    color: var(--primary);
}

.footer-logo-img {
    height: 46px;
    width: auto;
    display: block;
}

.tagline {
    color: #a3a3a3;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 220px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-normal);
    color: var(--white);
    font-size: 1.1rem;
    padding: 0;
    line-height: 1;
}

.social-icons a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-icons a:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.social-icons a:hover i {
    color: #111111;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    color: #a3a3a3;
    margin-bottom: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 3px;
}

/* Trust strip — appears above the copyright bar */
.footer-trust {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 22px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #a3a3a3;
    font-size: 0.82rem;
    text-align: center;
}

.footer-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.footer-trust-item i {
    color: #16a34a;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-trust-item strong {
    color: #d4d4d8;
    font-weight: 600;
}

.footer-trust-item a {
    color: #d4d4d8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-trust-item a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    color: #a3a3a3;
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .footer-trust {
        gap: 14px;
        padding: 18px 0 20px;
        font-size: 0.78rem;
    }
}

.footer-extras {
    display: flex;
    align-items: center;
    gap: 24px;
}

.payment-methods {
    display: flex;
    gap: 12px;
    font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Footer language switcher
   -------------------------------------------------------------------------- */

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #a3a3a3;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-toggle:hover,
.lang-switcher.open .lang-toggle {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.lang-caret {
    font-size: 0.6rem;
    transition: transform 0.25s var(--transition-fast);
}

.lang-switcher.open .lang-caret {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #1c1c1c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 50;
    max-height: 260px;
    overflow-y: auto;
}

.lang-switcher.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    font-family: inherit;
    font-size: 0.875rem;
    color: #d4d4d4;
    text-align: left;
    background: none;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    transition: background 0.16s, color 0.16s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.lang-name {
    flex: 1;
}

.lang-native {
    font-size: 0.8rem;
    color: #8a8a8a;
}

.lang-check {
    font-size: 0.75rem;
    color: var(--brand-magenta);
    opacity: 0;
}

.lang-option[aria-selected="true"] {
    color: var(--white);
}

.lang-option[aria-selected="true"] .lang-check {
    opacity: 1;
}

/* Locales without copy yet: visibly present, clearly not pickable. */
.lang-option[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.55;
}

.lang-option[aria-disabled="true"]:hover {
    background: none;
    color: #d4d4d4;
}

.lang-soon {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a8a8a;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 7px;
    border-radius: 5px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* ==========================================================================
   Consolidated Page Styles & Responsiveness
   ========================================================================== */

/* Team Section (About Page) */
.team-section {
    padding: 100px 0;
    background: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    align-items: start;
}

.team-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-card {
    border-radius: 36px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Syne', sans-serif;
    color: #111;
    letter-spacing: -0.02em;
}

.team-card .role {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card .bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.member-photo-box {
    margin-top: auto;
    width: 100%;
    height: 240px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.team-card.standard {
    min-height: 400px;
}

.team-card.tall {
    min-height: 520px;
}

.team-card.short {
    min-height: 280px;
}

.bg-pink-soft {
    background: #fdf2f7;
}

.bg-mauve-soft {
    background: #f5f3ff;
}

.bg-rose-soft {
    background: #fef2f2;
}

.bg-cyan-soft {
    background: #ecfeff;
}

.bg-orange-soft {
    background: #fff7ed;
}

.bg-gray-soft {
    background: #f9fafb;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.contact-link-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(164, 0, 61, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(164, 0, 61, 0.05);
    color: #a4003d;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.card-link {
    font-weight: 700;
    color: #a4003d;
    font-size: 0.95rem;
    text-decoration: underline;
    margin-top: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.benefit-list {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.benefit-item i {
    width: 32px;
    height: 32px;
    background: rgba(164, 0, 61, 0.1);
    color: #a4003d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.pulse-dot {
    width: 14px;
    height: 14px;
    background: #a4003d;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(164, 0, 61, 0.4);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #a4003d;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================================
   Consolidated Page Styles & Responsiveness
   ========================================================================== */

/* Team Section (About Page) */
.team-section {
    padding: 100px 0;
    background: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    align-items: start;
}

.team-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-card {
    border-radius: 36px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Syne', sans-serif;
    color: #111;
    letter-spacing: -0.02em;
}

.team-card .role {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-card .bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
}

.member-photo-box {
    margin-top: auto;
    width: 100%;
    height: 240px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.team-card.standard {
    min-height: 400px;
}

.team-card.tall {
    min-height: 520px;
}

.team-card.short {
    min-height: 280px;
}

.bg-pink-soft {
    background: #fdf2f7;
}

.bg-mauve-soft {
    background: #f5f3ff;
}

.bg-rose-soft {
    background: #fef2f2;
}

.bg-cyan-soft {
    background: #ecfeff;
}

.bg-orange-soft {
    background: #fff7ed;
}

.bg-gray-soft {
    background: #f9fafb;
}

/* Contact Page Styles */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.contact-link-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(164, 0, 61, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(164, 0, 61, 0.05);
    color: #a4003d;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.card-link {
    font-weight: 700;
    color: #a4003d;
    font-size: 0.95rem;
    text-decoration: underline;
    margin-top: auto;
}



.pulse-dot {
    width: 14px;
    height: 14px;
    background: #a4003d;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(164, 0, 61, 0.4);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #a4003d;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================================
   Global Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1199px) {
    /* Laptop Optimization */
    .hex-grid-container {
        transform: scale(0.85);
        height: 380px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

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

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-card.tall {
        min-height: 420px;
    }
}

@media (max-width: 991px) {
    /* Tablet Optimization */
    .section-padding {
        padding: 80px 0 !important;
    }

    .hero {
        padding-top: 140px;
    }

    .hex-grid-container {
        transform: scale(0.65);
        margin-top: -40px;
        height: 300px;
    }

    .features-grid,
    .test-grid,
    .industries-scroll,
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ps-container {
        flex-direction: column;
        align-items: center;
    }

    .ps-divider {
        transform: rotate(90deg);
        margin: 30px 0;
    }

    .roi-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .calc-box {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    /* Mobile Optimization */
    .hex-grid-container {
        display: flex;
        transform: scale(0.42);
        height: 180px;
        margin: -40px auto 0;
        transform-origin: center center;
    }

    .partners-section::after {
        content: 'Trusted by 500+ Global Leaders';
        display: block;
        text-align: center;
        font-weight: 700;
        color: var(--brand-magenta);
        margin-top: 20px;
        font-size: 1.1rem;
    }

    .features-grid,
    .test-grid,
    .industries-scroll,
    .pricing-grid,
    .team-grid,
    .contact-cards-grid,
    .diff-grid {
        grid-template-columns: 1fr !important;
    }

    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .self-hosted-box {
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .sh-content {
        min-width: 0;
    }

    .self-hosted-box .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-trust {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .pricing-trust .divider {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .floating-widget {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-card {
        width: 100%;
    }

    .step-connector {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-extras {
        flex-direction: column;
        gap: 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .team-card.tall,
    .team-card.standard,
    .team-card.short {
        min-height: auto;
    }

    .roi-container {
        padding: 0;
    }

    .roi-content {
        text-align: center;
        width: 100%;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .roi-content .section-title {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .roi-features {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .roi-features li {
        font-size: 1rem;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        max-width: 280px; /* Constrain width to keep it centered as a block */
        margin-left: auto;
        margin-right: auto;
    }

    .calc-box {
        padding: 24px 15px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .calc-results {
        padding: 20px 15px;
        width: 100%;
    }

    .calc-box label {
        text-align: center;
    }

    .employee-display {
        text-align: center;
    }

    .result-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        width: 100%;
    }

    .result-row.savings {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .result-row.savings strong {
        font-size: 2rem;
        display: block;
        margin-top: 5px;
    }

    .acc-header h3 {
        font-size: 1rem;
    }

    .pricing-card {
        padding: 40px 24px;
    }

    .nav-actions-mobile {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 120px;
    }

    .section-padding {
        padding: 60px 0 !important;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Form Styling Refinement */
.contact-form-box {
    background: white;
    padding: clamp(20px, 5vw, 50px);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-magenta);
    box-shadow: 0 0 0 4px rgba(164, 0, 61, 0.05);
    outline: none;
}

.phone-input-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.phone-input-row select {
    flex: 0 0 170px;
    width: 170px;
    max-width: 170px;
    min-width: 0;
    padding-left: 12px;
    padding-right: 30px;
    background-color: #fff;
    cursor: pointer;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.phone-input-row input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

@media (max-width: 480px) {
    .phone-input-row {
        flex-wrap: wrap;
    }
    .phone-input-row select,
    .phone-input-row input {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .contact-form-box {
        padding: 30px 20px;
    }
    .phone-input-row {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   Blog
   The blog markup shipped without any styles at all, so these are new rules
   rather than tweaks to existing ones.
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-post {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

.blog-thumb {
    height: 190px;
    background-color: var(--bg-light);
    background-size: cover;
    background-position: center top;
    position: relative;
    flex: none;
}

.blog-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(164, 0, 61, 0.06), rgba(0, 0, 0, 0.12));
}

.blog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 24px 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cat-tag {
    padding: 4px 10px;
    font-weight: 600;
    color: var(--brand-magenta);
    background: rgba(164, 0, 61, 0.08);
    border-radius: 100px;
}

.blog-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.25;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-magenta);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.read-more:hover {
    gap: 13px;
}

/* ==========================================================================
   Empty / placeholder states
   For pages that are structurally finished but whose real content (customer
   stories, scheduled events) does not exist yet. An honest empty state beats
   invented customers.
   ========================================================================== */

.empty-state {
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 32px;
    text-align: center;
    background: var(--bg-light);
    border: 1px dashed #e5e7eb;
    border-radius: var(--border-radius-lg);
}

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    font-size: 1.8rem;
    color: var(--brand-magenta);
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
}

.empty-state h3 {
    margin-bottom: 12px;
}

.empty-state p {
    max-width: 460px;
    margin: 0 auto 28px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Help Center
   ========================================================================== */

.help-search-wrap {
    position: relative;
    max-width: 560px;
    margin: 28px auto 0;
}

.help-search-wrap i {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.help-search {
    width: 100%;
    padding: 18px 22px 18px 52px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.help-search:focus {
    outline: none;
    border-color: var(--brand-magenta);
    box-shadow: 0 0 0 4px rgba(164, 0, 61, 0.08);
}

.help-topic {
    margin-bottom: 44px;
}

.help-topic-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.help-topic-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    font-size: 1.1rem;
    color: var(--brand-magenta);
    background: rgba(164, 0, 61, 0.08);
    border-radius: 13px;
}

.help-topic-head h2 {
    margin: 0;
    font-size: 1.4rem;
}

/* Toggled by the search filter. Pulled from flow entirely so a topic whose
   articles all filter out doesn't leave a stranded heading behind. */
.help-topic[hidden],
.acc-item[hidden] {
    display: none;
}

.help-no-results {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

/* ==========================================================================
   Legal documents (Privacy Policy, Terms of Service)
   ========================================================================== */

.legal-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 110px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.legal-toc h4 {
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.legal-toc a {
    display: block;
    padding: 7px 0 7px 12px;
    margin-left: -12px;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all var(--transition-fast);
}

.legal-toc a:hover,
.legal-toc a.active {
    color: var(--brand-magenta);
    border-left-color: var(--brand-magenta);
}

.legal-body {
    max-width: 760px;
}

.legal-body h2 {
    margin: 48px 0 16px;
    font-size: 1.5rem;
    scroll-margin-top: 110px;
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body h3 {
    margin: 28px 0 10px;
    font-size: 1.05rem;
}

.legal-body p,
.legal-body li {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.75;
}

.legal-body p {
    margin-bottom: 16px;
}

.legal-body ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.legal-body li {
    margin-bottom: 8px;
}

.legal-body a {
    color: var(--brand-magenta);
    text-decoration: underline;
}

.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: 100px;
}

.legal-table {
    width: 100%;
    margin: 0 0 24px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
    padding: 12px 14px;
    text-align: left;
    border: 1px solid var(--border-color);
    vertical-align: top;
}

.legal-table th {
    font-weight: 600;
    background: var(--bg-light);
}

.legal-table-wrap {
    overflow-x: auto;
}

/* Draft banner. Delete the markup once counsel has signed the document off. */
.notice-banner {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    margin-bottom: 36px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--border-radius-md);
}

.notice-banner i {
    flex: none;
    font-size: 1.1rem;
    color: #b45309;
}

.notice-banner p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #78350f;
}

/* ==========================================================================
   ROI Calculator page
   ========================================================================== */

.roi-currency-toggle {
    display: inline-flex;
    padding: 6px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    margin: 0 auto 30px;
    gap: 4px;
}

.roi-currency-toggle {
    display: flex;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.roi-currency-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.roi-currency-btn:hover {
    color: var(--text-main);
}

.roi-currency-btn.is-active {
    background: linear-gradient(135deg, #a4003d 0%, #2a000f 100%);
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(164, 0, 61, 0.4);
}

.roi-currency-btn[data-currency="USD"].is-active {
    background: linear-gradient(135deg, #1e40af 0%, #0b1a44 100%);
    box-shadow: 0 6px 16px -6px rgba(30, 64, 175, 0.4);
}

.roi-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.roi-inputs {
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
}

.roi-field {
    margin-bottom: 28px;
}

.roi-field:last-child {
    margin-bottom: 0;
}

.roi-field > label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.roi-field-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-magenta);
}

.roi-hint {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.roi-tools {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.roi-tool {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.85rem;
    background: var(--bg-light);
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.roi-tool:hover {
    border-color: #e5e7eb;
}

.roi-tool input {
    accent-color: var(--brand-magenta);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.roi-tool.checked {
    color: var(--brand-magenta);
    background: rgba(164, 0, 61, 0.06);
    border-color: rgba(164, 0, 61, 0.25);
    font-weight: 600;
}

.roi-results {
    position: sticky;
    top: 110px;
    padding: 36px;
    color: var(--white);
    background: #111111;
    border-radius: var(--border-radius-lg);
}

.roi-results h3 {
    color: var(--white);
    margin-bottom: 6px;
}

.roi-results .roi-sub {
    margin-bottom: 28px;
    font-size: 0.85rem;
    color: #a3a3a3;
}

.roi-headline {
    padding: 24px 0;
    margin-bottom: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-headline .label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: #a3a3a3;
}

.roi-headline .value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: var(--tracking-display);
    color: #4ade80;
}

.roi-headline .value.is-negative {
    color: #f87171;
}

.roi-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.roi-line:last-of-type {
    border-bottom: none;
}

.roi-line span {
    color: #a3a3a3;
}

.roi-line strong {
    font-size: 1rem;
    white-space: nowrap;
}

.roi-disclaimer {
    margin-top: 20px;
    font-size: 0.75rem;
    line-height: 1.65;
    /* Darker grey on the dark ROI-results panel to hit WCAG AA on #111. */
    color: #d4d4d8;
}

/* ==========================================================================
   Webinars
   ========================================================================== */

.webinar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.webinar-card {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 26px 30px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
}

.webinar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
}

.webinar-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    text-align: center;
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
}

.webinar-date .month {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-magenta);
}

.webinar-date .day {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.webinar-body h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.webinar-body p {
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.webinar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.webinar-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Responsive — new pages
   ========================================================================== */

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .legal-toc {
        position: static;
    }

    .roi-panel {
        grid-template-columns: 1fr;
    }

    .roi-results {
        position: static;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .webinar-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .webinar-date {
        flex-direction: row;
        gap: 8px;
        width: fit-content;
        padding: 8px 16px;
    }

    .roi-inputs,
    .roi-results {
        padding: 26px 22px;
    }

    .roi-headline .value {
        font-size: 2.2rem;
    }

    .roi-tools {
        grid-template-columns: 1fr;
    }

    .empty-state {
        padding: 44px 22px;
    }
}

/* ==========================================================================
   Integrations page
   ========================================================================== */

.int-hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 44px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
}

.int-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #15803d;
    background: #dcfce7;
    border-radius: 100px;
}

.int-hero-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.int-hero h2 {
    margin-bottom: 14px;
    font-size: 1.7rem;
}

.int-hero p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.int-checklist {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.int-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: #374151;
}

.int-checklist i {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--brand-magenta);
}

/* Provider names are plain text on purpose — SMTP is an open protocol, so this
   is a statement of compatibility, not a partnership or an endorsement. No
   third-party logos here. */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.provider-chip {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.provider-chip:hover {
    border-color: rgba(164, 0, 61, 0.2);
    background: var(--white);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.provider-chip i {
    width: 30px;
    height: 30px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--brand-magenta);
    background: var(--white);
    border-radius: 9px;
}

.provider-chip:hover i {
    background: var(--bg-light);
}

.provider-note {
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* "Built in, so there is nothing to integrate" module grid */
.builtin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.builtin-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
}

.builtin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
}

.builtin-icon {
    width: 42px;
    height: 42px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--brand-magenta);
    background: rgba(164, 0, 61, 0.08);
    border-radius: 12px;
}

.builtin-card h3 {
    margin: 0 0 3px;
    font-size: 1rem;
}

.builtin-card p {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Roadmap rows — explicitly not-yet-available, never dressed up as shipping. */
.roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}

.roadmap-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

.roadmap-icon {
    width: 40px;
    height: 40px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: 11px;
}

.roadmap-text {
    flex: 1;
}

.roadmap-text h4 {
    margin: 0 0 3px;
    font-size: 0.95rem;
}

.roadmap-text p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.roadmap-tag {
    flex: none;
    padding: 5px 11px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 100px;
}

@media (max-width: 991px) {
    .int-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

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

@media (max-width: 767px) {
    .int-hero {
        padding: 26px 22px;
    }

    .builtin-grid,
    .provider-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .roadmap-text {
        flex: 1 1 100%;
        order: 3;
    }
}
