/*
 * ASIC firmware landing (asicfirmware_v2.html.twig).
 * Loaded only on that page. Site root font-size is 13px, so type sizes are in px.
 */

html { scroll-behavior: smooth; }

.lp {
    --lp-bg: #f2f3f8;
    --lp-surface: #ffffff;
    --lp-surface-2: #f7f8fa;
    --lp-line: #ebedf2;
    --lp-h: #282a3c;
    --lp-t: #646c9a;
    --lp-m: #a7abc3;
    --lp-accent: #5d78ff;
    --lp-hl: #ffb822;
    --lp-good: #0abb87;
    --lp-bad: #f01824;
    --lp-hero: #00295c;
    --lp-hero-img: .55;
    --lp-cta: #5d78ff;
    --lp-shadow: 0 0 13px 0 rgba(82, 63, 105, .05);
    background: var(--lp-bg);
    color: var(--lp-t);
    font-size: 15px;
    width: 100%;
}
body.dark .lp {
    --lp-bg: #111113;
    --lp-surface: #1b1b1e;
    --lp-surface-2: #232327;
    --lp-line: #2c2c31;
    --lp-h: #f1f2f6;
    --lp-t: #b5b9c9;
    --lp-m: #7c8199;
    --lp-hero: #0b0b0c;
    --lp-hero-img: .22;
    --lp-shadow: none;
}
.lp [hidden] { display: none !important; }
.lp [id] { scroll-margin-top: 60px; }

.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* buttons: Metronic .btn .btn-brand + landing accents */
.lp-cta:hover { box-shadow: 0 8px 24px -8px var(--lp-cta); }
.btn.lp-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn.lp-ghost:hover { background: #fff; border-color: #fff; color: #00295c; }

/* type */
.lp-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-accent); }
.lp-h1 { font-size: 48px; line-height: 1.1; font-weight: 700; color: #fff; margin: 18px 0; letter-spacing: -.01em; text-wrap: balance; }
.lp-h1 em { font-style: normal; color: var(--lp-hl); }
.lp-lead { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .78); margin: 0 0 28px; max-width: 560px; text-wrap: pretty; }
.lp-h2 { font-size: 34px; line-height: 1.2; font-weight: 600; color: var(--lp-h); margin: 10px 0 12px; text-wrap: balance; }
.lp-sub { font-size: 18px; line-height: 1.6; color: var(--lp-t); max-width: 640px; margin: 0 auto; text-wrap: pretty; }
html[lang="zh"] .lp-h1 { letter-spacing: 0; line-height: 1.2; }

/* header CTA (appears after scroll, desktop only), sits right before the topbar */
.lp-hdr { display: flex; align-items: center; margin-left: auto; padding-right: 6px; }
#kt_header .lp-hdr + .kt-header__topbar { margin-left: 0; } /* keep the CTA flush with the topbar */
.lp-hdr__cta { white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; }
.lp-hdr__cta.is-shown { opacity: 1; visibility: visible; transform: none; }
.lp-hdr__cta--icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; padding: 0; }
.lp-hdr__cta--icon i { padding-right: 0; }
.lp-hdr__cta--icon .lp-hdr__label { display: none; }
@media (max-width: 1024px) { .lp-hdr { display: none; } }

