/*------------------------------------------------------------------
[ AB DAS Hero — hero на началната страница ]
------------------------------------------------------------------*/
.hero {
    position: relative;
    isolation: isolate;
    min-height: max(100svh,780px);
    padding: 124px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.hbg {
    position: absolute;
    inset: -5%;
    z-index: -4;
    transform: translate3d(calc(var(--px,0)*-22px),calc(var(--py,0)*-14px),0) scale(1.08);
    transition: transform .5s ease-out;
}
.rib {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    mix-blend-mode: normal;
    opacity: .8;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero .wrap {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}
.pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--ab-line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 26px;
}
.pill i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ab-red);
    animation: ping 2.2s infinite;
}
.pill em {
    font-style: normal;
    font-weight: 500;
    color: var(--ab-muted);
}
@keyframes ping{0%{box-shadow:0 0 0 0 rgba(255,22,80,.75)}70%,100%{box-shadow:0 0 0 11px rgba(255,22,80,0)}}
.mega {
    font-weight: 800;
    margin: 0 0 0 -.04em;
}
.mega .line {
    display: block;
    line-height: .9;
    padding-bottom: .1em;
    margin-bottom: -.12em;
    overflow: hidden;
}
/* Ред 2 е с контур. Не е -webkit-text-stroke, защото при Inter той очертава
   и вътрешните пресичания на буквите (кутийка в „A“). Редът е плътен текст,
   а SVG филтърът #ab-outline (в секцията) оставя само външния му контур. */
.mega .line:nth-child(2) {
    padding-left: .8em;
    color: var(--ab-text);
    filter: url(#ab-outline);
}
.ch {
    display: inline-block;
    transform: translateY(110%);
    animation: up .95s cubic-bezier(.2,.8,.2,1) forwards;
    animation-delay: calc(var(--i)*55ms + 250ms);
}
@keyframes up{to{transform:none}}
.hero-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 34px;
    padding-bottom: 70px;
}
.lede {
    max-width: 27em;
    font-size: clamp(1.05rem,1.5vw,1.28rem);
    margin: 0;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.chip3d {
    position: absolute;
    z-index: 4;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    border: 1px solid var(--ab-line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: bob 6s ease-in-out infinite;
    transform: translate3d(calc(var(--px,0)*var(--k,20)*1px),calc(var(--py,0)*var(--k,20)*.7px),0);
}
.chip3d b {
    display: block;
    font-family: var(--ab-display);
    font-size: 1.5rem;
    letter-spacing: -.03em;
}
.chip3d small {
    color: var(--ab-muted);
    font-size: 13px;
    font-weight: 500;
}
@keyframes bob{0%,100%{margin-top:0}50%{margin-top:-12px}}
.c2 {
    animation-delay: -2s;
    right: 24%;
    top: auto;
    bottom: 17%;
    --k: 22;
}
.cue {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ab-muted);
}
.cue i {
    width: 1px;
    height: 40px;
    background: linear-gradient(var(--ab-text),transparent);
    animation: drip 2s infinite;
}
@keyframes drip{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}
@media (max-width:980px) {
    .hero {
        padding-top: 112px;
    }
}
@media (max-width:980px) {
    .chip3d {
        display: none;
    }
}
@media (max-width:980px) {
    .mega .line:nth-child(2) {
        padding-left: .4em;
    }
}
@media (max-width:980px) {
    .cue {
        display: none;
    }
}
@media (prefers-reduced-motion:reduce) {
    .chip3d,
    .pill i,
    .cue i {
        animation: none;
    }
}
@media (prefers-reduced-motion:reduce) {
    .ch {
        animation: none;
        transform: none;
    }
}
.hbg {
    background: radial-gradient(55% 55% at 74% 46%,rgba(255,22,80,.30),transparent 70%),radial-gradient(45% 60% at 8% 90%,rgba(47,98,255,.26),transparent 70%),radial-gradient(40% 45% at 100% 5%,rgba(47,98,255,.2),transparent 70%),linear-gradient(180deg,#FDFDFF,#EDF0FB);
}
.hbg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg,rgba(255,255,255,.7) 0 2px,rgba(11,16,34,.03) 2px 34px,rgba(255,255,255,.5) 34px 36px,transparent 36px 74px);
    -webkit-mask-image: linear-gradient(180deg,transparent 4%,#000 38%,#000 76%,transparent);
    mask-image: linear-gradient(180deg,transparent 4%,#000 38%,#000 76%,transparent);
}
.hero::after {
    background: linear-gradient(180deg,rgba(245,247,253,.5),transparent 22%,transparent 72%,var(--ab-ink));
}
.pill {
    background: rgba(255,255,255,.78);
    text-decoration: none;
    color: var(--ab-text);
    transition: transform .25s,box-shadow .25s;
}
.lede {
    color: #2B3453;
}
.chip3d {
    background: rgba(255,255,255,.78);
    box-shadow: 0 20px 50px -22px rgba(30,60,160,.5);
    color: var(--ab-text);
}
.mega {
    font-size: clamp(3.6rem,11.2vw,11.8rem);
    letter-spacing: -.055em;
}
@media (max-width:980px) {
    .mega {
        font-size: clamp(3.2rem,17vw,7rem);
    }
}
.pill:hover {
    transform: translateY(-2px);
}
.pill-cta {
    margin-left: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ab-red);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    box-shadow: 0 8px 20px -8px rgba(255,22,80,.8);
}
@media (max-width:980px) {
    .pill-cta {
        margin-left: 4px;
    }
}
.lede b {
    color: var(--ab-text);
}
