/**
 * FastHR360 homepage — HireSmart-inspired light SaaS layout (v3).
 */

.home-front {
    --hs-ink: #0f172a;
    --hs-muted: #64748b;
    --hs-line: #e2e8f0;
    --hs-paper: #ffffff;
    --hs-soft: #f5f8ff;
    --hs-blue: #2563eb;
    --hs-blue-deep: #1d4ed8;
    --hs-navy: #0b1220;
    --hs-font-display: var(--mkt-font-display, 'Fraunces', Georgia, 'Times New Roman', serif);
    --hs-font-body: var(--mkt-font-body, 'Source Sans 3', 'Segoe UI', system-ui, sans-serif);
    --hs-font: var(--hs-font-body);
    font-family: var(--hs-font-body);
    color: var(--hs-ink);
    background: var(--hs-paper);
    overflow-x: clip;
}

.home-front .landing-nav {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-front .landing-brand,
.home-front .landing-nav-links a,
.home-front .landing-nav .btn-link {
    color: var(--hs-ink) !important;
    font-family: var(--hs-font);
}

.home-front .landing-nav .btn-primary {
    background: var(--hs-ink) !important;
    border-color: var(--hs-ink) !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-weight: 700;
    padding-inline: 1.15rem !important;
}

.home-front .landing-nav .btn-primary:hover {
    background: #1e293b !important;
}

.home-front .mkt-footer {
    position: relative;
    background: var(--hs-navy);
    color: #cbd5e1;
    overflow: hidden;
}

.home-front .mkt-footer::after {
    content: 'FastHR360';
    position: absolute;
    left: 50%;
    bottom: -0.35em;
    transform: translateX(-50%);
    font-family: var(--hs-font);
    font-size: clamp(4rem, 16vw, 9rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    color: rgba(255, 255, 255, 0.045);
    pointer-events: none;
    white-space: nowrap;
}

.home-front .mkt-footer a,
.home-front .mkt-footer-logo,
.home-front .mkt-footer-tagline,
.home-front .mkt-footer-copy,
.home-front .mkt-footer h4 {
    color: #e2e8f0;
}

.home-front .mkt-footer .btn-primary {
    background: var(--hs-blue) !important;
    border-color: var(--hs-blue) !important;
    border-radius: 999px !important;
}

.hs-container {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.hs-section {
    padding: 5rem 0;
}

.hs-section--tight { padding-top: 2.75rem; }
.hs-section--soft { padding-top: 1.25rem; padding-bottom: 3.5rem; }

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

.hs-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hs-blue);
}

.hs-section h2,
.hs-hero h1,
.hs-brand,
.hs-final-cta h2,
.hs-chart-card strong,
.hs-chart-panel h3,
.hs-flow-head h3,
.hs-price h3,
.hs-price-amount span {
    font-family: var(--hs-font-display);
    letter-spacing: -0.03em;
    color: var(--hs-ink);
}

.hs-section h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.7rem, 3.3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.12;
    max-width: 22ch;
}

.hs-center h2,
.hs-section-head h2 {
    margin-left: auto;
    margin-right: auto;
    max-width: 26ch;
}

