/*
 * Home page of the public site, on top of the purchased template (main.css): floating product cards, the feature
 * showcase, the counters band, the multilingual globe, the connected-agent diagram and the final call to action.
 * Everything is prefixed st- so the template's own classes stay untouched.
 */
:root {
    --st-ink: #0A1908;
    --st-text: #404046;
    --st-muted: #6B6E73;
    --st-line: #EFF0F0;
    --st-lime: #70D715;
    --st-green: #2A8737;
    --st-green-soft: #F4FBEE;
    --st-night: #04221F;
}

/* Section label above a heading */
.st-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--st-green);
}

.st-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.st-ico-sm { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.st-float-a { animation: st-floaty 6s ease-in-out infinite; }
.st-float-b { animation: st-floaty 7s ease-in-out -2s infinite; }
.st-float-c { animation: st-floaty 8s ease-in-out -4s infinite; }
.st-blink { animation: st-blink 1.4s infinite; }
.st-pulse { animation: st-pulse 2.2s ease-out infinite; }
@keyframes st-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes st-blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(112, 215, 21, .55); } 100% { box-shadow: 0 0 0 22px rgba(112, 215, 21, 0); } }
@media (prefers-reduced-motion: reduce) {
    .st-float-a, .st-float-b, .st-float-c, .st-blink, .st-pulse { animation: none; }
}

/* ---------- Masthead ---------- */
.st-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: 200px;
    background: rgba(112, 215, 21, .12);
    border: 1px solid rgba(112, 215, 21, .35);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}
.st-badge span { padding: 2px 10px; border-radius: 200px; background: var(--st-lime); color: #000; font-size: 12px; font-weight: 600; }
.st-hero-title span { color: var(--st-lime); }

.st-demo-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 16px; font-weight: 500; text-decoration: none; }
.st-demo-link:hover { color: var(--st-lime); }
.st-demo-link > span { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: flex; align-items: center; justify-content: center; }

.st-channels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 32px; color: rgba(255, 255, 255, .6); font-size: 14px; }
.st-channel { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 200px; background: rgba(255, 255, 255, .07); color: #fff; line-height: 1.4; }
.st-channel i { width: 8px; height: 8px; border-radius: 50%; }

.st-shot { position: relative; }
.st-shot .masthead__video { top: 50%; left: 50%; right: auto; transform: translate(-50%, -50%); }
.st-shot > img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }

