/* AD MAX Gomb widget — 6 alapstílus, a natív tipográfia-vezérlő felülírhatja. */

.admax-gomb.am-cta {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.admax-gomb.btn-primary {
    text-decoration: none;
    background: #1e3a38;
    color: #fff;
    font-weight: 800;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-size: 14px;
    padding: 16px 30px;
    border-radius: 100px;
    box-shadow: 0 14px 32px rgba(30, 58, 56, 0.22);
    display: inline-block;
}

.admax-gomb.btn-primary:hover {
    background: #2c8b74;
    transform: translateY(-2px);
}

.admax-gomb.btn-outline {
    text-decoration: none;
    background: transparent;
    border: 1.5px solid #1e3a38;
    color: #1e3a38;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 27px;
    border-radius: 100px;
    display: inline-block;
}

.admax-gomb.btn-outline:hover {
    background: #1e3a38;
    color: #fff;
    transform: translateY(-2px);
}

.admax-gomb.btn-mint {
    text-decoration: none;
    background: #a7ebdd;
    color: #1e3a38;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 800;
    font-size: 13px;
    padding: 14px 27px;
    border-radius: 100px;
    box-shadow: 0 14px 30px rgba(167, 235, 221, 0.18);
    display: inline-block;
}

.admax-gomb.btn-mint:hover {
    background: #5fbda8;
    transform: translateY(-2px);
}

.admax-gomb.btn-line {
    text-decoration: none;
    background: transparent;
    border: 1.5px solid rgba(167, 194, 186, 0.5);
    color: #f1f7f4;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 14px 25px;
    border-radius: 100px;
    display: inline-block;
}

.admax-gomb.btn-line:hover {
    border-color: #a7ebdd;
    color: #a7ebdd;
    transform: translateY(-2px);
}

.admax-gomb.am-cta-ghost {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-family: 'Space Grotesk', Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 16px 27px;
    border-radius: 100px;
    display: inline-block;
}

.admax-gomb.am-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.admax-gomb.am-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', Arial, sans-serif;
    color: #2c8b74;
    font-weight: 800;
    font-size: 13px;
}

.admax-gomb.am-link span {
    transition: transform 0.25s ease;
}

.admax-gomb.am-link:hover span {
    transform: translateX(4px);
}

/* --- hero infografika --- */
.am-infograf {
    position: relative;
    opacity: 0;
    transform: translateY(28px) scale(0.97);
    animation: am-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.am-info-card {
    position: relative;
    background: #1E3A38;
    border-radius: 25px;
    padding: 30px 29px 27px;
    box-shadow: 0 41px 89px rgba(11, 24, 21, 0.34);
    overflow: hidden;
}

.am-info-glow {
    position: absolute;
    top: -107px;
    right: -71px;
    width: 322px;
    height: 322px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 189, 168, 0.26), rgba(95, 189, 168, 0) 70%);
    pointer-events: none;
    animation: am-glow-pulse 5s ease-in-out infinite;
}

.am-info-body {
    position: relative;
    z-index: 2;
}

/* Fejléc */
.am-info-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(12px);
    animation: am-fade-up 0.6s ease 0.35s forwards;
}

.am-info-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #5FBDA8;
}

.am-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(167, 235, 221, 0.12);
    color: #A7EBDD;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
}

/* Cikk skeleton */
.am-info-article {
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(167, 194, 186, 0.16);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 13px;
    opacity: 0;
    transform: translateY(14px);
    animation: am-fade-up 0.6s ease 0.45s forwards;
}

.am-sk {
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.11);
}

.am-sk.a1 {
    height: 7px;
    background: rgba(255, 255, 255, 0.2);
    width: 70%;
    margin-bottom: 8px;
}

.am-sk.a2 {
    height: 6px;
    margin-bottom: 5px;
}

.am-sk.a3 {
    height: 6px;
    width: 86%;
}

/* Widget */
.am-info-widget {
    background: rgba(167, 235, 221, 0.09);
    border: 1.5px solid #5FBDA8;
    border-radius: 14px;
    padding: 13px;
    margin-bottom: 16px;
    box-shadow: 0 14px 36px rgba(11, 24, 21, 0.36);
    opacity: 0;
    transform: translateY(16px);
    animation: am-fade-up 0.65s ease 0.55s forwards;
}

.am-info-widget-label {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #A7EBDD;
    margin-bottom: 11px;
}