.hs-sub {
    margin: 0 auto 1.75rem;
    max-width: 38rem;
    color: var(--hs-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hs-section-head {
    margin-bottom: 1.75rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* —— Hero —— */
.hs-hero {
    position: relative;
    overflow: hidden;
    padding: 3.75rem 0 0;
    background:
        radial-gradient(ellipse 60% 48% at 50% 100%, rgba(96, 165, 250, 0.38), transparent 72%),
        radial-gradient(ellipse 42% 36% at 72% 92%, rgba(253, 224, 71, 0.24), transparent 68%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 48%, #eaf1ff 100%);
}

.hs-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hs-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.09);
    color: var(--hs-blue);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    animation: hs-rise 0.7s ease both;
}

.hs-pill:hover { background: rgba(37, 99, 235, 0.15); }

.hs-brand {
    margin: 0 0 0.55rem;
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, #0f172a, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hs-rise 0.75s 0.04s ease both;
}

.hs-hero h1 {
    margin: 0 0 1rem;
    max-width: 16ch;
    font-size: clamp(2.05rem, 5.4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    animation: hs-rise 0.8s 0.08s ease both;
}

.hs-lead {
    margin: 0 0 1.25rem;
    max-width: 40rem;
    color: var(--hs-muted);
    font-size: 1.08rem;
    line-height: 1.6;
    animation: hs-rise 0.8s 0.12s ease both;
}

.hs-trust {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
    animation: hs-rise 0.8s 0.16s ease both;
}

.hs-trust p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.hs-trust strong { color: var(--hs-ink); }

.hs-avatars { display: flex; }

.hs-avatars span {
    width: 2.1rem;
    height: 2.1rem;
    margin-left: -0.5rem;
    border-radius: 999px;
    border: 2px solid #fff;
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 750;
    color: #fff;
    background: hsl(calc(210 + (var(--i) * 26)), 72%, 50%);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.hs-avatars span:first-child { margin-left: 0; }

.hs-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    animation: hs-rise 0.8s 0.2s ease both;
}

.hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-family: var(--hs-font);
    font-size: 0.95rem;
    font-weight: 750;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hs-btn:hover { transform: translateY(-2px); }

.hs-btn--primary {
    background: var(--hs-blue);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.hs-btn--primary:hover {
    background: var(--hs-blue-deep);
    color: #fff;
}

.hs-btn--ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--hs-ink);
    border-color: #cbd5e1;
}

.hs-btn--ghost:hover {
    border-color: #94a3b8;
    color: var(--hs-ink);
    background: #fff;
}

.hs-btn--ghost-dark {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.hs-btn--ghost-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.hs-btn--light {
    background: #fff;
    color: var(--hs-blue-deep);
}

.hs-btn--light:hover {
    background: #f8fafc;
    color: var(--hs-blue-deep);
}

.hs-btn--block {
    width: 100%;
    margin-top: auto;
}

/* Hero product stage */
.hs-hero-stage {
    position: relative;
    width: min(920px, 100%);
    margin-top: 2.75rem;
    padding-bottom: 1.5rem;
    animation: hs-rise 0.9s 0.28s ease both;
}

/* Hero headcount chart */
.hs-hero-chart {
    position: relative;
    width: min(420px, 92%);
    margin-inline: auto;
}

.hs-chart-card {
    position: relative;
    z-index: 1;
    padding: 1rem 1.1rem 0.85rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dbeafe;
    box-shadow: 0 22px 48px rgba(37, 99, 235, 0.16);
    text-align: left;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hs-chart-card header,
.hs-chart-panel header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.hs-chart-kicker {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hs-blue);
}

.hs-chart-card strong,
.hs-chart-panel h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--hs-ink);
}

.hs-chart-card em {
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 750;
    color: #0f766e;
    background: #ecfdf5;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}

.hs-chart-card footer {
    display: flex;
    justify-content: space-between;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--hs-muted);
}

.hs-chart-card footer b { color: var(--hs-ink); }

.hs-svg-line,
.hs-svg {
    display: block;
    width: 100%;
    height: auto;
}

.hs-chart-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.hs-mini-card {
    position: absolute;
    z-index: 2;
    width: min(190px, 42vw);
    padding: 0.95rem 1rem;
    border-radius: 1.1rem;
    background: linear-gradient(160deg, #3b82f6, #1d4ed8);
    color: #fff;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
    text-align: left;
    animation: hs-float 5.8s ease-in-out infinite;
}

.hs-mini-card--left {
    left: -0.5rem;
    top: 18%;
}

.hs-mini-card--right {
    right: -0.35rem;
    bottom: 18%;
    animation-delay: -1.8s;
}

.hs-mini-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hs-mini-card strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.98rem;
}

.hs-mini-card small {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.72rem;
    opacity: 0.85;
}

.hs-mini-bar {
    height: 0.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    overflow: hidden;
}

.hs-mini-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #fff;
}

.hs-gauge {
    position: relative;
    width: 4.2rem;
    height: 4.2rem;
    margin: 0.2rem 0 0.35rem;
}

.hs-gauge svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.hs-gauge em {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-style: normal;
    font-weight: 800;
    font-size: 0.95rem;
}

.hs-hero-orbit {
    position: absolute;
    z-index: 2;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 0.95rem;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--hs-blue);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    animation: hs-float 6.2s ease-in-out infinite;
}

.hs-hero-orbit--tl { top: 14%; left: 8%; color: #0f766e; }
.hs-hero-orbit--tr { top: 12%; right: 9%; color: #dc2626; animation-delay: -1.1s; }
.hs-hero-orbit--ml { top: 42%; left: 5%; color: #2563eb; animation-delay: -2.1s; }
.hs-hero-orbit--mr { top: 40%; right: 6%; color: #ca8a04; animation-delay: -2.9s; }

/* —— Capabilities —— */
.hs-cap-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}

.hs-cap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    min-height: 10.5rem;
    padding: 1.2rem;
    border-radius: 1.2rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hs-cap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.06);
}

.hs-cap strong {
    font-size: 0.98rem;
    font-weight: 750;
}

.hs-cap > span:last-child {
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.4;
}

.hs-cap-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.8rem;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.72);
    color: #334155;
    margin-bottom: 0.35rem;
}