.st-card {
    position: absolute;
    z-index: 3;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    line-height: 1.35;
    color: var(--st-muted);
    font-size: 12px;
}
.st-card strong { display: block; font-size: 13px; font-weight: 600; color: var(--st-ink); }
.st-card--api { left: -28px; top: -24px; width: 260px; display: flex; gap: 12px; align-items: flex-start; }
.st-card--ticket { right: -24px; top: 42%; width: 230px; }
.st-card--typing { left: 12%; bottom: -26px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 200px; background: var(--st-ink); border: 1px solid rgba(112, 215, 21, .4); color: #fff; font-size: 14px; }
.st-card__icon { width: 36px; height: 36px; border-radius: 10px; background: #EAF7DD; color: var(--st-green); display: flex; align-items: center; justify-content: center; flex: none; }
.st-card__code { display: inline-block; margin-top: 6px; padding: 1px 8px; border-radius: 6px; background: #F1F3F2; font-size: 11px; font-family: ui-monospace, Menlo, monospace; color: var(--st-green); }
.st-card__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.st-card__label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.st-card__pill { padding: 1px 8px; border-radius: 200px; background: #FFF1DC; color: #9A5B00; font-size: 11px; font-weight: 600; }
.st-dots { display: inline-flex; gap: 3px; }
.st-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--st-lime); }
.st-dots i:nth-child(2) { animation-delay: .2s; }
.st-dots i:nth-child(3) { animation-delay: .4s; }

.st-avatar { width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.st-avatar.-sm { width: 22px; height: 22px; font-size: 11px; }
.st-avatar.-lg { width: 44px; height: 44px; font-size: 16px; }

@media (max-width: 991px) {
    .st-card--api { left: 0; }
    .st-card--ticket { right: 0; }
}
@media (max-width: 575px) {
    .st-card--ticket { display: none; }
    .st-card--api { top: -40px; width: 230px; }
}

/* ---------- Clients ---------- */
.st-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 32px 48px; margin-top: 40px; }
.st-logos img { height: 56px; width: auto; max-width: 150px; object-fit: contain; opacity: .55; transition: all .3s; }
.st-logos img.-square { height: 96px; margin: -20px 0; }
.st-logos img:hover { filter: none; opacity: 1; }

/* ---------- Feature showcase ---------- */
.st-tabs { display: flex; flex-direction: column; gap: 10px; }
.st-tab {
    display: flex;
    gap: 18px;
    align-items: center;
    width: 100%;
    padding: 16px 22px;
    border-radius: 16px;
    border: 1px solid transparent;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}
.st-tab img { width: 36px; height: 36px; flex: none; }
.st-tab__title { font-size: 17px; font-weight: 500; color: var(--st-ink); }
.st-tab__text { display: none; margin-top: 4px; font-size: 15px; line-height: 1.55; color: var(--st-text); }
.st-tab:hover { background: #FAFBFA; }
.st-tab.is-active { align-items: flex-start; padding: 20px 22px; border-color: #DCEFCB; background: var(--st-green-soft); box-shadow: 0 12px 30px rgba(42, 135, 55, .12); }
.st-tab.is-active img { width: 44px; height: 44px; }
.st-tab.is-active .st-tab__title { font-size: 18px; font-weight: 600; }
.st-tab.is-active .st-tab__text { display: block; }

.st-screen {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    height: 100%;
    padding: 36px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(160deg, #0A2E25 0%, var(--st-night) 100%);
    line-height: 1.4;
}
.st-screen__deco { position: absolute; top: 24px; right: 34px; color: var(--st-lime); font-size: 22px; }
.st-screen__deco.-ring { top: auto; right: auto; bottom: 30px; left: 30px; width: 10px; height: 10px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; }
.st-panel { width: 100%; }

/* inbox panel */
.st-inbox { max-width: 720px; min-height: 420px; display: flex; border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.st-inbox__list { flex: 0 0 230px; border-right: 1px solid #ECEEED; padding: 14px; display: flex; flex-direction: column; gap: 6px; line-height: 1.35; }
.st-inbox__search { padding: 8px 12px; border-radius: 10px; background: #F4F5F4; font-size: 13px; color: #8A8D91; margin-bottom: 6px; }
.st-inbox__item { padding: 10px 12px; border-radius: 10px; display: flex; gap: 10px; }
.st-inbox__item.is-active { background: var(--st-green-soft); }
.st-inbox__name { display: block; font-size: 13px; font-weight: 600; color: var(--st-ink); }
.st-inbox__last { display: block; font-size: 12px; color: var(--st-muted); }
.st-tag { display: inline-block; margin-top: 4px; padding: 0 7px; border-radius: 6px; font-size: 10px; font-weight: 600; }
.st-tag.-wa { background: #E5F8EC; color: #128C4B; }
.st-tag.-tg { background: #E4F4FD; color: #0B6FA4; }
.st-tag.-mail { background: #FDF3DF; color: #8A5A00; }
.st-tag.-web { background: #F1F3F2; color: var(--st-text); }
.st-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #EFEAE2; line-height: 1.45; }
.st-thread__head { padding: 12px 18px; background: #fff; border-bottom: 1px solid #ECEEED; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; color: var(--st-ink); }
.st-thread__head span { padding: 2px 10px; border-radius: 200px; background: var(--st-green-soft); color: var(--st-green); font-size: 12px; font-weight: 500; }
.st-thread__body { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--st-ink); }
.st-thread__compose { margin: 0 14px 14px; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: 13px; color: #8A8D91; display: flex; justify-content: space-between; }
.st-thread__compose span { color: var(--st-green); font-weight: 600; }
.st-bubble { max-width: 80%; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: #fff; align-self: flex-start; }
.st-bubble.-out { align-self: flex-end; background: #DCF8C6; border-radius: 12px 12px 4px 12px; }
.st-bubble.-lg { padding: 12px 16px; font-size: 15px; color: var(--st-ink); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.st-system { align-self: center; padding: 3px 12px; border-radius: 200px; background: rgba(255, 255, 255, .7); font-size: 11px; color: var(--st-muted); }

/* automation panel */
.st-steps { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.st-run { border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; color: #fff; font-size: 15px; }
.st-run__step { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.st-run__step code { padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .35); color: #B9F27F; font-size: 13px; }
.st-check { width: 28px; height: 28px; border-radius: 50%; background: var(--st-lime); color: #000; display: flex; align-items: center; justify-content: center; flex: none; }
.st-check.-pending { background: none; border: 2px solid var(--st-lime); }
.st-check.-pending i { width: 8px; height: 8px; border-radius: 50%; background: var(--st-lime); }
.st-allowed { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.st-allowed span { padding: 2px 10px; border-radius: 200px; border: 1px solid rgba(255, 255, 255, .2); }
.st-allowed span.-denied { border-style: dashed; text-decoration: line-through; }

/* notifications panel */
.st-toasts { max-width: 460px; display: flex; flex-direction: column; gap: 14px; }
.st-toast { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); display: flex; gap: 14px; font-size: 13px; color: var(--st-muted); }
.st-toast:nth-child(2) { margin-left: 34px; }
.st-toast strong { display: block; font-size: 15px; font-weight: 600; color: var(--st-ink); }
.st-toast__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.st-toasts__note { align-self: center; color: rgba(255, 255, 255, .75); font-size: 13px; text-align: center; }

/* reports panel */
.st-report { max-width: 680px; display: flex; flex-direction: column; gap: 16px; line-height: 1.3; }
.st-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.st-kpi { padding: 16px; border-radius: 14px; background: #fff; font-size: 12px; color: var(--st-muted); }
.st-kpi strong { display: block; font-size: 28px; font-weight: 700; color: var(--st-ink); }
.st-kpi em { font-style: normal; color: var(--st-green); }
.st-chart { padding: 20px; border-radius: 14px; background: #fff; font-size: 13px; color: var(--st-muted); }
.st-chart__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.st-chart__head strong { font-weight: 600; color: var(--st-ink); }
.st-legend { display: flex; gap: 14px; }
.st-legend span { display: flex; align-items: center; gap: 6px; }
.st-legend i { width: 10px; height: 10px; border-radius: 3px; }
.st-bars { height: 170px; display: flex; align-items: flex-end; gap: 12px; border-bottom: 1px solid #ECEEED; }
.st-bars > div { flex: 1; display: flex; flex-direction: column; }
.st-bars span:first-child { background: #B9F27F; border-radius: 4px 4px 0 0; }
.st-bars span:last-child { background: var(--st-green); }
.st-days { display: flex; gap: 12px; padding-top: 8px; font-size: 11px; color: #8A8D91; }
.st-days span { flex: 1; text-align: center; }

/* API panel */
.st-code { max-width: 640px; border-radius: 16px; background: #061512; border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.st-code__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: rgba(255, 255, 255, .5); }
.st-code__bar i { width: 10px; height: 10px; border-radius: 50%; }
.st-code__bar em { margin-left: 12px; font-style: normal; }
.st-code pre { margin: 0; padding: 22px 24px; font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; line-height: 1.75; color: #E6EDE8; white-space: pre-wrap; background: none; }
.st-code .-k { color: var(--st-lime); }
.st-code .-s { color: #F5B83D; }
.st-code .-c { color: rgba(255, 255, 255, .45); }
.st-code .-p { color: #8FD3FF; }
.st-code .-v { color: #B9F27F; }
.st-code__foot { padding: 14px 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: rgba(255, 255, 255, .7); }
.st-code__foot a { color: var(--st-lime); }

/* support panel */
.st-handoff { max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.st-handoff__card { padding: 18px 20px; border-radius: 16px; background: #fff; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); font-size: 13px; color: var(--st-muted); line-height: 1.4; }
.st-handoff__card strong { display: block; font-size: 15px; font-weight: 600; color: var(--st-ink); }
.st-onboarding { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.st-onboarding > span { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--st-lime); }
.st-onboarding div { display: flex; gap: 10px; align-items: center; }
.st-onboarding svg { color: var(--st-lime); }

@media (max-width: 767px) {
    .st-screen { padding: 20px; min-height: 0; }
    .st-inbox__list { display: none; }
    .st-kpis { grid-template-columns: 1fr; }
    .st-toast:nth-child(2) { margin-left: 0; }
}

/* ---------- Counters band ---------- */
.st-stats {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 48px;
    border-radius: 24px;
    background: var(--st-ink);
}
.st-stats::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(112, 215, 21, .25); }
.st-stat { display: flex; flex-direction: column; gap: 6px; padding-top: 26px; color: rgba(255, 255, 255, .75); font-size: 17px; }
.st-stat strong { font-size: 46px; line-height: 1.1; font-weight: 700; color: #fff; }
.st-stat.-live { padding-top: 0; color: #fff; }
.st-stat.-live strong { color: var(--st-lime); }
.st-live { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.st-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--st-lime); }

/* ---------- Globe ---------- */
.st-globe { position: relative; height: 520px; }
.st-globe > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.st-hello { position: absolute; padding: 8px 16px; border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 14px 36px rgba(10, 25, 8, .14); font-size: 15px; line-height: 1.4; color: var(--st-ink); white-space: nowrap; }
.st-hello.-out { background: #DCF8C6; border-radius: 14px 14px 4px 14px; }
.st-hello.-tag { padding: 6px 12px; border-radius: 200px; background: var(--st-ink); color: var(--st-lime); font-size: 13px; }
.st-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.st-fact { padding: 18px; border-radius: 16px; border: 1px solid var(--st-line); background: #fff; font-size: 14px; line-height: 1.5; }
.st-fact strong { display: block; font-size: 18px; font-weight: 600; color: var(--st-ink); }
@media (max-width: 575px) {
    .st-globe { height: 360px; }
    .st-hello { font-size: 13px; }
}

/* ---------- Check list ---------- */
.st-checklist { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.st-checklist div { display: flex; gap: 14px; }
.st-checklist .st-check { width: 26px; height: 26px; margin-top: 2px; }
.st-checklist strong { color: var(--st-ink); font-weight: 600; }

/* ---------- Connected agent diagram ---------- */
.st-orbit { position: relative; height: 560px; border-radius: 24px; background: var(--st-green-soft); overflow: hidden; }
.st-orbit__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); }
.st-orbit__ring.-outer { width: 440px; height: 440px; border: 1px dashed #B9DFA0; }
.st-orbit__ring.-inner { width: 300px; height: 300px; border: 1px dashed #CFE9BD; }
.st-phone { position: absolute; left: 50%; top: 50%; width: 220px; height: 400px; transform: translate(-50%, -50%); border-radius: 34px; background: var(--st-ink); padding: 10px; box-shadow: 0 30px 60px rgba(10, 25, 8, .3); }
.st-phone__screen { height: 100%; border-radius: 26px; background: #EFEAE2; overflow: hidden; display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; color: var(--st-ink); }
.st-phone__head { padding: 12px 14px; background: #075E54; color: #fff; font-weight: 600; }
.st-phone__body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.st-phone .st-bubble { max-width: 85%; padding: 6px 10px; border-radius: 10px 10px 10px 3px; }
.st-phone .st-bubble.-out { border-radius: 10px 10px 3px 10px; }
.st-phone .st-system { font-size: 10px; color: var(--st-green); padding: 2px 8px; }
.st-tool { position: absolute; padding: 10px 16px; border-radius: 14px; background: #fff; box-shadow: 0 14px 36px rgba(10, 25, 8, .12); display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--st-ink); }
.st-tool i { width: 28px; height: 28px; border-radius: 8px; background: var(--st-ink); color: var(--st-lime); display: flex; align-items: center; justify-content: center; }
.st-tool.-api { padding: 6px 12px; border-radius: 200px; background: var(--st-lime); color: #000; font-size: 13px; box-shadow: none; }
@media (max-width: 575px) {
    .st-orbit { height: 480px; }
    .st-tool { font-size: 12px; padding: 8px 10px; }
}

/* ---------- Getting started ---------- */
.st-start { padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--st-line); height: 100%; display: flex; flex-direction: column; gap: 12px; }
.st-start strong { font-size: 48px; line-height: 1; font-weight: 700; color: var(--st-lime); }
.st-start h3 { font-size: 20px; font-weight: 600; color: var(--st-ink); }
.st-start.-dark { background: var(--st-ink); border-color: var(--st-ink); color: rgba(255, 255, 255, .75); }
.st-start.-dark h3 { color: #fff; }

/* ---------- Final call to action ---------- */
.st-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 70px 48px; border-radius: 24px; background: #EEF7E6; }
.st-cta__art { flex: 0 1 300px; max-width: 300px; width: 100%; }
.st-cta__body { flex: 1 1 420px; min-width: 0; position: relative; z-index: 1; }
.st-cta__side { height: 280px; width: auto; }
.st-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 991px) {
    .st-cta { padding: 48px 24px; }
    .st-cta__side { display: none; }
}

[x-cloak] { display: none !important; }