.am-info-widget-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.am-wimg {
    height: 39px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.14);
    margin-bottom: 7px;
}

.am-wimg.is-grad {
    background: linear-gradient(120deg, #2C8B74, #5FBDA8);
}

.am-wimg.is-sp {
    border: 1px solid rgba(167, 235, 221, 0.35);
}

.am-wln {
    height: 5px;
    border-radius: 3px;
    background: rgba(167, 235, 221, 0.25);
    margin-bottom: 4px;
}

.am-wln.l1 {
    background: rgba(167, 235, 221, 0.5);
}

.am-wln.l2 {
    width: 70%;
}

.am-wln.l3 {
    background: rgba(167, 235, 221, 0.4);
}

.am-wln.l4 {
    width: 62%;
    background: rgba(167, 235, 221, 0.2);
}

.am-wln.l5 {
    background: rgba(167, 235, 221, 0.4);
}

.am-wln.l6 {
    width: 78%;
    background: rgba(167, 235, 221, 0.2);
}

.am-wsp {
    position: relative;
}

.am-wbadge {
    position: absolute;
    top: -8px;
    right: 0;
    background: #A7EBDD;
    color: #1E3A38;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 2px 5px;
    border-radius: 4px;
    animation: am-badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both;
}

/* Chart */
.am-info-chart {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 194, 186, 0.16);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(18px);
    animation: am-fade-up 0.65s ease 0.7s forwards;
}

.am-info-chart-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 13px;
}

.am-info-chart-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #7f9d95;
}

.am-info-chart-value {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 13px;
    color: #A7EBDD;
}

.am-info-bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 66px;
}

.am-cb {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    transform: scaleY(0);
    animation: am-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.am-cb.c1 {
    height: 44%;
    background: rgba(255, 255, 255, 0.14);
    animation-delay: 0.85s;
}

.am-cb.c2 {
    height: 52%;
    background: rgba(255, 255, 255, 0.16);
    animation-delay: 0.93s;
}

.am-cb.c3 {
    height: 48%;
    background: rgba(255, 255, 255, 0.14);
    animation-delay: 1.01s;
}

.am-cb.c4 {
    height: 64%;
    background: rgba(95, 189, 168, 0.55);
    animation-delay: 1.09s;
}

.am-cb.c5 {
    height: 78%;
    background: rgba(167, 235, 221, 0.75);
    animation-delay: 1.17s;
}

.am-cb.c6 {
    height: 100%;
    background: #A7EBDD;
    animation-delay: 1.25s;
}

.am-info-chart-foot {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 8px;
    color: #7f9d95;
    font-weight: 600;
}

/* Stats */
.am-info-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.am-info-stats > div {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(167, 194, 186, 0.16);
    border-radius: 13px;
    padding: 12px;
    opacity: 0;
    transform: translateY(16px);
    animation: am-fade-up 0.55s ease forwards;
}

.am-info-stats > div:nth-child(1) {
    animation-delay: 1.15s;
}

.am-info-stats > div:nth-child(2) {
    animation-delay: 1.25s;
}

.am-info-stats > div:nth-child(3) {
    animation-delay: 1.35s;
}

.am-istat-v {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #A7EBDD;
    line-height: 1;
}

.am-istat-l {
    font-size: 9px;
    color: #9fb6ae;
    margin-top: 4px;
    font-weight: 600;
    line-height: 1.3;
}

/* Lebegő elemek */
.am-float-card {
    position: absolute;
    top: 34%;
    left: -50px;
    z-index: 3;
    background: #fff;
    border-radius: 14px;
    padding: 13px 16px;
    box-shadow: 0 21px 45px rgba(22, 51, 46, 0.18);
    border: 1px solid #dbeae3;
    opacity: 0;
    transform: translateX(-20px);
    animation: am-float-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards, am-float 6s ease-in-out 1.6s infinite;
}

.am-float-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #5c7b73;
}

.am-float-value {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 23px;
    color: #2C8B74;
    line-height: 1;
    margin-top: 4px;
}

.am-float-pill {
    position: absolute;
    bottom: -21px;
    right: -21px;
    background: #fff;
    border-radius: 100px;
    padding: 10px 16px;
    box-shadow: 0 20px 41px rgba(22, 51, 46, 0.16);
    border: 1px solid #dbeae3;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: translate(16px, 16px);
    animation: am-float-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards, am-floatB 7s ease-in-out 1.8s infinite;
}