.hs-cap--lilac { background: #efe9ff; }
.hs-cap--rose { background: #ffe4e8; }
.hs-cap--sky { background: #e0f2fe; }
.hs-cap--sand { background: #ffedd5; }
.hs-cap--mint { background: #dcfce7; }

.hs-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.2rem 1.35rem;
    border-radius: 1.2rem;
    background: linear-gradient(105deg, #1d4ed8 0%, #2563eb 45%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.25);
}

.hs-banner p {
    margin: 0 0 0.2rem;
    font-weight: 750;
    font-size: 1.05rem;
}

.hs-banner small {
    opacity: 0.85;
    font-size: 0.82rem;
}

.hs-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hs-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.05rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
}

.hs-chip--solid {
    background: #fff;
    color: var(--hs-blue-deep);
    border-color: #fff;
}

.hs-chip:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hs-chip--solid:hover {
    background: #f8fafc;
    color: var(--hs-blue-deep);
}

/* —— Tabs —— */
.hs-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.hs-tab {
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1.5px solid #c4b5fd;
    color: #6d28d9;
    background: #fff;
    font-family: var(--hs-font);
    font-weight: 750;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hs-tab:hover { transform: translateY(-1px); }

.hs-tab.is-active,
.hs-tab--blue.is-active {
    background: var(--hs-blue);
    border-color: var(--hs-blue);
    color: #fff;
}

.hs-tab--amber { border-color: #fdba74; color: #c2410c; }
.hs-tab--amber.is-active {
    background: #ea580c;
    border-color: #ea580c;
    color: #fff;
}

.hs-tab--lilac.is-active {
    background: #7c3aed;
    border-color: #7c3aed;
    color: #fff;
}

.hs-tab-panels {
    width: min(880px, 100%);
    margin: 0 auto 2.25rem;
}

.hs-tab-panel {
    padding: 1rem;
    border-radius: 1.35rem;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.hs-tab-panel p {
    margin: 0.85rem 0 0.15rem;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
}

.hs-panel-chart {
    padding: 0.75rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #dbeafe;
}

.hs-mini-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0.45rem;
    align-items: center;
    min-height: 140px;
    padding: 0.5rem;
}

.hs-mini-flow > div {
    padding: 0.85rem 0.7rem;
    border-radius: 0.9rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    text-align: center;
}

.hs-mini-flow strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
}

.hs-mini-flow small {
    color: var(--hs-muted);
    font-size: 0.72rem;
}

.hs-mini-flow > i { color: var(--hs-blue); }

/* Analytics section */
.hs-analytics { background: linear-gradient(180deg, #fff, #f8fbff 40%, #fff); }

.hs-chart-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hs-chart-panel {
    padding: 1.15rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid var(--hs-line);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.hs-chart-panel--wide { grid-column: 1 / -1; }

.hs-chart-tag {
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--hs-blue);
    font-size: 0.75rem;
    font-weight: 750;
}

.hs-chart-tag--teal {
    background: #ecfdf5;
    color: #0f766e;
}

.hs-donut-wrap {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    align-items: center;
}

.hs-donut { width: 150px; height: 150px; }

.hs-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.hs-legend li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.9rem;
}

.hs-legend b { color: var(--hs-ink); margin-left: auto; }

.hs-swatch {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
}

.hs-swatch--blue { background: #2563eb; }
.hs-swatch--amber { background: #f59e0b; }
.hs-swatch--slate { background: #94a3b8; }

.hs-funnel {
    display: grid;
    gap: 0.55rem;
    padding-top: 0.35rem;
}

.hs-funnel-step {
    width: var(--w);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.hs-funnel-step span { font-size: 0.9rem; opacity: 0.95; }
.hs-funnel-step strong { font-size: 1.05rem; }

.hs-flow-board {
    margin-top: 0.5rem;
    padding: 1.35rem 1.25rem 1rem;
    border-radius: 1.35rem;
    background: #fff;
    border: 1px solid var(--hs-line);
}

.hs-flow-head {
    margin-bottom: 1rem;
    text-align: center;
}

.hs-flow-head h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.hs-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    align-items: stretch;
}

.hs-flow > li:not(.hs-flow-arrow) {
    flex: 1 1 7.5rem;
    max-width: 9.5rem;
    padding: 0.95rem 0.8rem;
    border-radius: 1rem;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    text-align: center;
}

.hs-flow-num {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    margin-bottom: 0.4rem;
    border-radius: 999px;
    background: var(--hs-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

.hs-flow strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.92rem;
}

.hs-flow small {
    color: var(--hs-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

.hs-flow-arrow {
    display: grid;
    place-items: center;
    color: #93c5fd;
    align-self: center;
}

.hs-flow-lines {
    display: block;
    width: min(900px, 100%);
    margin: 0.85rem auto 0;
    opacity: 0.9;
}

.hs-process {
    padding: 0.5rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #dbeafe;
}

.hs-process-svg {
    display: block;
    width: 100%;
    height: auto;
}

.hs-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
}

.hs-stats > div {
    padding: 0.35rem 1rem;
    border-right: 1px solid var(--hs-line);
}

.hs-stats > div:last-child { border-right: 0; }

.hs-stats strong {
    display: block;
    font-size: clamp(1.9rem, 3.2vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.hs-stats span {
    color: var(--hs-muted);
    font-size: 0.92rem;
    font-weight: 650;
}

/* —— Split —— */
.hs-split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: 2.75rem;
    align-items: center;
}

.hs-split-copy h2 { max-width: none; }

.hs-checklist {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.hs-checklist li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    color: #334155;
    font-weight: 600;
    line-height: 1.45;
}

.hs-checklist i {
    margin-top: 0.2rem;
    color: var(--hs-blue);
    font-size: 0.8rem;
}

.hs-split-visual {
    position: relative;
    margin: 0;
    padding: 1rem;
    border-radius: 1.5rem;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.1);
}

.hs-dash-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.hs-dash-pills span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 750;
}

.hs-dash-pills .is-on {
    background: var(--hs-blue);
    color: #fff;
}

.hs-float-metric {
    position: absolute;
    right: 1.4rem;
    bottom: 1.6rem;
    width: 9.5rem;
    padding: 0.85rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--hs-line);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    text-align: left;
}

.hs-float-metric span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--hs-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hs-float-metric strong {
    display: block;
    margin: 0.15rem 0;
    font-size: 1.65rem;
    letter-spacing: -0.04em;
    color: var(--hs-blue);
}

.hs-float-metric small {
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.3;
}

/* —— Callout —— */
.hs-callout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
    padding: 2.4rem;
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at 90% 20%, rgba(253, 224, 71, 0.28), transparent 40%),
        linear-gradient(135deg, #f8fafc, #eef4ff 58%, #f8fafc);
    border: 1px solid #e2e8f0;
}

.hs-callout h2 { max-width: none; }

.hs-callout > div > p {
    margin: 0 0 1.25rem;
    color: var(--hs-muted);
    line-height: 1.6;
}

.hs-user-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.hs-user-cloud span {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 750;
    color: #fff;
    background: hsl(calc(205 + (var(--n, 1) * 24)), 68%, 50%);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1);
}

.hs-user-cloud span:nth-child(1) { --n: 1; }
.hs-user-cloud span:nth-child(2) { --n: 2; }
.hs-user-cloud span:nth-child(3) { --n: 3; }
.hs-user-cloud span:nth-child(4) { --n: 4; }
.hs-user-cloud span:nth-child(5) { --n: 5; }
.hs-user-cloud span:nth-child(6) { --n: 6; }
.hs-user-cloud span:nth-child(7) { --n: 7; }
.hs-user-cloud span:nth-child(8) { --n: 8; }
.hs-user-cloud span:nth-child(9) { --n: 9; }
.hs-user-cloud span:nth-child(10) { --n: 10; }

.hs-callout-users p {
    margin: 0 0 0.55rem;
    color: var(--hs-ink);
}

.hs-text-link {
    color: var(--hs-blue);
    font-weight: 750;
    text-decoration: none;
}

.hs-text-link:hover { text-decoration: underline; }

/* —— Pricing —— */
.hs-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.hs-price {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.6rem 1.4rem;
    border-radius: 1.4rem;
    border: 1px solid var(--hs-line);
    background: #fff;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hs-price:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.hs-price-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.hs-price h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.hs-price-amount {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.hs-price-amount span {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.hs-price-amount small,
.hs-price-staff {
    color: var(--hs-muted);
    font-weight: 650;
}

.hs-price-staff {
    margin: 0;
    font-size: 0.9rem;
}

.hs-price ul {
    list-style: none;
    margin: 0.4rem 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.hs-price li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hs-price li i {
    margin-top: 0.2rem;
    color: var(--hs-blue);
    font-size: 0.75rem;
}

.hs-price--featured {
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    border-color: transparent;
    color: #fff;
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.3);
}

.hs-price--featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 56px rgba(37, 99, 235, 0.34);
}

.hs-price--featured h3,
.hs-price--featured .hs-price-amount span,
.hs-price--featured .hs-price-amount small,
.hs-price--featured .hs-price-staff,
.hs-price--featured li {
    color: #fff;
}

.hs-price--featured li i { color: #bfdbfe; }

.hs-pricing-more {
    margin-top: 1.6rem;
}

.hs-pricing-more a {
    color: var(--hs-blue);
    font-weight: 750;
    text-decoration: none;
}

.hs-pricing-more a:hover { text-decoration: underline; }

/* —— Stories —— */
.hs-stories {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
    gap: 2rem;
    align-items: start;
}

.hs-stories-intro h2 { max-width: 11ch; }

.hs-stories-intro > p {
    margin: 0 0 1.25rem;
    color: var(--hs-muted);
    line-height: 1.6;
}

.hs-story-nav {
    display: flex;
    gap: 0.55rem;
}

.hs-nav-btn {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 999px;
    border: 0;
    background: var(--hs-ink);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.hs-nav-btn:hover { transform: scale(1.05); }
.hs-nav-btn--accent { background: var(--hs-blue); }

.hs-story-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.hs-story {
    margin: 0;
    padding: 1.4rem;
    border-radius: 1.3rem;
    border: 1px solid var(--hs-line);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hs-story.is-hidden {
    display: none;
}

.hs-stars {
    margin-bottom: 0.65rem;
    color: #f59e0b;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.hs-story p {
    margin: 0 0 1.15rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #1e293b;
}

.hs-story footer {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.hs-story-avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: var(--hs-blue-deep);
    font-weight: 800;
}

.hs-story footer strong {
    display: block;
    font-size: 0.95rem;
}

.hs-story footer span {
    color: var(--hs-muted);
    font-size: 0.85rem;
}

/* —— Final CTA —— */
.hs-final-cta {
    padding: 0 0 4.5rem;
}

.hs-final-inner {
    padding: 2.75rem 2rem;
    border-radius: 1.6rem;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.35), transparent 45%),
        linear-gradient(135deg, #0b1220, #12304a 55%, #1d4ed8);
    color: #fff;
}

.hs-final-cta h2 {
    margin: 0 auto 0.65rem;
    max-width: 18ch;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.hs-final-inner > p {
    margin: 0 0 1.35rem;
    color: #cbd5e1;
}

.hs-final-inner .hs-hero-cta {
    animation: none;
}

@keyframes hs-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes hs-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .hs-pill,
    .hs-brand,
    .hs-hero h1,
    .hs-lead,
    .hs-trust,
    .hs-hero-cta,
    .hs-hero-stage,
    .hs-mini-card,
    .hs-hero-orbit,
    [data-reveal] {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 980px) {
    .hs-cap-grid,
    .hs-pricing,
    .hs-split,
    .hs-callout,
    .hs-stories,
    .hs-story-track {
        grid-template-columns: 1fr;
    }

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

    .hs-price--featured { transform: none; }
    .hs-price--featured:hover { transform: translateY(-3px); }

    .hs-stats { grid-template-columns: 1fr; }
    .hs-stats > div {
        border-right: 0;
        border-bottom: 1px solid var(--hs-line);
        padding: 0.85rem 0;
    }
    .hs-stats > div:last-child { border-bottom: 0; }

    .hs-hero-orbit { display: none; }
    .hs-mini-card { display: none; }
    .hs-hero-chart { width: min(100%, 420px); }
    .hs-banner { flex-direction: column; align-items: flex-start; }
    .hs-float-metric { position: static; width: auto; margin-top: 0.85rem; }
    .hs-chart-grid { grid-template-columns: 1fr; }
    .hs-donut-wrap { grid-template-columns: 1fr; justify-items: center; text-align: left; }
    .hs-mini-flow {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .hs-mini-flow > i { transform: rotate(90deg); justify-self: center; }
    .hs-flow-arrow { transform: rotate(90deg); }
    .hs-flow-lines { display: none; }
}

@media (max-width: 640px) {
    .hs-cap-grid { grid-template-columns: 1fr; }
    .hs-hero { padding-top: 2.75rem; }
    .hs-hero h1 { max-width: none; }
    .hs-callout { padding: 1.5rem; }
    .hs-final-inner { padding: 2rem 1.25rem; border-radius: 1.25rem; }
}
