/*
 * ServiceHub — точечные исправления публичных страниц.
 * Файл подключается после main.css и не затрагивает административную часть.
 */

/* Дочерние элементы grid не должны растягивать колонки своим содержимым. */
.public-hero-grid > * {
    min-width: 0;
    max-width: 100%;
}

/* Правую информационную карточку защищаем от горизонтального переполнения. */
.public-hero-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/*
 * Длинные слова («автоматизация», «индивидуально» и подобные)
 * теперь переносятся внутри карточки, а размер текста лучше соответствует
 * ширине правой колонки.
 */
.public-hero-card strong {
    width: 100%;
    max-width: 100%;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

/* На планшетах карточка уже идёт отдельной строкой и может быть чуть крупнее. */
@media (max-width: 900px) {
    .public-hero-card strong {
        font-size: clamp(28px, 5vw, 40px);
    }
}

/* На узких телефонах сохраняем безопасные внутренние отступы. */
@media (max-width: 480px) {
    .public-hero-card {
        padding: 22px 18px;
    }

    .public-hero-card strong {
        font-size: clamp(25px, 8vw, 34px);
    }
}


/* =========================================================
   Отдельные страницы статей ServiceHub
   ========================================================= */

.article-page {
    background: #f4f7fb;
}

.article-hero {
    padding-bottom: 42px;
}

.article-hero .public-hero-card strong {
    font-size: clamp(30px, 3.4vw, 46px);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
    align-items: start;
}

.article-content {
    min-width: 0;
    padding: 42px;
    border: 1px solid rgba(15, 34, 61, 0.09);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 34, 61, 0.07);
}

.article-content h2 {
    margin: 46px 0 18px;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.16;
    color: #15253d;
}

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

.article-content h3 {
    margin: 30px 0 12px;
    font-size: clamp(21px, 2.2vw, 27px);
    line-height: 1.25;
    color: #1d3456;
}

.article-content p,
.article-content li {
    font-size: 18px;
    line-height: 1.78;
    color: #45556c;
}

.article-content p {
    margin: 0 0 20px;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 26px;
    padding-left: 25px;
}

.article-content li + li {
    margin-top: 10px;
}

.article-content strong {
    color: #243b5c;
}

.article-lead {
    margin-bottom: 30px !important;
    font-size: clamp(20px, 2.2vw, 24px) !important;
    line-height: 1.58 !important;
    color: #294464 !important;
}

.article-note {
    margin: 30px 0;
    padding: 24px 26px;
    border-left: 5px solid #4f8cff;
    border-radius: 0 18px 18px 0;
    background: #eef5ff;
}

.article-note p:last-child {
    margin-bottom: 0;
}

.article-checklist {
    list-style: none;
    padding-left: 0 !important;
}

.article-checklist li {
    position: relative;
    padding-left: 32px;
}

.article-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: #3479e8;
}

.article-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 20px;
}

.article-toc,
.article-sidebar-card {
    padding: 26px;
    border: 1px solid rgba(15, 34, 61, 0.09);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(15, 34, 61, 0.06);
}

.article-toc strong,
.article-sidebar-card strong {
    display: block;
    margin-bottom: 15px;
    color: #172a46;
    font-size: 19px;
}

.article-toc a {
    display: block;
    padding: 8px 0;
    color: #52627a;
    line-height: 1.4;
    text-decoration: none;
}

.article-toc a:hover {
    color: #246bda;
}

.article-sidebar-card p {
    margin: 0 0 18px;
    color: #68768a;
    line-height: 1.6;
}

.article-sidebar-card .btn {
    width: 100%;
    text-align: center;
}

.article-related {
    margin-top: 42px;
}

.article-related .public-blog-card {
    height: 100%;
}

.article-card-meta {
    display: inline-flex;
    margin-top: 18px;
    color: #718097;
    font-size: 14px;
    font-weight: 600;
}

.blog-intro {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
}

.blog-intro p {
    color: #617087;
    font-size: 18px;
    line-height: 1.7;
}

.blog-bottom-cta {
    margin-top: 38px;
}

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .article-content {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .article-content p,
    .article-content li {
        font-size: 17px;
        line-height: 1.7;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-meta {
        font-size: 14px;
    }
}


/* =========================================================
   Коммерческая страница: CRM для ремонта телефонов
   ========================================================= */

.public-audience-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.public-audience-link:hover {
    transform: translateY(-4px);
    border-color: rgba(55, 116, 214, 0.28);
    box-shadow: 0 18px 42px rgba(20, 43, 75, 0.11);
}

.industry-hero-list {
    display: grid;
    gap: 11px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.industry-hero-list li {
    position: relative;
    padding-left: 29px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.5;
}

.industry-hero-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #9ec7ff;
    font-weight: 800;
}

.industry-flow {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.industry-flow-card {
    position: relative;
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid rgba(22, 47, 80, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(20, 43, 75, 0.06);
}

.industry-flow-card b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 17px;
    border-radius: 50%;
    background: #eaf3ff;
    color: #2f72d2;
    font-size: 16px;
}

.industry-flow-card h3 {
    margin: 0 0 10px;
    color: #1b3150;
    font-size: 20px;
}

.industry-flow-card p {
    margin: 0;
    color: #66758a;
    line-height: 1.6;
}

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

.industry-feature-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(22, 47, 80, 0.1);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 15px 36px rgba(20, 43, 75, 0.06);
}

.industry-feature-card .public-card-icon {
    margin-bottom: 18px;
}

.industry-feature-card h3 {
    margin: 0 0 11px;
    color: #1a3151;
    font-size: 22px;
}

.industry-feature-card p {
    margin: 0;
    color: #657489;
    line-height: 1.68;
}

.industry-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 32px;
    align-items: center;
    padding: 42px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(69, 132, 226, 0.25), transparent 37%),
        linear-gradient(135deg, #13233a, #243f66);
    color: #ffffff;
    box-shadow: 0 22px 52px rgba(17, 37, 64, 0.18);
}

.industry-highlight h2 {
    margin: 8px 0 17px;
    color: #ffffff;
    font-size: clamp(29px, 3.5vw, 44px);
    line-height: 1.12;
}

.industry-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.7;
}

.industry-highlight-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.industry-highlight-list li {
    position: relative;
    padding: 15px 18px 15px 45px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.industry-highlight-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    color: #a9ceff;
    font-weight: 800;
}

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

.industry-role-card {
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(22, 47, 80, 0.1);
}

.industry-role-card h3 {
    margin: 0 0 15px;
    color: #19304f;
    font-size: 23px;
}

.industry-role-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.industry-role-card li {
    position: relative;
    padding-left: 25px;
    color: #637287;
    line-height: 1.55;
}

.industry-role-card li::before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #3d7bd4;
    font-weight: 900;
}

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

.industry-related-grid .public-blog-card {
    height: 100%;
}

@media (max-width: 1080px) {
    .industry-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .industry-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .industry-highlight {
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .industry-role-grid,
    .industry-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .industry-flow,
    .industry-feature-grid {
        grid-template-columns: 1fr;
    }

    .industry-highlight {
        padding: 27px 22px;
        border-radius: 24px;
    }

    .industry-feature-card,
    .industry-role-card {
        padding: 24px 21px;
    }
}


/* =========================================================
   Форма заявки ServiceHub
   ========================================================= */

.lead-section {
    position: relative;
}

.lead-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 34px;
    align-items: start;
}

.lead-intro {
    min-width: 0;
    padding: 10px 0;
}

.lead-intro h2 {
    margin: 9px 0 18px;
    color: #172b48;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.12;
}

.lead-intro > p {
    margin: 0 0 25px;
    color: #64748a;
    font-size: 18px;
    line-height: 1.72;
}

.lead-benefits {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lead-benefits li {
    position: relative;
    padding: 15px 18px 15px 48px;
    border: 1px solid rgba(30, 62, 101, 0.09);
    border-radius: 17px;
    background: #ffffff;
    color: #4f6076;
    line-height: 1.5;
    box-shadow: 0 11px 28px rgba(20, 43, 75, 0.045);
}

.lead-benefits li::before {
    content: "✓";
    position: absolute;
    left: 19px;
    top: 14px;
    color: #3477d7;
    font-weight: 900;
}

.lead-form-card {
    min-width: 0;
    padding: clamp(25px, 4vw, 42px);
    border: 1px solid rgba(22, 47, 80, 0.1);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(18, 41, 72, 0.09);
}

.lead-form-head {
    margin-bottom: 27px;
}

.lead-form-head h2 {
    margin: 0 0 9px;
    color: #172b48;
    font-size: clamp(27px, 3vw, 37px);
    line-height: 1.18;
}

.lead-form-head p {
    margin: 0;
    color: #6a788c;
    line-height: 1.65;
}

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

.lead-field {
    min-width: 0;
}

.lead-field-full {
    grid-column: 1 / -1;
}

.lead-field label,
.lead-field > span {
    display: block;
    margin-bottom: 8px;
    color: #263b59;
    font-size: 15px;
    font-weight: 700;
}

.lead-field .required {
    color: #d14343;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #d8e0eb;
    border-radius: 13px;
    background: #fbfcfe;
    color: #1d304c;
    font: inherit;
    outline: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.lead-field input,
.lead-field select {
    min-height: 52px;
    padding: 0 15px;
}

.lead-field textarea {
    min-height: 132px;
    padding: 14px 15px;
    resize: vertical;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
    border-color: #4a83d6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(54, 119, 215, 0.11);
}

.lead-field input.is-invalid,
.lead-field select.is-invalid,
.lead-field textarea.is-invalid {
    border-color: #d95a5a;
    background: #fffafa;
}

.lead-field-help {
    display: block;
    margin-top: 7px;
    color: #8390a2;
    font-size: 13px;
    line-height: 1.45;
}

.lead-field-error {
    display: block;
    margin-top: 7px;
    color: #c23939;
    font-size: 13px;
    line-height: 1.4;
}

.lead-form-errors {
    margin: 0 0 22px;
    padding: 16px 18px;
    border: 1px solid rgba(200, 57, 57, 0.22);
    border-radius: 15px;
    background: #fff4f4;
    color: #9f2f2f;
    line-height: 1.55;
}

.lead-consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    grid-column: 1 / -1;
    margin-top: 2px;
}

.lead-consent input {
    width: 19px;
    height: 19px;
    margin-top: 3px;
    accent-color: #3375d5;
}

.lead-consent label {
    color: #617086;
    font-size: 14px;
    line-height: 1.55;
}

.lead-consent a {
    color: #2e6fcf;
}

.lead-submit-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    grid-column: 1 / -1;
    margin-top: 4px;
}

.lead-submit-row .btn {
    min-width: 220px;
}

.lead-submit-note {
    max-width: 360px;
    color: #8490a1;
    font-size: 13px;
    line-height: 1.5;
}

.lead-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.lead-thanks {
    min-height: 62vh;
    display: grid;
    align-items: center;
}

.lead-thanks-card {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(34px, 6vw, 66px);
    border: 1px solid rgba(22, 47, 80, 0.1);
    border-radius: 32px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 24px 60px rgba(18, 41, 72, 0.11);
}

.lead-thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #eaf4ff;
    color: #2e72d4;
    font-size: 36px;
    font-weight: 900;
}

.lead-thanks-card h1 {
    margin: 0 0 17px;
    color: #172b48;
    font-size: clamp(34px, 5vw, 55px);
    line-height: 1.08;
}

.lead-thanks-card p {
    max-width: 650px;
    margin: 0 auto 27px;
    color: #67768a;
    font-size: 18px;
    line-height: 1.7;
}

.lead-thanks-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
}

@media (max-width: 900px) {
    .lead-layout {
        grid-template-columns: 1fr;
    }

    .lead-intro {
        padding: 0;
    }
}

@media (max-width: 620px) {
    .lead-form-grid {
        grid-template-columns: 1fr;
    }

    .lead-field-full,
    .lead-consent,
    .lead-submit-row {
        grid-column: auto;
    }

    .lead-form-card {
        padding: 25px 20px;
        border-radius: 23px;
    }

    .lead-submit-row {
        align-items: stretch;
    }

    .lead-submit-row .btn {
        width: 100%;
        min-width: 0;
    }

    .lead-thanks-card {
        padding: 36px 22px;
        border-radius: 25px;
    }
}

/* =========================================================
   PUBLIC HEADER — "ДЛЯ КОГО" MEGA MENU
   2026-09-06
   ========================================================= */
@media (min-width: 981px) {
    .site-header .main-nav {
        gap: 23px;
    }
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dbeafe;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
    transition: color .2s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.is-desktop-open > .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
    color: #fff;
}

.nav-dropdown-trigger svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.nav-dropdown-trigger.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: #3b82f6;
}

.nav-mega-menu {
    position: absolute;
    z-index: 1200;
    top: calc(100% + 24px);
    left: 50%;
    width: min(720px, calc(100vw - 48px));
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 3%, rgba(59, 130, 246, .10), transparent 31%),
        #fff;
    color: #14213a;
    box-shadow: 0 26px 70px rgba(2, 12, 27, .28);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transform-origin: top center;
    pointer-events: none;
    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;
}

.nav-mega-menu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 26px;
}

.nav-dropdown:hover > .nav-mega-menu,
.nav-dropdown.is-desktop-open > .nav-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.nav-dropdown:hover > .nav-dropdown-trigger svg,
.nav-dropdown.is-desktop-open > .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-mega-topline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    padding: 4px 4px 16px;
    border-bottom: 1px solid #e8eef6;
}

.nav-mega-topline > div {
    display: grid;
    gap: 3px;
}

.nav-mega-eyebrow {
    color: #3b82f6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nav-mega-topline strong {
    color: #11223c;
    font-size: 16px;
    line-height: 1.25;
}

.site-header .nav-mega-all,
.site-header .nav-mega-blog > a {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.site-header .nav-mega-all:hover,
.site-header .nav-mega-blog > a:hover {
    color: #174ea6;
}

.nav-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 13px 0;
}

.site-header .nav-mega-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #233550;
    text-decoration: none;
    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.site-header .nav-mega-item:hover {
    border-color: #dbe8fb;
    background: #f5f9ff;
    color: #14213a;
    transform: translateY(-1px);
}

.nav-mega-item-wide {
    grid-column: 1 / -1;
}

.nav-mega-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, #eff6ff, #e7f0ff);
    color: #2563eb;
}

.nav-mega-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-mega-item > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.nav-mega-item strong {
    color: #1a2e4d;
    font-size: 13px;
    line-height: 1.3;
}

.nav-mega-item small {
    overflow: hidden;
    color: #73839a;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-mega-blog {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 14px;
    border: 1px solid #dbe8fb;
    border-radius: 17px;
    background: linear-gradient(135deg, #f7fbff, #eef6ff);
}

.nav-mega-blog > div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2px 9px;
    min-width: 0;
}

.nav-mega-blog-badge {
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #0b63ce;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-mega-blog strong {
    color: #1b3151;
    font-size: 12px;
    line-height: 1.35;
}

.nav-mega-blog small {
    color: #718096;
    font-size: 10px;
    line-height: 1.35;
}

@media (max-width: 980px) {
    .nav-dropdown {
        display: block;
    }

    .nav-dropdown-trigger {
        width: 100%;
        min-height: 45px;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 12px;
        color: #e2e8f0;
        text-align: left;
    }

    .nav-dropdown-trigger:hover,
    .nav-dropdown-trigger:focus-visible,
    .nav-dropdown.is-open > .nav-dropdown-trigger {
        background: rgba(255,255,255,.08);
    }

    .nav-dropdown-trigger.active::after {
        display: none;
    }

    .nav-dropdown.is-open > .nav-dropdown-trigger svg {
        transform: rotate(180deg);
    }

    .nav-mega-menu,
    .nav-dropdown:hover > .nav-mega-menu,
    .nav-dropdown.is-desktop-open > .nav-mega-menu {
        position: static;
        width: auto;
        max-height: 0;
        margin: 0;
        padding: 0 10px;
        border: 0;
        border-radius: 14px;
        background: rgba(255,255,255,.055);
        box-shadow: none;
        color: #fff;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        transform: none;
        pointer-events: none;
        transition: max-height .28s ease, padding .28s ease, margin .28s ease;
    }

    .nav-dropdown.is-open > .nav-mega-menu {
        max-height: 720px;
        margin-top: 5px;
        padding: 10px;
        pointer-events: auto;
    }

    .nav-mega-menu::before,
    .nav-mega-topline {
        display: none;
    }

    .nav-mega-grid {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 0;
    }

    .nav-mega-item-wide {
        grid-column: auto;
    }

    .site-header .nav-mega-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 9px;
        padding: 8px;
        color: #f4f8ff;
    }

    .site-header .nav-mega-item:hover {
        border-color: rgba(255,255,255,.08);
        background: rgba(255,255,255,.07);
        color: #fff;
        transform: none;
    }

    .nav-mega-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        background: rgba(96,165,250,.13);
        color: #93c5fd;
    }

    .nav-mega-icon svg {
        width: 19px;
        height: 19px;
    }

    .nav-mega-item strong {
        color: #f8fbff;
        font-size: 13px;
    }

    .nav-mega-item small {
        display: none;
    }

    .nav-mega-blog {
        margin-top: 8px;
        padding: 10px;
        border-color: rgba(147,197,253,.16);
        background: rgba(37,99,235,.13);
    }

    .nav-mega-blog > div {
        display: block;
    }

    .nav-mega-blog-badge,
    .nav-mega-blog small {
        display: none;
    }

    .nav-mega-blog strong {
        color: #eef6ff;
        font-size: 12px;
    }

    .site-header .nav-mega-blog > a {
        color: #93c5fd;
        white-space: nowrap;
    }
}

/* =========================================================
   PUBLIC HEADER — INDUSTRIES MEGA MENU REFINEMENT
   2026-09-06
   ========================================================= */