.am-float-pill .am-dot {
    width: 8px;
    height: 8px;
    background: #5FBDA8;
    border-radius: 50%;
    animation: am-dot-pulse 2s ease-in-out infinite;
}

/* Keyframes. */
@keyframes am-reveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes am-fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes am-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes am-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes am-floatB {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes am-float-in {
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes am-glow-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes am-badge-pop {
    from {
        opacity: 0;
        transform: scale(0.6) translateY(6px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes am-dot-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.7;
    }
}

/* 1. Diagram oszlopok enyhe lélegzése */
.am-cb {
    /* a meglévő grow animáció után */
    animation: am-grow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both, am-bar-breathe 4.5s ease-in-out infinite;
}

.am-cb.c1 {
    animation-delay: 0.85s, 1.9s;
}

.am-cb.c2 {
    animation-delay: 0.93s, 2.0s;
}

.am-cb.c3 {
    animation-delay: 1.01s, 2.1s;
}

.am-cb.c4 {
    animation-delay: 1.09s, 2.2s;
}

.am-cb.c5 {
    animation-delay: 1.17s, 2.3s;
}

.am-cb.c6 {
    animation-delay: 1.25s, 2.4s;
    /* a legmagasabb oszlop kicsit erősebben pulzál */
    animation-name: am-grow, am-bar-breathe-strong;
}

/* 2. Keyframes a lélegzéshez */
@keyframes am-bar-breathe {
    0%, 100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.04);
    }
}

@keyframes am-bar-breathe-strong {
    0%, 100% {
        transform: scaleY(1);
        filter: brightness(1);
    }

    50% {
        transform: scaleY(1.07);
        filter: brightness(1.15);
    }
}

/* 3. Shimmer a gradient képen */
.am-wimg.is-grad {
    position: relative;
    overflow: hidden;
}

.am-wimg.is-grad::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.25), transparent );
    animation: am-shimmer 3.8s ease-in-out infinite;
}

@keyframes am-shimmer {
    0% {
        left: -100%;
    }

    40% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

/* Chart value enyhe pulzusa. */
.am-info-chart-value {
    animation: am-value-pulse 3s ease-in-out infinite;
}

@keyframes am-value-pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }
}

.am-mini-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 70px;
    flex: none;
}

.am-mb {
    width: 11px;
    border-radius: 3px 3px 0 0;
}

.am-mb.m1 {
    height: 40%;
    background: rgba(255, 255, 255, .16);
}

.am-mb.m2 {
    height: 55%;
    background: rgba(255, 255, 255, .2);
}

.am-mb.m3 {
    height: 72%;
    background: rgba(95, 189, 168, .6);
}

.am-mb.m4 {
    height: 100%;
    background: #A7EBDD;
}

/* --- Integrációs séma --- */
.am-integ-schema {
    background: #fff;
    border: 1px solid #dbeae3;
    border-radius: 21px;
    padding: 20px;
    box-shadow: 0 23px 54px rgba(22, 51, 46, 0.09);
    position: sticky;
    top: 107px;
    opacity: 0;
    transform: translateY(20px);
    animation: am-schema-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

/* Böngésző sáv */
.am-schema-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.am-schema-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2ece8;
}

/* realisztikusabb macOS-szerű pontok */
.am-schema-dot:nth-child(1) {
    background: #ff5f57;
}

.am-schema-dot:nth-child(2) {
    background: #febc2e;
}

.am-schema-dot:nth-child(3) {
    background: #28c840;
}

.am-schema-addr {
    flex: 1;
    height: 18px;
    border-radius: 4px;
    background: #F1F7F4;
    margin-left: 7px;
}

/* Body layout */
.am-schema-body {
    display: flex;
    gap: 13px;
}