/* hero */
.lp-hero { position: relative; background: var(--lp-hero); overflow: hidden; padding: 72px 0 88px; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: url(../../media/demos/demo9/bg-400.jpg) center / cover; opacity: var(--lp-hero-img); }
.lp-hero > * { position: relative; z-index: 1; }
.lp-hero__split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-hero__card { background: var(--lp-surface); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); padding: 26px; }
.lp-hero__ctas { display: grid; gap: 12px; }
.lp-hero__download { width: 100%; display: inline-flex; align-items: center; justify-content: center; }
.lp-hero__secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-hero__secondary .btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 2rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 500; font-size: 15px; }
.lp-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-good); box-shadow: 0 0 0 4px rgba(10, 187, 135, .25); }
.lp-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; color: rgba(255, 255, 255, .8); font-weight: 500; }
.lp-trust span { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust i { color: var(--lp-good); font-size: 18px; }
.lp-offer { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding: 10px 18px 10px 10px; border-radius: 2rem; background: rgba(255, 184, 34, .14); border: 1px dashed rgba(255, 184, 34, .6); color: #fff; font-size: 16px; }
.lp-offer img { width: 28px; height: 28px; }
.lp-offer b { color: var(--lp-hl); font-size: 18px; }

/* stats / proof strip */
.lp-stat__big { font-size: 32px; font-weight: 700; color: var(--lp-h); line-height: 1.1; }
.lp-stat__lbl { margin-top: 6px; color: var(--lp-m); font-size: 15px; }
.lp-proof { background: var(--lp-surface); border-bottom: 1px solid var(--lp-line); }
.lp-proof__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-proof .lp-stat { padding: 34px 30px; }
.lp-proof .lp-stat + .lp-stat { border-left: 1px solid var(--lp-line); }
.lp-proof .lp-stat:first-child .lp-stat__big { color: var(--lp-cta); }

/* sections */
.lp-sec { padding: 96px 0; }
.lp-sec--alt { background: var(--lp-surface); }
.lp-sec__head { text-align: center; margin-bottom: 48px; }
.lp-card { background: var(--lp-surface); border-radius: 4px; box-shadow: var(--lp-shadow); }
.lp-sec--alt .lp-card { background: var(--lp-surface-2); box-shadow: none; }
body.dark .lp-card { border: 1px solid var(--lp-line); }
.lp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-benefit { padding: 28px 22px; }
.lp-step h3, .lp-tune__stage h3, .lp-feat__body h3 { font-size: 20px; font-weight: 600; color: var(--lp-h); margin: 18px 0 8px; }
.lp-benefit p, .lp-step p, .lp-tune__stage p { margin: 0; line-height: 1.6; }
.lp-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.lp-card__head h3 { margin: 0; color: var(--lp-h); font-size: 20px; line-height: 1.25; font-weight: 600; }
.lp-benefit .lp-card__head { gap: 10px; }
.lp-benefit .lp-card__head h3 { font-size: 17px; letter-spacing: -.015em; }
.lp-icon { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: rgba(93, 120, 255, .1); color: var(--lp-accent); }
.lp-benefit .lp-icon { width: 46px; height: 46px; flex-basis: 46px; font-size: 24px; }
.lp-icon--good { background: rgba(10, 187, 135, .1); color: var(--lp-good); }
.lp-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.lp-ticks li > span::first-letter { text-transform: uppercase; }
.lp-ticks i { color: var(--lp-good); font-size: 18px; margin-top: 2px; }
.lp-ticks--2col { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.lp-ticks--row { grid-template-columns: repeat(4, 1fr); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--lp-line); }

/* live firmware demo */
.lp-demo-sec { padding-top: 0; }
.lp-demo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); overflow: hidden; }
.lp-demo__copy { padding: 42px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.lp-demo__copy .lp-h2 { margin-top: 8px; }
.lp-demo__copy p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.65; }
.lp-demo__actions { margin-top: 24px; }
.lp-demo__screen { min-height: 360px; background: var(--lp-surface-2); border-left: 1px solid var(--lp-line); display: flex; flex-direction: column; }
.lp-demo__bar { height: 42px; flex: 0 0 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--lp-line); background: var(--lp-surface); color: var(--lp-m); font-size: 12px; }
.lp-demo__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--lp-line); }
.lp-demo__bar b { margin-left: 8px; font-weight: 500; }
.lp-demo__placeholder { flex: 1; min-height: 318px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 32px; text-align: center; color: var(--lp-m); }
.lp-demo__placeholder i { font-size: 44px; color: var(--lp-accent); }
.lp-demo__placeholder strong { margin-top: 5px; color: var(--lp-h); font-size: 17px; font-weight: 600; }
.lp-demo__placeholder span { font-size: 14px; }
.lp-demo__screen > img { display: block; width: 100%; height: auto; object-fit: contain; }

