/* ==========================================================================
   UP TECH — Page sections
   ========================================================================== */

/* ================================================================ HERO === */
.hero {
    position: relative;
    isolation: isolate;
    padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 0;
    background: var(--c-ink-950);
    color: var(--c-on-dark);
    overflow: hidden;
}
.hero__copy { position: relative; z-index: 2; }

.hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 7px 16px 7px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    font-size: .85rem;
    font-weight: 500;
    color: #D6DCF5;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero__pill-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-mint);
    box-shadow: 0 0 0 4px rgba(34, 211, 166, .18);
}

.hero__title {
    font-size: clamp(2.5rem, 1.3rem + 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.035em;
    margin-bottom: 24px;
    color: #fff;
    text-wrap: balance;
}
.hero__lead {
    max-width: 560px;
    margin-bottom: 34px;
    font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem);
    color: var(--c-on-dark-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: #C8CEE6; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--c-mint); }

/* ------------------------------------------------------ Hero visual ---- */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / .86;
    max-width: 640px;
    margin-left: auto;
    perspective: 1400px;
}
.hero-visual > * { will-change: transform; }

.mock-browser {
    position: absolute;
    top: 6%;
    left: 0;
    width: 92%;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: #10162B;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 80px -40px rgba(67, 97, 255, .6);
    overflow: hidden;
    animation: float-a 9s ease-in-out infinite;
}
.mock-browser__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    background: #161D36;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.mock-browser__url {
    flex: 1;
    max-width: 260px;
    margin: 0 auto;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: var(--c-on-dark-muted);
    font-size: .72rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-browser img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.mock-phone {
    position: absolute;
    right: 0;
    bottom: 2%;
    width: 30%;
    padding: 7px;
    border-radius: 30px;
    background: linear-gradient(160deg, #2A3354, #0E1427);
    box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .12);
    animation: float-b 7s ease-in-out infinite;
}
.mock-phone img { display: block; width: 100%; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; border-radius: 23px; }
.mock-phone__notch {
    position: absolute;
    top: 13px;
    left: 50%;
    z-index: 1;
    width: 34%;
    height: 14px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #05070F;
}

.float-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(17, 24, 48, .72);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .7);
    color: #fff;
    line-height: 1.25;
}
.float-chip strong { display: block; font-size: .88rem; font-weight: 600; }
.float-chip small { display: block; font-size: .74rem; color: var(--c-on-dark-muted); }
.float-chip__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--c-primary);
    color: #fff;
}
.float-chip__icon--mint { background: var(--c-mint); color: var(--c-ink-950); }