@media (min-width: 981px) {
    .nav-mega-menu-industries {
        width: min(1020px, calc(100vw - 48px));
        padding: 20px;
        border-radius: 28px;
        background:
            radial-gradient(circle at 100% 0, rgba(59,130,246,.12), transparent 32%),
            linear-gradient(180deg, rgba(247,250,255,.98), #ffffff 28%);
        box-shadow: 0 28px 72px rgba(2, 12, 27, .26);
        transform: translate(-50%, 18px) scale(.985);
        transition:
            opacity .34s cubic-bezier(.22, 1, .36, 1),
            visibility .34s cubic-bezier(.22, 1, .36, 1),
            transform .34s cubic-bezier(.22, 1, .36, 1);
    }

    .nav-dropdown:hover > .nav-mega-menu-industries,
    .nav-dropdown.is-desktop-open > .nav-mega-menu-industries {
        transform: translate(-50%, 0) scale(1);
    }

    .nav-mega-grid-industries {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        padding: 16px 0;
    }

    .nav-mega-section {
        display: grid;
        gap: 7px;
        min-width: 0;
        padding: 2px;
    }

    .nav-mega-section-title {
        margin: 0 6px 6px;
        color: #6b7a90;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .site-header .nav-mega-item-compact {
        grid-template-columns: 46px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 12px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.92));
        box-shadow: inset 0 0 0 1px rgba(224,232,243,.72);
    }

    .site-header .nav-mega-item-compact:hover {
        border-color: rgba(191, 214, 255, .95);
        background: linear-gradient(180deg, #ffffff, #f5f9ff);
        box-shadow:
            inset 0 0 0 1px rgba(191, 214, 255, .95),
            0 12px 24px rgba(37, 99, 235, .08);
        transform: translateY(-2px);
    }

    .nav-mega-item-compact .nav-mega-icon {
        position: relative;
        width: 46px;
        height: 46px;
        border-radius: 15px;
        background: linear-gradient(145deg, #eff6ff, #e0ecff);
        color: #1d61df;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.9),
            0 6px 18px rgba(37,99,235,.10);
    }

    .nav-mega-item-compact .nav-mega-icon::after {
        content: "";
        position: absolute;
        top: 7px;
        right: 7px;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: linear-gradient(180deg, #60a5fa, #2563eb);
        opacity: .88;
    }

    .nav-mega-item-compact .nav-mega-icon svg {
        width: 23px;
        height: 23px;
        stroke-width: 1.7;
    }

    .nav-mega-item-compact strong {
        font-size: 13px;
        line-height: 1.3;
    }

    .nav-mega-item-compact small {
        display: block;
        margin-top: 2px;
        white-space: normal;
        text-overflow: clip;
        overflow: visible;
        font-size: 11px;
        line-height: 1.35;
    }

    .nav-mega-blog-extended {
        padding: 15px 16px;
        border-radius: 19px;
    }

    .nav-mega-blog-extended strong {
        font-size: 13px;
    }

    .nav-mega-blog-extended small {
        font-size: 11px;
    }
}

@media (max-width: 980px) {
    .nav-mega-grid-industries {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nav-mega-section {
        display: grid;
        gap: 4px;
        padding: 4px 0;
    }

    .nav-mega-section + .nav-mega-section {
        margin-top: 4px;
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .nav-mega-section-title {
        margin: 0 4px 4px;
        color: #93c5fd;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .site-header .nav-mega-item-compact {
        padding: 9px;
        border-radius: 14px;
    }

    .site-header .nav-mega-item-compact small {
        display: block;
        margin-top: 2px;
        color: #c5d4e8;
        font-size: 11px;
        line-height: 1.35;
        white-space: normal;
    }

    .nav-mega-item-compact .nav-mega-icon {
        position: relative;
    }

    .nav-mega-item-compact .nav-mega-icon::after {
        content: "";
        position: absolute;
        top: 5px;
        right: 5px;
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #60a5fa;
        opacity: .9;
    }

    .nav-mega-blog-extended {
        align-items: flex-start;
    }

    .nav-mega-blog-extended small {
        display: block;
        margin-top: 4px;
        color: #d9e8fb;
        font-size: 11px;
        line-height: 1.4;
    }
}

/* =========================================================
   PUBLIC HEADER — FEATURES MEGA MENU
   2026-09-06
   ========================================================= */
@media (min-width: 981px) {
    .site-header .header-inner {
        position: relative;
    }

    .nav-dropdown-wide {
        position: static;
    }

    .nav-dropdown-wide > .nav-mega-menu {
        top: calc(100% + 12px);
        left: 50%;
    }

    .nav-mega-menu-features {
        width: min(1140px, calc(100vw - 64px));
        padding: 20px;
        border-radius: 28px;
        background:
            radial-gradient(circle at 96% 2%, rgba(37, 99, 235, .11), transparent 27%),
            radial-gradient(circle at 5% 96%, rgba(96, 165, 250, .08), transparent 30%),
            #ffffff;
        box-shadow: 0 30px 80px rgba(2, 12, 27, .28);
        transform: translate(-50%, 18px) scale(.985);
        transition:
            opacity .34s cubic-bezier(.22, 1, .36, 1),
            visibility .34s cubic-bezier(.22, 1, .36, 1),
            transform .34s cubic-bezier(.22, 1, .36, 1);
    }

    .nav-dropdown:hover > .nav-mega-menu-features,
    .nav-dropdown.is-desktop-open > .nav-mega-menu-features {
        transform: translate(-50%, 0) scale(1);
    }

    .nav-feature-columns {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
        padding: 16px 0;
    }

    .nav-feature-section {
        min-width: 0;
        padding: 2px;
    }

    .nav-feature-item {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        min-width: 0;
        padding: 10px;
        border: 1px solid transparent;
        border-radius: 16px;
        color: #21344f;
        text-decoration: none;
        transition:
            transform .18s ease,
            background .18s ease,
            border-color .18s ease,
            box-shadow .18s ease;
    }

    .nav-feature-item + .nav-feature-item {
        margin-top: 3px;
    }

    .nav-feature-item:hover {
        border-color: #dbe8fb;
        background: linear-gradient(180deg, #ffffff, #f5f9ff);
        box-shadow: 0 10px 24px rgba(37,99,235,.08);
        transform: translateY(-2px);
    }

    .nav-feature-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 13px;
        background: linear-gradient(145deg, #eef6ff, #e1edff);
        color: #2563eb;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
    }

    .nav-feature-icon::after {
        content: "";
        position: absolute;
        top: 6px;
        right: 6px;
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #60a5fa;
        opacity: .85;
    }

    .nav-feature-icon-ai {
        background: linear-gradient(145deg, #eef2ff, #e4e8ff);
        color: #5b5bd6;
    }

    .nav-feature-icon-ai::after {
        background: #7c83ff;
    }

    .nav-feature-icon svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.65;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nav-feature-item > span:last-child {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .nav-feature-item strong {
        color: #182e4d;
        font-size: 12px;
        line-height: 1.3;
    }

    .nav-feature-item small {
        color: #74839a;
        font-size: 10px;
        line-height: 1.35;
    }

    .nav-feature-footer {
        padding: 14px 15px;
        border-radius: 18px;
    }

    .nav-feature-footer strong {
        font-size: 12px;
    }

    .nav-feature-footer small {
        font-size: 10px;
    }

    /* Both large menus are centered under the whole header rather than one label. */
    .nav-mega-menu-industries {
        width: min(1040px, calc(100vw - 64px));
    }
}

@media (max-width: 980px) {
    .nav-dropdown-wide {
        position: relative;
    }

    .nav-dropdown.is-open > .nav-mega-menu-features,
    .nav-dropdown.is-open > .nav-mega-menu-industries {
        max-height: min(76vh, 1100px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .nav-feature-columns {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
    }

    .nav-feature-section {
        display: grid;
        gap: 4px;
        padding: 4px 0;
    }

    .nav-feature-section + .nav-feature-section {
        padding-top: 10px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .nav-feature-item {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: start;
        gap: 9px;
        padding: 8px;
        border-radius: 13px;
        color: #f4f8ff;
        text-decoration: none;
    }

    .nav-feature-item:hover {
        background: rgba(255,255,255,.07);
    }

    .nav-feature-icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 11px;
        background: rgba(96,165,250,.13);
        color: #93c5fd;
    }

    .nav-feature-icon::after {
        content: "";
        position: absolute;
        top: 5px;
        right: 5px;
        width: 6px;
        height: 6px;
        border-radius: 999px;
        background: #60a5fa;
    }

    .nav-feature-icon svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.65;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nav-feature-item > span:last-child {
        display: grid;
        gap: 2px;
    }

    .nav-feature-item strong {
        color: #f8fbff;
        font-size: 13px;
        line-height: 1.3;
    }

    .nav-feature-item small {
        display: block;
        color: #c5d4e8;
        font-size: 11px;
        line-height: 1.35;
    }

    .nav-feature-footer small {
        display: block;
        margin-top: 4px;
        color: #d9e8fb;
        font-size: 11px;
    }
}

/* =========================================================
   FEATURES PAGE — OUTCOME-LED PRODUCT PRESENTATION
   2026-09-06
   ========================================================= */
.feature-page {
    overflow: clip;
}

.feature-hero-card {
    position: relative;
}

.feature-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.feature-hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(147,197,253,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.86);
    font-size: 11px;
    font-weight: 700;
}

.feature-suite-section {
    scroll-margin-top: 100px;
}

.feature-suite-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 46px;
    align-items: end;
    margin-bottom: 32px;
}

.feature-suite-head h2 {
    max-width: 760px;
    margin: 8px 0 0;
}

.feature-suite-head > p {
    margin: 0;
    color: #617087;
    font-size: 17px;
    line-height: 1.7;
}

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

.feature-suite-card {
    position: relative;
    min-width: 0;
    padding: 25px;
    border: 1px solid rgba(25, 54, 91, .09);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(20, 43, 75, .06);
    scroll-margin-top: 110px;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.feature-suite-card:hover {
    transform: translateY(-4px);
    border-color: rgba(55, 116, 214, .2);
    box-shadow: 0 20px 48px rgba(20, 43, 75, .10);
}

.feature-suite-card-primary {
    background:
        radial-gradient(circle at 100% 0, rgba(59,130,246,.10), transparent 38%),
        linear-gradient(180deg, #ffffff, #f7fbff);
}

.feature-suite-card-accent {
    background:
        radial-gradient(circle at 100% 0, rgba(59,130,246,.12), transparent 38%),
        linear-gradient(180deg, #ffffff, #f5f9ff);
}

.feature-suite-card-ai {
    background:
        radial-gradient(circle at 100% 0, rgba(124,131,255,.13), transparent 38%),
        linear-gradient(180deg, #ffffff, #f7f7ff);
}

.feature-suite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: linear-gradient(145deg, #eff6ff, #e3eeff);
    color: #2563eb;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.9);
}

.feature-suite-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-suite-kicker {
    display: block;
    margin-bottom: 8px;
    color: #3b82f6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.feature-suite-card h3 {
    margin: 0 0 12px;
    color: #192f4d;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.2px;
}

.feature-suite-card > p {
    margin: 0;
    color: #65748a;
    font-size: 14px;
    line-height: 1.65;
}

.feature-detail-list {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.feature-detail-list li {
    position: relative;
    padding-left: 21px;
    color: #52637a;
    font-size: 13px;
    line-height: 1.45;
}

.feature-detail-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #3479e8;
    font-weight: 900;
}

.feature-why {
    display: grid;
    gap: 5px;
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #f5f8fc;
}

.feature-why strong {
    color: #294667;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.feature-why span {
    color: #64758c;
    font-size: 12px;
    line-height: 1.5;
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.feature-card-link:hover {
    color: #174ea6;
}

.feature-card-link span {
    transition: transform .18s ease;
}

.feature-card-link:hover span {
    transform: translateX(3px);
}

.feature-flow-section {
    background:
        radial-gradient(circle at 85% 15%, rgba(59,130,246,.08), transparent 28%),
        #ffffff;
}

.feature-final-cta {
    background:
        radial-gradient(circle at 100% 0, rgba(96,165,250,.14), transparent 36%),
        linear-gradient(135deg, #f7fbff, #eef5ff);
}

@media (max-width: 1180px) {
    .feature-suite-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .feature-suite-head {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 25px;
    }

    .feature-suite-head > p {
        font-size: 16px;
    }
}

@media (max-width: 620px) {
    .feature-suite-grid {
        grid-template-columns: 1fr;
    }

    .feature-suite-card {
        padding: 22px 19px;
        border-radius: 21px;
    }

    .feature-suite-card h3 {
        font-size: 19px;
    }

    .feature-hero-tags {
        gap: 6px;
    }

    .feature-hero-tags span {
        min-height: 28px;
        padding: 0 9px;
        font-size: 10px;
    }
}


/* =========================================================
   PUBLIC HEADER — DROPDOWN INTERACTION HOTFIX
   2026-09-06
   ========================================================= */
@media (min-width: 981px) {
    /* One consistent animated underline for every top-level navigation item. */
    .site-header .main-nav > a,
    .site-header .nav-dropdown-trigger {
        position: relative;
    }

    .site-header .main-nav > a::after,
    .site-header .nav-dropdown-trigger::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -9px;
        left: 0;
        height: 2px;
        border-radius: 999px;
        background: #3b82f6;
        opacity: 0;
        transform: scaleX(.55);
        transform-origin: center;
        transition: opacity .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1);
    }

    .site-header .main-nav > a:hover::after,
    .site-header .main-nav > a:focus-visible::after,
    .site-header .main-nav > a.active::after,
    .site-header .nav-dropdown-trigger:hover::after,
    .site-header .nav-dropdown-trigger:focus-visible::after,
    .site-header .nav-dropdown-trigger.active::after,
    .site-header .nav-dropdown.is-desktop-open > .nav-dropdown-trigger::after {
        opacity: 1;
        transform: scaleX(1);
    }

    /* Do not let a previously focused dropdown stay visible under another menu. */
    .site-header .nav-dropdown:not(.is-desktop-open):not(:hover) > .nav-mega-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .site-header .nav-dropdown.is-desktop-open > .nav-mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* =========================================================
   PUBLIC HEADER — ACTIVE PAGE VS OPEN DROPDOWN
   2026-09-06
   ========================================================= */
@media (min-width: 981px) {
    /*
     * The current page remains marked only while no dropdown is being explored.
     * As soon as a mega-menu opens, the visual accent belongs to that menu.
     */
    .site-header .main-nav.has-open-dropdown
        .nav-dropdown:not(.is-desktop-open)
        > .nav-dropdown-trigger.active::after,
    .site-header .main-nav.has-open-dropdown
        > a.active::after {
        opacity: 0;
        transform: scaleX(.55);
    }

    .site-header .main-nav.has-open-dropdown
        .nav-dropdown:not(.is-desktop-open)
        > .nav-dropdown-trigger.active {
        color: #dbeafe;
    }

    .site-header .main-nav.has-open-dropdown
        .nav-dropdown.is-desktop-open
        > .nav-dropdown-trigger {
        color: #fff;
    }
}

/* =========================================================
   EMPLOYEE MANAGEMENT MARKETING PAGE
   2026-09-06
   ========================================================= */
.employee-marketing-page {
    background: #f5f8fc;
    color: #13233b;
}

.employee-marketing-page .container {
    max-width: 1180px;
}

.employee-marketing-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3479e8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.employee-marketing-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #3479e8;
    box-shadow: 0 0 0 6px rgba(52,121,232,.10);
}

.employee-marketing-hero {
    padding: 72px 0 82px;
    background:
        radial-gradient(circle at 76% 18%, rgba(76,139,239,.13), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    overflow: hidden;
}

.employee-marketing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, .98fr);
    gap: 54px;
    align-items: center;
}

.employee-marketing-hero-copy h1 {
    max-width: 700px;
    margin: 18px 0 22px;
    color: #0f1f37;
    font-size: clamp(48px, 5.25vw, 76px);
    line-height: .98;
    letter-spacing: -2.8px;
}

.employee-marketing-hero-copy h1 span {
    display: block;
    margin-top: 10px;
    color: #2563eb;
}

.employee-marketing-lead {
    max-width: 690px;
    margin: 0;
    color: #51647f;
    font-size: 18px;
    line-height: 1.72;
}

.employee-marketing-checks {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.employee-marketing-checks li {
    position: relative;
    padding-left: 34px;
    color: #263b58;
    font-size: 16px;
    line-height: 1.5;
}

.employee-marketing-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
}

.employee-marketing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.employee-hero-visual {
    position: relative;
    min-height: 520px;
    isolation: isolate;
}

.employee-hero-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(52,121,232,.15);
    z-index: -1;
}

.employee-hero-orbit-a {
    inset: 38px 26px 40px 46px;
}

.employee-hero-orbit-b {
    inset: 92px 80px 98px 98px;
    border-style: dashed;
}

.employee-hero-profile-card,
.employee-hero-permission-card,
.employee-hero-team-card,
.employee-hero-status-badge {
    position: absolute;
    border: 1px solid rgba(49,83,127,.10);
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 55px rgba(25,57,101,.16);
    backdrop-filter: blur(12px);
}

.employee-hero-profile-card {
    top: 22px;
    left: 6px;
    width: 270px;
    padding: 18px;
    border-radius: 22px;
}

.employee-ui-person {
    display: flex;
    align-items: center;
    gap: 11px;
}

.employee-ui-person > div {
    min-width: 0;
}

.employee-ui-person strong,
.employee-ui-team-row strong {
    display: block;
    color: #1d3453;
    font-size: 13px;
    line-height: 1.3;
}

.employee-ui-person small,
.employee-ui-team-row small {
    display: block;
    margin-top: 3px;
    color: #8491a4;
    font-size: 10px;
    line-height: 1.3;
}

.employee-ui-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2466da;
    font-size: 10px;
    font-weight: 900;
}

.employee-ui-avatar-blue { background: #dceaff; color: #1858c9; }
.employee-ui-avatar-green { background: #e0f6ec; color: #26835b; }
.employee-ui-avatar-violet { background: #eee7ff; color: #6a47bb; }

.employee-ui-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #e9eef5;
}

.employee-ui-metric span {
    color: #7d8ca1;
    font-size: 10px;
}

.employee-ui-metric strong {
    color: #203653;
    font-size: 11px;
}

.employee-ui-online { color: #2e9468 !important; }

.employee-hero-permission-card {
    top: 86px;
    right: 4px;
    width: 280px;
    padding: 17px;
    border-radius: 22px;
}

.employee-ui-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.employee-ui-card-title span {
    color: #223a5a;
    font-size: 12px;
    font-weight: 800;
}

.employee-ui-card-title b {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef5ff;
    color: #3b73cf;
    font-size: 9px;
}

.employee-ui-permission {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #edf1f6;
}

.employee-ui-permission span {
    color: #61728a;
    font-size: 10px;
}

.employee-ui-permission i {
    position: relative;
    width: 30px;
    height: 17px;
    border-radius: 999px;
    background: #dbe3ee;
}

.employee-ui-permission i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(18,40,69,.18);
}

.employee-ui-permission i.is-on { background: #3479e8; }
.employee-ui-permission i.is-on::after { left: 16px; }

.employee-hero-team-card {
    right: 32px;
    bottom: 42px;
    width: 300px;
    padding: 18px;
    border-radius: 24px;
}

.employee-ui-team-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 10px 0;
    border-top: 1px solid #edf1f6;
}

.employee-ui-team-row em {
    color: #55708f;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.employee-hero-status-badge {
    left: 36px;
    bottom: 74px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 18px;
}

.employee-hero-status-badge svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #3479e8;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.employee-hero-status-badge strong,
.employee-hero-status-badge small {
    display: block;
}

.employee-hero-status-badge strong {
    color: #233b5a;
    font-size: 11px;
}

.employee-hero-status-badge small {
    margin-top: 2px;
    color: #8795a7;
    font-size: 9px;
}

.employee-overview-section,
.employee-feature-section,
.employee-support-section,
.employee-final-section {
    padding: 86px 0;
}

.employee-overview-section {
    background: #fff;
}

.employee-overview-head,
.employee-feature-heading {
    max-width: 850px;
    margin: 0 auto 42px;
    text-align: center;
}

.employee-overview-head h2,
.employee-feature-heading h2 {
    margin: 16px 0 15px;
    color: #102039;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.4px;
}

.employee-overview-head p {
    margin: 0 auto;
    max-width: 790px;
    color: #68778d;
    font-size: 17px;
    line-height: 1.7;
}

.employee-overview-grid,
.employee-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.employee-overview-card,
.employee-support-card {
    padding: 27px;
    border: 1px solid #e3e9f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20,47,82,.045);
}

.employee-overview-icon,
.employee-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #edf5ff;
    color: #2e70db;
}

.employee-overview-icon svg,
.employee-support-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.employee-overview-card h3,
.employee-support-card h3 {
    margin: 20px 0 9px;
    color: #1a304d;
    font-size: 20px;
    line-height: 1.25;
}

.employee-overview-card p,
.employee-support-card p {
    margin: 0;
    color: #66758b;
    font-size: 14px;
    line-height: 1.65;
}

.employee-feature-section {
    background:
        radial-gradient(circle at 82% 4%, rgba(53,120,230,.09), transparent 28%),
        #f4f8fb;
}

.employee-feature-explorer {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    min-height: 530px;
    overflow: hidden;
    border: 1px solid #e2e9f2;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(23,52,91,.08);
}

.employee-feature-tabs {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-right: 1px solid #e8edf4;
    background: #f9fbfd;
}

.employee-feature-tab {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 63px;
    padding: 12px 17px;
    border: 0;
    border-bottom: 1px solid #e8edf4;
    background: transparent;
    color: #53677f;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.employee-feature-tab b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #edf3f8;
    color: #406784;
    font-size: 10px;
}

.employee-feature-tab span {
    font-size: 13px;
    font-weight: 800;
}

.employee-feature-tab:hover {
    background: #f3f7fb;
    color: #213a59;
}

.employee-feature-tab.is-active {
    background: #fff;
    color: #133456;
    box-shadow: inset 4px 0 0 #2d72db;
}

.employee-feature-tab.is-active b {
    background: #1f62cc;
    color: #fff;
}

.employee-feature-panels {
    position: relative;
    min-width: 0;
}

.employee-feature-panel {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    gap: 42px;
    align-items: center;
    min-height: 530px;
    padding: 46px 48px;
    animation: employeePanelIn .35s cubic-bezier(.22,1,.36,1);
}

.employee-feature-panel.is-active {
    display: grid;
}

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

.employee-feature-number {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 8px;
    background: #edf4ff;
    color: #2867ca;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.employee-feature-copy h3 {
    max-width: 560px;
    margin: 19px 0 16px;
    color: #102039;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.employee-feature-copy > p {
    margin: 0;
    color: #52647b;
    font-size: 15px;
    line-height: 1.75;
}

.employee-feature-why {
    margin-top: 24px;
    padding: 16px 17px;
    border-left: 4px solid #2c6fd6;
    border-radius: 0 14px 14px 0;
    background: #f5f8fb;
}

.employee-feature-why strong {
    color: #1b4669;
    font-size: 13px;
}

.employee-feature-why span {
    color: #66778d;
    font-size: 13px;
    line-height: 1.55;
}

.employee-feature-visual {
    position: relative;
    min-height: 310px;
}

.employee-visual-window,
.employee-visual-person-card,
.employee-visual-timesheet,
.employee-visual-payroll-card,
.employee-visual-profile,
.employee-visual-activity-list,
.employee-visual-workload-card,
.employee-visual-branch,
.employee-analytics-visual {
    border: 1px solid #e1e8f0;
    background: #fff;
    box-shadow: 0 18px 42px rgba(19,53,89,.12);
}

.employee-visual-window {
    position: absolute;
    top: 38px;
    right: 6px;
    left: 24px;
    padding: 18px;
    border-radius: 20px;
}

.employee-visual-window-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 13px;
    border-bottom: 1px solid #edf1f5;
    color: #245fae;
    font-size: 12px;
    font-weight: 800;
}

.employee-visual-window-head span { margin-right: auto; }
.employee-visual-window-head i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d9e3ee;
}

.employee-visual-permission-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f5;
    color: #54677f;
    font-size: 11px;
}

.employee-visual-permission-row:last-child { border-bottom: 0; }
.employee-visual-permission-row em {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f3f6;
    color: #8b96a5;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}
.employee-visual-permission-row em.is-allowed { background: #eaf6ef; color: #2d8a60; }

.employee-visual-float,
.employee-visual-clock,
.employee-visual-profile-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(25,74,134,.18);
}

.employee-visual-float-user {
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    background: #2f76df;
    color: #fff;
}

.employee-visual-float-user svg,
.employee-visual-clock svg,
.employee-visual-profile-icon svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.employee-visual-float-check {
    bottom: 7px;
    left: 0;
    width: 66px;
    height: 66px;
    background: #6aa3f4;
    color: #fff;
    font-size: 33px;
    font-weight: 800;
}

.employee-visual-person-card {
    position: absolute;
    top: 10px;
    right: 38px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 18px;
}

.employee-visual-person-card > div { min-width: 0; }
.employee-visual-person-card strong,
.employee-visual-person-card small { display: block; }
.employee-visual-person-card strong { color: #1a3554; font-size: 12px; }
.employee-visual-person-card small { margin-top: 2px; color: #8090a5; font-size: 9px; }
.employee-visual-person-card em { margin-left: auto; color: #2c9568; font-size: 9px; font-style: normal; font-weight: 900; }

.employee-visual-timesheet {
    position: absolute;
    top: 90px;
    right: 0;
    left: 44px;
    padding: 14px 16px;
    border-radius: 20px;
}

.employee-visual-timesheet > div {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr) auto;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f5;
    color: #6e7e93;
    font-size: 10px;
}
.employee-visual-timesheet > div:last-child { border-bottom: 0; }
.employee-visual-timesheet b { color: #2d435f; font-size: 10px; }
.employee-visual-timesheet em { color: #2870db; font-size: 9px; font-style: normal; font-weight: 900; }
.employee-visual-clock {
    right: -4px;
    top: 63px;
    width: 68px;
    height: 68px;
    background: #2f76df;
    color: #fff;
}

.employee-visual-payroll-card {
    position: absolute;
    inset: 26px 20px 42px 8px;
    padding: 21px;
    border-radius: 22px;
}
.employee-visual-payroll-card > span { color: #8290a3; font-size: 10px; }
.employee-visual-payroll-card > strong { display:block; margin: 7px 0 14px; color:#173456; font-size:32px; }
.employee-visual-payroll-card > div { display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-top:1px solid #edf1f5; }
.employee-visual-payroll-card i { color:#7f8fa2; font-size:10px; font-style:normal; }
.employee-visual-payroll-card b { color:#2b4666; font-size:10px; }
.employee-visual-payroll-badge {
    position:absolute;
    right:0;
    bottom:15px;
    padding:11px 14px;
    border-radius:14px;
    background:#eaf7ef;
    color:#26835b;
    box-shadow:0 10px 25px rgba(37,122,84,.14);
    font-size:10px;
    font-weight:900;
}

.employee-visual-profile {
    position:absolute;
    inset:20px 18px 26px 0;
    padding:20px;
    border-radius:22px;
}
.employee-visual-profile .employee-ui-person { margin-bottom:17px; }
.employee-visual-profile label { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-top:1px solid #edf1f5; color:#8390a2; font-size:9px; }
.employee-visual-profile label span { color:#294664; font-size:9px; font-weight:800; text-align:right; }
.employee-visual-profile-icon { right:-2px; bottom:3px; width:70px; height:70px; background:#2f76df; color:#fff; }

.employee-visual-activity-list {
    position:absolute;
    inset:28px 0 20px 10px;
    padding:10px 18px;
    border-radius:22px;
}
.employee-visual-activity-list > div { display:grid; grid-template-columns:34px minmax(0,1fr); gap:10px; align-items:start; padding:13px 0; border-bottom:1px solid #edf1f5; }
.employee-visual-activity-list > div:last-child { border-bottom:0; }
.employee-visual-activity-list p { margin:0; color:#53667e; font-size:10px; line-height:1.45; }
.employee-visual-activity-list p strong { color:#1d3b5d; }
.employee-visual-activity-list p small { display:block; margin-top:4px; color:#94a0b0; font-size:8px; }
.employee-visual-activity-badge { position:absolute; top:0; right:14px; padding:9px 11px; border-radius:999px; background:#2e71d9; color:#fff; font-size:9px; font-weight:900; box-shadow:0 10px 24px rgba(41,104,201,.2); }

.employee-workload-visual { display:grid; align-content:center; gap:11px; padding:22px 4px; }
.employee-visual-workload-card { display:grid; grid-template-columns:100px minmax(0,1fr) 44px; align-items:center; gap:11px; padding:13px 14px; border-radius:15px; }
.employee-visual-workload-card span { color:#314d6e; font-size:10px; font-weight:800; }
.employee-visual-workload-card b { display:block; height:8px; overflow:hidden; border-radius:999px; background:#ecf0f5; }
.employee-visual-workload-card b i { display:block; height:100%; border-radius:999px; background:linear-gradient(90deg,#4d8fea,#2563d8); }
.employee-visual-workload-card em { color:#73839a; font-size:9px; font-style:normal; font-weight:900; text-align:right; }
.employee-visual-workload-summary { margin-left:auto; width:150px; padding:13px 14px; border-radius:16px; background:#eef5ff; }
.employee-visual-workload-summary strong { display:block; color:#2465cb; font-size:28px; }
.employee-visual-workload-summary span { color:#6e8098; font-size:9px; }

.employee-branches-visual { display:grid; align-content:center; gap:12px; padding:18px 0; }
.employee-visual-branch { display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:11px; padding:14px 15px; border-radius:17px; }
.employee-visual-branch > span { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:11px; background:#edf4ff; color:#2769ce; font-size:9px; font-weight:900; }
.employee-visual-branch strong,
.employee-visual-branch small { display:block; }
.employee-visual-branch strong { color:#263f5e; font-size:11px; }
.employee-visual-branch small { margin-top:3px; color:#8a98aa; font-size:8px; }
.employee-visual-branch em { color:#438565; font-size:8px; font-style:normal; font-weight:900; }
.employee-visual-branch.is-current { border-color:#bfd6f6; box-shadow:0 18px 42px rgba(32,94,183,.14); }

.employee-analytics-visual { display:flex; flex-direction:column; justify-content:center; padding:26px; border-radius:22px; }
.employee-visual-chart-head { display:flex; justify-content:space-between; gap:12px; margin-bottom:20px; }
.employee-visual-chart-head span { color:#2a4463; font-size:11px; font-weight:800; }
.employee-visual-chart-head b { color:#2a8e65; font-size:11px; }
.employee-visual-chart { display:flex; align-items:flex-end; gap:10px; height:140px; padding:0 4px 8px; border-bottom:1px solid #dfe7f0; }
.employee-visual-chart i { flex:1; min-width:12px; border-radius:7px 7px 2px 2px; background:linear-gradient(180deg,#69a4f3,#2e70d8); }
.employee-visual-chart-foot { display:flex; justify-content:space-around; gap:5px; padding-top:8px; color:#8b98a9; font-size:8px; }

.employee-support-section { background:#fff; }
.employee-support-card-accent { border-color:#cfe0f8; background:linear-gradient(180deg,#fff,#f6faff); }

.employee-final-section {
    background: #f4f8fb;
}

.employee-final-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 36px;
    padding: 42px 46px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(83,148,241,.18), transparent 34%),
        linear-gradient(135deg,#132947,#244d7d);
    box-shadow: 0 24px 60px rgba(16,43,77,.18);
}

.employee-final-card .employee-marketing-kicker { color:#8fc0ff; }
.employee-final-card .employee-marketing-kicker::before { background:#8fc0ff; box-shadow:0 0 0 6px rgba(143,192,255,.11); }
.employee-final-card h2 { max-width:760px; margin:15px 0 11px; color:#fff; font-size:clamp(30px,3.5vw,46px); line-height:1.1; letter-spacing:-1.1px; }
.employee-final-card p { max-width:720px; margin:0; color:rgba(236,244,255,.76); font-size:15px; line-height:1.65; }
.employee-final-card .employee-marketing-actions { margin-top:0; }
.employee-final-card .btn-light { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.1); color:#fff; }
.employee-final-card .btn-light:hover { background:rgba(255,255,255,.17); }

.employee-faq-section { padding-top:80px; }

@media (max-width: 1050px) {
    .employee-marketing-hero-grid {
        grid-template-columns: 1fr;
    }

    .employee-hero-visual {
        width: min(620px, 100%);
        margin: 0 auto;
    }

    .employee-feature-panel {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .employee-feature-visual {
        width: min(500px, 100%);
        margin: 0 auto;
    }

    .employee-final-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .employee-overview-grid,
    .employee-support-grid {
        grid-template-columns: 1fr;
    }

    .employee-feature-explorer {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .employee-feature-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid #e7edf4;
        scrollbar-width: thin;
    }

    .employee-feature-tab {
        flex: 0 0 auto;
        width: 175px;
        min-height: 58px;
        border-right: 1px solid #e8edf4;
        border-bottom: 0;
    }

    .employee-feature-tab.is-active {
        box-shadow: inset 0 -4px 0 #2d72db;
    }

    .employee-feature-panel {
        min-height: 0;
        padding: 34px 26px 40px;
    }
}

@media (max-width: 620px) {
    .employee-marketing-hero {
        padding: 48px 0 58px;
    }

    .employee-marketing-hero-copy h1 {
        font-size: clamp(42px, 13vw, 58px);
        letter-spacing: -2px;
    }

    .employee-marketing-lead {
        font-size: 16px;
    }

    .employee-marketing-checks li {
        font-size: 14px;
    }

    .employee-hero-visual {
        min-height: 485px;
        transform: scale(.92);
        transform-origin: top center;
        margin-bottom: -36px;
    }

    .employee-hero-profile-card { left:0; width:235px; }
    .employee-hero-permission-card { right:0; width:245px; }
    .employee-hero-team-card { right:8px; width:270px; }
    .employee-hero-status-badge { left:10px; }

    .employee-overview-section,
    .employee-feature-section,
    .employee-support-section,
    .employee-final-section {
        padding: 62px 0;
    }

    .employee-overview-head h2,
    .employee-feature-heading h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .employee-overview-head p {
        font-size: 15px;
    }

    .employee-feature-panel {
        padding: 28px 20px 34px;
    }

    .employee-feature-copy h3 {
        font-size: 29px;
    }

    .employee-feature-copy > p {
        font-size: 14px;
    }

    .employee-feature-visual {
        min-height: 285px;
    }

    .employee-visual-workload-card {
        grid-template-columns: 82px minmax(0,1fr) 38px;
    }

    .employee-final-card {
        padding: 30px 23px;
    }
}

/* =========================================================
   EMPLOYEE MANAGEMENT — PAIN / OWNER PROBLEMS BLOCK
   2026-09-06
   ========================================================= */
.employee-pain-section {
    padding: 88px 0 82px;
    background:
        radial-gradient(circle at 10% 0, rgba(46,112,219,.055), transparent 28%),
        #f7f9fb;
    border-top: 1px solid rgba(20,47,82,.045);
    border-bottom: 1px solid rgba(20,47,82,.055);
}

.employee-pain-head {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.employee-pain-head h2 {
    margin: 14px 0 14px;
    color: #102039;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.09;
    letter-spacing: -1.35px;
}

.employee-pain-head p {
    margin: 0;
    color: #6d7b8f;
    font-size: 17px;
    line-height: 1.65;
}

.employee-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
}

.employee-pain-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid #e1e7ee;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25,48,77,.035);
}

.employee-pain-alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #fff0f0;
    color: #e24b4b;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
}

.employee-pain-card p {
    margin: 0;
    color: #24364f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.employee-pain-closing {
    max-width: 900px;
    margin: 40px auto 0;
    color: #214f91;
    font-size: 18px;
    font-style: italic;
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 900px) {
    .employee-pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .employee-pain-section {
        padding: 62px 0 58px;
    }

    .employee-pain-head {
        margin-bottom: 30px;
    }

    .employee-pain-head h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .employee-pain-head p {
        font-size: 15px;
    }

    .employee-pain-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .employee-pain-card {
        min-height: 0;
        padding: 15px 16px;
        border-radius: 14px;
    }

    .employee-pain-card p {
        font-size: 13px;
    }

    .employee-pain-closing {
        margin-top: 30px;
        font-size: 16px;
    }
}

/* =========================================================
   MARKETING CARDS — LIVE HOVER PATTERN
   Employee management page / reusable for future pages
   2026-09-06
   ========================================================= */

/*
 * Базовая плавность для содержательных карточек страницы.
 * На следующих маркетинговых страницах новые классы карточек
 * можно подключать к этому же паттерну без изменения механики.
 */
.employee-marketing-page .employee-overview-card,
.employee-marketing-page .employee-pain-card,
.employee-marketing-page .employee-support-card,
.employee-marketing-page .employee-feature-tab,
.employee-marketing-page .public-faq details,
.employee-marketing-page .employee-hero-profile-card,
.employee-marketing-page .employee-hero-permission-card,
.employee-marketing-page .employee-hero-team-card,
.employee-marketing-page .employee-hero-status-badge,
.employee-marketing-page .employee-visual-window,
.employee-marketing-page .employee-visual-person-card,
.employee-marketing-page .employee-visual-timesheet,
.employee-marketing-page .employee-visual-payroll-card,
.employee-marketing-page .employee-visual-profile,
.employee-marketing-page .employee-visual-activity-list,
.employee-marketing-page .employee-visual-workload-card,
.employee-marketing-page .employee-visual-workload-summary,
.employee-marketing-page .employee-visual-branch {
    transition:
        transform .26s cubic-bezier(.22, 1, .36, 1),
        box-shadow .26s cubic-bezier(.22, 1, .36, 1),
        border-color .26s ease,
        background-color .26s ease,
        filter .26s ease;
    will-change: transform;
}

/* Крупные смысловые карточки — наиболее заметный подъём. */
@media (any-hover: hover) and (any-pointer: fine) {
    .employee-marketing-page .employee-overview-card:hover,
    .employee-marketing-page .employee-support-card:hover {
        transform: translateY(-7px);
        border-color: rgba(55, 116, 214, .22);
        box-shadow: 0 22px 46px rgba(15, 38, 72, .12);
    }

    /* Блок болей — чуть более сдержанный, чтобы не превращать предупреждения в CTA. */
    .employee-marketing-page .employee-pain-card:hover {
        transform: translateY(-5px);
        border-color: rgba(230, 84, 84, .22);
        background: #ffffff;
        box-shadow: 0 18px 38px rgba(33, 48, 73, .10);
    }

    .employee-marketing-page .employee-pain-card:hover .employee-pain-alert {
        transform: scale(1.08);
    }

    /* Вкладки возможностей уже кликабельные — им нужен лёгкий, быстрый отклик. */
    .employee-marketing-page .employee-feature-tab:hover:not(.is-active) {
        transform: translateX(4px);
        background: rgba(45, 112, 220, .055);
        box-shadow: inset 3px 0 0 rgba(45, 112, 220, .22);
    }

    .employee-marketing-page .employee-feature-tab.is-active:hover {
        transform: translateX(2px);
    }

    /* FAQ тоже ощущается как интерактивная карточка. */
    .employee-marketing-page .public-faq details:hover {
        transform: translateY(-3px);
        border-color: rgba(55, 116, 214, .20);
        box-shadow: 0 14px 30px rgba(21, 48, 84, .08);
    }

    /* Hero-композиция: отдельные карточки слегка оживают независимо друг от друга. */
    .employee-marketing-page .employee-hero-profile-card:hover,
    .employee-marketing-page .employee-hero-permission-card:hover,
    .employee-marketing-page .employee-hero-team-card:hover,
    .employee-marketing-page .employee-hero-status-badge:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 20px 42px rgba(7, 25, 53, .18);
        filter: saturate(1.04);
    }

    /* Карточки внутри визуальных демонстраций функций. */
    .employee-marketing-page .employee-visual-window:hover,
    .employee-marketing-page .employee-visual-person-card:hover,
    .employee-marketing-page .employee-visual-timesheet:hover,
    .employee-marketing-page .employee-visual-payroll-card:hover,
    .employee-marketing-page .employee-visual-profile:hover,
    .employee-marketing-page .employee-visual-activity-list:hover,
    .employee-marketing-page .employee-visual-workload-card:hover,
    .employee-marketing-page .employee-visual-workload-summary:hover,
    .employee-marketing-page .employee-visual-branch:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(20, 49, 86, .12);
    }

    .employee-marketing-page .employee-visual-branch:hover {
        border-color: rgba(61, 126, 224, .24);
    }
}

/* Маленькие вложенные элементы получают плавность без отдельной тяжёлой анимации. */
.employee-marketing-page .employee-pain-alert,
.employee-marketing-page .employee-overview-icon,
.employee-marketing-page .employee-support-icon {
    transition: transform .24s cubic-bezier(.22, 1, .36, 1), color .24s ease, background-color .24s ease;
}

@media (any-hover: hover) and (any-pointer: fine) {
    .employee-marketing-page .employee-overview-card:hover .employee-overview-icon,
    .employee-marketing-page .employee-support-card:hover .employee-support-icon {
        transform: translateY(-2px) scale(1.06);
    }
}

/* Уважаем системную настройку уменьшения движения. */
@media (prefers-reduced-motion: reduce) {
    .employee-marketing-page .employee-overview-card,
    .employee-marketing-page .employee-pain-card,
    .employee-marketing-page .employee-support-card,
    .employee-marketing-page .employee-feature-tab,
    .employee-marketing-page .public-faq details,
    .employee-marketing-page .employee-hero-profile-card,
    .employee-marketing-page .employee-hero-permission-card,
    .employee-marketing-page .employee-hero-team-card,
    .employee-marketing-page .employee-hero-status-badge,
    .employee-marketing-page .employee-visual-window,
    .employee-marketing-page .employee-visual-person-card,
    .employee-marketing-page .employee-visual-timesheet,
    .employee-marketing-page .employee-visual-payroll-card,
    .employee-marketing-page .employee-visual-profile,
    .employee-marketing-page .employee-visual-activity-list,
    .employee-marketing-page .employee-visual-workload-card,
    .employee-marketing-page .employee-visual-workload-summary,
    .employee-marketing-page .employee-visual-branch,
    .employee-marketing-page .employee-pain-alert,
    .employee-marketing-page .employee-overview-icon,
    .employee-marketing-page .employee-support-icon {
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   SERVICEHUB — EXPLICIT LIVE CARD HOVER HOOKS
   Applies to elements explicitly marked in page markup.
   2026-09-06
   ========================================================= */
.employee-marketing-page .sh-hover-card,
.employee-marketing-page .sh-hover-card-tab {
    transition:
        transform .28s cubic-bezier(.22, 1, .36, 1),
        box-shadow .28s cubic-bezier(.22, 1, .36, 1),
        border-color .24s ease,
        background-color .24s ease,
        filter .24s ease !important;
    transform-origin: center center;
}

@media (any-hover: hover) and (any-pointer: fine) {
    .employee-marketing-page .sh-hover-card:hover {
        transform: translateY(-7px) !important;
        border-color: rgba(62, 126, 224, .30) !important;
        box-shadow: 0 24px 50px rgba(19, 47, 84, .14) !important;
        filter: saturate(1.025);
    }

    .employee-marketing-page .sh-hover-card-float:hover {
        transform: translateY(-7px) scale(1.015) !important;
        box-shadow: 0 26px 58px rgba(7, 27, 58, .22) !important;
    }

    .employee-marketing-page .sh-hover-card-inner:hover {
        transform: translateY(-5px) !important;
        border-color: rgba(62, 126, 224, .28) !important;
        box-shadow: 0 20px 40px rgba(19, 47, 84, .15) !important;
    }

    .employee-marketing-page .sh-hover-card-warning:hover {
        transform: translateY(-6px) scale(1.006) !important;
        border-color: rgba(226, 75, 75, .28) !important;
        box-shadow: 0 20px 42px rgba(91, 37, 37, .11) !important;
    }

    .employee-marketing-page .sh-hover-card-warning:hover .employee-pain-alert {
        transform: scale(1.10);
        box-shadow: 0 8px 18px rgba(226, 75, 75, .18);
    }

    .employee-marketing-page .sh-hover-card-tab:hover {
        transform: translateX(5px) !important;
        background: #f1f6fd !important;
        color: #173b68 !important;
        box-shadow: inset 4px 0 0 rgba(45, 114, 219, .30) !important;
    }

    .employee-marketing-page .sh-hover-card-tab.is-active:hover {
        transform: translateX(3px) !important;
        background: #fff !important;
        box-shadow: inset 4px 0 0 #2d72db, 0 8px 20px rgba(24, 70, 126, .07) !important;
    }

    .employee-marketing-page .sh-hover-card-dark:hover {
        transform: translateY(-5px) !important;
        border-color: rgba(143, 192, 255, .22) !important;
        box-shadow: 0 30px 68px rgba(10, 35, 70, .23) !important;
        filter: brightness(1.02) saturate(1.03);
    }

    .employee-marketing-page .public-faq details:hover {
        transform: translateY(-4px) !important;
        border-color: rgba(62, 126, 224, .26) !important;
        box-shadow: 0 18px 36px rgba(19, 47, 84, .10) !important;
    }
}

@media (any-hover: none) {
    .employee-marketing-page .sh-hover-card:hover,
    .employee-marketing-page .sh-hover-card-tab:hover,
    .employee-marketing-page .public-faq details:hover {
        transform: none !important;
        filter: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .employee-marketing-page .sh-hover-card,
    .employee-marketing-page .sh-hover-card-tab,
    .employee-marketing-page .public-faq details {
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   SERVICEHUB EMPLOYEE PAGE — NATIVE PUBLIC CARD HOVER
   Uses the same motion as .public-link-card on existing pages.
   No pointer/hover media queries: real :hover is the trigger.
   2026-09-06
   ========================================================= */
.employee-marketing-page .employee-overview-card,
.employee-marketing-page .employee-pain-card,
.employee-marketing-page .employee-support-card,
.employee-marketing-page .employee-hero-profile-card,
.employee-marketing-page .employee-hero-permission-card,
.employee-marketing-page .employee-hero-team-card,
.employee-marketing-page .employee-hero-status-badge,
.employee-marketing-page .employee-visual-window,
.employee-marketing-page .employee-visual-person-card,
.employee-marketing-page .employee-visual-timesheet,
.employee-marketing-page .employee-visual-payroll-card,
.employee-marketing-page .employee-visual-profile,
.employee-marketing-page .employee-visual-activity-list,
.employee-marketing-page .employee-visual-workload-card,
.employee-marketing-page .employee-visual-workload-summary,
.employee-marketing-page .employee-visual-branch,
.employee-marketing-page .public-faq details {
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.employee-marketing-page .employee-overview-card:hover,
.employee-marketing-page .employee-pain-card:hover,
.employee-marketing-page .employee-support-card:hover,
.employee-marketing-page .employee-hero-profile-card:hover,
.employee-marketing-page .employee-hero-permission-card:hover,
.employee-marketing-page .employee-hero-team-card:hover,
.employee-marketing-page .employee-hero-status-badge:hover,
.employee-marketing-page .employee-visual-window:hover,
.employee-marketing-page .employee-visual-person-card:hover,
.employee-marketing-page .employee-visual-timesheet:hover,
.employee-marketing-page .employee-visual-payroll-card:hover,
.employee-marketing-page .employee-visual-profile:hover,
.employee-marketing-page .employee-visual-activity-list:hover,
.employee-marketing-page .employee-visual-workload-card:hover,
.employee-marketing-page .employee-visual-workload-summary:hover,
.employee-marketing-page .employee-visual-branch:hover,
.employee-marketing-page .public-faq details:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .12) !important;
}

/* Existing feature buttons are already interactive, but use the same lift on hover. */
.employee-marketing-page .employee-feature-tab {
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}

.employee-marketing-page .employee-feature-tab:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .12) !important;
}

/* =========================================================
   REPAIR TICKET MANAGEMENT MARKETING PAGE
   2026-09-06
   ========================================================= */
.order-marketing-page {
    overflow: hidden;
    background: #fff;
}

.order-marketing-hero {
    position: relative;
    padding: 78px 0 86px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 18%, rgba(59, 130, 246, .25), transparent 29%),
        radial-gradient(circle at 92% 74%, rgba(37, 99, 235, .14), transparent 31%),
        linear-gradient(135deg, #061426 0%, #0a1b34 52%, #0c2345 100%);
}

.order-marketing-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -52% 42%;
    height: 520px;
    border: 1px solid rgba(96, 165, 250, .12);
    border-radius: 50%;
    transform: rotate(-8deg);
}

.order-marketing-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
    gap: 58px;
    align-items: center;
}

.order-marketing-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .13);
    color: #7eb2ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.order-marketing-hero-copy h1 {
    max-width: 720px;
    margin: 20px 0 20px;
    color: #fff;
    font-size: clamp(42px, 5.2vw, 70px);
    line-height: 1.01;
    letter-spacing: -2.7px;
}

.order-marketing-hero-copy h1 span {
    color: #75aaff;
}

.order-marketing-lead {
    max-width: 700px;
    margin: 0;
    color: #b7c5da;
    font-size: 18px;
    line-height: 1.72;
}

.order-marketing-checks {
    display: grid;
    gap: 12px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.order-marketing-checks li {
    position: relative;
    padding-left: 30px;
    color: #e3ebf7;
    font-size: 15px;
    line-height: 1.5;
}

.order-marketing-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 999px;
    background: rgba(59, 130, 246, .18);
    color: #7fb1ff;
    font-size: 12px;
    font-weight: 900;
}

.order-marketing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.order-marketing-hero .btn-light,
.order-final-card .btn-light {
    border-color: rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: #fff;
}

.order-marketing-hero .btn-light:hover,
.order-final-card .btn-light:hover {
    background: rgba(255,255,255,.14);
}

.order-hero-visual {
    position: relative;
    min-height: 560px;
}

.order-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.order-hero-glow-a {
    top: 64px;
    left: 40px;
    width: 390px;
    height: 390px;
    background: rgba(37, 99, 235, .13);
}

.order-hero-glow-b {
    right: 18px;
    bottom: 12px;
    width: 230px;
    height: 230px;
    background: rgba(96, 165, 250, .09);
}

.order-hero-window,
.order-hero-photo-card,
.order-hero-client-card,
.order-hero-alert {
    position: absolute;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(250,252,255,.98);
    box-shadow: 0 28px 70px rgba(0, 7, 20, .34);
    color: #132743;
}

.order-hero-window {
    top: 42px;
    left: 28px;
    width: min(520px, calc(100% - 42px));
    padding: 21px;
    border-radius: 26px;
    transform: rotate(-1deg);
}

.order-ui-window-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf5;
}

.order-ui-window-head > div {
    display: grid;
    gap: 4px;
}

.order-ui-window-head span,
.order-ui-summary-grid span,
.order-ui-summary-grid small,
.order-ui-bottom-row span {
    color: #74849a;
    font-size: 10px;
    line-height: 1.3;
}

.order-ui-window-head strong {
    color: #142946;
    font-size: 18px;
}

.order-ui-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2563eb !important;
    font-weight: 900;
}

.order-ui-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 0;
}

.order-ui-summary-grid > div {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 11px 12px;
    border-radius: 14px;
    background: #f7f9fc;
}

.order-ui-summary-grid strong {
    color: #1b3150;
    font-size: 12px;
}

.order-ui-accent {
    color: #d97706 !important;
}

.order-ui-progress {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    padding: 14px 0 16px;
    border-top: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
}

.order-ui-progress span {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    color: #8794a7;
    font-size: 8px;
    text-align: center;
}

.order-ui-progress i {
    width: 13px;
    height: 13px;
    border: 3px solid #dbe3ed;
    border-radius: 999px;
    background: #fff;
}

.order-ui-progress .is-done,
.order-ui-progress .is-current {
    color: #1f4f91;
    font-weight: 800;
}

.order-ui-progress .is-done i {
    border-color: #2f7de1;
    background: #2f7de1;
}

.order-ui-progress .is-current i {
    border-color: #2f7de1;
    box-shadow: 0 0 0 4px rgba(47,125,225,.12);
}

.order-ui-bottom-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 15px;
}

.order-ui-bottom-row b {
    color: #1f4f91;
}

.order-ui-bottom-row > strong {
    margin-left: auto;
    color: #12305a;
    font-size: 15px;
}

.order-hero-photo-card {
    top: 310px;
    right: 4px;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 11px;
    align-items: center;
    width: 260px;
    padding: 12px;
    border-radius: 18px;
}

.order-ui-photo-thumb {
    position: relative;
    display: grid;
    align-content: end;
    width: 68px;
    height: 60px;
    padding: 8px;
    overflow: hidden;
    border-radius: 12px;
    background:
        linear-gradient(160deg, rgba(255,255,255,.12), transparent 45%),
        linear-gradient(135deg, #172a46, #2f6fc2);
    color: #fff;
}

.order-ui-photo-thumb span {
    font-size: 8px;
    opacity: .72;
}

.order-ui-photo-thumb b {
    font-size: 9px;
}

.order-hero-photo-card > div:last-child,
.order-hero-client-card > div,
.order-hero-alert > span {
    display: grid;
    gap: 3px;
}

.order-hero-photo-card strong,
.order-hero-client-card strong,
.order-hero-alert strong {
    color: #183251;
    font-size: 11px;
}

.order-hero-photo-card small,
.order-hero-client-card small,
.order-hero-alert small {
    color: #7d8aa0;
    font-size: 9px;
}

.order-hero-client-card {
    left: 0;
    bottom: 18px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 11px;
    align-items: center;
    width: 292px;
    padding: 13px;
    border-radius: 18px;
}

.order-ui-qr,
.order-visual-qr-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 5px;
    border-radius: 8px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e3e9f1;
}

.order-ui-qr {
    width: 44px;
    height: 44px;
}

.order-ui-qr i,
.order-visual-qr-large i {
    border-radius: 1px;
    background: #12335e;
}

.order-ui-qr i:nth-child(2),
.order-ui-qr i:nth-child(4),
.order-ui-qr i:nth-child(8),
.order-visual-qr-large i:nth-child(2),
.order-visual-qr-large i:nth-child(4),
.order-visual-qr-large i:nth-child(8) {
    opacity: .18;
}

.order-hero-client-card em {
    padding: 5px 8px;
    border-radius: 999px;
    background: #e9f9ef;
    color: #278451;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
}

.order-hero-alert {
    right: 38px;
    bottom: 4px;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 205px;
    padding: 11px 13px;
    border-radius: 16px;
}

.order-hero-alert svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #d97706;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.order-overview-section,
.order-pain-section,
.order-feature-section,
.order-support-section,
.order-final-section {
    padding: 82px 0;
}

.order-overview-head,
.order-pain-head,
.order-feature-heading {
    max-width: 830px;
    margin: 0 auto 38px;
    text-align: center;
}

.order-overview-head .order-marketing-kicker,
.order-pain-head .order-marketing-kicker,
.order-feature-heading .order-marketing-kicker,
.order-final-card .order-marketing-kicker {
    background: #edf5ff;
    color: #2563eb;
}

.order-overview-head h2,
.order-pain-head h2,
.order-feature-heading h2,
.order-final-card h2 {
    margin: 16px 0 14px;
    color: #10233e;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.06;
    letter-spacing: -1.8px;
}

.order-overview-head p,
.order-pain-head p {
    margin: 0;
    color: #66758b;
    font-size: 17px;
    line-height: 1.7;
}

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

.order-overview-card,
.order-pain-card,
.order-support-card {
    min-width: 0;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15,23,42,.06);
}

.order-overview-card {
    padding: 28px;
}

.order-overview-icon,
.order-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: linear-gradient(145deg, #eff6ff, #e4efff);
    color: #2563eb;
}

.order-overview-icon svg,
.order-support-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.order-overview-card h3,
.order-support-card h3 {
    margin: 0 0 10px;
    color: #18304f;
    font-size: 20px;
    line-height: 1.25;
}

.order-overview-card p,
.order-support-card p {
    margin: 0;
    color: #6f7e91;
    line-height: 1.65;
}

.order-pain-section {
    background: #f5f8fc;
}

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

.order-pain-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 13px;
    align-items: start;
    padding: 22px;
}

.order-pain-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #fff1f2;
    color: #d74758;
    font-size: 18px;
    font-weight: 900;
}

.order-pain-card p {
    margin: 2px 0 0;
    color: #42546c;
    line-height: 1.58;
}

.order-pain-closing {
    max-width: 720px;
    margin: 28px auto 0;
    color: #1f426d;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
}

.order-feature-section {
    background: #fff;
}

.order-feature-explorer {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}

.order-feature-tabs {
    display: grid;
    gap: 8px;
    align-content: start;
}

.order-feature-tab {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 10px 13px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #506078;
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.order-feature-tab:hover {
    transform: translateY(-4px);
    border-color: #cfe0fb;
    box-shadow: 0 20px 45px rgba(15,23,42,.12);
}

.order-feature-tab b {
    color: #91a0b4;
    font-size: 11px;
}

.order-feature-tab span {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
}

.order-feature-tab.is-active {
    border-color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #347ee7);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37,99,235,.22);
}

.order-feature-tab.is-active b {
    color: #cfe0ff;
}

.order-feature-panels {
    min-width: 0;
}

.order-feature-panel {
    display: none;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 34px;
    align-items: center;
    min-height: 520px;
    padding: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background:
        radial-gradient(circle at 95% 0, rgba(59,130,246,.09), transparent 34%),
        #f8fafc;
    box-shadow: 0 20px 54px rgba(15,23,42,.07);
}

.order-feature-panel.is-active {
    display: grid;
    animation: orderFeatureFade .28s ease;
}

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

.order-feature-number {
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.order-feature-copy h3 {
    margin: 13px 0 15px;
    color: #142943;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.order-feature-copy > p {
    margin: 0;
    color: #65748a;
    font-size: 16px;
    line-height: 1.72;
}

.order-feature-why {
    display: grid;
    gap: 6px;
    margin-top: 24px;
    padding: 19px 20px;
    border-left: 4px solid #2563eb;
    border-radius: 0 16px 16px 0;
    background: #edf5ff;
}

.order-feature-why strong {
    color: #1f5fb8;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.order-feature-why span {
    color: #4b617e;
    font-size: 14px;
    line-height: 1.55;
}

.order-feature-visual {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #dfe7f1;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(59,130,246,.16), transparent 40%),
        linear-gradient(145deg, #f9fbff, #eef4fb);
    box-shadow: 0 18px 45px rgba(15,23,42,.09);
}

.order-intake-visual {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 26px;
}

.order-visual-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid #d9e4f2;
    border-radius: 13px;
    background: #fff;
}

.order-visual-search span,
.order-visual-filter-row span {
    color: #8190a4;
    font-size: 9px;
}

.order-visual-search strong {
    color: #243c5c;
    font-size: 11px;
}

.order-visual-search i {
    color: #2563eb;
    font-style: normal;
}

.order-visual-ticket-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: rgba(255,255,255,.88);
}

.order-visual-ticket-row.is-current {
    border-color: #bcd3f7;
    background: #fff;
    box-shadow: 0 10px 25px rgba(37,99,235,.08);
}

.order-visual-ticket-row > b {
    color: #2563eb;
    font-size: 11px;
}

.order-visual-ticket-row > div {
    display: grid;
    gap: 2px;
}

.order-visual-ticket-row strong {
    color: #203854;
    font-size: 10px;
}

.order-visual-ticket-row small {
    color: #8290a4;
    font-size: 9px;
}

.order-visual-ticket-row em {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2563eb;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
}

.order-visual-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.order-visual-filter-row span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #e9eff7;
}

.order-workflow-visual {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 28px;
}

.order-visual-workflow-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dde6f0;
}

.order-visual-workflow-head span {
    color: #223d61;
    font-size: 11px;
    font-weight: 800;
}

.order-visual-workflow-head b {
    color: #d97706;
    font-size: 9px;
}

.order-visual-workflow-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 11px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.62);
}

.order-visual-workflow-step > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #edf1f6;
    color: #8090a4;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.order-visual-workflow-step.is-done > i {
    background: #eaf8ef;
    color: #258451;
}

.order-visual-workflow-step.is-current {
    background: #fff;
    box-shadow: 0 10px 28px rgba(37,99,235,.08);
}

.order-visual-workflow-step.is-current > i {
    background: #2563eb;
    color: #fff;
}

.order-visual-workflow-step > span {
    display: grid;
    gap: 2px;
}

.order-visual-workflow-step strong {
    color: #263c59;
    font-size: 11px;
}

.order-visual-workflow-step small {
    color: #8996a8;
    font-size: 9px;
}

.order-photos-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr 1fr auto;
    gap: 10px;
    padding: 22px;
}

.order-visual-photo {
    position: relative;
    min-height: 110px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(140deg, #17345c, #4c82c8);
}

.order-visual-photo.photo-b {
    background: linear-gradient(140deg, #2a3850, #735c63);
}

.order-visual-photo.photo-c {
    background: linear-gradient(140deg, #16394b, #378397);
}

.order-visual-photo span,
.order-visual-photo b {
    position: absolute;
    z-index: 2;
    color: #fff;
}

.order-visual-photo span {
    left: 12px;
    bottom: 11px;
    font-size: 9px;
    font-weight: 800;
}

.order-visual-photo b {
    top: 10px;
    right: 10px;
    font-size: 11px;
    opacity: .7;
}

.order-visual-photo-note {
    grid-column: 1 / -1;
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
}

.order-visual-photo-note strong {
    color: #1e3b5f;
    font-size: 10px;
}

.order-visual-photo-note span {
    color: #78879a;
    font-size: 9px;
    line-height: 1.4;
}

.order-schedule-visual {
    display: grid;
    align-content: center;
    gap: 13px;
    padding: 28px;
}

.order-visual-assignee,
.order-visual-deadline,
.order-visual-load {
    border: 1px solid #e0e8f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.order-visual-assignee {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 13px;
}

.order-visual-assignee > div {
    display: grid;
    gap: 2px;
}

.order-visual-assignee strong,
.order-visual-deadline strong {
    color: #213a59;
    font-size: 11px;
}

.order-visual-assignee small,
.order-visual-deadline span,
.order-visual-deadline small,
.order-visual-load span,
.order-visual-load em {
    color: #8491a4;
    font-size: 9px;
}

.order-visual-assignee em {
    color: #2563eb;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.order-visual-deadline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding: 15px;
}

.order-visual-deadline strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    font-size: 15px;
}

.order-visual-load {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 15px;
}

.order-visual-load b {
    grid-column: 1 / -1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef6;
}

.order-visual-load i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #5a9af1);
}

.order-visual-load em {
    color: #2563eb;
    font-style: normal;
    font-weight: 800;
}

.order-parts-visual {
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 27px;
}

.order-visual-part {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 13px 15px;
    border: 1px solid #e0e8f1;
    border-radius: 15px;
    background: #fff;
}

.order-visual-part span,
.order-visual-part-total span {
    color: #273e5d;
    font-size: 11px;
    font-weight: 800;
}

.order-visual-part small {
    color: #8492a5;
    font-size: 9px;
}

.order-visual-part b {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    color: #56708f;
    font-size: 9px;
}

.order-visual-part em {
    grid-column: 2;
    color: #2563eb;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.order-visual-part-total {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 15px;
    border-radius: 15px;
    background: #eaf3ff;
}

.order-visual-part-total strong {
    color: #1f5fb8;
    font-size: 13px;
}

.order-visual-stock-badge {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9f9ef;
    color: #278451;
    font-size: 9px;
    font-weight: 900;
}

.order-history-visual {
    display: grid;
    align-content: center;
    gap: 9px;
    padding: 25px;
}

.order-history-visual > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: rgba(255,255,255,.9);
}

.order-history-visual p {
    display: grid;
    gap: 3px;
    margin: 0;
    color: #66778d;
    font-size: 10px;
}

.order-history-visual strong {
    color: #203a5b;
}

.order-history-visual small {
    color: #8a97aa;
    font-size: 9px;
}

.order-client-visual {
    display: grid;
    grid-template-columns: 1fr 95px;
    gap: 20px;
    align-items: center;
    padding: 30px;
}

.order-visual-client-page {
    display: grid;
    gap: 9px;
    padding: 20px;
    border: 1px solid #dae5f2;
    border-radius: 18px;
    background: #fff;
}

.order-visual-client-page > span {
    color: #8290a4;
    font-size: 9px;
}

.order-visual-client-page > strong {
    color: #1c3555;
    font-size: 16px;
}

.order-visual-client-page > em {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2563eb;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.order-visual-client-page > div {
    display: grid;
    gap: 2px;
    padding-top: 6px;
}

.order-visual-client-page small {
    color: #8896a9;
    font-size: 8px;
}

.order-visual-client-page b {
    color: #203b5f;
    font-size: 11px;
}

.order-visual-client-page p {
    margin: 2px 0 0;
    color: #65768e;
    font-size: 9px;
    line-height: 1.5;
}

.order-visual-qr-large {
    width: 92px;
    height: 92px;
    padding: 10px;
    gap: 4px;
    border-radius: 14px;
}

.order-finish-visual {
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 26px;
}

.order-visual-finance,
.order-visual-document,
.order-visual-warranty {
    border: 1px solid #e0e8f1;
    border-radius: 16px;
    background: #fff;
}

.order-visual-finance {
    display: grid;
    gap: 4px;
    padding: 17px;
}

.order-visual-finance span,
.order-visual-finance small,
.order-visual-warranty span,
.order-visual-warranty small {
    color: #8492a5;
    font-size: 9px;
}

.order-visual-finance strong,
.order-visual-warranty strong {
    color: #1e3a5d;
    font-size: 20px;
}

.order-visual-document {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 11px;
    align-items: center;
    padding: 14px;
}

.order-visual-document svg {
    width: 33px;
    height: 33px;
    fill: none;
    stroke: #2563eb;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.order-visual-document > span {
    display: grid;
    gap: 3px;
}

.order-visual-document strong {
    color: #263e5b;
    font-size: 10px;
}

.order-visual-document small {
    color: #8391a3;
    font-size: 9px;
}

.order-visual-warranty {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 14px;
    align-items: center;
    padding: 14px 16px;
}

.order-visual-warranty strong {
    grid-row: 1 / span 2;
    grid-column: 2;
    font-size: 15px;
}

.order-support-section {
    background: #f6f9fd;
}

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

.order-support-card {
    padding: 27px;
}

.order-support-card-accent {
    border-color: #cfe1fb;
    background: linear-gradient(145deg, #f8fbff, #edf5ff);
}

.order-final-section {
    padding-top: 54px;
}

.order-final-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 0, rgba(59,130,246,.23), transparent 34%),
        linear-gradient(135deg, #07172b, #0c2548);
    box-shadow: 0 24px 60px rgba(15,23,42,.16);
}

.order-final-card h2 {
    max-width: 720px;
    color: #fff;
    font-size: clamp(31px, 4vw, 48px);
}

.order-final-card p {
    max-width: 720px;
    margin: 0;
    color: #b9c7d9;
    line-height: 1.65;
}

.order-final-card .order-marketing-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.order-faq-section .public-faq details {
    transition: transform .2s ease, box-shadow .2s ease;
}

@media (max-width: 1100px) {
    .order-marketing-hero-grid {
        grid-template-columns: 1fr;
    }

    .order-hero-visual {
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }

    .order-feature-explorer {
        grid-template-columns: 1fr;
    }

    .order-feature-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .order-feature-tab {
        grid-template-columns: 28px 1fr;
    }
}

@media (max-width: 900px) {
    .order-overview-grid,
    .order-pain-grid,
    .order-support-grid {
        grid-template-columns: 1fr;
    }

    .order-feature-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .order-feature-visual {
        min-height: 330px;
    }

    .order-final-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .order-marketing-hero {
        padding: 58px 0 68px;
    }

    .order-marketing-hero-copy h1 {
        font-size: clamp(39px, 12vw, 56px);
        letter-spacing: -1.8px;
    }

    .order-marketing-lead {
        font-size: 16px;
    }

    .order-hero-visual {
        min-height: 590px;
    }

    .order-hero-window {
        top: 24px;
        left: 0;
        width: 100%;
        transform: none;
    }

    .order-ui-progress {
        overflow-x: auto;
    }

    .order-hero-photo-card {
        top: 365px;
        right: 0;
    }

    .order-hero-client-card {
        bottom: 55px;
        width: min(292px, 86%);
    }

    .order-hero-alert {
        right: 0;
        bottom: 0;
    }

    .order-overview-section,
    .order-pain-section,
    .order-feature-section,
    .order-support-section,
    .order-final-section {
        padding: 62px 0;
    }

    .order-feature-tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
    }

    .order-feature-tab {
        flex: 0 0 185px;
        scroll-snap-align: start;
    }

    .order-feature-panel {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .order-feature-copy h3 {
        font-size: 29px;
    }

    .order-photos-visual {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .order-visual-photo-note {
        grid-column: auto;
    }

    .order-client-visual {
        grid-template-columns: 1fr;
    }

    .order-visual-qr-large {
        justify-self: center;
    }

    .order-final-card {
        padding: 30px 24px;
    }
}

/* =========================================================
   PUBLIC HEADER — STICKY ON ALL VIEWPORTS
   2026-09-06
   Keep the public navigation attached to the top while scrolling.
   ========================================================= */
.site-header {
    position: sticky !important;
    top: 0;
    z-index: 1200;
}

/* =========================================================
   INVENTORY / PARTS MARKETING PAGE
   2026-09-06
   ========================================================= */
.stock-marketing-page {
    overflow: hidden;
    background: #fff;
}

.stock-marketing-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 88px;
    background:
        radial-gradient(circle at 78% 18%, rgba(59, 130, 246, .25), transparent 30%),
        radial-gradient(circle at 94% 72%, rgba(14, 165, 233, .13), transparent 32%),
        linear-gradient(135deg, #061426 0%, #0a1b34 52%, #0c2345 100%);
}

.stock-marketing-hero::after {
    content: "";
    position: absolute;
    right: -14%;
    bottom: -58%;
    width: 760px;
    height: 560px;
    border: 1px solid rgba(96, 165, 250, .13);
    border-radius: 50%;
    transform: rotate(-9deg);
}

.stock-marketing-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
    gap: 58px;
    align-items: center;
}

.stock-marketing-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid rgba(147, 197, 253, .2);
    border-radius: 999px;
    background: rgba(59, 130, 246, .1);
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stock-marketing-hero-copy h1 {
    max-width: 720px;
    margin: 20px 0 20px;
    color: #fff;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.02;
    letter-spacing: -2.2px;
}

.stock-marketing-hero-copy h1 span {
    color: #93c5fd;
}

.stock-marketing-lead {
    max-width: 720px;
    margin: 0;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.68;
}

.stock-marketing-checks {
    display: grid;
    gap: 10px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.stock-marketing-checks li {
    position: relative;
    padding-left: 29px;
    color: #e2e8f0;
    font-size: 15px;
    line-height: 1.5;
}

.stock-marketing-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, .18);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
}

.stock-marketing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.stock-marketing-hero .btn-light,
.stock-final-card .btn-light {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.stock-marketing-hero .btn-light:hover,
.stock-final-card .btn-light:hover {
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .14);
}

.stock-hero-visual {
    position: relative;
    min-height: 560px;
}

.stock-hero-glow {
    position: absolute;
    inset: 10% 6% 9% 3%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .25), transparent 68%);
    filter: blur(9px);
}

.stock-hero-window,
.stock-hero-reserve-card,
.stock-hero-alert-card,
.stock-hero-movement-card {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(191, 219, 254, .18);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 30px 70px rgba(2, 8, 23, .27);
    backdrop-filter: blur(14px);
}

.stock-hero-window {
    top: 56px;
    right: 6px;
    width: min(100%, 520px);
    padding: 23px;
    border-radius: 28px;
}

.stock-ui-window-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.stock-ui-window-head > div {
    display: grid;
    gap: 4px;
}

.stock-ui-window-head strong {
    color: #0f172a;
    font-size: 18px;
}

.stock-ui-window-head small {
    color: #64748b;
    font-size: 12px;
}

.stock-ui-window-head > span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
}

.stock-ui-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 17px;
}

.stock-ui-summary > div {
    display: grid;
    gap: 3px;
    padding: 13px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

.stock-ui-summary span,
.stock-ui-summary small {
    color: #64748b;
    font-size: 10px;
}

.stock-ui-summary strong {
    color: #0f172a;
    font-size: 22px;
}

.stock-ui-list {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.stock-ui-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 65px 70px;
    gap: 9px;
    align-items: center;
    padding: 11px 13px;
    border-top: 1px solid #edf2f7;
    color: #334155;
    font-size: 12px;
}

.stock-ui-row:first-child {
    border-top: 0;
}

.stock-ui-row-head {
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.stock-ui-row > span:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.stock-ui-row b {
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stock-ui-row small {
    color: #94a3b8;
    font-size: 10px;
}

.stock-ui-row .is-good,
.stock-ui-row .is-low {
    width: fit-content;
    min-width: 31px;
    padding: 4px 7px;
    border-radius: 999px;
    text-align: center;
    font-weight: 900;
}

.stock-ui-row .is-good {
    background: #dcfce7;
    color: #166534;
}

.stock-ui-row .is-low {
    background: #fee2e2;
    color: #b91c1c;
}

.stock-hero-reserve-card {
    left: 0;
    top: 16px;
    width: 215px;
    padding: 17px;
    border-radius: 20px;
    transform: rotate(-2deg);
}

.stock-hero-reserve-card > span,
.stock-hero-movement-card > span {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.stock-hero-reserve-card strong,
.stock-hero-movement-card strong {
    display: block;
    margin: 7px 0 4px;
    color: #0f172a;
    font-size: 14px;
}

.stock-hero-reserve-card p,
.stock-hero-reserve-card small,
.stock-hero-movement-card small {
    margin: 0;
    color: #64748b;
    font-size: 11px;
}

.stock-hero-reserve-card em {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.stock-hero-alert-card {
    right: -5px;
    bottom: 35px;
    display: flex;
    width: 285px;
    align-items: center;
    gap: 11px;
    padding: 15px 17px;
    border-radius: 19px;
}

.stock-ui-alert-icon {
    display: grid;
    width: 33px;
    height: 33px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    background: #fee2e2;
    color: #b91c1c;
    font-weight: 950;
}

.stock-hero-alert-card div {
    display: grid;
    gap: 3px;
}

.stock-hero-alert-card strong {
    color: #0f172a;
    font-size: 12px;
}

.stock-hero-alert-card small {
    color: #64748b;
    font-size: 10px;
}

.stock-hero-movement-card {
    left: 48px;
    bottom: 9px;
    width: 205px;
    padding: 15px 17px;
    border-radius: 19px;
    transform: rotate(1.5deg);
}

.stock-overview-section,
.stock-pain-section,
.stock-feature-section,
.stock-support-section,
.stock-final-section {
    padding: 76px 0;
}

.stock-overview-section,
.stock-support-section {
    background: #fff;
}

.stock-pain-section,
.stock-feature-section {
    background: #f8fafc;
}

.stock-overview-head,
.stock-pain-head,
.stock-feature-heading {
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.stock-overview-head .stock-marketing-kicker,
.stock-pain-head .stock-marketing-kicker,
.stock-feature-heading .stock-marketing-kicker,
.stock-final-card .stock-marketing-kicker {
    border-color: #dbeafe;
    background: #eff6ff;
    color: #2563eb;
}

.stock-overview-head h2,
.stock-pain-head h2,
.stock-feature-heading h2,
.stock-final-card h2 {
    margin: 17px 0 13px;
    color: #0f172a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.stock-overview-head p,
.stock-pain-head p,
.stock-final-card p {
    margin: 0;
    color: #64748b;
    font-size: 17px;
    line-height: 1.7;
}

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

.stock-overview-card,
.stock-pain-card,
.stock-support-card {
    min-width: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.stock-overview-card {
    padding: 27px;
    border-radius: 23px;
}

.stock-overview-icon,
.stock-support-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: #eff6ff;
    color: #2563eb;
}

.stock-overview-icon svg,
.stock-support-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.stock-overview-card h3,
.stock-support-card h3 {
    margin: 18px 0 10px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
}

.stock-overview-card p,
.stock-support-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.stock-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stock-pain-card {
    display: flex;
    min-height: 126px;
    align-items: flex-start;
    gap: 13px;
    padding: 22px;
    border-radius: 20px;
}

.stock-pain-alert {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 10px;
    background: #fff7ed;
    color: #ea580c;
    font-weight: 950;
}

.stock-pain-card p {
    margin: 1px 0 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.55;
}

.stock-pain-closing {
    max-width: 840px;
    margin: 28px auto 0;
    color: #0f172a;
    font-size: 20px;
    font-weight: 850;
    line-height: 1.45;
    text-align: center;
}

.stock-feature-explorer {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.stock-feature-tabs {
    display: grid;
    gap: 9px;
}

.stock-feature-tab {
    appearance: none;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
    color: #475569;
    cursor: pointer;
    text-align: left;
}

.stock-feature-tab > b {
    display: inline-grid;
    width: 35px;
    height: 35px;
    margin: 8px 4px 8px 9px;
    place-items: center;
    border-radius: 11px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
}

.stock-feature-tab > span {
    display: inline-block;
    padding: 10px 8px;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 850;
}

.stock-feature-tab.is-active {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .09);
}

.stock-feature-tab.is-active > b {
    background: #2563eb;
    color: #fff;
}

.stock-feature-panels {
    min-width: 0;
}

.stock-feature-panel {
    display: none;
    min-height: 530px;
    grid-template-columns: minmax(0, .82fr) minmax(430px, 1.18fr);
    gap: 46px;
    align-items: center;
    padding: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .07);
}

.stock-feature-panel.is-active {
    display: grid;
}

.stock-feature-number {
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stock-feature-copy h3 {
    margin: 13px 0 15px;
    color: #0f172a;
    font-size: 35px;
    line-height: 1.1;
    letter-spacing: -.7px;
}

.stock-feature-copy > p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.stock-feature-why {
    display: grid;
    gap: 7px;
    margin-top: 25px;
    padding: 18px 19px;
    border-left: 4px solid #2563eb;
    border-radius: 0 16px 16px 0;
    background: #eff6ff;
}

.stock-feature-why strong {
    color: #1d4ed8;
    font-size: 12px;
    text-transform: uppercase;
}

.stock-feature-why span {
    color: #334155;
    line-height: 1.55;
}

.stock-feature-visual {
    position: relative;
    min-height: 355px;
    border: 1px solid #dbeafe;
    border-radius: 28px;
    background:
        radial-gradient(circle at 84% 14%, rgba(96, 165, 250, .22), transparent 30%),
        linear-gradient(145deg, #eff6ff, #f8fafc 58%, #fff);
}

.stock-visual-part-card,
.stock-visual-order,
.stock-visual-reserve,
.stock-visual-movement,
.stock-visual-stockbar,
.stock-visual-history-list,
.stock-visual-branch,
.stock-visual-price-card,
.stock-visual-margin,
.stock-visual-sheet {
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .09);
}

.stock-catalog-visual,
.stock-history-visual,
.stock-import-visual {
    display: grid;
    place-items: center;
    padding: 34px;
}

.stock-visual-part-card {
    width: min(100%, 390px);
    padding: 23px;
    border-radius: 22px;
}

.stock-visual-part-head,
.stock-visual-sheet-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.stock-visual-part-head span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.stock-visual-part-head em,
.stock-visual-sheet-head em {
    padding: 5px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.stock-visual-part-card h4 {
    margin: 15px 0 5px;
    color: #0f172a;
    font-size: 20px;
}

.stock-visual-part-card > p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.stock-visual-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0;
}

.stock-visual-metrics div {
    padding: 12px 9px;
    border-radius: 13px;
    background: #f8fafc;
}

.stock-visual-metrics small {
    display: block;
    color: #64748b;
    font-size: 9px;
}

.stock-visual-metrics strong {
    display: block;
    margin-top: 4px;
    color: #0f172a;
    font-size: 20px;
}

.stock-visual-location {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 850;
}

.stock-reserve-visual,
.stock-branches-visual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 13px;
    align-items: center;
    padding: 32px 25px;
}

.stock-visual-order,
.stock-visual-reserve,
.stock-visual-branch {
    padding: 19px;
    border-radius: 19px;
}

.stock-visual-order span,
.stock-visual-reserve span,
.stock-visual-branch span {
    color: #64748b;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.stock-visual-order strong,
.stock-visual-reserve strong,
.stock-visual-branch strong {
    display: block;
    margin: 8px 0 4px;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
}

.stock-visual-order small,
.stock-visual-reserve small,
.stock-visual-branch small {
    color: #64748b;
    font-size: 10px;
}

.stock-visual-reserve em {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.stock-visual-arrow {
    color: #2563eb;
    font-size: 31px;
    font-weight: 900;
}

.stock-movement-visual,
.stock-prices-visual {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: 34px 42px;
}

.stock-visual-movement {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 14px;
    align-items: center;
    padding: 17px 19px;
    border-radius: 17px;
}

.stock-visual-movement span {
    color: #334155;
    font-size: 12px;
    font-weight: 850;
}

.stock-visual-movement strong {
    grid-row: span 2;
    color: #0f172a;
    font-size: 18px;
}

.stock-visual-movement small {
    color: #94a3b8;
    font-size: 10px;
}

.stock-visual-movement.is-income {
    border-left: 4px solid #22c55e;
}

.stock-visual-movement.is-reserve {
    border-left: 4px solid #f59e0b;
}

.stock-visual-movement.is-writeoff {
    border-left: 4px solid #ef4444;
}

.stock-minimum-visual {
    display: grid;
    gap: 13px;
    align-content: center;
    padding: 34px;
}

.stock-visual-stockbar {
    padding: 18px;
    border-radius: 18px;
}

.stock-visual-stockbar > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 850;
}

.stock-visual-stockbar em {
    color: #b91c1c;
    font-style: normal;
}

.stock-visual-stockbar > b {
    display: block;
    height: 8px;
    margin: 12px 0 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.stock-visual-stockbar > b i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #ef4444;
}

.stock-visual-stockbar > b i.is-ok {
    background: #22c55e;
}

.stock-visual-stockbar small {
    color: #b91c1c;
    font-size: 10px;
}

.stock-visual-stockbar small.is-ok-text {
    color: #166534;
}

.stock-visual-low-badge {
    justify-self: end;
    padding: 7px 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 10px;
    font-weight: 900;
}

.stock-visual-history-list {
    width: min(100%, 405px);
    padding: 12px;
    border-radius: 20px;
}

.stock-visual-history-list > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 11px;
    align-items: center;
    padding: 12px 10px;
    border-top: 1px solid #eef2f7;
}

.stock-visual-history-list > div:first-child {
    border-top: 0;
}

.stock-visual-history-list > div > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 950;
}

.stock-visual-history-list .is-income,
.stock-visual-history-list .is-return {
    background: #dcfce7;
    color: #166534;
}

.stock-visual-history-list .is-reserve {
    background: #fef3c7;
    color: #92400e;
}

.stock-visual-history-list p {
    display: grid;
    gap: 3px;
    margin: 0;
}

.stock-visual-history-list strong {
    color: #0f172a;
    font-size: 12px;
}

.stock-visual-history-list small {
    color: #94a3b8;
    font-size: 10px;
}

.stock-visual-transfer {
    display: grid;
    place-items: center;
    color: #2563eb;
}

.stock-visual-transfer span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #dbeafe;
    font-size: 10px;
    font-weight: 900;
}

.stock-visual-transfer b {
    margin: 8px 0 3px;
    font-size: 27px;
}

.stock-visual-transfer small {
    color: #64748b;
    font-size: 9px;
}

.stock-visual-price-card,
.stock-visual-margin {
    padding: 18px 20px;
    border-radius: 18px;
}

.stock-visual-price-card span,
.stock-visual-margin span {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.stock-visual-price-card strong,
.stock-visual-margin strong {
    display: block;
    margin: 5px 0 3px;
    color: #0f172a;
    font-size: 24px;
}

.stock-visual-price-card small,
.stock-visual-margin small {
    color: #94a3b8;
    font-size: 10px;
}

.stock-visual-price-card.is-sale {
    border-left: 4px solid #2563eb;
}

.stock-visual-margin {
    margin-left: 35px;
    border-left: 4px solid #22c55e;
}

.stock-visual-sheet {
    width: min(100%, 430px);
    overflow: hidden;
    border-radius: 20px;
}

.stock-visual-sheet-head {
    padding: 14px 16px;
    background: #f8fafc;
}

.stock-visual-sheet-head span {
    color: #334155;
    font-size: 11px;
    font-weight: 850;
}

.stock-visual-sheet-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 1fr 70px;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid #eef2f7;
    color: #475569;
    font-size: 10px;
}

.stock-visual-sheet-row b {
    color: #0f172a;
}

.stock-visual-import-ready {
    margin: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #dcfce7;
    color: #166534;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
}

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

.stock-support-card {
    padding: 27px;
    border-radius: 23px;
}

.stock-support-card-accent {
    border-color: #bfdbfe;
    background: linear-gradient(145deg, #eff6ff, #fff 72%);
}

.stock-final-section {
    padding-top: 28px;
}

.stock-final-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding: 43px 46px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 8%, rgba(59, 130, 246, .25), transparent 30%),
        linear-gradient(135deg, #071427, #0d2344);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

.stock-final-card .stock-marketing-kicker {
    border-color: rgba(147, 197, 253, .24);
    background: rgba(59, 130, 246, .12);
    color: #bfdbfe;
}

.stock-final-card h2 {
    max-width: 800px;
    margin-top: 15px;
    color: #fff;
}

.stock-final-card p {
    max-width: 760px;
    color: #cbd5e1;
}

.stock-final-card .stock-marketing-actions {
    margin: 0;
}

.stock-faq-section {
    padding-top: 72px;
}

.stock-faq-list details {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

@media (max-width: 1120px) {
    .stock-marketing-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px;
    }

    .stock-feature-panel {
        grid-template-columns: 1fr;
    }

    .stock-feature-visual {
        min-height: 320px;
    }
}

@media (max-width: 980px) {
    .stock-marketing-hero-grid {
        grid-template-columns: 1fr;
    }

    .stock-hero-visual {
        width: min(100%, 650px);
        margin: 0 auto;
    }

    .stock-feature-explorer {
        grid-template-columns: 1fr;
    }

    .stock-feature-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .stock-overview-grid,
    .stock-pain-grid,
    .stock-support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stock-final-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .stock-marketing-hero {
        padding: 56px 0 65px;
    }

    .stock-marketing-hero-copy h1 {
        font-size: clamp(38px, 12vw, 52px);
        letter-spacing: -1.5px;
    }

    .stock-marketing-lead {
        font-size: 16px;
    }

    .stock-hero-visual {
        min-height: 585px;
    }

    .stock-hero-window {
        top: 72px;
        right: 0;
        left: 0;
        width: auto;
        padding: 17px;
    }

    .stock-hero-reserve-card {
        left: 2px;
        top: 9px;
        width: 190px;
    }

    .stock-hero-alert-card {
        right: 0;
        bottom: 25px;
        width: 245px;
    }

    .stock-hero-movement-card {
        left: 4px;
        bottom: 2px;
        width: 180px;
    }

    .stock-ui-summary {
        gap: 6px;
    }

    .stock-ui-summary > div {
        padding: 10px 8px;
    }

    .stock-ui-row {
        grid-template-columns: minmax(0, 1fr) 52px 58px;
        padding: 9px 8px;
    }

    .stock-overview-section,
    .stock-pain-section,
    .stock-feature-section,
    .stock-support-section,
    .stock-final-section {
        padding: 58px 0;
    }

    .stock-overview-grid,
    .stock-pain-grid,
    .stock-support-grid {
        grid-template-columns: 1fr;
    }

    .stock-feature-tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x proximity;
    }

    .stock-feature-tab {
        flex: 0 0 185px;
        scroll-snap-align: start;
    }

    .stock-feature-panel {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 24px;
    }

    .stock-feature-copy h3 {
        font-size: 29px;
    }

    .stock-feature-visual {
        min-height: 300px;
    }

    .stock-reserve-visual,
    .stock-branches-visual {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stock-visual-arrow {
        transform: rotate(90deg);
    }

    .stock-movement-visual,
    .stock-prices-visual {
        padding: 25px 20px;
    }

    .stock-visual-margin {
        margin-left: 0;
    }

    .stock-final-card {
        padding: 30px 24px;
    }
}

/* =========================================================
   FEATURE EXPLORERS — UNIFIED SERVICEHUB STYLE
   2026-09-06
   Canonical visual: Employee Management feature explorer.
   Repair Tickets + Inventory now use the same shell, tabs,
   active state, spacing and "why it matters" presentation.
   ========================================================= */

.order-feature-explorer,
.stock-feature-explorer {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 0;
    min-height: 530px;
    overflow: hidden;
    border: 1px solid #e2e9f2;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(23, 52, 91, .08);
}

.order-feature-tabs,
.stock-feature-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border-right: 1px solid #e8edf4;
    background: #f9fbfd;
}

.order-feature-tab,
.stock-feature-tab {
    appearance: none;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 63px;
    padding: 12px 17px;
    border: 0;
    border-bottom: 1px solid #e8edf4;
    border-radius: 0;
    background: transparent;
    color: #53677f;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transform: none;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.order-feature-tab b,
.stock-feature-tab > b {
    display: inline-flex;
    width: 26px;
    height: 26px;
    margin: 0;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf3f8;
    color: #406784;
    font-size: 10px;
    line-height: 1;
}

.order-feature-tab span,
.stock-feature-tab > span {
    display: block;
    padding: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.order-feature-tab:hover,
.stock-feature-tab:hover {
    border-color: transparent;
    background: #f3f7fb;
    color: #213a59;
    box-shadow: none;
    transform: none;
}

.order-feature-tab.is-active,
.stock-feature-tab.is-active {
    border-color: transparent;
    background: #fff;
    color: #133456;
    box-shadow: inset 4px 0 0 #2d72db;
    transform: none;
}

.order-feature-tab.is-active b,
.stock-feature-tab.is-active > b {
    background: #1f62cc;
    color: #fff;
}

.order-feature-panels,
.stock-feature-panels {
    position: relative;
    min-width: 0;
}

.order-feature-panel,
.stock-feature-panel {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    gap: 42px;
    align-items: center;
    min-height: 530px;
    padding: 46px 48px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.order-feature-panel.is-active,
.stock-feature-panel.is-active {
    display: grid;
}

.order-feature-number,
.stock-feature-number {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 8px;
    background: #edf4ff;
    color: #2867ca;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.order-feature-copy h3,
.stock-feature-copy h3 {
    max-width: 560px;
    margin: 19px 0 16px;
    color: #102039;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -1px;
}

.order-feature-copy > p,
.stock-feature-copy > p {
    margin: 0;
    color: #52647b;
    font-size: 15px;
    line-height: 1.75;
}

.order-feature-why,
.stock-feature-why {
    display: block;
    margin-top: 24px;
    padding: 16px 17px;
    border-left: 4px solid #2c6fd6;
    border-radius: 0 14px 14px 0;
    background: #f5f8fb;
}

.order-feature-why strong,
.stock-feature-why strong {
    display: inline;
    color: #1b4669;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.order-feature-why span,
.stock-feature-why span {
    display: inline;
    margin-left: 4px;
    color: #66778d;
    font-size: 13px;
    line-height: 1.55;
}

/* Keep each page's own product illustration, but normalize its footprint. */
.order-feature-visual,
.stock-feature-visual {
    width: min(500px, 100%);
    min-height: 310px;
    margin: 0 auto;
}

@media (max-width: 820px) {
    .order-feature-explorer,
    .stock-feature-explorer {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .order-feature-tabs,
    .stock-feature-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid #e7edf4;
        scrollbar-width: thin;
    }

    .order-feature-tab,
    .stock-feature-tab {
        flex: 0 0 auto;
        width: 175px;
        min-height: 58px;
        border-right: 1px solid #e8edf4;
        border-bottom: 0;
    }

    .order-feature-tab.is-active,
    .stock-feature-tab.is-active {
        box-shadow: inset 0 -4px 0 #2d72db;
    }

    .order-feature-panel,
    .stock-feature-panel {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 34px 26px 40px;
    }
}


/* =========================================================
   DOCUMENTS & PHOTOS — REAL INTAKE IMAGES
   Uses generated ServiceHub marketing assets instead of
   gradient placeholders. Shared public card hover remains intact.
   ========================================================= */
.order-ui-photo-thumb > img,
.order-visual-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

.order-ui-photo-thumb::after,
.order-visual-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.order-ui-photo-thumb::after {
    background: linear-gradient(180deg, rgba(9, 27, 52, .04) 28%, rgba(9, 27, 52, .82) 100%);
}

.order-visual-photo::after {
    background: linear-gradient(180deg, rgba(9, 27, 52, .02) 38%, rgba(9, 27, 52, .72) 100%);
}

.order-ui-photo-thumb > span,
.order-ui-photo-thumb > b {
    position: relative;
    z-index: 2;
}

.order-visual-photo > img {
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), filter .32s ease;
}

.order-photos-visual:hover .order-visual-photo > img {
    filter: saturate(1.04) contrast(1.02);
}

.order-visual-photo:hover > img {
    transform: scale(1.045);
}

.order-hero-photo-card:hover .order-ui-photo-thumb > img {
    transform: scale(1.04);
}

.order-ui-photo-thumb > img {
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}

/* =========================================================
   О СИСТЕМЕ — восстановление специальных визуальных блоков
   Возвращены после общего refresh публичных feature-страниц.
   ========================================================= */

.public-ai-section {
    align-items: center;
}

.public-ai-showcase {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 30px;
    border: 1px solid rgba(96, 165, 250, .25);
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 4%, rgba(96, 165, 250, .22), transparent 34%),
        linear-gradient(145deg, #0f172a, #1d3152);
    color: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
}

.public-ai-badge {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.public-ai-showcase small,
.public-ai-showcase strong {
    display: block;
}

.public-ai-showcase small {
    margin-bottom: 7px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.public-ai-showcase strong {
    max-width: 580px;
    margin-bottom: 12px;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.14;
}

.public-ai-showcase p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
    line-height: 1.65;
}

.public-ai-showcase ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.public-ai-showcase li {
    position: relative;
    padding-left: 25px;
    color: rgba(255, 255, 255, .86);
    line-height: 1.5;
}

.public-ai-showcase li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: 900;
}

.public-architecture-diagram {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 24px;
    border: 1px solid #dbe5f1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.public-architecture-core {
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a, #263b60);
    color: #fff;
    text-align: center;
}

.public-architecture-core span,
.public-architecture-core strong,
.public-architecture-core small {
    display: block;
}

.public-architecture-core span {
    margin-bottom: 7px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.public-architecture-core strong {
    margin-bottom: 7px;
    font-size: 24px;
}

.public-architecture-core small {
    color: rgba(255, 255, 255, .7);
}

.public-architecture-arrow {
    color: #2563eb;
    font-size: 25px;
    font-weight: 900;
    text-align: center;
}

.public-architecture-tenants {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.public-architecture-tenants > div {
    min-width: 0;
    padding: 17px 12px;
    border: 1px solid #dbe5f1;
    border-radius: 16px;
    background: #f8fbff;
    text-align: center;
}

.public-architecture-tenants strong,
.public-architecture-tenants span {
    display: block;
    overflow-wrap: anywhere;
}

.public-architecture-tenants strong {
    margin-bottom: 4px;
    color: #0f172a;
}

.public-architecture-tenants span {
    color: #64748b;
    font-size: 12px;
}

.public-final-cta .public-cta-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

@media (max-width: 700px) {
    .public-ai-showcase {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .public-architecture-diagram {
        padding: 18px;
        border-radius: 22px;
    }

    .public-architecture-tenants {
        grid-template-columns: 1fr;
    }

    .public-final-cta .public-cta-actions,
    .public-final-cta .public-cta-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   INTERACTIVE CALENDAR MARKETING PAGE
   Mirrors the visual language of the employee management page.
   ========================================================= */
.schedule-marketing-page {
    --schedule-blue: #2563eb;
    --schedule-blue-2: #3b82f6;
    --schedule-ink: #0f1f37;
    --schedule-muted: #60738d;
    --schedule-line: #dfe8f4;
    --schedule-soft: #eef5ff;
    --schedule-green: #16a36a;
    --schedule-violet: #7656d8;
}

.schedule-marketing-hero {
    background:
        radial-gradient(circle at 77% 18%, rgba(58,128,237,.16), transparent 31%),
        radial-gradient(circle at 92% 72%, rgba(86,116,226,.08), transparent 27%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.schedule-hero-visual {
    position: relative;
    min-height: 548px;
    isolation: isolate;
}

.schedule-hero-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(52,121,232,.13);
    z-index: -2;
}
.schedule-hero-orbit-a { inset: 32px 24px 40px 54px; }
.schedule-hero-orbit-b { inset: 88px 82px 90px 112px; border-style: dashed; }

.schedule-ui-window {
    position: absolute;
    inset: 40px 4px 48px 16px;
    overflow: hidden;
    border: 1px solid rgba(49,83,127,.12);
    border-radius: 26px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 26px 68px rgba(25,57,101,.17);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.schedule-ui-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 17px 19px;
    border-bottom: 1px solid #e8eef7;
    background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.schedule-ui-topbar > div:first-child { min-width: 0; }
.schedule-ui-topbar strong { display:block; color:#173252; font-size:14px; }
.schedule-ui-topbar small { display:block; margin-top:3px; color:#91a0b4; font-size:10px; }
.schedule-ui-view-switch { display:flex; align-items:center; gap:4px; padding:3px; border-radius:10px; background:#f0f5fb; }
.schedule-ui-view-switch span,
.schedule-ui-view-switch b { padding:6px 8px; border-radius:7px; color:#7c8da4; font-size:9px; font-style:normal; }
.schedule-ui-view-switch b { background:#fff; color:#2563eb; box-shadow:0 2px 8px rgba(32,72,125,.08); }

.schedule-ui-calendar {
    display:grid;
    grid-template-columns: 42px repeat(3,minmax(0,1fr));
    min-height: 350px;
    padding: 0 12px 0 8px;
    background:
        repeating-linear-gradient(to bottom, transparent 0, transparent 49px, rgba(212,223,238,.56) 50px),
        linear-gradient(180deg,#fcfdff 0%,#f8fbff 100%);
}
.schedule-ui-axis { position:relative; padding-top:50px; border-right:1px solid #edf1f7; }
.schedule-ui-axis span { display:block; height:50px; color:#9aa8ba; font-size:8px; transform:translateY(-4px); }
.schedule-ui-lane { position:relative; border-right:1px solid #edf1f7; min-width:0; }
.schedule-ui-lane:last-child { border-right:0; }
.schedule-ui-master {
    position:absolute; top:10px; left:9px; right:7px; display:flex; align-items:center; gap:7px; z-index:5;
}
.schedule-ui-master i {
    display:grid; place-items:center; width:25px; height:25px; border-radius:8px; background:#e7f0ff; color:#2467d8; font-size:8px; font-style:normal; font-weight:900;
}
.schedule-ui-master i.is-green { background:#e4f6ef; color:#14865a; }
.schedule-ui-master i.is-violet { background:#efeaff; color:#6a4dca; }
.schedule-ui-master strong { display:block; overflow:hidden; color:#29425f; font-size:9px; white-space:nowrap; text-overflow:ellipsis; }
.schedule-ui-master small { display:block; margin-top:1px; color:#98a4b6; font-size:7px; }
.schedule-ui-shift {
    position:absolute; top:var(--top); height:var(--height); left:7px; right:7px; margin-top:45px; border:1px solid rgba(35,154,102,.16); border-radius:10px; background:rgba(226,247,237,.45);
}
.schedule-ui-job {
    position:absolute; top:calc(var(--top) + 45px); height:var(--height); left:11px; right:11px; z-index:3; box-sizing:border-box; padding:8px 7px; border-radius:9px; overflow:hidden; box-shadow:0 7px 14px rgba(35,73,120,.08);
}
.schedule-ui-job b { display:block; overflow:hidden; font-size:8px; line-height:1.25; white-space:nowrap; text-overflow:ellipsis; }
.schedule-ui-job small { display:block; margin-top:4px; font-size:7px; line-height:1.25; opacity:.76; }
.schedule-ui-job.is-blue { border:1px solid #bdd6ff; background:#e9f2ff; color:#205cad; }
.schedule-ui-job.is-green { border:1px solid #bdebd8; background:#e8f8f1; color:#15704d; }
.schedule-ui-job.is-violet { border:1px solid #dcd1ff; background:#f0ecff; color:#654eb1; }
.schedule-ui-job.is-soft { border:1px solid #d7e2ee; background:#f8fafc; color:#4f657c; }
.schedule-ui-drop-zone {
    position:absolute; top:calc(var(--top) + 45px); height:var(--height); left:10px; right:10px; display:grid; place-items:center; border:1px dashed #7fb0fa; border-radius:10px; background:rgba(231,241,255,.66); color:#3778d9; font-size:7px; font-weight:900;
}
.schedule-ui-footer { display:flex; align-items:center; gap:13px; padding:11px 17px 13px; border-top:1px solid #e8eef7; color:#7b8da4; font-size:8px; }
.schedule-ui-footer span { display:inline-flex; align-items:center; gap:5px; }
.schedule-ui-footer i { width:9px; height:9px; border-radius:3px; background:#dff4e8; border:1px solid #bbe5cd; }
.schedule-ui-footer i.job { background:#e6f0ff; border-color:#c7dcfc; }
.schedule-ui-footer strong { margin-left:auto; color:#207247; font-size:8px; }

.schedule-floating-card {
    position:absolute;
    z-index:7;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid rgba(49,83,127,.10);
    border-radius:17px;
    background:rgba(255,255,255,.98);
    box-shadow:0 18px 40px rgba(25,57,101,.18);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.schedule-floating-card strong { display:block; color:#1e3857; font-size:10px; }
.schedule-floating-card small { display:block; margin-top:2px; color:#8796a8; font-size:8px; }
.schedule-floating-drag { right:-13px; top:188px; padding:12px 13px; }
.schedule-floating-drag > b { padding:6px 8px; border-radius:8px; background:#edf5ff; color:#2563eb; font-size:8px; }
.schedule-drag-grip { color:#a4b1c1; font-size:16px; letter-spacing:-4px; }
.schedule-floating-smart { left:8px; bottom:10px; padding:12px 15px; }
.schedule-smart-icon { display:grid; place-items:center; width:30px; height:30px; border-radius:10px; background:#e7f8ef; color:#128057; font-weight:900; }

.schedule-feature-visual { min-height:320px; }
.schedule-hover-card { transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,background-color .24s ease; }

.schedule-mini-timeline,
.schedule-drag-demo,
.schedule-resize-demo,
.schedule-smart-demo,
.schedule-shift-demo,
.schedule-capacity-demo,
.schedule-area-demo,
.schedule-views-demo {
    width:min(410px,100%);
    min-height:245px;
    box-sizing:border-box;
    border:1px solid #dce7f3;
    border-radius:22px;
    background:#fff;
    box-shadow:0 18px 40px rgba(31,67,111,.08);
}

.schedule-mini-timeline { padding:18px; }
.schedule-mini-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; color:#95a3b5; font-size:10px; }
.schedule-mini-head strong { color:#24405f; font-size:12px; }
.schedule-mini-row { position:relative; display:grid; grid-template-columns:64px 1fr; align-items:center; min-height:54px; border-top:1px solid #edf2f7; }
.schedule-mini-row b { color:#50657d; font-size:10px; }
.schedule-mini-row > i { position:absolute; left:68px; right:0; height:26px; border-radius:8px; background:#edf8f2; border:1px solid #d5efe1; }
.schedule-mini-row .job { position:absolute; z-index:2; top:16px; height:28px; display:grid; place-items:center; border-radius:8px; color:#fff; font-size:9px; font-weight:900; box-shadow:0 5px 12px rgba(39,93,170,.14); }
.schedule-mini-row .job.a { left:92px; width:80px; background:#3479e8; }
.schedule-mini-row .job.b { left:184px; width:75px; background:#7593c8; }
.schedule-mini-row .job.c { left:132px; width:104px; background:#32a779; }
.schedule-mini-row .job.d { left:198px; width:72px; background:#7a62d3; }

.schedule-drag-demo { display:grid; grid-template-columns:1fr 74px 1fr; gap:12px; align-items:center; padding:22px; }
.schedule-drag-column { min-height:170px; padding:15px; border:1px solid #e0e8f3; border-radius:16px; background:#f9fbfe; }
.schedule-drag-column strong { display:block; color:#29435f; font-size:11px; }
.schedule-drag-job { display:block; margin-top:42px; padding:12px 10px; border-radius:11px; background:#e7f0ff; color:#2465cc; font-size:9px; font-weight:900; box-shadow:0 8px 16px rgba(51,101,181,.11); }
.schedule-drag-column.is-target { background:#f5fbf8; border-color:#d5ebdf; }
.schedule-drag-slot { display:grid; place-items:center; margin-top:42px; height:48px; border:1px dashed #65ac87; border-radius:11px; color:#29805a; font-size:9px; font-weight:900; }
.schedule-drag-arrow { text-align:center; color:#2f74dd; }
.schedule-drag-arrow span { display:block; font-size:31px; line-height:1; }
.schedule-drag-arrow small { display:block; margin-top:6px; color:#8a99ab; font-size:8px; }

.schedule-resize-demo { position:relative; padding:22px 24px 22px 70px; overflow:hidden; background:linear-gradient(180deg,#fff,#f9fbfe); }
.schedule-resize-axis { position:absolute; top:24px; bottom:22px; left:16px; display:flex; flex-direction:column; justify-content:space-between; color:#93a2b5; font-size:9px; }
.schedule-resize-demo:before { content:""; position:absolute; inset:24px 18px 22px 60px; background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#e7edf5 48px); }
.schedule-resize-job { position:relative; z-index:2; margin-top:41px; height:136px; box-sizing:border-box; padding:15px; border:1px solid #bcd6ff; border-radius:15px; background:#e9f2ff; color:#205cad; box-shadow:0 12px 25px rgba(39,94,170,.10); }
.schedule-resize-job strong { display:block; font-size:12px; }
.schedule-resize-job small { display:block; margin-top:5px; font-size:9px; }
.schedule-resize-job i { position:absolute; left:12px; right:12px; bottom:5px; height:7px; cursor:ns-resize; }
.schedule-resize-job i:before { content:""; position:absolute; left:50%; top:2px; width:38px; height:3px; transform:translateX(-50%); border-radius:999px; background:#6e9be2; }
.schedule-resize-label { position:absolute; z-index:4; right:22px; bottom:23px; padding:6px 9px; border-radius:999px; background:#fff; color:#2d6dcc; font-size:8px; font-weight:900; box-shadow:0 8px 18px rgba(32,71,120,.10); }

.schedule-smart-demo { padding:19px; }
.schedule-smart-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:13px; }
.schedule-smart-title span { color:#27425f; font-size:12px; font-weight:900; }
.schedule-smart-title b { padding:5px 8px; border-radius:999px; background:#edf5ff; color:#2a6fd5; font-size:8px; }
.schedule-smart-result { display:grid; grid-template-columns:1fr auto; gap:4px 10px; align-items:center; margin-top:9px; padding:12px; border:1px solid #e1e9f3; border-radius:13px; background:#fff; }
.schedule-smart-result.is-best { border-color:#bcd8ff; background:#f3f8ff; }
.schedule-smart-result strong { color:#29435f; font-size:10px; }
.schedule-smart-result span { color:#7d8da1; font-size:8px; }
.schedule-smart-result em { grid-row:1 / span 2; grid-column:2; padding:5px 7px; border-radius:999px; background:#e7f8ef; color:#1c8058; font-size:7px; font-style:normal; font-weight:900; }

.schedule-shift-demo { padding:20px; }
.schedule-shift-person { display:flex; align-items:center; gap:10px; }
.schedule-shift-person > span { display:grid; place-items:center; width:36px; height:36px; border-radius:12px; background:#e6f0ff; color:#2466d3; font-size:10px; font-weight:900; }
.schedule-shift-person strong { display:block; color:#29435f; font-size:12px; }
.schedule-shift-person small { display:block; margin-top:3px; color:#8b9aab; font-size:9px; }
.schedule-shift-bar { position:relative; display:flex; justify-content:space-between; align-items:center; margin:31px 5px 22px; color:#7b8ca0; font-size:9px; }
.schedule-shift-bar i { position:absolute; left:42px; right:42px; height:18px; border-radius:999px; background:#e5f7ed; border:1px solid #c8ead8; }
.schedule-shift-bar b { font-weight:500; }
.schedule-shift-bookings { display:flex; align-items:center; gap:8px; }
.schedule-shift-bookings span,
.schedule-shift-bookings em { padding:8px 11px; border-radius:10px; font-size:9px; font-style:normal; font-weight:900; }
.schedule-shift-bookings span { background:#e8f1ff; color:#2866c8; }
.schedule-shift-bookings em { flex:1; text-align:center; border:1px dashed #94c9aa; color:#31805c; background:#f7fcf9; }

.schedule-capacity-demo { display:grid; gap:13px; padding:20px; }
.schedule-capacity-demo > div { padding:13px; border:1px solid #e3eaf3; border-radius:13px; background:#fbfcfe; }
.schedule-capacity-demo strong { color:#2d455f; font-size:10px; }
.schedule-capacity-demo span { float:right; color:#7e8ea1; font-size:9px; }
.schedule-capacity-demo i { display:block; position:relative; clear:both; height:7px; margin-top:10px; overflow:hidden; border-radius:999px; background:#e9eef5; }
.schedule-capacity-demo i:after { content:""; display:block; width:var(--fill); height:100%; border-radius:inherit; background:#3a80e9; }
.schedule-capacity-demo .is-full { border-color:#f2c7bd; background:#fff9f7; }
.schedule-capacity-demo .is-full i:after { background:#e46f5a; }

.schedule-area-demo { padding:18px; }
.schedule-area-map { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.schedule-area-map > span { min-height:72px; padding:12px; box-sizing:border-box; border:1px solid #e0e8f2; border-radius:14px; background:#fafcff; color:#405873; font-size:10px; font-weight:900; }
.schedule-area-map > span:last-child { grid-column:1 / -1; }
.schedule-area-map small { display:block; margin-top:9px; color:#8b99aa; font-size:8px; font-weight:500; }
.schedule-area-map .is-active { border-color:#bcd8ff; background:#edf5ff; color:#2868cb; }
.schedule-area-map .is-busy { border-color:#edd1c8; background:#fff8f5; color:#a0533c; }
.schedule-area-status { display:flex; align-items:center; gap:10px; margin-top:12px; padding:10px 12px; border-radius:12px; background:#edf9f2; }
.schedule-area-status i { width:10px; height:10px; border-radius:999px; background:#29a16e; box-shadow:0 0 0 5px rgba(41,161,110,.10); }
.schedule-area-status strong { display:block; color:#27704f; font-size:9px; }
.schedule-area-status small { display:block; margin-top:2px; color:#6c8d7c; font-size:8px; }

.schedule-views-demo { padding:19px; }
.schedule-view-tabs { display:flex; gap:4px; width:max-content; padding:4px; border-radius:11px; background:#eef3f9; }
.schedule-view-tabs span,.schedule-view-tabs b { padding:7px 10px; border-radius:8px; color:#8191a4; font-size:9px; }
.schedule-view-tabs b { background:#fff; color:#2869ce; box-shadow:0 2px 8px rgba(29,67,113,.08); }
.schedule-view-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:19px; }
.schedule-view-cards span { padding:13px; border:1px solid #e3eaf3; border-radius:12px; background:#fbfcfe; }
.schedule-view-cards strong { display:block; color:#24415f; font-size:20px; }
.schedule-view-cards small { display:block; margin-top:3px; color:#8b99ab; font-size:8px; }
.schedule-view-line { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; align-items:end; height:68px; margin-top:18px; padding:0 8px; border-bottom:1px solid #e5ecf4; }
.schedule-view-line i { border-radius:6px 6px 0 0; background:linear-gradient(180deg,#78a9f0,#377bdd); }
.schedule-view-line i:nth-child(1){height:35%}.schedule-view-line i:nth-child(2){height:58%}.schedule-view-line i:nth-child(3){height:81%}.schedule-view-line i:nth-child(4){height:62%}.schedule-view-line i:nth-child(5){height:92%}

.schedule-support-section { padding-top:82px; }

.schedule-marketing-page .schedule-hover-card:hover {
    transform: translateY(-4px);
    border-color: rgba(65,123,211,.24);
    box-shadow: 0 26px 58px rgba(25,57,101,.16);
}
.schedule-marketing-page .schedule-floating-card:hover { transform:translateY(-5px) rotate(-.5deg); }
.schedule-marketing-page .schedule-ui-job { transition:transform .18s ease,box-shadow .18s ease; }
.schedule-marketing-page .schedule-ui-job:hover { transform:translateY(-2px); box-shadow:0 10px 18px rgba(35,73,120,.13); }

@media (max-width:1050px) {
    .schedule-hero-visual { width:min(650px,100%); margin:0 auto; }
}

@media (max-width:760px) {
    .schedule-hero-visual { min-height:470px; margin-top:15px; }
    .schedule-ui-window { inset:34px 0 62px; }
    .schedule-ui-calendar { grid-template-columns:36px repeat(3,minmax(118px,1fr)); overflow:hidden; }
    .schedule-ui-lane:nth-of-type(4) { display:none; }
    .schedule-ui-calendar { grid-template-columns:36px repeat(2,minmax(0,1fr)); }
    .schedule-floating-drag { right:-3px; top:205px; max-width:210px; }
    .schedule-floating-smart { left:4px; bottom:7px; }
    .schedule-ui-view-switch span:first-child { display:none; }
    .schedule-drag-demo { grid-template-columns:1fr; }
    .schedule-drag-arrow { transform:rotate(90deg); }
    .schedule-feature-visual { min-height:280px; }
    .schedule-mini-timeline,
    .schedule-drag-demo,
    .schedule-resize-demo,
    .schedule-smart-demo,
    .schedule-shift-demo,
    .schedule-capacity-demo,
    .schedule-area-demo,
    .schedule-views-demo { min-height:225px; }
}

@media (prefers-reduced-motion: reduce) {
    .schedule-marketing-page .schedule-hover-card,
    .schedule-marketing-page .schedule-ui-job { transition:none !important; }
}

/* CLIENT CRM PAGE — richer client context (Workiz-inspired marketing, ServiceHub-native) */
.client-context-section {
    padding: 28px 0 86px;
    background: #f6f9fd;
}
.client-context-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 54px;
    align-items: center;
    padding: 48px 52px;
    border: 1px solid #dce7f5;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 22px 55px rgba(35, 68, 110, .10);
}
.client-context-copy h2 {
    margin: 12px 0 18px;
    color: #10213b;
    font-size: clamp(32px, 3.2vw, 50px);
    line-height: 1.08;
    letter-spacing: -.035em;
}
.client-context-copy > p {
    margin: 0;
    color: #5d708a;
    font-size: 18px;
    line-height: 1.75;
}
.client-context-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin-top: 26px;
}
.client-context-points span {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #24405f;
    font-weight: 700;
    line-height: 1.45;
}
.client-context-visual {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    border-radius: 28px;
    background: radial-gradient(circle at 72% 18%, rgba(67, 143, 255, .22), transparent 34%), #edf5ff;
    border: 1px solid #d6e6fb;
}
.client-profile-card {
    width: min(100%, 430px);
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #dfe8f4;
    box-shadow: 0 20px 42px rgba(31, 62, 102, .14);
}
.client-profile-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8eef6;
}
.client-profile-head strong,
.client-profile-head small { display:block; }
.client-profile-head strong { color:#17304f; font-size:16px; }
.client-profile-head small { color:#7a8ca3; margin-top:3px; }
.client-profile-head em {
    font-style: normal;
    padding: 6px 9px;
    border-radius: 999px;
    background: #edf6ff;
    color: #1c6cd9;
    font-size: 11px;
    font-weight: 800;
}
.client-profile-stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:18px 0;
}
.client-profile-stats div {
    padding: 12px;
    border-radius: 14px;
    background:#f6f9fd;
}
.client-profile-stats span,
.client-profile-stats strong { display:block; }
.client-profile-stats span { color:#7a8ca3; font-size:11px; }
.client-profile-stats strong { color:#142a47; margin-top:5px; font-size:17px; }
.client-profile-finance {
    padding: 14px 16px;
    border-radius: 16px;
    background: #eef6ff;
    border: 1px solid #d8e9fd;
}
.client-profile-finance span,
.client-profile-finance strong,
.client-profile-finance small { display:block; }
.client-profile-finance span { color:#60758f; font-size:11px; }
.client-profile-finance strong { color:#0f5fc8; font-size:22px; margin:3px 0; }
.client-profile-finance small { color:#7f91a8; }
.client-profile-history { margin-top:18px; }
.client-profile-history > span { display:block; color:#60758f; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.client-profile-history div { padding:10px 0; border-top:1px solid #edf1f6; }
.client-profile-history b,
.client-profile-history small { display:block; }
.client-profile-history b { color:#17304f; }
.client-profile-history small { color:#7a8ca3; margin-top:3px; }
.client-finance-visual { padding: 30px !important; }
.client-finance-head { display:flex; gap:10px; align-items:center; justify-content:space-between; padding-bottom:16px; border-bottom:1px solid #dfe8f4; }
.client-finance-head span { color:#17304f; font-size:19px; font-weight:800; }
.client-finance-head strong { color:#7a8ca3; font-size:12px; }
.client-finance-head em { font-style:normal; color:#126be3; background:#edf5ff; border-radius:999px; padding:6px 10px; font-size:11px; font-weight:800; }
.client-finance-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0; }
.client-finance-metrics div { padding:14px 12px; border-radius:14px; background:#f5f8fc; }
.client-finance-metrics span,.client-finance-metrics b { display:block; }
.client-finance-metrics span { color:#7b8da4; font-size:11px; }
.client-finance-metrics b { margin-top:5px; color:#17304f; font-size:16px; }
.client-finance-note { padding:14px 16px; border-radius:15px; background:#edf6ff; border:1px solid #d8e8fb; }
.client-finance-note span,.client-finance-note strong { display:block; }
.client-finance-note span { color:#6d819a; font-size:11px; }
.client-finance-note strong { margin-top:3px; color:#1768d2; }
.client-finance-last { margin-top:14px; padding:14px 16px; border-radius:15px; background:#fff; border:1px solid #e3eaf3; }
.client-finance-last small,.client-finance-last b,.client-finance-last em { display:block; }
.client-finance-last small { color:#7a8ca3; }
.client-finance-last b { color:#17304f; margin-top:4px; }
.client-finance-last em { margin-top:6px; color:#d07915; font-style:normal; font-size:11px; font-weight:800; }
@media (max-width: 900px) {
    .client-context-card { grid-template-columns:1fr; padding:36px 28px; gap:34px; }
    .client-context-points { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
    .client-context-section { padding:18px 0 56px; }
    .client-context-card { padding:28px 18px; border-radius:22px; }
    .client-context-visual { min-height:0; padding:14px; }
    .client-profile-head { grid-template-columns:auto 1fr; }
    .client-profile-head em { grid-column:1 / -1; justify-self:start; }
    .client-profile-stats,.client-finance-metrics { grid-template-columns:1fr; }
}

/* =========================================================
   ServiceHub — Payroll marketing page
   raschet-zarplaty-sotrudnikov-servisnogo-centra.php
   ========================================================= */
.payroll-marketing-page {
    --payroll-blue: #2f7df0;
    --payroll-blue-deep: #0f5fc8;
    --payroll-ink: #10233d;
    --payroll-muted: #667b95;
}

.payroll-marketing-hero {
    position: relative;
    overflow: hidden;
}

.payroll-hero-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payroll-hero-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(123, 180, 255, .16);
    pointer-events: none;
}

.payroll-hero-orbit-a { width: 500px; height: 500px; right: -40px; top: 35px; }
.payroll-hero-orbit-b { width: 360px; height: 360px; right: 55px; top: 105px; border-style: dashed; }

.payroll-ui-window {
    position: relative;
    z-index: 2;
    width: min(100%, 560px);
    padding: 26px;
    border-radius: 28px;
    background: rgba(250, 252, 255, .97);
    border: 1px solid rgba(202, 220, 242, .92);
    box-shadow: 0 28px 70px rgba(5, 29, 64, .24);
}

.payroll-ui-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e4ebf4;
}

.payroll-ui-topbar div { min-width: 0; }
.payroll-ui-topbar small,
.payroll-ui-topbar strong,
.payroll-ui-topbar span { display: block; }
.payroll-ui-topbar small { color: #7a8da6; font-size: 12px; }
.payroll-ui-topbar strong { margin-top: 3px; color: var(--payroll-ink); font-size: 22px; }
.payroll-ui-topbar span { margin-top: 4px; color: #74869c; font-size: 12px; }
.payroll-ui-topbar > b {
    flex: 0 0 auto;
    padding: 7px 11px;
    border-radius: 999px;
    color: #0e67d7;
    background: #eaf4ff;
    font-size: 11px;
    white-space: nowrap;
}

.payroll-ui-total {
    margin: 22px 0 18px;
    padding: 20px 22px;
    border-radius: 19px;
    background: linear-gradient(135deg, #edf6ff 0%, #f8fbff 100%);
    border: 1px solid #d9e9fb;
}
.payroll-ui-total span,
.payroll-ui-total strong,
.payroll-ui-total small { display: block; }
.payroll-ui-total span { color: #70849c; font-size: 12px; }
.payroll-ui-total strong { margin-top: 4px; color: #0d5fc8; font-size: 34px; line-height: 1; }
.payroll-ui-total small { margin-top: 8px; color: #8293a8; }

.payroll-ui-breakdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.payroll-ui-breakdown div {
    padding: 13px 14px;
    border-radius: 14px;
    background: #f6f8fb;
    border: 1px solid #edf1f6;
}
.payroll-ui-breakdown span,
.payroll-ui-breakdown b { display: block; }
.payroll-ui-breakdown span { color: #7a8ca2; font-size: 11px; }
.payroll-ui-breakdown b { margin-top: 4px; color: #203a58; font-size: 15px; }
.payroll-ui-breakdown .positive { background: #eefaf4; border-color: #d8efe3; }
.payroll-ui-breakdown .positive b { color: #178451; }
.payroll-ui-breakdown .negative { background: #fff4f3; border-color: #f4dcda; }
.payroll-ui-breakdown .negative b { color: #c04b43; }

.payroll-ui-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e7edf5;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #72849b;
    font-size: 12px;
}
.payroll-ui-footer strong { color: #183653; }

.payroll-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 250px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    border: 1px solid #dce7f4;
    box-shadow: 0 18px 42px rgba(6, 32, 69, .18);
}
.payroll-floating-card div { min-width: 0; }
.payroll-floating-card strong,
.payroll-floating-card small { display: block; }
.payroll-floating-card strong { color: #17324f; font-size: 13px; }
.payroll-floating-card small { margin-top: 2px; color: #8192a6; font-size: 11px; }
.payroll-floating-card > b { margin-left: auto; color: #2c73cf; font-size: 10px; white-space: nowrap; }
.payroll-floating-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: #2d7ee9;
    font-size: 18px;
    font-weight: 800;
}
.payroll-floating-icon.is-green { background: #32aa70; }
.payroll-floating-rule { left: -28px; bottom: 42px; }
.payroll-floating-payment { right: -18px; top: 38px; }

.payroll-overview-grid .employee-overview-card,
.payroll-pain-section .employee-pain-card,
.payroll-support-section .employee-support-card,
.payroll-marketing-page .public-faq details,
.payroll-control-flow article,
.payroll-feature-visual > * {
    transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, border-color .24s ease;
}

.payroll-overview-grid .employee-overview-card:hover,
.payroll-pain-section .employee-pain-card:hover,
.payroll-support-section .employee-support-card:hover,
.payroll-marketing-page .public-faq details:hover,
.payroll-control-flow article:hover,
.payroll-feature-visual > *:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(18, 45, 79, .12);
    border-color: #bfd7f4;
}

.payroll-feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.payroll-rule-card,
.payroll-rates-demo,
.payroll-orders-demo,
.payroll-percent-demo,
.payroll-adjustments-demo,
.payroll-period-demo,
.payroll-confirm-demo,
.payroll-payments-demo {
    width: min(100%, 390px);
    border: 1px solid #dbe6f2;
    border-radius: 22px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 18px 42px rgba(32, 60, 96, .10);
}

.payroll-rule-head,
.payroll-percent-head,
.payroll-period-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8eef5;
}
.payroll-rule-head span,
.payroll-percent-head span,
.payroll-period-head span { color: #17324f; font-weight: 800; }
.payroll-rule-head b,
.payroll-period-head b { color: #126bda; background:#edf5ff; border-radius:999px; padding:6px 9px; font-size:10px; }
.payroll-percent-head b { color: #0d66d0; font-size: 25px; }

.payroll-rule-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #eef2f6;
}
.payroll-rule-line span { color: #71849b; }
.payroll-rule-line strong { color: #17324f; }
.payroll-rule-history { margin-top: 15px; padding: 13px 14px; border-radius: 14px; background:#f6f9fd; }
.payroll-rule-history small,
.payroll-rule-history span { display:block; }
.payroll-rule-history small { color:#7a8da5; margin-bottom:5px; }
.payroll-rule-history span { color:#49637f; font-size:12px; margin-top:3px; }

.payroll-rates-demo {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}
.payroll-rates-demo > div { padding:14px 10px; border-radius:15px; background:#f5f8fc; text-align:center; }
.payroll-rates-demo span,
.payroll-rates-demo strong,
.payroll-rates-demo small { display:block; }
.payroll-rates-demo span { color:#7890a9; font-size:11px; }
.payroll-rates-demo strong { margin-top:5px; color:#17324f; font-size:16px; }
.payroll-rates-demo small { margin-top:3px; color:#99a7b7; font-size:10px; }
.payroll-rates-demo p { grid-column:1 / -1; margin:7px 0 0; padding:14px 16px; border-radius:14px; background:#eaf4ff; }
.payroll-rates-demo p b,
.payroll-rates-demo p span { display:block; }
.payroll-rates-demo p b { color:#0d63c9; }
.payroll-rates-demo p span { margin-top:3px; color:#6e829a; font-size:11px; }

.payroll-orders-row,
.payroll-period-row,
.payroll-payment-entry {
    display:grid;
    align-items:center;
    gap:10px;
    padding:13px 0;
    border-bottom:1px solid #edf1f6;
}
.payroll-orders-row { grid-template-columns:52px 1fr auto; }
.payroll-orders-row b { color:#176fdc; }
.payroll-orders-row span { color:#4e6680; }
.payroll-orders-row strong { color:#25875a; }
.payroll-orders-total,
.payroll-period-total,
.payroll-payment-rest {
    display:flex;
    justify-content:space-between;
    gap:14px;
    margin-top:14px;
    padding:14px 16px;
    border-radius:14px;
    background:#edf6ff;
}
.payroll-orders-total span,
.payroll-period-total span,
.payroll-payment-rest span { color:#6e8299; }
.payroll-orders-total b,
.payroll-period-total b,
.payroll-payment-rest b { color:#0d63cc; }

.payroll-percent-order,
.payroll-percent-result {
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-top:15px;
    padding:13px 14px;
    border-radius:14px;
    background:#f6f8fb;
}
.payroll-percent-order span,
.payroll-percent-result span { color:#72859c; }
.payroll-percent-order strong { color:#183653; }
.payroll-percent-result { background:#eefaf4; }
.payroll-percent-result strong { color:#178452; }
.payroll-event-chips { display:flex; gap:7px; margin-top:16px; flex-wrap:wrap; }
.payroll-event-chips span,
.payroll-event-chips b { padding:7px 10px; border-radius:999px; font-size:10px; }
.payroll-event-chips span { color:#73879f; background:#f2f5f9; }
.payroll-event-chips b { color:#fff; background:#2d7ee9; }

.payroll-adjustment { padding:14px 15px; border-radius:15px; margin-bottom:10px; border:1px solid #e5ecf4; }
.payroll-adjustment:last-child { margin-bottom:0; }
.payroll-adjustment span,
.payroll-adjustment b,
.payroll-adjustment small { display:block; }
.payroll-adjustment span { color:#6f839b; font-size:11px; }
.payroll-adjustment b { margin-top:3px; font-size:18px; }
.payroll-adjustment small { margin-top:4px; color:#8b9aac; }
.payroll-adjustment.positive { background:#eefaf4; border-color:#d7efe2; }
.payroll-adjustment.positive b { color:#168451; }
.payroll-adjustment.negative { background:#fff4f3; border-color:#f3dcda; }
.payroll-adjustment.negative b { color:#bf4b44; }
.payroll-adjustment.neutral { background:#f4f7fb; }
.payroll-adjustment.neutral b { color:#315d8e; }

.payroll-period-row { grid-template-columns:1fr auto; }
.payroll-period-row span { color:#405b77; }
.payroll-period-row strong { color:#17324f; }

.payroll-confirm-demo { text-align:center; }
.payroll-confirm-icon {
    display:grid;
    place-items:center;
    width:64px;
    height:64px;
    margin:0 auto 14px;
    border-radius:20px;
    background:#e9f8f0;
    color:#1a9b62;
    font-size:30px;
    font-weight:900;
}
.payroll-confirm-demo > strong { display:block; color:#17324f; font-size:21px; }
.payroll-confirm-demo > p { margin:5px 0 16px; color:#8292a5; }
.payroll-confirm-demo > div { display:flex; justify-content:space-between; padding:13px 14px; border-radius:14px; background:#f4f7fb; }
.payroll-confirm-demo > div span { color:#778aa0; }
.payroll-confirm-demo > div b { color:#176ed9; }
.payroll-confirm-demo > small { display:block; margin-top:14px; color:#7f91a6; line-height:1.45; }

.payroll-payment-summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:14px; border-bottom:1px solid #e9eef5; }
.payroll-payment-summary span { color:#778aa0; }
.payroll-payment-summary strong { color:#17324f; font-size:22px; }
.payroll-payment-entry { grid-template-columns:10px 1fr auto; }
.payroll-payment-entry i { width:8px; height:8px; border-radius:50%; background:#2c7de9; }
.payroll-payment-entry span b,
.payroll-payment-entry span small { display:block; }
.payroll-payment-entry span b { color:#28445f; }
.payroll-payment-entry span small { margin-top:2px; color:#8998a9; font-size:10px; }
.payroll-payment-entry > strong { color:#17324f; }

.payroll-control-section { padding: 34px 0 74px; }
.payroll-control-card {
    padding: 44px 46px;
    border-radius: 30px;
    background: linear-gradient(135deg,#0c213b 0%,#173d68 100%);
    box-shadow: 0 28px 64px rgba(8,31,60,.18);
}
.payroll-control-copy { max-width: 800px; }
.payroll-control-copy h2 { margin:8px 0 14px; color:#fff; font-size:clamp(30px,4vw,48px); line-height:1.08; }
.payroll-control-copy p { margin:0; color:#c8d8eb; font-size:18px; line-height:1.65; }
.payroll-control-flow { margin-top:30px; display:grid; grid-template-columns:1fr auto 1fr auto 1fr auto 1fr; gap:12px; align-items:center; }
.payroll-control-flow article { min-height:130px; padding:20px; border-radius:18px; background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.13); }
.payroll-control-flow article span,
.payroll-control-flow article strong,
.payroll-control-flow article small { display:block; }
.payroll-control-flow article span { color:#69a8ff; font-weight:800; font-size:12px; }
.payroll-control-flow article strong { margin-top:14px; color:#fff; font-size:18px; }
.payroll-control-flow article small { margin-top:6px; color:#b8cbe0; }
.payroll-control-flow > i { color:#75adf7; font-style:normal; font-size:24px; }

.payroll-final-card { overflow:hidden; position:relative; }
.payroll-final-card::after {
    content:"₽";
    position:absolute;
    right:34px;
    bottom:-50px;
    font-size:190px;
    line-height:1;
    font-weight:900;
    color:rgba(53,129,239,.06);
    pointer-events:none;
}
.payroll-final-card > * { position:relative; z-index:1; }

@media (max-width: 1080px) {
    .payroll-hero-visual { min-height: 500px; }
    .payroll-floating-rule { left: 4px; bottom: 20px; }
    .payroll-floating-payment { right: 4px; top: 22px; }
    .payroll-control-flow { grid-template-columns:repeat(4,1fr); }
    .payroll-control-flow > i { display:none; }
}

@media (max-width: 900px) {
    .payroll-hero-visual { min-height: 520px; margin-top: 10px; }
    .payroll-ui-window { width:min(92%,560px); }
    .payroll-floating-card { min-width:220px; }
    .payroll-rates-demo { grid-template-columns:1fr; }
    .payroll-rates-demo p { grid-column:auto; }
    .payroll-control-flow { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 620px) {
    .payroll-hero-visual { min-height: 650px; align-items:flex-start; padding-top:18px; }
    .payroll-ui-window { width:100%; padding:18px; border-radius:22px; }
    .payroll-ui-topbar { flex-direction:column; }
    .payroll-ui-breakdown { grid-template-columns:1fr; }
    .payroll-ui-footer { flex-direction:column; }
    .payroll-floating-card { left:14px; right:14px; min-width:0; width:auto; }
    .payroll-floating-rule { top:auto; bottom:80px; }
    .payroll-floating-payment { top:auto; bottom:12px; }
    .payroll-hero-orbit { display:none; }
    .payroll-control-card { padding:32px 20px; border-radius:24px; }
    .payroll-control-copy p { font-size:16px; }
    .payroll-control-flow { grid-template-columns:1fr; }
    .payroll-feature-visual { min-height:260px; }
    .payroll-rule-card,
    .payroll-rates-demo,
    .payroll-orders-demo,
    .payroll-percent-demo,
    .payroll-adjustments-demo,
    .payroll-period-demo,
    .payroll-confirm-demo,
    .payroll-payments-demo { padding:18px; border-radius:18px; }
}

/* PUBLIC PAYROLL — MOTIVATION & INDIVIDUAL INCENTIVES */
.payroll-motivation-section {
    padding: 24px 0 74px;
}

.payroll-motivation-heading {
    max-width: 920px;
    margin-bottom: 34px;
}

.payroll-motivation-heading p {
    max-width: 860px;
    margin: 14px auto 0;
    color: #667c95;
    font-size: 18px;
    line-height: 1.65;
}

.payroll-motivation-stack {
    display: grid;
    gap: 26px;
}

.payroll-motivation-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 54px;
    align-items: center;
    padding: 46px;
    border: 1px solid #dce7f3;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 22px 54px rgba(21, 51, 88, .08);
    transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, border-color .24s ease;
}

.payroll-motivation-row:hover {
    transform: translateY(-4px);
    border-color: #bfd7f4;
    box-shadow: 0 28px 62px rgba(18, 45, 79, .12);
}

.payroll-motivation-row-reverse {
    grid-template-columns: minmax(360px, .95fr) minmax(0, 1.05fr);
}

.payroll-motivation-copy h3 {
    margin: 8px 0 16px;
    color: #142b46;
    font-size: clamp(30px, 3.3vw, 44px);
    line-height: 1.08;
}

.payroll-motivation-copy > p {
    margin: 0;
    color: #61768f;
    font-size: 17px;
    line-height: 1.7;
}

.payroll-motivation-why {
    margin-top: 22px;
}

.payroll-motivation-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.payroll-motivation-list li {
    position: relative;
    padding-left: 27px;
    color: #4f6680;
    line-height: 1.55;
}

.payroll-motivation-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2478e5;
    font-weight: 900;
}

.payroll-motivation-visual {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid #d9e7f6;
    border-radius: 26px;
    background: radial-gradient(circle at 76% 22%, rgba(70, 139, 236, .16), transparent 32%), linear-gradient(145deg, #edf6ff, #f8fbff);
}

.payroll-motivation-window,
.payroll-incentive-window {
    width: min(100%, 410px);
    padding: 22px;
    border: 1px solid #dce6f1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(24, 51, 84, .12);
    transition: transform .24s cubic-bezier(.22,1,.36,1), box-shadow .24s ease;
}

.payroll-motivation-row:hover .payroll-motivation-window,
.payroll-motivation-row:hover .payroll-incentive-window {
    transform: translateY(-3px);
    box-shadow: 0 24px 52px rgba(24, 51, 84, .16);
}

.payroll-motivation-window-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7edf4;
}

.payroll-motivation-window-head span {
    color: #16304c;
    font-weight: 800;
}

.payroll-motivation-window-head b {
    padding: 6px 9px;
    border-radius: 999px;
    color: #176ed9;
    background: #edf5ff;
    font-size: 10px;
}

.payroll-motivation-entry {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    margin-top: 11px;
    padding: 13px 14px;
    border-radius: 15px;
    border: 1px solid #e4ebf3;
}

.payroll-motivation-entry span > * {
    display: block;
}

.payroll-motivation-entry small {
    color: #7e91a7;
    font-size: 10px;
}

.payroll-motivation-entry strong {
    margin-top: 2px;
    color: #203a55;
    font-size: 13px;
}

.payroll-motivation-entry em {
    margin-top: 3px;
    color: #92a0b0;
    font-size: 10px;
    font-style: normal;
}

.payroll-motivation-entry > b {
    font-size: 16px;
    white-space: nowrap;
}

.payroll-motivation-entry.is-positive {
    background: #f0faf5;
    border-color: #d8eee3;
}

.payroll-motivation-entry.is-positive > b {
    color: #168451;
}

.payroll-motivation-entry.is-negative {
    background: #fff5f4;
    border-color: #f1deda;
}

.payroll-motivation-entry.is-negative > b {
    color: #b84c46;
}

.payroll-motivation-result {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 15px;
    background: #edf6ff;
}

.payroll-motivation-result span {
    color: #6d8299;
}

.payroll-motivation-result strong {
    color: #0e69d4;
}

.payroll-incentive-profile {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7edf4;
}

.payroll-incentive-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #2377e6, #5c9cf0);
    font-size: 12px;
    font-weight: 900;
}

.payroll-incentive-profile div strong,
.payroll-incentive-profile div small {
    display: block;
}

.payroll-incentive-profile div strong {
    color: #1d3752;
}

.payroll-incentive-profile div small {
    margin-top: 2px;
    color: #8a9aab;
    font-size: 10px;
}

.payroll-incentive-profile > b {
    padding: 6px 9px;
    border-radius: 999px;
    background: #eef5ff;
    color: #176dd6;
    font-size: 9px;
}

.payroll-incentive-rule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f6;
}

.payroll-incentive-rule > span {
    color: #6f849b;
}

.payroll-incentive-rule > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.payroll-incentive-rule del {
    color: #a1adba;
    font-size: 12px;
}

.payroll-incentive-rule strong {
    color: #173b63;
}

.payroll-incentive-rule div strong:last-child {
    color: #1771da;
}

.payroll-incentive-note {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 15px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #f4f8fc;
}

.payroll-incentive-note span {
    color: #7a8da3;
    font-size: 11px;
}

.payroll-incentive-note b {
    color: #315d8e;
    font-size: 11px;
}

@media (max-width: 980px) {
    .payroll-motivation-row,
    .payroll-motivation-row-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 34px;
    }

    .payroll-motivation-row-reverse .payroll-motivation-visual {
        order: 2;
    }

    .payroll-motivation-row-reverse .payroll-motivation-copy {
        order: 1;
    }
}

@media (max-width: 620px) {
    .payroll-motivation-section {
        padding-bottom: 54px;
    }

    .payroll-motivation-heading p {
        font-size: 16px;
    }

    .payroll-motivation-row,
    .payroll-motivation-row-reverse {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .payroll-motivation-copy h3 {
        font-size: 29px;
    }

    .payroll-motivation-copy > p {
        font-size: 16px;
    }

    .payroll-motivation-visual {
        min-height: 0;
        padding: 12px;
        border-radius: 20px;
    }

    .payroll-motivation-window,
    .payroll-incentive-window {
        padding: 16px;
        border-radius: 18px;
    }

    .payroll-motivation-entry,
    .payroll-incentive-rule,
    .payroll-incentive-note {
        font-size: 12px;
    }

    .payroll-incentive-profile {
        grid-template-columns: 40px 1fr;
    }

    .payroll-incentive-profile > b {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* ========================================================================== */
/* ANALYTICS & KPI MARKETING PAGE — public-fixes-22                           */
/* ========================================================================== */
.analytics-marketing-page {
    --analytics-blue: #2674ea;
    --analytics-cyan: #66a6ff;
    --analytics-ink: #10213b;
    --analytics-muted: #60738e;
    --analytics-border: #d9e5f3;
    --analytics-soft: #eef6ff;
}

.analytics-marketing-hero {
    overflow: hidden;
}

.analytics-hero-visual {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.analytics-hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(3px);
    opacity: .75;
    pointer-events: none;
}

.analytics-hero-glow-a {
    width: 390px;
    height: 390px;
    right: 36px;
    top: 70px;
    background: radial-gradient(circle at 50% 50%, rgba(66, 133, 244, .22), rgba(66, 133, 244, 0) 68%);
}

.analytics-hero-glow-b {
    width: 280px;
    height: 280px;
    left: 28px;
    bottom: 20px;
    background: radial-gradient(circle at 50% 50%, rgba(89, 183, 255, .18), rgba(89, 183, 255, 0) 70%);
}

.analytics-dashboard-window {
    position: relative;
    z-index: 2;
    width: min(100%, 620px);
    padding: 24px;
    border-radius: 26px;
    border: 1px solid rgba(226, 236, 249, .9);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 34px 75px rgba(9, 31, 63, .22);
}

.analytics-dashboard-head,
.analytics-demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.analytics-dashboard-head small,
.analytics-demo-head span {
    display: block;
    color: #73849b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.analytics-dashboard-head strong {
    display: block;
    margin-top: 4px;
    color: var(--analytics-ink);
    font-size: 20px;
}

.analytics-dashboard-head > span,
.analytics-demo-head b {
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf5ff;
    color: #1766d7;
    font-size: 12px;
    white-space: nowrap;
}

.analytics-dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.analytics-dashboard-kpis > div {
    padding: 14px;
    border: 1px solid #e3edf8;
    border-radius: 16px;
    background: #f8fbff;
}

.analytics-dashboard-kpis small,
.analytics-mini-kpi span {
    display: block;
    color: #71829a;
    font-size: 11px;
    font-weight: 700;
}

.analytics-dashboard-kpis strong {
    display: block;
    margin-top: 7px;
    color: #10213b;
    font-size: 18px;
}

.analytics-dashboard-kpis em,
.analytics-mini-kpi em {
    display: inline-block;
    margin-top: 5px;
    font-style: normal;
    color: #138a59;
    font-size: 11px;
    font-weight: 800;
}

.analytics-dashboard-chart {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    margin-top: 24px;
}

.analytics-chart-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 23px;
    color: #9aabc0;
    font-size: 9px;
}

.analytics-chart-area {
    position: relative;
    height: 185px;
}

.analytics-chart-grid {
    position: absolute;
    inset: 0 0 23px;
    background: repeating-linear-gradient(to bottom, rgba(136, 158, 184, .15) 0, rgba(136, 158, 184, .15) 1px, transparent 1px, transparent 38px);
}

.analytics-chart-area svg {
    position: absolute;
    inset: 4px 0 25px;
    width: 100%;
    height: calc(100% - 29px);
    overflow: visible;
}

.analytics-chart-fill {
    fill: url(#analyticsAreaGradient);
}

.analytics-chart-line {
    fill: none;
    stroke: #2f7ae5;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.analytics-chart-area circle {
    fill: #fff;
    stroke: #2f7ae5;
    stroke-width: 4;
}

.analytics-chart-labels {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    color: #8b9cb2;
    font-size: 9px;
    text-align: center;
}

.analytics-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e2ebf7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(16, 33, 59, .18);
}

.analytics-floating-leader {
    left: 6px;
    bottom: 56px;
}

.analytics-floating-loyalty {
    right: -10px;
    top: 48px;
}

.analytics-floating-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #edf5ff;
    font-size: 20px;
}

.analytics-floating-card small,
.analytics-floating-card strong,
.analytics-floating-card em {
    display: block;
}

.analytics-floating-card small {
    color: #788aa1;
    font-size: 10px;
    font-weight: 700;
}

.analytics-floating-card strong {
    margin-top: 2px;
    color: #132640;
    font-size: 13px;
}

.analytics-floating-card em {
    margin-top: 2px;
    color: #2270df;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.analytics-loyalty-ring {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(#2f7ae5 0 42%, #e8f1fb 42% 100%);
    position: relative;
}

.analytics-loyalty-ring::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #fff;
}

.analytics-loyalty-ring b {
    position: relative;
    z-index: 1;
    color: #155bbb;
    font-size: 11px;
}

.analytics-feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.analytics-kpi-demo {
    width: min(100%, 500px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.analytics-mini-kpi {
    padding: 20px;
    border-radius: 19px;
    border: 1px solid #dce7f4;
    background: linear-gradient(180deg, #fff, #f6faff);
    box-shadow: 0 15px 35px rgba(23, 62, 111, .08);
}

.analytics-mini-kpi strong {
    display: block;
    margin-top: 10px;
    color: #11243e;
    font-size: 24px;
}

.analytics-dynamics-demo,
.analytics-employee-demo,
.analytics-loyalty-demo,
.analytics-device-demo,
.analytics-period-demo {
    width: min(100%, 520px);
    padding: 22px;
    border: 1px solid #dce7f4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(22, 55, 96, .10);
}

.analytics-demo-bars {
    height: 190px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding: 22px 8px 28px;
    margin-top: 14px;
    border-radius: 16px;
    background: repeating-linear-gradient(to bottom, #f7faff 0, #f7faff 1px, transparent 1px, transparent 38px);
    border-bottom: 1px solid #e5edf7;
}

.analytics-demo-bars i {
    position: relative;
    flex: 1;
    height: var(--v);
    min-width: 16px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, #78adfb, #2d77df);
    box-shadow: 0 8px 18px rgba(47, 122, 229, .16);
}

.analytics-demo-bars i.is-best {
    background: linear-gradient(180deg, #3f8af2, #115fc8);
}

.analytics-demo-bars i span {
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    color: #8b9cb2;
    font-size: 9px;
    font-style: normal;
}

.analytics-demo-best {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #edf5ff;
    color: #536b88;
    font-size: 11px;
}

.analytics-demo-best strong {
    color: #175fbf;
}

.analytics-employee-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f6;
}

.analytics-employee-row:last-child {
    border-bottom: 0;
}

.analytics-rank {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #eff5fc;
    color: #5b7190;
    font-weight: 900;
}

.analytics-employee-row.is-first .analytics-rank {
    background: #e6f0ff;
    color: #1767d8;
}

.analytics-employee-row div strong,
.analytics-employee-row div small {
    display: block;
}

.analytics-employee-row div strong {
    color: #132640;
    font-size: 13px;
}

.analytics-employee-row div small {
    margin-top: 3px;
    color: #8494a9;
    font-size: 10px;
}

.analytics-employee-row > b {
    color: #1764cd;
    font-size: 12px;
}

.analytics-loyalty-demo {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 24px;
}

.analytics-big-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#2f7ae5 0 42%, #e9f1fa 42% 100%);
    display: grid;
    place-items: center;
    position: relative;
}

.analytics-big-ring::after {
    content: '';
    position: absolute;
    inset: 17px;
    border-radius: 50%;
    background: #fff;
}

.analytics-big-ring span {
    position: relative;
    z-index: 1;
    text-align: center;
}

.analytics-big-ring strong,
.analytics-big-ring small {
    display: block;
}

.analytics-big-ring strong {
    color: #155fc5;
    font-size: 32px;
}

.analytics-big-ring small {
    color: #7c8da3;
    font-size: 11px;
}

.analytics-loyalty-copy-demo > strong,
.analytics-loyalty-copy-demo > span {
    display: block;
}

.analytics-loyalty-copy-demo > strong {
    color: #132640;
    font-size: 18px;
}

.analytics-loyalty-copy-demo > span {
    margin: 5px 0 15px;
    color: #71839a;
    font-size: 11px;
}

.analytics-loyalty-copy-demo > div {
    display: inline-flex;
    flex-direction: column;
    margin-right: 18px;
}

.analytics-loyalty-copy-demo > div b {
    color: #10233d;
    font-size: 20px;
}

.analytics-loyalty-copy-demo > div small {
    color: #8a9aad;
    font-size: 9px;
}

.analytics-device-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.analytics-device-row > span {
    color: #1768d8;
    font-size: 11px;
    font-weight: 900;
}

.analytics-device-row strong {
    display: block;
    color: #152841;
    font-size: 12px;
}

.analytics-device-row i {
    display: block;
    height: 6px;
    margin-top: 7px;
    border-radius: 999px;
    background: #edf2f8;
    overflow: hidden;
}

.analytics-device-row i b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6ea7f6, #2f7ae5);
}

.analytics-device-row em {
    color: #73859b;
    font-size: 10px;
    font-style: normal;
    white-space: nowrap;
}

.analytics-branches-demo {
    width: min(100%, 520px);
    display: grid;
    gap: 12px;
}

.analytics-branch-card {
    padding: 17px 18px;
    border: 1px solid #dce7f4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(22, 55, 96, .08);
}

.analytics-branch-card > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.analytics-branch-card > div strong {
    color: #142740;
    font-size: 13px;
}

.analytics-branch-card > div span {
    color: #6480a1;
    font-size: 9px;
    font-weight: 700;
}

.analytics-branch-card > b {
    display: block;
    margin-top: 10px;
    color: #1766d7;
    font-size: 18px;
}

.analytics-branch-card > small {
    display: block;
    margin-top: 4px;
    color: #7d8da2;
    font-size: 10px;
}

.analytics-branch-card > i {
    display: block;
    height: 6px;
    margin-top: 11px;
    background: #edf2f8;
    border-radius: 999px;
    overflow: hidden;
}

.analytics-branch-card > i em {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #6ea7f6, #2f7ae5);
    border-radius: inherit;
}

.analytics-insights-demo {
    width: min(100%, 520px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.analytics-insights-demo article {
    min-height: 178px;
    padding: 20px 16px;
    border: 1px solid #dce7f4;
    border-radius: 19px;
    background: linear-gradient(180deg, #fff, #f7fbff);
    text-align: left;
}

.analytics-insights-demo article span,
.analytics-insights-demo article small,
.analytics-insights-demo article strong,
.analytics-insights-demo article em {
    display: block;
}

.analytics-insights-demo article span {
    font-size: 24px;
}

.analytics-insights-demo article small {
    margin-top: 18px;
    color: #71839a;
    font-size: 9px;
    font-weight: 700;
}

.analytics-insights-demo article strong {
    margin-top: 6px;
    color: #132640;
    font-size: 14px;
}

.analytics-insights-demo article em {
    margin-top: 5px;
    color: #1e68ce;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.analytics-period-demo > div + div {
    margin-top: 18px;
}

.analytics-period-demo small {
    display: block;
    margin-bottom: 8px;
    color: #74879e;
    font-size: 10px;
    font-weight: 800;
}

.analytics-toggle,
.analytics-period-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.analytics-toggle b,
.analytics-toggle em,
.analytics-period-pills b,
.analytics-period-pills em {
    padding: 9px 12px;
    border-radius: 999px;
    font-style: normal;
    font-size: 10px;
}

.analytics-toggle b,
.analytics-period-pills b {
    background: #2473df;
    color: #fff;
}

.analytics-toggle em,
.analytics-period-pills em {
    background: #f0f5fb;
    color: #61758f;
}

.analytics-period-note {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #edf5ff;
    color: #5b7190;
    font-size: 10px;
}

.analytics-period-note strong {
    color: #175fbf;
}

.analytics-decisions-section {
    padding: 88px 0;
    background: linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%);
}

.analytics-decisions-heading {
    max-width: 850px;
    margin: 0 auto 34px;
    text-align: center;
}

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

.analytics-decision-card {
    padding: 28px;
    border: 1px solid #dce7f4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(19, 58, 105, .08);
}

.analytics-decision-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 26px;
    border-radius: 13px;
    background: #eaf3ff;
    color: #1f6fd9;
    font-size: 12px;
    font-weight: 900;
}

.analytics-decision-card small {
    color: #2d73cf;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.analytics-decision-card h3 {
    margin: 10px 0 12px;
    color: #132640;
    font-size: 21px;
    line-height: 1.22;
}

.analytics-decision-card p {
    margin: 0;
    color: #697c94;
    line-height: 1.7;
}

.analytics-truth-section {
    padding: 88px 0;
}

.analytics-truth-card {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 42px;
    align-items: center;
    padding: 46px;
    border: 1px solid #d8e6f5;
    border-radius: 30px;
    background: linear-gradient(135deg, #10233d 0%, #1d3b63 100%);
    box-shadow: 0 26px 60px rgba(16, 33, 59, .16);
}

.analytics-truth-card .employee-marketing-kicker {
    color: #7fb4ff;
}

.analytics-truth-copy h2 {
    margin: 10px 0 16px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.analytics-truth-copy p {
    margin: 0;
    color: #c6d6e8;
    font-size: 17px;
    line-height: 1.72;
}

.analytics-truth-points {
    display: grid;
    gap: 12px;
}

.analytics-truth-points article {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 17px;
    background: rgba(255,255,255,.08);
}

.analytics-truth-points article > span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(111, 169, 255, .18);
    color: #86baff;
    font-weight: 900;
}

.analytics-truth-points strong,
.analytics-truth-points small {
    display: block;
}

.analytics-truth-points strong {
    color: #fff;
    font-size: 13px;
}

.analytics-truth-points small {
    margin-top: 3px;
    color: #afc2d8;
    font-size: 10px;
}

@media (max-width: 1100px) {
    .analytics-hero-visual {
        min-height: 510px;
    }

    .analytics-floating-loyalty {
        right: 0;
    }

    .analytics-decision-grid {
        grid-template-columns: 1fr;
    }

    .analytics-truth-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .analytics-hero-visual {
        min-height: auto;
        padding: 20px 0 70px;
    }

    .analytics-dashboard-window {
        padding: 18px;
        border-radius: 20px;
    }

    .analytics-dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .analytics-dashboard-chart {
        display: none;
    }

    .analytics-floating-leader {
        left: 4px;
        bottom: 4px;
    }

    .analytics-floating-loyalty {
        display: none;
    }

    .analytics-kpi-demo,
    .analytics-insights-demo {
        grid-template-columns: 1fr;
    }

    .analytics-loyalty-demo {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .analytics-big-ring {
        margin: 0 auto;
    }

    .analytics-device-row {
        grid-template-columns: 24px 1fr;
    }

    .analytics-device-row em {
        grid-column: 2;
    }

    .analytics-demo-best,
    .analytics-period-note,
    .analytics-branch-card > div {
        flex-direction: column;
    }

    .analytics-truth-card {
        padding: 28px 22px;
        border-radius: 24px;
    }
}

/* =========================================================
   SERVICEHUB AI MARKETING PAGE
   2026-09-06
   ========================================================= */
.ai-marketing-page {
    --ai-blue: #2f73e6;
    --ai-blue-dark: #1f5fc8;
    --ai-ink: #13233b;
    --ai-soft: #eef5ff;
}

.ai-marketing-hero {
    background:
        radial-gradient(circle at 78% 16%, rgba(67, 126, 237, .16), transparent 28%),
        radial-gradient(circle at 86% 68%, rgba(107, 84, 226, .10), transparent 22%),
        linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.ai-hero-visual {
    position: relative;
    min-height: 560px;
    isolation: isolate;
}

.ai-hero-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(58, 116, 224, .14);
    z-index: -1;
}

.ai-hero-orbit-a {
    inset: 34px 16px 44px 46px;
}

.ai-hero-orbit-b {
    inset: 106px 84px 104px 104px;
    border-style: dashed;
}

.ai-chat-window,
.ai-floating-card {
    border: 1px solid rgba(48, 83, 132, .11);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 62px rgba(26, 56, 103, .16);
}

.ai-chat-window {
    position: absolute;
    top: 44px;
    left: 24px;
    width: min(100% - 48px, 500px);
    overflow: hidden;
    border-radius: 28px;
}

.ai-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid #e8eef7;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.ai-chat-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-brand > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: linear-gradient(145deg, #286ce1, #6c8ef7);
    color: #fff;
    box-shadow: 0 10px 24px rgba(47, 115, 230, .22);
    font-size: 18px;
}

.ai-chat-brand strong,
.ai-chat-brand small {
    display: block;
}

.ai-chat-brand strong {
    color: #17304f;
    font-size: 13px;
}

.ai-chat-brand small {
    margin-top: 3px;
    color: #8190a4;
    font-size: 9px;
}

.ai-chat-head > em {
    padding: 6px 9px;
    border-radius: 999px;
    background: #e8f7ee;
    color: #2d8b5d;
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
}

.ai-chat-body {
    display: grid;
    gap: 15px;
    padding: 22px;
    background: #f8fbff;
}

.ai-chat-user {
    justify-self: end;
    max-width: 82%;
    padding: 12px 15px;
    border-radius: 16px 16px 4px 16px;
    background: #2f73e6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.ai-chat-answer {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 11px;
    align-items: start;
    max-width: 92%;
    padding: 15px;
    border: 1px solid #e1eaf6;
    border-radius: 5px 18px 18px 18px;
    background: #fff;
}

.ai-chat-spark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #edf4ff;
    color: #2f73e6;
    font-weight: 900;
}

.ai-chat-answer strong {
    display: block;
    margin-bottom: 8px;
    color: #203753;
    font-size: 11px;
}

.ai-chat-answer ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-chat-answer li {
    color: #667993;
    font-size: 9px;
    line-height: 1.5;
}

.ai-chat-answer li b {
    color: #1f5fc8;
}

.ai-chat-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px 20px 18px;
    border-top: 1px solid #e8eef7;
    background: #fff;
}

.ai-chat-actions span {
    padding: 8px 11px;
    border-radius: 10px;
    background: #eef5ff;
    color: #2e69c9;
    font-size: 9px;
    font-weight: 800;
}

.ai-floating-card {
    position: absolute;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    min-width: 220px;
    padding: 14px 16px;
    border-radius: 18px;
}

.ai-floating-analytics {
    left: 0;
    bottom: 50px;
}

.ai-floating-message {
    right: 0;
    bottom: 6px;
}

.ai-floating-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #edf4ff;
    font-size: 15px;
}

.ai-floating-card small,
.ai-floating-card strong,
.ai-floating-card em {
    display: block;
}

.ai-floating-card small {
    color: #8695a8;
    font-size: 8px;
}

.ai-floating-card strong {
    margin-top: 2px;
    color: #17314f;
    font-size: 12px;
}

.ai-floating-card em {
    margin-top: 2px;
    color: #5d718b;
    font-size: 8px;
    font-style: normal;
}

.ai-feature-visual {
    min-height: 340px;
}

.ai-question-demo,
.ai-message-demo,
.ai-analytics-demo,
.ai-privacy-demo {
    width: min(100%, 430px);
    margin: 0 auto;
    border: 1px solid #dce7f5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(38, 66, 108, .10);
}

.ai-question-demo {
    padding: 22px;
}

.ai-demo-question {
    margin-left: auto;
    width: fit-content;
    max-width: 80%;
    padding: 12px 14px;
    border-radius: 14px 14px 4px 14px;
    background: #2f73e6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.ai-demo-answer {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    margin-top: 18px;
    padding: 15px;
    border-radius: 4px 16px 16px 16px;
    background: #f4f8fe;
}

.ai-demo-answer > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #e5efff;
    color: #2f73e6;
    font-weight: 900;
}

.ai-demo-answer p,
.ai-demo-answer strong,
.ai-demo-answer small {
    display: block;
    margin: 0;
}

.ai-demo-answer strong {
    color: #24405f;
    font-size: 11px;
    line-height: 1.45;
}

.ai-demo-answer small {
    margin-top: 6px;
    color: #6c7e94;
    font-size: 9px;
    line-height: 1.55;
}

.ai-demo-link {
    margin-top: 13px;
    color: #2f73e6;
    font-size: 10px;
    font-weight: 800;
}

.ai-context-demo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 450px);
    margin: 0 auto;
}

.ai-context-demo article {
    padding: 20px;
    border: 1px solid #dde8f5;
    border-radius: 18px;
    background: #fff;
}

.ai-context-demo article:last-child {
    grid-column: 1 / -1;
    background: #eef5ff;
}

.ai-context-demo small,
.ai-context-demo strong,
.ai-context-demo span {
    display: block;
}

.ai-context-demo small {
    color: #8494a9;
    font-size: 9px;
}

.ai-context-demo strong {
    margin-top: 6px;
    color: #1e3857;
    font-size: 14px;
}

.ai-context-demo span {
    margin-top: 5px;
    color: #4b6a92;
    font-size: 9px;
}

.ai-signals-demo {
    display: grid;
    gap: 11px;
    width: min(100%, 450px);
    margin: 0 auto;
}

.ai-signal-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 11px;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid #e0e9f4;
    border-radius: 16px;
    background: #fff;
}

.ai-signal-row > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #f0f5fc;
}

.ai-signal-row.is-danger > span { background: #fff0f0; }
.ai-signal-row.is-warning > span { background: #fff7e7; }
.ai-signal-row.is-info > span { background: #edf4ff; }

.ai-signal-row strong,
.ai-signal-row small {
    display: block;
}

.ai-signal-row strong {
    color: #203a59;
    font-size: 11px;
}

.ai-signal-row small {
    margin-top: 3px;
    color: #8190a2;
    font-size: 9px;
}

.ai-signal-row em {
    color: #2f73e6;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.ai-analytics-demo {
    padding: 20px;
    background: linear-gradient(180deg, #fff, #f8fbff);
}

.ai-analytics-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ai-analytics-head span {
    color: #7f8fa3;
    font-size: 9px;
}

.ai-analytics-head b {
    padding: 6px 8px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2e68c9;
    font-size: 8px;
}

.ai-analytics-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.ai-analytics-kpis div {
    padding: 12px;
    border-radius: 13px;
    background: #f2f6fb;
}

.ai-analytics-kpis small,
.ai-analytics-kpis strong {
    display: block;
}

.ai-analytics-kpis small {
    color: #8795a7;
    font-size: 8px;
}

.ai-analytics-kpis strong {
    margin-top: 4px;
    color: #183352;
    font-size: 12px;
}

.ai-analytics-insight {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    margin-top: 14px;
    padding: 14px;
    border-left: 3px solid #2f73e6;
    border-radius: 0 14px 14px 0;
    background: #edf4ff;
}

.ai-analytics-insight > span {
    color: #2f73e6;
    font-weight: 900;
}

.ai-analytics-insight p,
.ai-analytics-insight strong,
.ai-analytics-insight small {
    display: block;
    margin: 0;
}

.ai-analytics-insight strong {
    color: #23405f;
    font-size: 10px;
}

.ai-analytics-insight small {
    margin-top: 4px;
    color: #5f7590;
    font-size: 9px;
    line-height: 1.5;
}

.ai-analytics-question {
    margin-top: 13px;
    padding: 11px 12px;
    border: 1px solid #d9e5f3;
    border-radius: 12px;
    background: #fff;
    color: #4b607a;
    font-size: 9px;
}

.ai-message-demo {
    padding: 20px;
}

.ai-message-demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 13px;
    border-bottom: 1px solid #edf1f6;
}

.ai-message-demo-head span {
    color: #1f3958;
    font-size: 11px;
    font-weight: 900;
}

.ai-message-demo-head em {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f0f5fb;
    color: #718198;
    font-size: 8px;
    font-style: normal;
}

.ai-message-demo > p {
    margin: 15px 0;
    padding: 14px;
    border-radius: 14px;
    background: #f7f9fc;
    color: #536a84;
    font-size: 10px;
    line-height: 1.65;
}

.ai-message-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ai-message-tools span {
    padding: 7px 9px;
    border-radius: 9px;
    background: #eef5ff;
    color: #376fca;
    font-size: 8px;
    font-weight: 800;
}

.ai-message-demo button {
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: #2f73e6;
    color: #fff;
    font: inherit;
    font-size: 9px;
    font-weight: 900;
}

.ai-docs-demo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: min(100%, 460px);
    margin: 0 auto;
}

.ai-docs-demo article {
    padding: 17px 12px;
    border: 1px solid #dfe8f4;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.ai-docs-demo article > span,
.ai-docs-demo article strong,
.ai-docs-demo article small {
    display: block;
}

.ai-docs-demo article > span {
    font-size: 20px;
}

.ai-docs-demo article strong {
    margin-top: 10px;
    color: #203956;
    font-size: 10px;
}

.ai-docs-demo article small {
    margin-top: 4px;
    color: #8593a6;
    font-size: 8px;
    line-height: 1.4;
}

.ai-docs-control {
    grid-column: 1 / -1;
    padding: 15px 17px;
    border: 1px solid #cfe0f6;
    border-radius: 15px;
    background: #edf4ff;
}

.ai-docs-control b,
.ai-docs-control span {
    display: block;
}

.ai-docs-control b {
    color: #2458a7;
    font-size: 10px;
}

.ai-docs-control span {
    margin-top: 4px;
    color: #6680a2;
    font-size: 9px;
}

.ai-history-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: min(100%, 460px);
    margin: 0 auto;
}

.ai-history-list,
.ai-quick-demo {
    padding: 18px;
    border: 1px solid #dfe8f4;
    border-radius: 18px;
    background: #fff;
}

.ai-history-list small,
.ai-history-list strong,
.ai-quick-demo small,
.ai-quick-demo span {
    display: block;
}

.ai-history-list small,
.ai-quick-demo small {
    margin-bottom: 10px;
    color: #8795a8;
    font-size: 8px;
}

.ai-history-list strong {
    padding: 9px 0;
    border-top: 1px solid #edf1f6;
    color: #304967;
    font-size: 9px;
}

.ai-quick-demo span {
    margin-top: 8px;
    padding: 9px 10px;
    border-radius: 10px;
    background: #eef5ff;
    color: #3269be;
    font-size: 8px;
    font-weight: 800;
}

.ai-privacy-demo {
    padding: 20px;
}

.ai-privacy-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e9eef5;
}

.ai-privacy-title > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #edf4ff;
}

.ai-privacy-title strong {
    color: #1f3958;
    font-size: 12px;
}

.ai-privacy-row {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f6;
}

.ai-privacy-row > span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    font-weight: 900;
}

.ai-privacy-row.is-yes > span {
    background: #e8f7ef;
    color: #2e8a5d;
}

.ai-privacy-row.is-no > span {
    background: #fff0f0;
    color: #c75c5c;
}

.ai-privacy-row p,
.ai-privacy-row strong,
.ai-privacy-row small {
    display: block;
    margin: 0;
}

.ai-privacy-row strong {
    color: #263e5c;
    font-size: 10px;
}

.ai-privacy-row small {
    margin-top: 3px;
    color: #7f8fa3;
    font-size: 8px;
    line-height: 1.5;
}

.ai-privacy-foot {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 11px;
    background: #f4f7fb;
    color: #5e7189;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.ai-workflow-section {
    padding: 86px 0;
    background: #fff;
}

.ai-workflow-heading {
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.ai-workflow-heading h2 {
    margin: 12px 0 14px;
    color: #101f35;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.4px;
}

.ai-workflow-heading p {
    margin: 0;
    color: #65778e;
    font-size: 16px;
    line-height: 1.65;
}

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

.ai-workflow-card {
    padding: 26px;
    border: 1px solid #dfe8f4;
    border-radius: 22px;
    background: #fff;
}

.ai-workflow-step {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #edf4ff;
    color: #2f73e6;
    font-size: 10px;
    font-weight: 900;
}

.ai-workflow-card > small {
    display: block;
    margin-top: 20px;
    color: #3479e8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ai-workflow-card h3 {
    margin: 8px 0 10px;
    color: #172d49;
    font-size: 20px;
    line-height: 1.2;
}

.ai-workflow-card p {
    margin: 0;
    color: #65778e;
    font-size: 14px;
    line-height: 1.65;
}

.ai-control-section {
    padding: 84px 0;
    background: #f1f6fc;
}

.ai-control-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
    gap: 40px;
    align-items: center;
    padding: 42px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0f2138, #23456f);
    box-shadow: 0 28px 70px rgba(22, 48, 82, .16);
}

.ai-control-copy .employee-marketing-kicker {
    color: #79adff;
}

.ai-control-copy .employee-marketing-kicker::before {
    background: #79adff;
    box-shadow: 0 0 0 6px rgba(121, 173, 255, .12);
}

.ai-control-copy h2 {
    margin: 12px 0 15px;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
}

.ai-control-copy p {
    margin: 0;
    color: #c7d7e8;
    font-size: 16px;
    line-height: 1.72;
}

.ai-control-points {
    display: grid;
    gap: 12px;
}

.ai-control-points article {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 17px;
    background: rgba(255,255,255,.08);
}

.ai-control-points article > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: rgba(111, 169, 255, .18);
    color: #86baff;
    font-weight: 900;
}

.ai-control-points strong,
.ai-control-points small {
    display: block;
}

.ai-control-points strong {
    color: #fff;
    font-size: 12px;
}

.ai-control-points small {
    margin-top: 3px;
    color: #afc2d8;
    font-size: 9px;
}

@media (max-width: 1100px) {
    .ai-hero-visual {
        min-height: 530px;
    }

    .ai-control-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ai-workflow-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ai-hero-visual {
        min-height: 520px;
    }

    .ai-chat-window {
        top: 18px;
        left: 0;
        width: 100%;
    }

    .ai-floating-analytics {
        left: 0;
        bottom: 22px;
    }

    .ai-floating-message {
        display: none;
    }

    .ai-context-demo,
    .ai-history-demo {
        grid-template-columns: 1fr;
    }

    .ai-context-demo article:last-child {
        grid-column: auto;
    }

    .ai-docs-demo {
        grid-template-columns: 1fr;
    }

    .ai-docs-control {
        grid-column: auto;
    }

    .ai-analytics-kpis {
        grid-template-columns: 1fr;
    }

    .ai-signal-row {
        grid-template-columns: 34px 1fr;
    }

    .ai-signal-row em {
        grid-column: 2;
    }

    .ai-control-card {
        padding: 28px 22px;
        border-radius: 24px;
    }
}


/* AI MARKETING — 4 BENEFIT CARDS */
@media (min-width: 821px) {
    .ai-overview-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (min-width: 821px) and (max-width: 1120px) {
    .ai-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   SERVICEHUB HOME V3 — product-first marketing homepage
   2026-09-06
   Scoped to .public-home-v3 so feature/system pages are untouched.
   ========================================================= */

.public-home-v3 {
    overflow: clip;
    color: #14213a;
    background:
        radial-gradient(circle at 88% 7%, rgba(37, 99, 235, .07), transparent 24%),
        #ffffff;
}

.public-home-v3 *,
.public-home-v3 *::before,
.public-home-v3 *::after {
    box-sizing: border-box;
}

.public-home-v3 a {
    text-decoration: none;
}

.home-v3-hero {
    position: relative;
    padding: clamp(58px, 6vw, 92px) 0 34px;
    background:
        radial-gradient(circle at 82% 18%, rgba(96, 165, 250, .16), transparent 30%),
        radial-gradient(circle at 18% 0%, rgba(37, 99, 235, .07), transparent 30%),
        linear-gradient(180deg, #f9fbff 0%, #ffffff 88%);
}

.home-v3-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    top: 35px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(37, 99, 235, .11);
    border-radius: 50%;
    pointer-events: none;
}

.home-v3-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(580px, 1.12fr);
    gap: clamp(42px, 5vw, 78px);
    align-items: center;
}

.home-v3-hero-copy {
    min-width: 0;
}

.home-v3-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-v3-kicker::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.home-v3-kicker-light {
    color: #93c5fd;
}

.home-v3-hero h1,
.home-v3-section h2,
.home-v3-final h2,
.home-v3-price-section h2 {
    margin: 0;
    color: #0b1730;
    letter-spacing: -.035em;
}

.home-v3-hero h1 {
    max-width: 690px;
    font-size: clamp(44px, 5.1vw, 72px);
    line-height: .99;
}

.home-v3-hero-lead {
    max-width: 690px;
    margin: 26px 0 0;
    color: #50627c;
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.72;
}

.home-v3-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.home-v3-hero-actions .btn,
.home-v3-final-actions .btn {
    min-height: 50px;
    padding: 13px 23px;
    border-radius: 14px;
    font-weight: 800;
}

.home-v3-mini-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    margin-top: 26px;
    color: #5f718b;
    font-size: 13px;
    line-height: 1.4;
}

.home-v3-mini-proof span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.home-v3-mini-proof b {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 11px;
}

/* Product stage */
.home-v3-product-stage {
    position: relative;
    min-width: 0;
    min-height: 565px;
    perspective: 1600px;
}

.home-v3-dashboard-shell {
    position: absolute;
    inset: 42px 10px 54px 35px;
    overflow: hidden;
    border: 1px solid rgba(122, 153, 196, .3);
    border-radius: 28px;
    background: #fff;
    box-shadow:
        0 38px 86px rgba(20, 42, 79, .18),
        0 8px 24px rgba(15, 23, 42, .08);
    transform: rotateY(-7deg) rotateX(2.5deg) rotateZ(-.45deg);
    transform-origin: 55% 60%;
}

.home-v3-dashboard-topbar {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 18px;
    align-items: center;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid #e7edf6;
    background: #fbfdff;
    color: #75859b;
    font-size: 11px;
}

.home-v3-window-dots {
    display: flex;
    gap: 5px;
}

.home-v3-window-dots i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd8e8;
}

.home-v3-dashboard-brand {
    color: #0b62d6;
    font-size: 14px;
    font-weight: 900;
}

.home-v3-dashboard-topbar em {
    padding: 6px 9px;
    border-radius: 9px;
    background: #eef5ff;
    color: #3973c8;
    font-style: normal;
    font-weight: 800;
}

.home-v3-dashboard-layout {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 440px;
}

.home-v3-dashboard-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    padding: 17px 9px;
    background: linear-gradient(180deg, #0a1d37 0%, #0d294d 100%);
    color: rgba(255, 255, 255, .72);
}

.home-v3-dashboard-nav strong {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    border-radius: 10px;
    background: #1685ff;
    color: #fff;
    font-size: 12px;
}

.home-v3-dashboard-nav span {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
}

.home-v3-dashboard-nav span.is-active {
    background: rgba(48, 143, 255, .25);
    color: #fff;
}

.home-v3-dashboard-main {
    min-width: 0;
    padding: 22px 23px 24px;
    background: #f4f7fb;
}

.home-v3-dashboard-heading,
.home-v3-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
}

.home-v3-dashboard-heading small,
.home-v3-dashboard-heading strong,
.home-v3-panel-head small,
.home-v3-panel-head strong {
    display: block;
}

.home-v3-dashboard-heading small,
.home-v3-panel-head small {
    margin-bottom: 4px;
    color: #8a99ac;
    font-size: 9px;
}

.home-v3-dashboard-heading strong {
    color: #15223a;
    font-size: 16px;
}

.home-v3-dashboard-heading button {
    border: 0;
    border-radius: 10px;
    padding: 9px 12px;
    background: #1677ee;
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
}

.home-v3-kpi-row {
    display: grid;
    grid-template-columns: .8fr .8fr 1.25fr;
    gap: 10px;
    margin-top: 17px;
}

.home-v3-kpi-row > div {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #e4ebf4;
    border-radius: 14px;
    background: #fff;
}

.home-v3-kpi-row span,
.home-v3-kpi-row strong,
.home-v3-kpi-row small {
    display: block;
}

.home-v3-kpi-row span {
    color: #8190a4;
    font-size: 9px;
}

.home-v3-kpi-row strong {
    margin-top: 3px;
    color: #12213b;
    font-size: 17px;
    line-height: 1.15;
}

.home-v3-kpi-row small {
    margin-top: 5px;
    color: #5d9978;
    font-size: 8px;
}

.home-v3-dashboard-content {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 11px;
    margin-top: 11px;
}

.home-v3-chart-card,
.home-v3-orders-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e4ebf4;
    border-radius: 15px;
    background: #fff;
}

.home-v3-panel-head strong {
    color: #19263d;
    font-size: 11px;
}

.home-v3-panel-head > span {
    color: #3775c9;
    font-size: 8px;
    font-weight: 800;
}

.home-v3-chart {
    display: flex;
    height: 115px;
    align-items: end;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 9px 0;
    border-radius: 12px;
    background:
        linear-gradient(to top, rgba(222, 231, 242, .65) 1px, transparent 1px) 0 0 / 100% 25%,
        linear-gradient(180deg, #fbfdff, #f6f9fd);
}

.home-v3-chart i {
    flex: 1;
    min-width: 8px;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #54a4ff, #266fe0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.home-v3-chart-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding: 5px 7px 0;
    color: #9ba7b7;
    font-size: 7px;
    text-align: center;
}

.home-v3-order-line {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr) auto;
    gap: 7px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f6;
    font-size: 8px;
}

.home-v3-order-line:last-child {
    border-bottom: 0;
}

.home-v3-order-line b {
    color: #1a2b45;
}

.home-v3-order-line span {
    min-width: 0;
    overflow: hidden;
    color: #60728a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-v3-order-line em {
    padding: 5px 7px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #246bcf;
    font-style: normal;
    font-weight: 800;
}

.home-v3-order-line em.repair {
    background: #fff1df;
    color: #b46115;
}

.home-v3-order-line em.ready {
    background: #e6f8ed;
    color: #238752;
}

.home-v3-float-card {
    position: absolute;
    z-index: 4;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-width: 238px;
    max-width: 280px;
    padding: 13px 15px;
    border: 1px solid rgba(133, 160, 198, .26);
    border-radius: 17px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 17px 42px rgba(22, 50, 91, .17);
    backdrop-filter: blur(8px);
}

.home-v3-float-card small,
.home-v3-float-card strong,
.home-v3-float-card em {
    display: block;
}

.home-v3-float-card small {
    margin-bottom: 2px;
    color: #8492a4;
    font-size: 9px;
}

.home-v3-float-card strong {
    color: #17253d;
    font-size: 11px;
}

.home-v3-float-card em {
    margin-top: 4px;
    color: #6c7d93;
    font-size: 8px;
    font-style: normal;
}

.home-v3-float-icon,
.home-v3-ai-star,
.home-v3-ready-dot {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #edf5ff;
    color: #1f73df;
    font-size: 18px;
    font-weight: 900;
}

.home-v3-ai-star {
    background: linear-gradient(135deg, #3267f0, #7b61e8);
    color: #fff;
}

.home-v3-ready-dot {
    border-radius: 50%;
    background: #e6f8ed;
    color: #218a54;
}

.home-v3-float-order {
    left: -7px;
    bottom: 18px;
}

.home-v3-float-ai {
    right: -5px;
    top: 4px;
}

.home-v3-float-ready {
    right: 18px;
    bottom: 3px;
}

/* Thin trust line */
.home-v3-trust-strip {
    padding: 0 0 30px;
    background: #fff;
}

.home-v3-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dfe8f3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(28, 53, 87, .055);
}

.home-v3-trust-grid > div {
    min-width: 0;
    padding: 20px 24px;
    border-right: 1px solid #e8eef5;
}

.home-v3-trust-grid > div:last-child {
    border-right: 0;
}

.home-v3-trust-grid strong,
.home-v3-trust-grid span {
    display: block;
}

.home-v3-trust-grid strong {
    margin-bottom: 5px;
    color: #12213a;
    font-size: 16px;
}

.home-v3-trust-grid span {
    color: #6a7a90;
    font-size: 12px;
    line-height: 1.45;
}

/* Common sections */
.home-v3-section {
    padding: clamp(74px, 7vw, 112px) 0;
}

.home-v3-section-soft {
    background: #f6f9fd;
}

.home-v3-section-head {
    max-width: 820px;
    margin-bottom: 42px;
}

.home-v3-section-head-centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-v3-section-head h2,
.home-v3-section h2,
.home-v3-final h2,
.home-v3-price-section h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.06;
}

.home-v3-section-head p,
.home-v3-copy-lead,
.home-v3-section > .container > div > p {
    color: #62748e;
    line-height: 1.72;
}

.home-v3-section-head p {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: 17px;
}

.home-v3-section-head-centered p {
    margin-right: auto;
    margin-left: auto;
}

/* Workflow */
.home-v3-workflow-section {
    padding-top: 82px;
}

.home-v3-workflow-grid {
    display: grid;
    grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
    gap: 34px;
    align-items: stretch;
}

.home-v3-workflow-steps {
    display: grid;
    gap: 10px;
}

.home-v3-workflow-step {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid #e0e8f2;
    border-radius: 18px;
    background: #fff;
    color: inherit;
}

.home-v3-workflow-step > span {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #edf5ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.home-v3-workflow-step strong,
.home-v3-workflow-step small {
    display: block;
}

.home-v3-workflow-step strong {
    color: #14233c;
    font-size: 15px;
}

.home-v3-workflow-step small {
    margin-top: 4px;
    color: #74849a;
    font-size: 12px;
    line-height: 1.45;
}

.home-v3-ticket-visual {
    position: relative;
    min-width: 0;
    min-height: 560px;
    padding: 35px 30px 68px;
    border: 1px solid #dce7f3;
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 10%, rgba(80, 145, 255, .14), transparent 35%),
        linear-gradient(145deg, #f8fbff, #edf4fd);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.home-v3-ticket-window {
    overflow: hidden;
    border: 1px solid #dde6f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(30, 58, 92, .11);
}

.home-v3-ticket-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid #edf1f6;
}

.home-v3-ticket-top small,
.home-v3-ticket-top strong,
.home-v3-ticket-meta small,
.home-v3-ticket-meta strong,
.home-v3-ticket-bottom span,
.home-v3-ticket-bottom strong,
.home-v3-ticket-bottom small {
    display: block;
}

.home-v3-ticket-top small,
.home-v3-ticket-meta small,
.home-v3-ticket-bottom span {
    color: #8492a5;
    font-size: 11px;
}

.home-v3-ticket-top strong {
    margin-top: 4px;
    color: #17243a;
    font-size: 19px;
}

.home-v3-ticket-top > span {
    padding: 8px 11px;
    border-radius: 999px;
    background: #fff0dd;
    color: #b65e11;
    font-size: 11px;
    font-weight: 900;
}

.home-v3-ticket-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #eaf0f6;
}

.home-v3-ticket-meta > div {
    min-width: 0;
    padding: 16px 17px;
    background: #fbfdff;
}

.home-v3-ticket-meta strong {
    margin-top: 5px;
    overflow: hidden;
    color: #263650;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-v3-ticket-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 27px 22px 24px;
}

.home-v3-ticket-progress > div {
    position: relative;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    min-width: 0;
}

.home-v3-ticket-progress > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 31px;
    right: -3px;
    height: 2px;
    background: #dce5ef;
}

.home-v3-ticket-progress > div.done:not(:last-child)::after {
    background: #81b6ff;
}

.home-v3-ticket-progress i {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    border: 2px solid #d4dfeb;
    border-radius: 50%;
    background: #fff;
    color: #96a5b7;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

.home-v3-ticket-progress .done i {
    border-color: #2f83ec;
    background: #2f83ec;
    color: #fff;
}

.home-v3-ticket-progress .current i {
    border-color: #f2a54b;
    background: #fff1df;
    color: #b56116;
}

.home-v3-ticket-progress span,
.home-v3-ticket-progress small {
    display: block;
}

.home-v3-ticket-progress span {
    position: relative;
    z-index: 2;
    min-width: 0;
    color: #43546b;
    font-size: 10px;
    font-weight: 800;
}

.home-v3-ticket-progress small {
    margin-top: 4px;
    color: #9aa6b6;
    font-size: 8px;
    font-weight: 500;
}

.home-v3-ticket-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 22px 22px;
}

.home-v3-ticket-bottom > div {
    padding: 15px 16px;
    border: 1px solid #e3eaf3;
    border-radius: 15px;
    background: #f9fbfe;
}

.home-v3-ticket-bottom strong {
    margin-top: 5px;
    color: #22344e;
    font-size: 12px;
}

.home-v3-ticket-bottom small {
    margin-top: 4px;
    color: #7e8da1;
    font-size: 9px;
}

.home-v3-ticket-ai {
    position: absolute;
    right: 15px;
    bottom: 18px;
    left: 72px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 15px 17px;
    border: 1px solid rgba(94, 114, 232, .22);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 17px 38px rgba(48, 59, 129, .16);
}

.home-v3-ticket-ai > span {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #3474ef, #7c62e7);
    color: #fff;
    font-size: 20px;
}

.home-v3-ticket-ai small,
.home-v3-ticket-ai strong,
.home-v3-ticket-ai em {
    display: block;
}

.home-v3-ticket-ai small {
    color: #715fd1;
    font-size: 9px;
    font-weight: 800;
}

.home-v3-ticket-ai strong {
    margin-top: 2px;
    color: #192941;
    font-size: 12px;
}

.home-v3-ticket-ai em {
    margin-top: 4px;
    color: #708097;
    font-size: 9px;
    font-style: normal;
    line-height: 1.35;
}

/* Benefit cards */
.home-v3-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-v3-benefit-card,
.home-v3-reliability-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid #dde7f2;
    border-radius: 22px;
    background: #fff;
    color: inherit;
    box-shadow: 0 8px 26px rgba(24, 48, 78, .045);
}

.home-v3-benefit-icon,
.home-v3-reliability-card > span {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: #edf5ff;
    color: #226ed7;
    font-size: 20px;
    font-weight: 900;
}

.home-v3-benefit-icon.home-v3-benefit-ai {
    background: linear-gradient(135deg, #edf3ff, #f2edff);
    color: #6854d5;
}

.home-v3-benefit-card strong,
.home-v3-reliability-card strong {
    display: block;
    color: #17263f;
    font-size: 18px;
    line-height: 1.28;
}

.home-v3-benefit-card p,
.home-v3-reliability-card p {
    margin: 11px 0 0;
    color: #6c7d93;
    font-size: 14px;
    line-height: 1.6;
}

.home-v3-benefit-card em {
    display: block;
    margin-top: 18px;
    color: #2563eb;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

/* Launch */
.home-v3-split,
.home-v3-launch-grid,
.home-v3-mobile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(42px, 6vw, 88px);
    align-items: center;
}

.home-v3-copy-lead {
    margin: 20px 0 0;
    font-size: 17px;
}

.home-v3-inline-button {
    margin-top: 24px;
}

.home-v3-launch-steps {
    display: grid;
    gap: 12px;
}

.home-v3-launch-steps > div {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e0e8f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 45, 76, .04);
}

.home-v3-launch-steps b {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #0d2748;
    color: #fff;
    font-size: 14px;
}

.home-v3-launch-steps strong,
.home-v3-launch-steps small {
    display: block;
}

.home-v3-launch-steps strong {
    color: #192a43;
    font-size: 15px;
}

.home-v3-launch-steps small {
    margin-top: 4px;
    color: #77879a;
    font-size: 12px;
    line-height: 1.45;
}

/* AI band */
.home-v3-ai-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 5%, rgba(66, 153, 255, .24), transparent 30%),
        radial-gradient(circle at 92% 82%, rgba(99, 102, 241, .2), transparent 32%),
        linear-gradient(135deg, #071a33 0%, #102c51 58%, #142a4a 100%);
    color: #fff;
}

.home-v3-ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(45px, 6vw, 90px);
    align-items: center;
}

.home-v3-ai-grid h2,
.home-v3-price-section h2 {
    color: #fff;
}

.home-v3-ai-grid > div:last-child > p,
.home-v3-price-grid > div:first-child > p {
    margin: 20px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.72;
}

.home-v3-ai-demo {
    padding: 23px;
    border: 1px solid rgba(147, 197, 253, .2);
    border-radius: 26px;
    background: rgba(255,255,255,.96);
    color: #17253d;
    box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.home-v3-ai-demo-head {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    margin-bottom: 15px;
}

.home-v3-ai-demo-head > span {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #3474ef, #7c62e7);
    color: #fff;
    font-size: 21px;
}

.home-v3-ai-demo-head small,
.home-v3-ai-demo-head strong {
    display: block;
}

.home-v3-ai-demo-head small {
    color: #6d5dd4;
    font-size: 10px;
    font-weight: 900;
}

.home-v3-ai-demo-head strong {
    margin-top: 3px;
    font-size: 17px;
}

.home-v3-ai-signal {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 9px;
    padding: 13px 14px;
    border: 1px solid #e7edf5;
    border-radius: 15px;
    background: #f9fbfe;
}

.home-v3-ai-signal i {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf3ff;
    font-style: normal;
}

.home-v3-ai-signal.warning i {
    background: #fff1df;
}

.home-v3-ai-signal.success i {
    background: #e6f8ed;
}

.home-v3-ai-signal strong,
.home-v3-ai-signal small {
    display: block;
}

.home-v3-ai-signal strong {
    color: #24344d;
    font-size: 12px;
}

.home-v3-ai-signal small {
    margin-top: 3px;
    color: #7d8da0;
    font-size: 10px;
}

.home-v3-ai-question {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 15px;
    padding: 13px 15px;
    border-radius: 14px;
    background: #122b4e;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.home-v3-ai-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.home-v3-ai-pills span {
    padding: 8px 11px;
    border: 1px solid rgba(147, 197, 253, .2);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #d8e7fb;
    font-size: 11px;
    font-weight: 700;
}

/* Mobile product */
.home-v3-mobile-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    margin-top: 25px;
}

.home-v3-mobile-list span {
    color: #53657d;
    font-size: 13px;
}

.home-v3-phone-stage {
    position: relative;
    min-height: 520px;
}

.home-v3-phone {
    position: absolute;
    top: 0;
    left: 50%;
    width: 270px;
    height: 520px;
    padding: 11px;
    border-radius: 40px;
    background: #0d1829;
    box-shadow: 0 34px 70px rgba(20, 39, 65, .23);
    transform: translateX(-50%) rotate(3deg);
}

.home-v3-phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    z-index: 2;
    width: 92px;
    height: 21px;
    border-radius: 0 0 15px 15px;
    background: #0d1829;
    transform: translateX(-50%);
}

.home-v3-phone-screen {
    height: 100%;
    padding: 29px 15px 17px;
    overflow: hidden;
    border-radius: 31px;
    background: #f4f7fb;
}

.home-v3-phone-head {
    display: flex;
    justify-content: space-between;
    color: #0e5fc9;
    font-size: 14px;
}

.home-v3-phone-screen > small {
    display: block;
    margin-top: 19px;
    color: #8a98aa;
    font-size: 10px;
}

.home-v3-phone-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.home-v3-phone-kpis div {
    padding: 12px;
    border-radius: 13px;
    background: #fff;
}

.home-v3-phone-kpis b,
.home-v3-phone-kpis span {
    display: block;
}

.home-v3-phone-kpis b {
    color: #14213a;
    font-size: 20px;
}

.home-v3-phone-kpis span {
    margin-top: 2px;
    color: #8492a5;
    font-size: 8px;
}

.home-v3-phone-order {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 5px 8px;
    margin-top: 8px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #fff;
}

.home-v3-phone-order strong,
.home-v3-phone-order span,
.home-v3-phone-order em {
    font-size: 9px;
}

.home-v3-phone-order strong {
    color: #1a2b45;
}

.home-v3-phone-order span {
    overflow: hidden;
    color: #596c84;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-v3-phone-order em {
    grid-column: 2;
    justify-self: start;
    padding: 4px 6px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2563eb;
    font-style: normal;
    font-size: 7px;
    font-weight: 800;
}

.home-v3-phone-order em.repair {
    background: #fff0dc;
    color: #b46015;
}

.home-v3-phone-order em.ready {
    background: #e5f7ed;
    color: #218450;
}

.home-v3-phone-ai {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 11px;
    padding: 11px;
    border-radius: 13px;
    background: linear-gradient(135deg, #edf4ff, #f1edff);
}

.home-v3-phone-ai > b {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #5c60df;
    color: #fff;
}

.home-v3-phone-ai strong,
.home-v3-phone-ai small {
    display: block;
}

.home-v3-phone-ai strong {
    color: #2b3560;
    font-size: 9px;
}

.home-v3-phone-ai small {
    margin-top: 2px;
    color: #7a7fa5;
    font-size: 7px;
}

.home-v3-phone-badge {
    position: absolute;
    right: 3%;
    bottom: 65px;
    display: grid;
    grid-template-columns: 47px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 225px;
    padding: 14px;
    border: 1px solid #dae5f1;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 17px 38px rgba(24, 48, 78, .14);
}

.home-v3-phone-badge > span {
    display: flex;
    width: 47px;
    height: 47px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #0f76e8;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.home-v3-phone-badge strong,
.home-v3-phone-badge small {
    display: block;
}

.home-v3-phone-badge strong {
    color: #1d2d45;
    font-size: 12px;
}

.home-v3-phone-badge small {
    margin-top: 3px;
    color: #7b8b9d;
    font-size: 9px;
}

/* Reliability */
.home-v3-reliability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
    max-width: 1050px;
    margin: 0 auto;
}

/* Pricing */
.home-v3-price-section {
    background:
        radial-gradient(circle at 88% 15%, rgba(57, 133, 255, .22), transparent 30%),
        linear-gradient(135deg, #0b1f3b, #15355e);
    color: #fff;
}

.home-v3-price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
    gap: clamp(45px, 7vw, 100px);
    align-items: center;
}

.home-v3-price-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 26px;
    background: rgba(255,255,255,.13);
    box-shadow: 0 26px 55px rgba(0,0,0,.18);
}

.home-v3-price-card > span,
.home-v3-price-card > strong,
.home-v3-price-card > p {
    grid-column: 1 / -1;
}

.home-v3-price-card > span {
    padding: 25px 28px 4px;
    color: #9ec8ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-v3-price-card > strong {
    padding: 2px 28px 24px;
    color: #fff;
    font-size: 38px;
}

.home-v3-price-card > strong small {
    color: rgba(255,255,255,.68);
    font-size: 14px;
    font-weight: 600;
}

.home-v3-price-card > em {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: -12px 0 0;
    padding: 0 28px 23px;
    color: rgba(255,255,255,.86);
    font-size: 15px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.35;
}

.home-v3-price-card > em small {
    color: rgba(255,255,255,.62);
    font-size: 12px;
    font-weight: 650;
}

.home-v3-price-card > div {
    min-width: 0;
    padding: 19px 15px;
    border-top: 1px solid rgba(255,255,255,.12);
    border-right: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.025);
    text-align: center;
}

.home-v3-price-card > div:nth-of-type(3) {
    border-right: 0;
}

.home-v3-price-card b,
.home-v3-price-card div span {
    display: block;
}

.home-v3-price-card b {
    color: #fff;
    font-size: 22px;
}

.home-v3-price-card div span {
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
}

.home-v3-price-card > p {
    margin: 0;
    padding: 18px 28px 23px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.76);
    font-size: 12px;
    line-height: 1.6;
}

/* Final CTA */
.home-v3-final {
    padding: 72px 0 92px;
    background: #fff;
}

.home-v3-final-card {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: center;
    padding: clamp(34px, 5vw, 58px);
    border: 1px solid #dbe6f2;
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 15%, rgba(61, 137, 255, .15), transparent 34%),
        linear-gradient(135deg, #f7fbff, #eef5ff);
    box-shadow: 0 22px 54px rgba(25, 50, 82, .08);
}

.home-v3-final-card > div:first-child {
    max-width: 760px;
}

.home-v3-final-card p {
    margin: 16px 0 0;
    color: #65768d;
    line-height: 1.65;
}

.home-v3-final-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 12px;
}

/* Existing native hover pattern reinforced for scoped new cards */
.public-home-v3 .public-link-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.public-home-v3 .public-link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(55,116,214,.28);
    box-shadow: 0 18px 42px rgba(20,43,75,.11);
}

/* Responsive */
@media (max-width: 1180px) {
    .home-v3-hero-grid {
        grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
        gap: 35px;
    }

    .home-v3-product-stage {
        min-height: 530px;
    }

    .home-v3-dashboard-shell {
        inset: 40px 0 58px 20px;
    }

    .home-v3-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .home-v3-hero {
        padding-top: 56px;
    }

    .home-v3-hero-grid,
    .home-v3-workflow-grid,
    .home-v3-split,
    .home-v3-launch-grid,
    .home-v3-ai-grid,
    .home-v3-mobile-grid,
    .home-v3-price-grid {
        grid-template-columns: 1fr;
    }

    .home-v3-hero-copy {
        max-width: 760px;
    }

    .home-v3-product-stage {
        min-height: 580px;
        margin-top: 6px;
    }

    .home-v3-dashboard-shell {
        inset: 48px 42px 60px 42px;
        transform: rotateY(-3deg) rotateX(1.5deg) rotateZ(-.3deg);
    }

    .home-v3-float-order {
        left: 18px;
    }

    .home-v3-float-ai {
        right: 14px;
    }

    .home-v3-float-ready {
        right: 24px;
    }

    .home-v3-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-v3-trust-grid > div:nth-child(2) {
        border-right: 0;
    }

    .home-v3-trust-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid #e8eef5;
    }

    .home-v3-ticket-visual {
        min-height: 520px;
    }

    .home-v3-ai-grid > div:last-child {
        order: -1;
    }

    .home-v3-mobile-grid > div:first-child {
        max-width: 720px;
    }

    .home-v3-phone-stage {
        min-height: 540px;
    }

    .home-v3-reliability-grid {
        grid-template-columns: 1fr;
    }

    .home-v3-final-card {
        display: grid;
    }
}

@media (max-width: 700px) {
    .home-v3-hero {
        padding-top: 42px;
    }

    .home-v3-hero h1 {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.02;
    }

    .home-v3-hero-lead {
        font-size: 16px;
        line-height: 1.62;
    }

    .home-v3-hero-actions,
    .home-v3-final-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-v3-hero-actions .btn,
    .home-v3-final-actions .btn {
        width: 100%;
        text-align: center;
    }

    .home-v3-mini-proof {
        display: grid;
    }

    .home-v3-product-stage {
        min-height: 485px;
        margin-right: -14px;
        margin-left: -14px;
    }

    .home-v3-dashboard-shell {
        inset: 42px 20px 68px 20px;
        border-radius: 22px;
        transform: none;
    }

    .home-v3-dashboard-topbar {
        grid-template-columns: auto auto 1fr;
        gap: 9px;
        min-height: 46px;
        padding: 0 12px;
    }

    .home-v3-dashboard-topbar > span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-v3-dashboard-topbar em {
        display: none;
    }

    .home-v3-dashboard-layout {
        grid-template-columns: 40px minmax(0, 1fr);
        min-height: 370px;
    }

    .home-v3-dashboard-nav {
        gap: 7px;
        padding: 12px 5px;
    }

    .home-v3-dashboard-nav strong,
    .home-v3-dashboard-nav span {
        width: 26px;
        height: 26px;
    }

    .home-v3-dashboard-main {
        padding: 15px 13px;
    }

    .home-v3-dashboard-heading strong {
        font-size: 12px;
    }

    .home-v3-dashboard-heading button {
        padding: 7px 8px;
        font-size: 8px;
    }

    .home-v3-kpi-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    .home-v3-kpi-row > div {
        padding: 9px 7px;
        border-radius: 10px;
    }

    .home-v3-kpi-row strong {
        font-size: 11px;
    }

    .home-v3-kpi-row span,
    .home-v3-kpi-row small {
        font-size: 6px;
    }

    .home-v3-dashboard-content {
        grid-template-columns: 1fr;
    }

    .home-v3-orders-card {
        display: none;
    }

    .home-v3-chart {
        height: 95px;
    }

    .home-v3-float-card {
        min-width: 205px;
        max-width: 235px;
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 8px;
        padding: 10px 11px;
        border-radius: 14px;
    }

    .home-v3-float-icon,
    .home-v3-ai-star,
    .home-v3-ready-dot {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 14px;
    }

    .home-v3-float-card strong {
        font-size: 9px;
    }

    .home-v3-float-card small,
    .home-v3-float-card em {
        font-size: 7px;
    }

    .home-v3-float-ai {
        top: 4px;
        right: 6px;
    }

    .home-v3-float-order {
        left: 4px;
        bottom: 29px;
    }

    .home-v3-float-ready {
        right: 4px;
        bottom: -2px;
    }

    .home-v3-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-v3-trust-grid > div,
    .home-v3-trust-grid > div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #e8eef5;
    }

    .home-v3-trust-grid > div:last-child {
        border-bottom: 0;
    }

    .home-v3-section {
        padding: 68px 0;
    }

    .home-v3-section-head {
        margin-bottom: 30px;
    }

    .home-v3-section-head h2,
    .home-v3-section h2,
    .home-v3-final h2,
    .home-v3-price-section h2 {
        font-size: clamp(31px, 8.8vw, 42px);
    }

    .home-v3-section-head p,
    .home-v3-copy-lead {
        font-size: 15px;
    }

    .home-v3-workflow-step {
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 13px;
    }

    .home-v3-workflow-step > span {
        width: 38px;
        height: 38px;
    }

    .home-v3-ticket-visual {
        min-height: 520px;
        padding: 19px 13px 78px;
        border-radius: 22px;
    }

    .home-v3-ticket-top {
        padding: 16px;
    }

    .home-v3-ticket-top strong {
        font-size: 15px;
    }

    .home-v3-ticket-meta {
        grid-template-columns: 1fr 1fr;
    }

    .home-v3-ticket-progress {
        grid-template-columns: 1fr 1fr;
        gap: 16px 4px;
        padding: 20px 16px;
    }

    .home-v3-ticket-progress > div:nth-child(2)::after {
        display: none;
    }

    .home-v3-ticket-bottom {
        grid-template-columns: 1fr;
        padding: 0 16px 17px;
    }

    .home-v3-ticket-ai {
        right: 8px;
        bottom: 12px;
        left: 29px;
        grid-template-columns: 40px minmax(0, 1fr);
        padding: 12px;
    }

    .home-v3-ticket-ai > span {
        width: 40px;
        height: 40px;
    }

    .home-v3-benefit-grid,
    .home-v3-mobile-list {
        grid-template-columns: 1fr;
    }

    .home-v3-benefit-card,
    .home-v3-reliability-card {
        padding: 21px;
    }

    .home-v3-ai-demo {
        padding: 16px;
    }

    .home-v3-phone-stage {
        min-height: 520px;
    }

    .home-v3-phone {
        width: 245px;
        height: 488px;
    }

    .home-v3-phone-badge {
        right: 0;
        bottom: 35px;
        min-width: 205px;
    }

    .home-v3-price-card {
        grid-template-columns: 1fr;
    }

    .home-v3-price-card > div {
        border-right: 0;
    }

    .home-v3-final {
        padding: 58px 0 74px;
    }

    .home-v3-final-card {
        padding: 27px 22px;
        border-radius: 22px;
    }
}

@media (max-width: 430px) {
    .home-v3-product-stage {
        min-height: 455px;
    }

    .home-v3-dashboard-shell {
        inset: 38px 9px 70px 9px;
    }

    .home-v3-dashboard-nav {
        display: none;
    }

    .home-v3-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .home-v3-float-ready {
        display: none;
    }

    .home-v3-float-order {
        bottom: 4px;
    }

    .home-v3-ticket-visual {
        min-height: 550px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-home-v3 .public-link-card,
    .home-v3-dashboard-shell {
        transition: none;
        transform: none;
    }
}

/* =========================================================
   SERVICEHUB HOME V3.1 — perspective, motion and live ticker
   2026-09-06
   ========================================================= */

/* Hero proof chips — closer to the product-first concept. */
.home-v3-mini-proof {
    gap: 10px;
}

.home-v3-mini-proof > span {
    min-height: 54px;
    padding: 8px 12px 8px 9px;
    border: 1px solid #e3ebf6;
    border-radius: 15px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 9px 22px rgba(34, 63, 101, .055);
}

.home-v3-mini-proof > span > b {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    background: #edf5ff;
    color: #1575ea;
    font-size: 13px;
}

.home-v3-mini-proof > span > i {
    display: block;
    min-width: 0;
    font-style: normal;
}

.home-v3-mini-proof > span strong,
.home-v3-mini-proof > span small {
    display: block;
}

.home-v3-mini-proof > span strong {
    color: #17304f;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.25;
}

.home-v3-mini-proof > span small {
    margin-top: 2px;
    color: #718199;
    font-size: 9px;
    line-height: 1.25;
}

/*
 * Hero product mockup.
 * rotateZ gives both horizontal edges the same visible perspective direction;
 * rotateY/rotateX keep the card dimensional without the former flat-bottom effect.
 */
.home-v3-product-stage {
    perspective: 1750px;
}

.home-v3-dashboard-shell {
    transform: rotateY(-6.5deg) rotateX(1.15deg) rotateZ(-1.2deg);
    transform-origin: 52% 56%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
    transition: transform .34s cubic-bezier(.2,.75,.25,1), box-shadow .34s ease, border-color .34s ease;
}

.home-v3-dashboard-shell:hover {
    transform: translate3d(0, -8px, 24px) rotateY(-6.5deg) rotateX(1.15deg) rotateZ(-1.2deg) scale(1.012);
    border-color: rgba(68, 132, 219, .4);
    box-shadow:
        0 48px 102px rgba(20, 42, 79, .22),
        0 14px 32px rgba(15, 23, 42, .1);
}

.home-v3-float-card {
    cursor: default;
    will-change: transform, box-shadow;
    transition: transform .26s cubic-bezier(.2,.75,.25,1), box-shadow .26s ease, border-color .26s ease;
}

.home-v3-float-card:hover {
    z-index: 8;
    transform: translateY(-8px) scale(1.025);
    border-color: rgba(70, 134, 224, .36);
    box-shadow: 0 25px 54px rgba(22, 50, 91, .23);
}

.home-v3-float-order:hover {
    transform: translate3d(5px, -9px, 0) rotate(-.5deg) scale(1.025);
}

.home-v3-float-ai:hover {
    transform: translate3d(-5px, -9px, 0) rotate(.55deg) scale(1.025);
}

.home-v3-float-ready:hover {
    transform: translate3d(-4px, -8px, 0) rotate(-.45deg) scale(1.025);
}

.home-v3-live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 2px;
    border-radius: 50%;
    background: #2db56e;
    box-shadow: 0 0 0 3px rgba(45, 181, 110, .1);
    vertical-align: 1px;
}

.home-v3-revenue-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #edf5ff;
    color: #1676e9;
    font-size: 18px;
    font-weight: 900;
}

.home-v3-float-revenue {
    right: -3px;
    top: 236px;
    min-width: 196px;
    max-width: 215px;
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    gap: 9px;
}

.home-v3-float-revenue:hover {
    transform: translate3d(-6px, -9px, 0) rotate(.45deg) scale(1.025);
}

.home-v3-revenue-up {
    color: #249b61 !important;
    font-weight: 800;
}

.home-v3-mini-spark {
    display: flex;
    width: 38px;
    height: 28px;
    align-items: end;
    gap: 3px;
    padding: 3px 2px;
}

.home-v3-mini-spark i {
    display: block;
    flex: 1;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, #5ba7ff, #1f70de);
}

.home-v3-mini-spark i:nth-child(1) { height: 32%; }
.home-v3-mini-spark i:nth-child(2) { height: 58%; }
.home-v3-mini-spark i:nth-child(3) { height: 46%; }
.home-v3-mini-spark i:nth-child(4) { height: 78%; }
.home-v3-mini-spark i:nth-child(5) { height: 66%; }

/* Continuous feature ticker between the hero and the workflow. */
.home-v3-marquee {
    position: relative;
    z-index: 3;
    border-top: 1px solid #e5edf7;
    border-bottom: 1px solid #dfe8f4;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 30px rgba(32, 63, 103, .035);
}

.home-v3-marquee-viewport {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.home-v3-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: homeV3Ticker 34s linear infinite;
}

.home-v3-marquee:hover .home-v3-marquee-track {
    animation-play-state: paused;
}

.home-v3-marquee-group {
    display: flex;
    flex: none;
    align-items: center;
    padding: 0 34px 0 10px;
}

.home-v3-marquee-group a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 55px;
    padding: 0 24px;
    color: #51647f;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
}

.home-v3-marquee-group a::after {
    content: "";
    position: absolute;
    right: -2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #2f80ed;
    opacity: .75;
}

.home-v3-marquee-group a:last-child::after {
    display: none;
}

.home-v3-marquee-group a:hover {
    color: #126ee0;
    transform: translateY(-2px);
}

.home-v3-marquee-group i {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eff6ff;
    color: #1676ea;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

@keyframes homeV3Ticker {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* The large product compositions react like the marketing cards on feature pages. */
.home-v3-ticket-visual,
.home-v3-ai-demo,
.home-v3-phone,
.home-v3-price-card {
    will-change: transform, box-shadow;
    transition: transform .28s cubic-bezier(.2,.75,.25,1), box-shadow .28s ease, border-color .28s ease;
}

.home-v3-ticket-visual:hover,
.home-v3-ai-demo:hover,
.home-v3-phone:hover,
.home-v3-price-card:hover {
    transform: translateY(-6px);
}

.home-v3-ticket-visual:hover {
    box-shadow: 0 32px 70px rgba(28, 57, 98, .13);
}

.home-v3-ticket-ai {
    transition: transform .24s ease, box-shadow .24s ease;
}

.home-v3-ticket-ai:hover {
    transform: translateY(-5px) translateX(3px);
    box-shadow: 0 18px 38px rgba(29, 61, 108, .15);
}

@media (max-width: 1180px) {
    .home-v3-float-revenue {
        right: 2px;
        top: 226px;
        min-width: 184px;
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .home-v3-float-revenue .home-v3-mini-spark {
        display: none;
    }
}

@media (max-width: 980px) {
    .home-v3-dashboard-shell {
        transform: rotateY(-3.6deg) rotateX(.75deg) rotateZ(-.7deg);
    }

    .home-v3-dashboard-shell:hover {
        transform: translate3d(0, -7px, 18px) rotateY(-3.6deg) rotateX(.75deg) rotateZ(-.7deg) scale(1.008);
    }

    .home-v3-float-revenue {
        right: 8px;
        top: 255px;
    }

    .home-v3-marquee-group a {
        min-height: 52px;
        padding: 0 19px;
    }
}

@media (max-width: 700px) {
    .home-v3-mini-proof > span {
        min-height: 50px;
    }

    .home-v3-dashboard-shell,
    .home-v3-dashboard-shell:hover {
        transform: none;
    }

    .home-v3-float-revenue {
        display: none;
    }

    .home-v3-marquee-viewport {
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    }

    .home-v3-marquee-track {
        animation-duration: 28s;
    }

    .home-v3-marquee-group {
        padding-right: 20px;
    }

    .home-v3-marquee-group a {
        min-height: 50px;
        padding: 0 16px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-v3-marquee-track {
        animation: none;
    }

    .home-v3-dashboard-shell,
    .home-v3-float-card,
    .home-v3-ticket-visual,
    .home-v3-ticket-ai,
    .home-v3-ai-demo,
    .home-v3-phone,
    .home-v3-price-card {
        transition: none;
    }

    .home-v3-dashboard-shell:hover,
    .home-v3-float-card:hover,
    .home-v3-ticket-visual:hover,
    .home-v3-ticket-ai:hover,
    .home-v3-ai-demo:hover,
    .home-v3-phone:hover,
    .home-v3-price-card:hover {
        transform: none;
    }
}


/* =========================================================
   HOME V3 — perspective + ticker icons refinement (v26)
   ========================================================= */

/*
 * The extra skewY is intentional: it gives BOTH the upper and lower edge
 * a clearly visible, matching perspective slope. This avoids the previous
 * optical effect where the top looked angled while the lower edge read flat.
 */
.public-home-v3 .home-v3-product-stage {
    perspective: 1900px;
}

.public-home-v3 .home-v3-dashboard-shell {
    transform:
        rotateY(-5.2deg)
        rotateX(.45deg)
        skewY(-1.85deg);
    transform-origin: 52% 54%;
}

.public-home-v3 .home-v3-dashboard-shell:hover {
    transform:
        translate3d(0, -9px, 26px)
        rotateY(-5.2deg)
        rotateX(.45deg)
        skewY(-1.85deg)
        scale(1.012);
}

/* Ticker: use the same line-SVG pictograms as the public mega menu. */
.public-home-v3 .home-v3-marquee-track {
    animation-duration: 44s;
}

.public-home-v3 .home-v3-marquee-group {
    padding: 0 44px 0 16px;
}

.public-home-v3 .home-v3-marquee-group a {
    gap: 14px;
    min-height: 82px;
    padding: 0 30px;
    color: #405673;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.public-home-v3 .home-v3-marquee-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dceaff;
    border-radius: 13px;
    background: #eef6ff;
    color: #1676ea;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .055);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.public-home-v3 .home-v3-marquee-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-home-v3 .home-v3-marquee-group a:hover .home-v3-marquee-icon {
    transform: translateY(-2px) scale(1.04);
    background: #e6f1ff;
    border-color: #c8defd;
}

.public-home-v3 .home-v3-marquee-group a::after {
    right: -4px;
    width: 5px;
    height: 5px;
}

@media (max-width: 980px) {
    .public-home-v3 .home-v3-dashboard-shell {
        transform: rotateY(-3.5deg) rotateX(.35deg) skewY(-1.35deg);
    }

    .public-home-v3 .home-v3-dashboard-shell:hover {
        transform: translate3d(0, -7px, 18px) rotateY(-3.5deg) rotateX(.35deg) skewY(-1.35deg) scale(1.008);
    }

    .public-home-v3 .home-v3-marquee-group a {
        min-height: 72px;
        padding: 0 24px;
        font-size: 17px;
    }

    .public-home-v3 .home-v3-marquee-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .public-home-v3 .home-v3-marquee-icon svg {
        width: 21px;
        height: 21px;
    }
}

@media (max-width: 700px) {
    .public-home-v3 .home-v3-dashboard-shell,
    .public-home-v3 .home-v3-dashboard-shell:hover {
        transform: none;
    }

    .public-home-v3 .home-v3-marquee-track {
        animation-duration: 34s;
    }

    .public-home-v3 .home-v3-marquee-group {
        padding-right: 26px;
    }

    .public-home-v3 .home-v3-marquee-group a {
        gap: 11px;
        min-height: 66px;
        padding: 0 20px;
        font-size: 15px;
    }

    .public-home-v3 .home-v3-marquee-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 11px;
    }

    .public-home-v3 .home-v3-marquee-icon svg {
        width: 19px;
        height: 19px;
    }
}

/* =========================================================
   PUBLIC MOBILE — RELIABLE STICKY HEADER + PRICING ALIGNMENT
   2026-09-07
   ========================================================= */
@media (max-width: 980px) {
    /*
     * main.css historically uses overflow-x:hidden on html/body.
     * On mobile WebKit that can become the sticky containing block
     * and make the public header scroll away. `clip` still hides
     * decorative horizontal overflow without creating a scroll box.
     */
    html,
    body {
        overflow-x: clip !important;
    }

    .site-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 5000 !important;
    }
}

@media (max-width: 700px) {
    .public-home-v3 .home-v3-price-card > span,
    .public-home-v3 .home-v3-price-card > strong,
    .public-home-v3 .home-v3-price-card > p {
        text-align: center;
    }

    .public-home-v3 .home-v3-price-card > span {
        padding-left: 20px;
        padding-right: 20px;
    }

    .public-home-v3 .home-v3-price-card > strong {
        padding-left: 20px;
        padding-right: 20px;
    }

    .public-home-v3 .home-v3-price-card > em {
        justify-content: center;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .public-home-v3 .home-v3-price-card > p {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================================================
   PUBLIC MOBILE — STABLE HEADER WHILE MENU / MEGA MENU IS OPEN
   2026-09-07
   iOS WebKit can drop a sticky element after body overflow is
   switched to hidden. Keep body as the page scroller and make the
   mobile menu its own fixed, scrollable overlay under the header.
   ========================================================= */
@media (max-width: 980px) {
    html,
    body,
    body.mobile-menu-open {
        overflow-x: clip !important;
    }

    body.mobile-menu-open {
        overflow-y: visible !important;
    }

    .site-header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 6000 !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .site-header .header-mobile-panel {
        position: fixed !important;
        top: calc(var(--public-mobile-header-height, 70px) + 10px) !important;
        left: 18px !important;
        right: 18px !important;
        width: auto !important;
        max-height: calc(100dvh - var(--public-mobile-header-height, 70px) - 22px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        z-index: 6001 !important;
    }

    @supports not (height: 100dvh) {
        .site-header .header-mobile-panel {
            max-height: calc(100vh - var(--public-mobile-header-height, 70px) - 22px);
        }
    }
}
