/* =========================================================
   EV-TÖLTŐK – PULZÁLÓ TÖLTÉSI FOLYAMAT FEJLÉC
   ========================================================= */

.ev-category-hero {
    position: relative;
    height: clamp(620px, 72vh, 760px);
    overflow: hidden;
    isolation: isolate;
    background: #12243a;
    color: #fff;
}

.ev-category-hero__image,
.ev-category-hero__overlay,
.ev-category-hero__road {
    position: absolute;
    inset: 0;
}

.ev-category-hero__image { z-index: -5; }

.ev-category-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.44) saturate(.72) contrast(1.08);
    transform: scale(1.025);
}

.ev-category-hero__overlay {
    z-index: -3;
    background:
        radial-gradient(circle at 80% 44%, rgba(77, 219, 218, .2), transparent 30%),
        linear-gradient(90deg, rgba(7, 22, 38, .97) 0%, rgba(7, 22, 38, .84) 40%, rgba(7, 22, 38, .25) 74%, rgba(7, 22, 38, .56) 100%);
}

.ev-category-hero__road {
    z-index: -2;
    top: auto;
    bottom: -48%;
    left: 45%;
    height: 82%;
    border-top: 1px solid rgba(98, 216, 215, .09);
    transform: perspective(600px) rotateX(67deg) rotateZ(-6deg);
    transform-origin: center top;
}

.ev-category-hero__road::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(98, 216, 215, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(98, 216, 215, .045) 1px, transparent 1px);
    background-size: 70px 70px;
    content: "";
}

.ev-category-hero__road i {
    position: absolute;
    top: 12%;
    bottom: 0;
    width: 2px;
    background: linear-gradient(#62d8d7, transparent);
    opacity: .18;
}

.ev-category-hero__road i:first-child { left: 34%; }
.ev-category-hero__road i:last-child { right: 34%; }

.ev-category-hero__container {
    position: relative;
    z-index: 3;
    display: flex;
    height: 100%;
    align-items: center;
}

.ev-category-hero__content {
    width: min(720px, 58%);
    padding-top: 42px;
    opacity: 0;
    transform: translateY(27px);
}

.ev-category-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .44);
    font-size: .72rem;
}

.ev-category-hero__breadcrumb a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.ev-category-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #62d8d7;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ev-category-hero__eyebrow > span {
    width: 29px;
    height: 1px;
    background: #62d8d7;
}

.ev-category-hero h1 {
    max-width: 780px;
    margin: 18px 0 24px;
    color: #fff;
    font-size: clamp(3.2rem, 6.2vw, 6.3rem);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.055em;
}

.ev-category-hero h1 span {
    display: block;
    margin-top: 8px;
    color: #62d8d7;
    font-size: .57em;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.ev-category-hero__content > p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .64);
    font-size: clamp(.95rem, 1.25vw, 1.08rem);
    line-height: 1.75;
}

.ev-category-hero__actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 33px;
}

.ev-category-hero__text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .78);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.ev-category-hero__text-link:hover { color: #62d8d7; }

.ev-status {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 10px 14px;
    border: 1px solid rgba(98, 216, 215, .16);
    border-radius: 12px;
    background: rgba(7, 24, 41, .58);
    backdrop-filter: blur(10px);
}

.ev-status__signal {
    position: relative;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
}

.ev-status__signal::before,
.ev-status__signal::after {
    position: absolute;
    border: 1px solid rgba(98, 216, 215, .32);
    border-radius: 50%;
    content: "";
}

.ev-status__signal::before { inset: 5px; }
.ev-status__signal::after { inset: 0; }

.ev-status__signal i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f0c654;
}

.ev-status > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ev-status small {
    color: rgba(255, 255, 255, .4);
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ev-status strong { font-size: .72rem; }

.ev-charge-visual {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 7%;
    width: clamp(340px, 34vw, 500px);
    height: 455px;
    opacity: 0;
    transform: translateY(-43%) translateX(55px);
}

.ev-charge-visual__orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(98, 216, 215, .16);
    border-radius: 50%;
}

.ev-charge-visual__orbit--inner {
    inset: 55px;
    border-style: dashed;
    opacity: .65;
}

.ev-charge-visual__charger {
    position: absolute;
    top: 42px;
    left: 50%;
    width: 177px;
    height: 310px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .21);
    border-radius: 38px 38px 26px 26px;
    background: linear-gradient(145deg, rgba(243, 251, 250, .24), rgba(90, 137, 145, .1));
    box-shadow: 0 38px 80px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .24);
    transform: translateX(-50%) perspective(800px) rotateY(-7deg);
    backdrop-filter: blur(12px);
}

.ev-charge-visual__charger::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #62d8d7, transparent);
    content: "";
}

.ev-charge-visual__screen {
    position: absolute;
    top: 42px;
    right: 27px;
    left: 27px;
    display: grid;
    min-height: 132px;
    place-items: center;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    padding: 18px;
    border: 1px solid rgba(98, 216, 215, .18);
    border-radius: 20px;
    background: rgba(6, 24, 40, .65);
}