.float-chip--delivery {
    left: -4%;
    bottom: 12%;
    flex-wrap: wrap;
    width: 230px;
    animation: float-b 8s ease-in-out infinite;
}
.float-chip__progress { width: 100%; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.float-chip__progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: var(--grad-brand);
    transform-origin: left;
    animation: progress 4.5s var(--ease-out) infinite;
}
.float-chip--responsive { top: 0; right: 4%; animation: float-a 10s ease-in-out infinite; }
.float-chip--code {
    top: 46%;
    left: 52%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: .76rem;
    animation: float-a 11s ease-in-out infinite reverse;
}
.float-chip--code code { color: #E6E9F5; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.c-tag { color: #7C93FF; }
.c-attr { color: #3FE0B5; }
.c-str { color: #FFC872; }

@keyframes float-a { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes float-b { 0%, 100% { translate: 0 0; } 50% { translate: 0 12px; } }
@keyframes progress { 0% { transform: scaleX(.05); } 60%, 100% { transform: scaleX(1); } }

@media (max-width: 991.98px) {
    .hero-visual { margin: 8px auto 0; max-width: 560px; }
}
@media (max-width: 575.98px) {
    .hero-visual { aspect-ratio: 1 / .92; }
    .float-chip--code { display: none; }
    .float-chip--delivery { left: 0; bottom: 4%; width: 200px; padding: 10px 12px 10px 10px; }
    .float-chip--responsive { right: 0; top: -2%; padding: 8px 12px 8px 8px; }
    .float-chip__icon { width: 32px; height: 32px; border-radius: 10px; }
    .float-chip strong { font-size: .8rem; }
    .float-chip small { font-size: .68rem; }
    .mock-phone { border-radius: 22px; padding: 5px; }
    .mock-phone img { border-radius: 18px; }
    .mock-phone__notch { top: 9px; height: 9px; }
}
/* Mobile: reduce motion intensity — no continuous floating */
@media (max-width: 767.98px) {
    .mock-browser, .mock-phone, .float-chip { animation: none; }
}

/* ---------------------------------------------------------- Marquee ---- */
.marquee {
    position: relative;
    margin-top: clamp(56px, 7vw, 88px);
    padding: 22px 0;
    border-top: 1px solid var(--c-ink-line);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; color: #9AA3C4; font-family: var(--font-display); font-weight: 500; font-size: 1rem; white-space: nowrap; }
.marquee__item .icon { color: #6F84FF; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================ STATS === */
.stats { position: relative; z-index: 2; margin-top: -1px; padding: 0 0 8px; background: linear-gradient(180deg, var(--c-ink-950) 50%, #fff 50%); }
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border: 1px solid var(--c-line);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.stats__item { display: flex; flex-direction: column-reverse; justify-content: center; padding: clamp(22px, 3vw, 34px); }
.stats__item + .stats__item { border-left: 1px solid var(--c-line); }
.stats__item dt { font-size: .9rem; font-weight: 500; color: var(--c-muted); }
.stats__item dd {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--c-text);
}
.stats__item dd span { color: var(--c-primary); }
@media (max-width: 767.98px) {
    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats__item:nth-child(3) { border-left: 0; }
    .stats__item:nth-child(n+3) { border-top: 1px solid var(--c-line); }
}

/* ===================================================== CATEGORY LINKS === */
.category-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.category-links__label { margin-right: 6px; font-weight: 600; font-size: .92rem; color: var(--c-muted); }

/* ========================================================== SERVICES === */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 767.98px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .services-grid { grid-template-columns: minmax(0, 1fr); } }

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: #fff;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.service-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EEF1FF, #EAFBF5);
    color: var(--c-primary);
    transition: transform .5s var(--ease-out), background .4s, color .4s;
}
.service-card__title { font-size: 1.18rem; margin-bottom: 10px; }
.service-card__text { margin: 0; color: var(--c-muted); font-size: .95rem; }
.service-card__footer { margin-top: auto; padding-top: 20px; }
.service-card__shine {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(67, 97, 255, .08), transparent 45%);
    opacity: 0;
    transition: opacity .4s;
}
@media (hover: hover) {
    .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #D3DAF0; }
    .service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.06); background: var(--grad-brand); color: #fff; }
    .service-card:hover .service-card__shine { opacity: 1; }
}
.service-card:target { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(67, 97, 255, .12); }

/* ========================================================== CTA BAND === */
.cta-band {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 32px;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--r-xl);
    background: linear-gradient(125deg, #2C44E0 0%, #4361FF 35%, #6A4CF0 75%, #7B5CFF 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, transparent, #000);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band__glow {
    position: absolute;
    right: -10%;
    bottom: -60%;
    z-index: -1;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 166, .55), transparent 65%);
    filter: blur(20px);
}
.cta-band .eyebrow--light { color: #CFFAEC; }
.cta-band .eyebrow::before { background: #CFFAEC; }
.cta-band__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 12px; color: #fff; text-wrap: balance; }
.cta-band__text { margin: 0; max-width: 520px; color: rgba(255, 255, 255, .82); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
@media (max-width: 991.98px) {
    .cta-band { grid-template-columns: minmax(0, 1fr); }
    .cta-band__actions { justify-content: flex-start; }
}
@media (max-width: 575.98px) {
    .cta-band__actions .btn-ui { width: 100%; }
}

/* ============================================================= BENTO === */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.bento__card {
    position: relative;
    padding: clamp(24px, 2.6vw, 32px);
    border: 1px solid var(--c-ink-line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
    transition: border-color .3s, transform .5s var(--ease-out), background-color .3s;
}
.bento__card:hover { border-color: rgba(124, 147, 255, .4); }
.bento__card--wide { grid-column: span 2; grid-row: span 1; }
.bento__card--accent {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 22px;
    align-items: center;
    background: linear-gradient(110deg, rgba(34, 211, 166, .16), rgba(67, 97, 255, .1));
    border-color: rgba(34, 211, 166, .25);
}
.bento__card--accent .bento__icon { grid-row: span 2; margin: 0; }
.bento__card--accent .bento__title { align-self: end; }
.bento__card--accent .bento__text { align-self: start; }
.bento__icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(124, 147, 255, .14);
    color: #9DB0FF;
}
.bento__card--accent .bento__icon { background: rgba(34, 211, 166, .18); color: var(--c-mint); }
.bento__title { font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.bento__big {
    display: block;
    margin-bottom: 4px;
    font-size: clamp(2.8rem, 2rem + 3vw, 4rem);
    line-height: 1;
    letter-spacing: -.04em;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.bento__text { margin: 0; color: var(--c-on-dark-muted); font-size: .95rem; }

.delivery-track { margin-top: 28px; }
.delivery-track__bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.delivery-track__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--grad-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.8s var(--ease-out) .3s;
}
.is-visible .delivery-track__bar span { transform: scaleX(1); }
.delivery-track__steps { display: flex; justify-content: space-between; list-style: none; margin: 12px 0 0; padding: 0; font-size: .8rem; color: var(--c-on-dark-muted); }
.delivery-track__steps .is-final { color: var(--c-mint); font-weight: 600; }

@media (max-width: 991.98px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento__card--wide { grid-column: span 2; }
}
@media (max-width: 575.98px) {
    .bento { grid-template-columns: minmax(0, 1fr); }
    .bento__card--wide { grid-column: auto; }
    .bento__card--accent { display: block; }
    .bento__card--accent .bento__icon { margin-bottom: 20px; }
}

/* =========================================================== PROCESS === */
.process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.process::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--c-line) 50%, transparent 50%) 0 0 / 12px 2px repeat-x;
}
.process__step { position: relative; }
.process__marker { position: relative; z-index: 1; margin-bottom: 22px; }
.process__num {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--c-line);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--c-primary);
    box-shadow: 0 0 0 8px var(--c-bg);
    transition: background .5s, color .5s, border-color .5s;
}
.section--soft .process__num { box-shadow: 0 0 0 8px var(--c-soft); }
.process__step.is-visible .process__num { background: var(--c-primary); border-color: var(--c-primary); color: #fff; transition-delay: calc(var(--d, 0) * 200ms + 300ms); }
.process__card {
    height: calc(100% - 78px);
    padding: 26px 24px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    background: #fff;
    transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.process__card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.process__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px; background: var(--c-primary-50); color: var(--c-primary); }
.process__title { font-size: 1.12rem; margin-bottom: 8px; }
.process__text { margin: 0; color: var(--c-muted); font-size: .93rem; }

@media (max-width: 991.98px) {
    .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .process::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--c-line) 50%, transparent 50%) 0 0 / 2px 12px repeat-y; }
    .process__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding-bottom: 18px; }
    .process__marker { margin: 0; }
    .process__card { height: auto; }
}