.am-schema-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-schema-side {
    width: 31%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Skeleton vonalak */
.am-sl {
    border-radius: 4px;
    background: #eaf2ee;
    opacity: 0;
    transform: scaleX(0.92);
    transform-origin: left;
    animation: am-sl-in 0.5s ease forwards;
}

.am-sl.h10 {
    height: 10px;
    background: #dfe9e5;
}

.am-sl.h7 {
    height: 6px;
}

.am-sl.w78 {
    width: 78%;
}

.am-sl.w92 {
    width: 92%;
}

.am-sl.w86 {
    width: 86%;
}

.am-sl.w70 {
    width: 70%;
}

.am-sl.w80 {
    width: 80%;
}

/* Stagger a skeletonokra */
.am-schema-main .am-sl:nth-child(1) {
    animation-delay: 0.25s;
}

.am-schema-main .am-sl:nth-child(2) {
    animation-delay: 0.32s;
}

.am-schema-main .am-sl:nth-child(3) {
    animation-delay: 0.39s;
}

.am-schema-main .am-sl:nth-child(5) {
    animation-delay: 0.55s;
}

.am-schema-main .am-sl:nth-child(6) {
    animation-delay: 0.62s;
}

.am-schema-main .am-sl:nth-child(7) {
    animation-delay: 0.69s;
}

.am-schema-side .am-sl:nth-child(3) {
    animation-delay: 0.75s;
}

.am-schema-side .am-sl:nth-child(4) {
    animation-delay: 0.82s;
}

/* Hot zónák */
.am-hot {
    background: #E3F3EC;
    border: 1.5px dashed #5FBDA8;
    border-radius: 9px;
    padding: 8px 10px;
    text-align: center;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #2C8B74;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    transform: scale(0.92);
    animation: am-hot-in 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

/* Stagger a hot zónákra */
.am-schema-main .am-hot:nth-of-type(1) {
    animation-delay: 0.45s;
}

/* 02 */
.am-schema-main .am-hot:nth-of-type(2) {
    animation-delay: 0.75s;
}

/* 01 */
.am-schema-main .am-hot:nth-of-type(3) {
    animation-delay: 0.85s;
}

/* 05 */
.am-schema-side .am-hot:nth-of-type(1) {
    animation-delay: 0.55s;
}

/* 06 */
.am-schema-side .am-hot:nth-of-type(2) {
    animation-delay: 0.65s;
}

/* 03 */
.am-hot.is-wide {
    animation-delay: 0.95s;
}

/* 04 */
.am-hot:hover {
    transform: scale(1.06);
    box-shadow: 0 11px 28px rgba(44, 139, 116, 0.22);
    border-color: #2C8B74;
}

/* Natív zónák enyhe folyamatos lélegzése */
.am-hot:not(.is-alt) {
    animation: am-hot-in 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) forwards, am-hot-breathe 4.2s ease-in-out infinite;
}

.am-hot.is-tall {
    padding: 13px 10px;
}

.am-hot.is-alt {
    background: #eef6f2;
    border-color: #b9d5cc;
    color: #5c7b73;
    letter-spacing: 0.4px;
    font-size: 8px;
}

.am-hot.is-alt.is-wide {
    font-size: 9px;
    letter-spacing: 0.5px;
    padding: 10px;
    margin-top: 13px;
}

.am-hot.is-alt.is-sm {
    padding: 10px 7px;
}

.am-hot.is-side {
    padding: 20px 7px;
}

/* Legend */
.am-schema-legend {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #dbeae3;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 10px;
    font-weight: 700;
    color: #5c7b73;
    flex-wrap: wrap;
    opacity: 0;
    animation: am-fade 0.5s ease 1.15s forwards;
}

.am-schema-legend > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.am-sw {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: #eef6f2;
    border: 1.5px dashed #b9d5cc;
}

.am-sw.is-native {
    background: #E3F3EC;
    border-color: #5FBDA8;
}

/* Keyframes. */
@keyframes am-schema-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes am-sl-in {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes am-hot-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes am-hot-breathe {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(95, 189, 168, 0);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(95, 189, 168, 0.12);
    }
}

@keyframes am-fade {
    to {
        opacity: 1;
    }
}

.csatlaozz {
    position: relative;
}

.csatlaozz::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(22, 51, 46, 0.94) 0%, rgba(22, 51, 46, 0.82) 42%, rgba(30, 58, 56, 0.42) 100%);
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}

.csatlaozz > * {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .am-integ-schema,
    .am-sl,
    .am-hot,
    .am-schema-legend {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .am-info-glow,
    .am-float-card,
    .am-float-pill,
    .am-float-pill .am-dot,
    .am-cb,
    .am-wimg.is-grad::after,
    .am-info-chart-value {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 767px) {
.am-float-pill {
    position: absolute;
    bottom: -15px;
    right: 41px;
  
}
.am-float-card {
    position: absolute;
    top: 13%;
    left: -11px;

}
}