.ev-charge-visual__screen svg {
    width: 37px;
    height: 37px;
    grid-column: 1 / -1;
    fill: none;
    stroke: #d9ee77;
    stroke-width: 1.7;
    filter: drop-shadow(0 0 7px rgba(217, 238, 119, .5));
}

.ev-charge-visual__screen strong {
    justify-self: end;
    color: #62d8d7;
    font-size: 24px;
}

.ev-charge-visual__screen small {
    align-self: end;
    justify-self: start;
    margin: 0 0 4px 4px;
    color: rgba(255, 255, 255, .48);
    font-size: 8px;
}

.ev-charge-visual__indicator {
    position: absolute;
    right: 79px;
    bottom: 48px;
    width: 19px;
    height: 19px;
    border: 1px solid rgba(98, 216, 215, .4);
    border-radius: 50%;
    background: rgba(98, 216, 215, .06);
}

.ev-charge-visual__cable {
    position: absolute;
    top: 235px;
    right: 39px;
    width: 130px;
    height: 150px;
    border-right: 5px solid rgba(18, 41, 55, .9);
    border-bottom: 5px solid rgba(18, 41, 55, .9);
    border-radius: 0 0 75px 0;
    transform: rotate(12deg);
}

.ev-charge-visual__plug {
    position: absolute;
    right: 8px;
    bottom: 53px;
    width: 43px;
    height: 61px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 12px 12px 17px 17px;
    background: #183345;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .25);
    transform: rotate(-18deg);
}

.ev-charge-visual__plug i {
    position: absolute;
    top: -10px;
    width: 4px;
    height: 15px;
    border-radius: 3px;
    background: #a9c6ca;
}

.ev-charge-visual__plug i:first-child { left: 12px; }
.ev-charge-visual__plug i:last-child { right: 12px; }

.ev-charge-visual__spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #62d8d7;
    box-shadow: 0 0 15px rgba(98, 216, 215, .9);
    opacity: 0;
}

.ev-charge-visual__spark--one { top: 45px; left: 62px; }
.ev-charge-visual__spark--two { top: 155px; right: 25px; }
.ev-charge-visual__spark--three { bottom: 35px; left: 87px; }

.ev-category-hero.is-active .ev-category-hero__content,
.ev-category-hero.is-active .ev-charge-visual {
    opacity: 1;
    transform: none;
    transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}

.ev-category-hero.is-active .ev-charge-visual {
    transform: translateY(-50%);
    transition-delay: .18s;
}

.ev-category-hero.is-charging .ev-charge-visual__orbit { animation: evOrbit 14s linear infinite; }
.ev-category-hero.is-charging .ev-charge-visual__orbit--inner { animation-direction: reverse; animation-duration: 9s; }
.ev-category-hero.is-charging .ev-charge-visual__spark { animation: evSpark 2.1s ease-in-out infinite; }
.ev-category-hero.is-charging .ev-charge-visual__spark--two { animation-delay: .7s; }
.ev-category-hero.is-charging .ev-charge-visual__spark--three { animation-delay: 1.4s; }
.ev-category-hero.is-charging .ev-status__signal::before { animation: evSignal 1.6s ease-out infinite; }
.ev-category-hero.is-charging .ev-status__signal::after { animation: evSignal 1.6s .45s ease-out infinite; }
.ev-category-hero.is-charging .ev-status__signal i { background: #62d8d7; box-shadow: 0 0 12px rgba(98, 216, 215, .75); }

@keyframes evOrbit { to { transform: rotate(360deg); } }
@keyframes evSpark {
    0%, 100% { opacity: 0; transform: scale(.5); }
    45% { opacity: 1; transform: scale(1); }
}
@keyframes evSignal {
    0% { opacity: .8; transform: scale(.45); }
    100% { opacity: 0; transform: scale(1.35); }
}

.ev-category-hero__scroll {
    position: absolute;
    z-index: 5;
    right: 38px;
    bottom: 27px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .5);
    font-size: .62rem;
    text-decoration: none;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.ev-category-hero__scroll i {
    width: 1px;
    height: 36px;
    background: linear-gradient(#62d8d7, transparent);
}

@media (max-width: 1000px) {
    .ev-charge-visual { right: -5%; opacity: .5; }
    .ev-category-hero__content { width: min(680px, 72%); }
}

@media (max-width: 720px) {
    .ev-category-hero { height: auto; min-height: 690px; }
    .ev-category-hero__container { align-items: flex-start; padding-top: 110px; padding-bottom: 100px; }
    .ev-category-hero__content { width: 100%; padding-top: 0; }
    .ev-category-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
    .ev-charge-visual { top: auto; right: -120px; bottom: -190px; width: 390px; opacity: .18; transform: scale(.72); }
    .ev-category-hero.is-active .ev-charge-visual { transform: scale(.72); }
    .ev-category-hero__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .ev-category-hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ev-category-hero *, .ev-category-hero *::before, .ev-category-hero *::after { animation: none !important; transition: none !important; }
}