/* ======================================================= TEAM/PRICING === */
.team-card, .pricing-card {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--r-xl);
}
.team-card {
    position: relative;
    gap: 28px;
    border: 1px solid var(--c-line);
    background: #fff;
    overflow: hidden;
}
.team-card__title, .pricing-card__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); margin-bottom: 14px; text-wrap: balance; }
.team-card__text, .pricing-card__text { color: var(--c-muted); margin-bottom: 22px; }

.team-orbit { position: relative; flex-shrink: 0; width: 190px; height: 190px; margin: 6px 0 4px 6px; }
.team-orbit__ring { position: absolute; inset: 0; border: 1.5px dashed #D3DAF0; border-radius: 50%; animation: spin 40s linear infinite; }
.team-orbit__ring--inner { inset: 38px; animation-duration: 28s; animation-direction: reverse; }
.team-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--grad-brand);
    box-shadow: var(--shadow-md);
    transform: rotate(calc(360deg / var(--n) * var(--i))) translate(95px) rotate(calc(-360deg / var(--n) * var(--i)));
}
.team-orbit__ring--inner .team-dot { width: 26px; height: 26px; margin: -13px; transform: rotate(calc(360deg / var(--n) * var(--i) + 30deg)) translate(57px); background: linear-gradient(135deg, #22D3A6, #4361FF); }
.team-dot:nth-child(2n) { background: linear-gradient(135deg, #7B5CFF, #4361FF); }
.team-orbit__core {
    position: absolute;
    inset: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-ink-950);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    box-shadow: 0 12px 30px -8px rgba(67, 97, 255, .6);
}
@keyframes spin { to { transform: rotate(360deg); } }

.pricing-card {
    position: relative;
    background: var(--c-ink-950);
    color: var(--c-on-dark);
    overflow: hidden;
    isolation: isolate;
}
.pricing-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -30%;
    z-index: -1;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(67, 97, 255, .5), transparent 65%);
    filter: blur(10px);
}
.pricing-card__tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(34, 211, 166, .14);
    color: var(--c-mint);
    font-size: .82rem;
    font-weight: 600;
}
.pricing-card__title { color: #fff; }
.pricing-card__text { color: var(--c-on-dark-muted); }
.pricing-factors { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.pricing-factors li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid var(--c-ink-line);
    border-radius: 999px;
    font-size: .85rem;
    color: #DCE1F3;
}
.pricing-factors .icon { color: #9DB0FF; }

@media (max-width: 575.98px) {
    .team-orbit { align-self: center; margin: 0; }
}

/* ========================================================= PAGE HERO === */
.page-hero, .contact-hero, .demo-hero, .error-page {
    position: relative;
    isolation: isolate;
    padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
    background: var(--c-ink-950);
    color: var(--c-on-dark);
    overflow: hidden;
}
.page-hero--compact { padding-bottom: clamp(48px, 6vw, 72px); }
.page-hero__content { max-width: 780px; }
.page-hero__title {
    font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.9rem);
    line-height: 1.07;
    letter-spacing: -.035em;
    margin-bottom: 20px;
    color: #fff;
    text-wrap: balance;
}
.page-hero__text { max-width: 640px; margin: 0; font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); color: var(--c-on-dark-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ===================================================== PORTFOLIO PAGE === */
.section--portfolio { padding-top: 0; }
.filter-bar {
    position: sticky;
    top: 66px;
    z-index: 20;
    margin-bottom: clamp(28px, 4vw, 44px);
    padding: 14px 0;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--c-line);
}
.filter-bar__scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding: 2px;
    margin: -2px;
}
.filter-bar__scroller::-webkit-scrollbar { display: none; }
@media (min-width: 1200px) { .filter-bar__scroller { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 1199.98px) {
    .filter-bar .container-xl { padding-right: 0; }
    .filter-bar__scroller { padding-right: calc(var(--bs-gutter-x) * .5); mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    flex-shrink: 0;
    border: 1.5px solid var(--c-line);
    border-radius: 999px;
    background: #fff;
    color: var(--c-text);
    font-size: .9rem;
    font-weight: 500;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: background-color .25s, border-color .25s, color .25s;
}
.filter-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-btn__count {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--c-soft);
    color: var(--c-muted);
    font-size: .74rem;
    font-weight: 600;
}
.filter-btn.is-active { background: var(--c-ink-950); border-color: var(--c-ink-950); color: #fff; }
.filter-btn.is-active .filter-btn__count { background: rgba(255, 255, 255, .16); color: #fff; }

.empty-state {
    max-width: 560px;
    margin: 12px auto 0;
    padding: clamp(32px, 5vw, 52px);
    border: 1.5px dashed #D3DAF0;
    border-radius: var(--r-xl);
    background: var(--c-soft);
    text-align: center;
}
.empty-state__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px; background: var(--grad-brand); color: #fff; }
.empty-state__title { font-size: 1.4rem; margin-bottom: 10px; }
.empty-state__text { color: var(--c-muted); margin-bottom: 24px; }

/* ======================================================= DEMO DETAIL === */
.demo-hero { padding-bottom: clamp(140px, 16vw, 220px); }
.demo-hero__title { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.7rem); letter-spacing: -.035em; margin-bottom: 18px; color: #fff; }
.demo-hero__text { max-width: 640px; margin: 0; font-size: 1.1rem; color: var(--c-on-dark-muted); }
.demo-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 991.98px) { .demo-hero__actions { justify-content: flex-start; } }
@media (max-width: 575.98px) { .demo-hero__actions .btn-ui { width: 100%; } }

.demo-preview-section { position: relative; z-index: 2; margin-top: clamp(-200px, -14vw, -110px); }
.demo-preview {
    border: 1px solid var(--c-line);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: 0 50px 100px -40px rgba(7, 11, 24, .45), 0 20px 40px -24px rgba(7, 11, 24, .25);
    overflow: hidden;
}
.demo-preview__bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--c-line); background: #FBFCFE; }
.demo-preview__url {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: 440px;
    margin: 0 auto;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--c-soft);
    color: var(--c-muted);
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.demo-preview__url .icon { color: var(--c-mint-600); }
.demo-preview__open { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--c-muted); }
.demo-preview__open:hover { background: var(--c-soft); color: var(--c-primary); }
.demo-preview__shot { position: relative; display: block; background: var(--c-ink-900); }
.demo-preview__shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.demo-preview__hover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(7, 11, 24, .45);
    opacity: 0;
    transition: opacity .35s;
}
.demo-preview__hover span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--c-text); font-weight: 600; }
@media (hover: hover) { .demo-preview__shot:hover .demo-preview__hover { opacity: 1; } }
@media (max-width: 575.98px) {
    .demo-preview { border-radius: var(--r-lg); }
    .demo-preview__bar { padding: 10px 12px; gap: 10px; }
    .demo-preview__bar .dots i { width: 7px; height: 7px; }
}