/* autotuning timeline */
.lp-tune__track { height: 6px; border-radius: 4px; background: var(--lp-line); margin: 0 0 -3px; position: relative; }
.lp-tune__fill { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, #ffb822 0 30%, #0abb87 30% 70%, #5d78ff 70%); }
.lp-tune__stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lp-tune__stage { padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.lp-tune__stage h3 { margin: 4px 0 0; }
.lp-tune__time { font-size: 27px; font-weight: 700; color: var(--lp-h); }

/* built by GMiner */
.lp-built { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-built img { width: 260px; height: auto; border-radius: 6px; background: #fff; }
.lp-built__p { text-align: left; margin: 0; }
.lp-built .lp-trust { color: var(--lp-t); }
.lp-built__int { margin-top: 20px; }

/* features: vertical tabs */
.lp-feat { display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; }
.lp-feat__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--lp-line); padding: 12px 0; }
.lp-feat__tab { display: flex; align-items: center; gap: 12px; padding: 15px 24px; border: 0; border-left: 3px solid transparent; background: none; cursor: pointer; font: inherit; font-weight: 500; font-size: 15px; color: var(--lp-t); text-align: left; transition: all .2s ease; }
.lp-feat__tab i { font-size: 19px; color: var(--lp-m); transition: color .2s ease; }
.lp-feat__tab:hover { color: var(--lp-accent); }
.lp-feat__tab:focus { outline: none; }
.lp-feat__tab:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: -2px; }
.lp-feat__tab--on { color: var(--lp-accent); border-left-color: var(--lp-accent); background: rgba(93, 120, 255, .06); }
.lp-feat__tab--on i { color: var(--lp-accent); }
.lp-feat__body { padding: 32px 40px; }
.lp-feat__body h3 { margin: 0 0 24px; }

/* install steps */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-step { position: relative; padding: 28px 24px; background: var(--lp-surface-2); border-radius: 4px; }
body.dark .lp-step { border: 1px solid var(--lp-line); }
.lp-step__n { position: absolute; top: 22px; right: 22px; font-size: 38px; font-weight: 700; color: var(--lp-line); line-height: 1; }
.lp-step__head { display: flex; align-items: center; gap: 12px; padding-right: 42px; margin-bottom: 12px; }
.lp-step__head h3 { margin: 0; font-size: 18px; line-height: 1.2; white-space: nowrap; }
.lp-step__i { flex: 0 0 auto; font-size: 28px; color: var(--lp-accent); }

/* supported models */
.lp-models { padding: 28px; }
.lp-models__search { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.lp-models__input { flex: 1; min-width: 0; }
.lp-models__verdict { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--lp-good); font-size: 17px; }
.lp-models__verdict i { font-size: 24px; }
.lp-models__verdict--no { color: var(--lp-bad); }
.lp-models__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; max-height: 420px; overflow: auto; padding-right: 4px; }
.lp-model { padding: 12px 14px; border-radius: 4px; background: var(--lp-surface-2); display: flex; flex-direction: column; gap: 3px; }
.lp-sec--alt .lp-model { background: var(--lp-surface); }
.lp-model b { color: var(--lp-h); font-weight: 600; }
.lp-model span { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; font-size: 13px; color: var(--lp-m); word-break: break-word; }
.lp-models__foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--lp-line); font-weight: 500; }

/* changelog */
.lp-log { max-width: 820px; margin: 0 auto; }
.lp-log__item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--lp-line); }
.lp-log__v { font-size: 21px; font-weight: 700; color: var(--lp-h); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lp-log__item ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; line-height: 1.55; }
.lp-log__more { margin: 18px auto 0; display: flex; align-items: center; }

/* FAQ: Metronic accordion (accordion-light), recoloured to the landing tokens */
.lp-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.lp-safety { padding: 28px; height: 100%; }
.lp-safety .lp-card__head { margin-bottom: 20px; }
.lp-faq__acc { padding: 10px 25px; height: 100%; }
#lp-faq .card { background: transparent; border-top-color: var(--lp-line); }
#lp-faq .card:first-child { border-top: 0; }
#lp-faq .card-header .card-title { width: 100%; background: none; border: 0; text-align: left; font-family: inherit; font-size: 16px; font-weight: 500; color: var(--lp-accent); padding: 16px 28px 16px 0; cursor: pointer; }
#lp-faq .card-header .card-title.collapsed { color: var(--lp-h); }
#lp-faq .card-header .card-title:after { color: inherit; }
#lp-faq .card-header .card-title:focus { outline: none; }
#lp-faq .card-header .card-title:focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 2px; }
#lp-faq .card-body { color: var(--lp-t); font-size: 15px; line-height: 1.6; }

/* estimator */
.lp-est__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.lp-est__note { font-size: 14px; color: var(--lp-m); }
.lp-est__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; color: var(--lp-t); }
.lp-field--wide { grid-column: span 2; }
.lp-slider { display: block; margin: 20px 0 0; }
.lp-slider__row { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; color: var(--lp-t); }
.lp-slider__row b { color: var(--lp-h); font-size: 18px; white-space: nowrap; }
.lp-slider input { display: block; width: 100%; accent-color: var(--lp-cta); margin: 10px 0 4px; }
.lp-slider__scale { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 400; color: var(--lp-m); }
.lp-est__out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--lp-line); }
.lp-est__num { font-size: 26px; font-weight: 700; color: var(--lp-h); line-height: 1.1; white-space: nowrap; }
.lp-est__num small { font-size: 14px; font-weight: 500; color: var(--lp-m); margin-left: 2px; }
.lp-est__num--good { color: var(--lp-good); }
.lp-est__lbl { font-size: 14px; color: var(--lp-m); margin-top: 4px; line-height: 1.35; }