.demo-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 12px;
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--c-line);
    border-radius: var(--r-xl);
    background: #fff;
    box-shadow: var(--shadow-md);
}
.demo-facts { margin: 0 0 10px; }
.demo-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--c-line); }
.demo-facts dt { font-weight: 500; color: var(--c-muted); font-size: .92rem; }
.demo-facts dd { margin: 0; font-weight: 600; text-align: right; font-size: .95rem; min-width: 0; overflow-wrap: anywhere; }
.demo-aside__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 0 0; font-size: .82rem; color: var(--c-muted); }
.demo-aside__note .icon { color: #1DA851; }

/* ===================================================== INCLUDED LIST === */
.included-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.included-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    background: #fff;
}
.included-item strong { display: block; margin-bottom: 2px; font-size: .98rem; }
.included-item span span { display: block; font-size: .88rem; color: var(--c-muted); }
.included-item__icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--c-primary-50); color: var(--c-primary); }
.included-grid--compact .included-item { padding: 16px; }
@media (max-width: 575.98px) { .included-grid { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================= ABOUT === */
.about-visual { position: relative; padding: 0 12% 12% 0; }
.mock-browser--static { position: relative; top: 0; width: 100%; animation: none; box-shadow: var(--shadow-lg); border-color: var(--c-line); }
.mock-phone--about { right: 0; bottom: 0; width: 28%; animation: float-b 8s ease-in-out infinite; }
.about-points { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.about-points > div { flex: 1 1 120px; padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-soft); }
.about-points strong { display: block; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.1; color: var(--c-primary); }
.about-points span { font-size: .88rem; color: var(--c-muted); }

.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991.98px) { .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .values-grid { grid-template-columns: minmax(0, 1fr); } }
.value-card { padding: 28px 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: linear-gradient(135deg, #EEF1FF, #EAFBF5); color: var(--c-primary); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { margin: 0; color: var(--c-muted); font-size: .93rem; }

/* =============================================================== FAQ === */
.faq.accordion {
    --bs-accordion-border-color: var(--c-line);
    --bs-accordion-border-radius: var(--r-lg);
    --bs-accordion-inner-border-radius: var(--r-lg);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 4px rgba(67, 97, 255, .15);
    --bs-accordion-active-bg: #fff;
    --bs-accordion-active-color: var(--c-text);
    --bs-accordion-btn-padding-y: 1.2rem;
    --bs-accordion-btn-padding-x: 1.4rem;
    --bs-accordion-body-padding-x: 1.4rem;
    display: grid;
    gap: 12px;
}
.faq .accordion-item { border: 1px solid var(--c-line) !important; border-radius: var(--r-lg) !important; overflow: hidden; }
.faq .accordion-header { margin: 0; }
.faq .accordion-button { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { box-shadow: none; color: var(--c-primary); }
.faq .accordion-body { padding-top: 0; color: var(--c-muted); }

/* =========================================================== CONTACT === */
.contact-steps { display: grid; gap: 14px; list-style: none; margin: 36px 0; padding: 0; }
.contact-steps li { display: flex; align-items: center; gap: 16px; }
.contact-steps li > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    color: #9DB0FF;
}
.contact-steps strong { display: block; color: #fff; }
.contact-steps small { color: var(--c-on-dark-muted); font-size: .88rem; }
.contact-direct {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 420px;
    padding: 14px 18px 14px 14px;
    border: 1px solid rgba(37, 211, 102, .3);
    border-radius: var(--r-lg);
    background: rgba(37, 211, 102, .08);
    color: #fff;
    transition: background-color .2s, border-color .2s;
}
.contact-direct:hover { color: #fff; background: rgba(37, 211, 102, .14); border-color: rgba(37, 211, 102, .55); }
.contact-direct > span:nth-child(2) { flex: 1; }
.contact-direct small { display: block; color: var(--c-on-dark-muted); font-size: .82rem; }
.contact-direct strong { font-size: 1.1rem; }
.contact-direct__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-wa); color: #fff; }

.contact-form {
    padding: clamp(24px, 4vw, 40px);
    border-radius: var(--r-xl);
    background: #fff;
    color: var(--c-text);
    box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6);
}
.contact-form__title { font-size: 1.4rem; margin-bottom: 22px; }

/* ============================================================ ERRORS === */
.error-page { min-height: 80vh; display: grid; align-items: center; }
.error-page__code {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(5rem, 3rem + 10vw, 10rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.error-page__title { margin: 12px 0; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); color: #fff; }
.error-page__text { max-width: 520px; margin: 0 auto 30px; color: var(--c-on-dark-muted); }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ===================================================== MOBILE TWEAKS === */
@media (max-width: 575.98px) {
    .hero__actions .btn-ui, .page-hero__actions .btn-ui { flex: 1 1 100%; }
    .section-head-row { display: block; }
    .hero__trust { gap: 8px 18px; font-size: .86rem; }
}