/* final CTA */
.lp-final { background: var(--lp-surface); border-top: 1px solid var(--lp-line); padding: 80px 0; }
.lp-final__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lp-final__h { margin-top: 0; }
.lp-final__p { font-size: 18px; line-height: 1.6; margin: 0; }
.lp-final .lp-offer { color: var(--lp-h); }
.lp-final__box { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px; border-radius: 6px; background: var(--lp-hero); position: relative; overflow: hidden; }
.lp-final__box::before { content: ""; position: absolute; inset: 0; background: url(../../media/demos/demo9/bg-300.jpg) center / cover; opacity: var(--lp-hero-img); }
.lp-final__box > * { position: relative; }
.lp-final__box .btn { width: 100%; }
.lp-final__meta { color: rgba(255, 255, 255, .7); font-size: 14px; }
.lp-final__tg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 6px; }
.lp-final__tg a { color: #fff; font-weight: 500; font-size: 14px; opacity: .85; }
.lp-final__tg a:hover { color: #fff; opacity: 1; }

/* sticky mobile CTA */
.lp-sticky { display: none; }

@media (min-width: 981px) and (max-width: 1100px) {
    .lp-benefit { padding-left: 18px; padding-right: 18px; }
    .lp-benefit .lp-card__head { gap: 9px; }
    .lp-benefit .lp-card__head h3 { font-size: 16px; letter-spacing: -.02em; }
    .lp-benefit .lp-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 22px; }
}

@media (max-width: 980px) {
    .lp-hero__split, .lp-built, .lp-feat, .lp-faq, .lp-final__in, .lp-demo { grid-template-columns: 1fr; }
    .lp-demo__screen { border-left: 0; border-top: 1px solid var(--lp-line); }
    .lp-grid3, .lp-tune__stages { grid-template-columns: 1fr; }
    .lp-steps, .lp-proof__in, .lp-ticks--row, .lp-models__list { grid-template-columns: 1fr 1fr; }
    .lp-h1 { font-size: 37px; }
    .lp-feat__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-right: 0; border-bottom: 1px solid var(--lp-line); padding: 0; }
    .lp-feat__tabs::-webkit-scrollbar { display: none; }
    .lp-feat__tab { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
    .lp-feat__tab--on { border-bottom-color: var(--lp-accent); }
    .lp-proof .lp-stat:nth-child(3) { border-left: 0; }
    .lp-proof .lp-stat:nth-child(n+3) { border-top: 1px solid var(--lp-line); }
}

@media (max-width: 640px) {
    .lp-wrap { padding: 0 16px; }
    .lp .form-control { font-size: 16px; } /* no iOS zoom on focus */

    .lp-hero { padding: 28px 0 32px; }
    .lp-hero__split { display: flex; flex-direction: column; gap: 20px; }
    .lp-hero__left { display: contents; }
    .lp-hero__copy { order: 1; }
    .lp-hero__card { order: 2; padding: 18px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); }
    .lp-hero .lp-offer { order: 3; margin: 0; align-self: flex-start; }
    .lp-badge { font-size: 13px; padding: 5px 11px; }
    .lp-h1 { font-size: 30px; margin: 14px 0 12px; }
    .lp-lead { font-size: 16px; margin-bottom: 20px; }
    .lp-hero__ctas .btn { width: 100%; }
    .lp-trust { gap: 6px 14px; margin-top: 16px; font-size: 14px; }

    .lp-est__head { margin-bottom: 12px; }
    .lp-slider { margin-top: 14px; }
    .lp-est__out { gap: 8px; margin-top: 16px; padding-top: 14px; }
    .lp-est__num { font-size: 19px; }
    .lp-est__num small { font-size: 11px; }
    .lp-est__lbl { font-size: 12px; }

    .lp-proof .lp-stat { padding: 20px 14px; }
    .lp-stat__big { font-size: 23px; }
    .lp-stat__lbl { font-size: 13px; }

    .lp-sec { padding: 56px 0; }
    .lp-demo-sec { padding-top: 0; }
    .lp-demo__copy { padding: 28px 22px; }
    .lp-demo__screen, .lp-demo__screen > img { min-height: 240px; }
    .lp-demo__placeholder { min-height: 198px; padding: 22px; }
    .lp-sec__head { margin-bottom: 28px; }
    .lp-h2 { font-size: 25px; }
    .lp-sub { font-size: 16px; }
    .lp-steps, .lp-models__list, .lp-ticks--2col, .lp-ticks--row { grid-template-columns: 1fr; }
    .lp-feat__body { padding: 22px 18px; }
    .lp-models { padding: 16px; }
    .lp-models__list { max-height: 320px; }
    .lp-built { gap: 24px; }
    .lp-built img { width: 140px; }
    .lp-log__item { grid-template-columns: 1fr; gap: 10px; }
    .lp-faq__acc { padding: 4px 16px; }
    .lp-hero__secondary { grid-template-columns: 1fr; }
    .lp-final { padding: 48px 0 96px; }
    .lp-final__box { padding: 24px; }

    .lp-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--lp-surface); box-shadow: 0 -6px 24px rgba(0, 0, 0, .12); transform: translateY(110%); transition: transform .3s ease; }
    .lp-sticky.is-shown { transform: none; }
    .lp-sticky .btn { width: 100%; }
    #kt_footer { padding-bottom: 84px; }
    body.lp-sticky-on .kt-scrolltop { bottom: 84px; }
}
