/* ═══════════════════════════════════════
   APR ANTIKOR — РАСШИРЕННЫЕ СТИЛИ
   ═══════════════════════════════════════ */

/* region ═══ HERO ANTIKOR ═══ */
.hero--antikor .hero__bg {
    filter: brightness(0.6);
}

.hero--antikor .hero__vignette {
    background: radial-gradient(ellipse at center, transparent 0%, rgba(7, 7, 9, 0.5) 60%, var(--bg-main) 100%);
}

.hero__container {
    position: relative;
    z-index: 10;
}

.hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* --- Стили для элемента SCROLL --- */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeInScroll 1s ease 1.5s forwards;
}

.hero__scroll-line {
    width: 2px;
    height: 64px;
    background: linear-gradient(to bottom, transparent, var(--accent));
    border-radius: 2px;
    animation: scrollPulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-glow);
}

.hero__scroll span {
    font-family: var(--font-tech);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--text-main);
}

@keyframes fadeInScroll {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* Прицельно уменьшаем длинные слова для мобильных устройств на странице Antikor */
@media (max-width: 768px) {
    .hero--antikor .hero__title-line {
        font-size: clamp(2rem, 9vw, 3.5rem);
    }
}

@media (max-width: 480px) {
    .hero--antikor .hero__title-line {
        font-size: clamp(1.4rem, 8.5vw, 2.2rem);
    }
}
/* endregion */
/* region ═══ IMPORTANCE ═══ */
.importance {
    position: relative;
    padding: 120px 0;
    background: var(--bg-section);
    overflow: hidden;
}

.importance__bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(250, 204, 21, 0.03) 0%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.importance__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.importance-card {
    position: relative;
    padding: 44px 36px;
    transition: all 0.5s var(--ease-expo);
}

.importance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    border-radius: 2px 0 0 2px;
    transition: box-shadow 0.4s ease;
}

.importance-card--problem::before {
    background: #ef4444;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

.importance-card--problem:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 32px rgba(239, 68, 68, 0.1);
}

.importance-card--solution::before {
    background: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.importance-card--solution:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 32px rgba(250, 204, 21, 0.15);
}

.importance-card__icon {
    margin-bottom: 28px;
    display: inline-flex;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.importance-card__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.importance-card__desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}
/* endregion */

/* region ═══ TRANSFORMATIONS (Before/After) ═══ */
.transformations {
    padding: 120px 0;
    background: var(--bg-main);
}

.transformation {
    margin-bottom: 80px;
}

.transformation:last-child {
    margin-bottom: 0;
}

.transformation__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.transformation__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.transformation__tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.transformation__tag--featured {
    background: rgba(250, 204, 21, 0.12);
    border-color: rgba(250, 204, 21, 0.25);
    color: var(--accent);
}

/* Comparison Slider */
.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-section);
    box-shadow:
        0 32px 64px -16px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.comparison-slider__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.comparison-slider__img--before {
    clip-path: polygon(0 0, var(--slider-position, 50%) 0, var(--slider-position, 50%) 100%, 0 100%);
}

.comparison-slider__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 100;
    margin: 0;
}

.comparison-slider__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-position, 50%);
    width: 3px;
    background: var(--accent);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 50;
    box-shadow:
        0 0 20px rgba(250, 204, 21, 0.6),
        0 0 40px rgba(250, 204, 21, 0.3);
}

.comparison-slider__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(250, 204, 21, 0.4);
    transition: transform 0.2s var(--ease-expo);
}

.comparison-slider:hover .comparison-slider__handle {
    transform: translate(-50%, -50%) scale(1.1);
}

.comparison-slider__handle svg {
    color: var(--bg-main);
    margin: 0 -3px;
}

.comparison-slider__labels {
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 28px;
    pointer-events: none;
    z-index: 40;
}

.comparison-slider__label {
    padding: 8px 18px;
    background: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-main);
}

.comparison-slider__label--before {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.comparison-slider__label--after {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.transformation__footer {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.transformation__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.transformation__stat-label {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.transformation__stat-value {
    font-family: var(--font-display);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--accent);
}
/* endregion */

/* region ═══ TECHNOLOGY ═══ */
.technology {
    position: relative;
    padding: 120px 0;
    background: var(--bg-section);
    overflow: hidden;
}

.technology__bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(250, 204, 21, 0.04) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.tech-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.tech-step {
    position: relative;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-expo);
}

.tech-step__number {
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: var(--font-tech);
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
    user-select: none;
    pointer-events: none;
    transition: -webkit-text-stroke-color 0.4s ease;
}

.tech-step:hover .tech-step__number {
    -webkit-text-stroke-color: rgba(250, 204, 21, 0.15);
}

.tech-step__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s var(--ease-expo);
}

.tech-step:hover .tech-step__icon {
    background: rgba(250, 204, 21, 0.12);
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(250, 204, 21, 0.2);
}

.tech-step__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.tech-step__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
/* endregion */

/* region ═══ MATERIALS ═══ */
.materials {
    padding: 120px 0;
    background: var(--bg-main);
}

.materials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 64px;
}

.material-card {
    padding: 40px 36px;
    text-align: center;
    transition: all 0.4s var(--ease-expo);
    position: relative;
}

.material-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--bg-section);
    border: 1px solid rgba(250, 204, 21, 0.2);
    border-radius: 50px;
    font-family: var(--font-tech);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.15);
}

.material-card__brand {
    font-family: var(--font-display);
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    color: var(--accent);
}

.material-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
/* endregion */

/* region ═══ BENEFITS ═══ */
.benefits {
    padding: 80px 0;
    background: var(--bg-section);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.benefit-item {
    padding: 36px 32px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.4s var(--ease-expo);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(250, 204, 21, 0.2);
    transform: translateY(-4px);
}

.benefit-item__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s var(--ease-expo);
}

.benefit-item:hover .benefit-item__icon {
    background: rgba(250, 204, 21, 0.12);
    box-shadow: 0 0 24px rgba(250, 204, 21, 0.2);
}

.benefit-item__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.benefit-item__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* endregion */

/* region ═══ CTA BLOCK ═══ */
.cta-block {
    position: relative;
    padding: 120px 0;
    background: var(--bg-main);
    overflow: hidden;
}

.cta-block__bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.cta-block__container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 40px;
    text-align: center;
}

.cta-block__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-block__text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-block__btn {
    padding: 20px 48px;
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 12px;
}
/* endregion */

/* region ═══ MEDIA QUERIES ═══ */
@media (max-width: 1024px) {
    .importance__grid {
        grid-template-columns: 1fr;
    }

    .materials__grid {
        grid-template-columns: 1fr;
    }

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .transformation__footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .transformations {
        padding: 80px 0;
    }

    .transformation {
        margin-bottom: 64px;
    }

    .transformation__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-slider {
        aspect-ratio: 4 / 3;
    }

    .comparison-slider__labels {
        padding: 0 20px;
    }

    .transformation__footer {
        gap: 20px;
        padding: 20px;
    }

    .technology {
        padding: 80px 0;
    }

    .materials {
        padding: 80px 0;
    }

    .benefits {
        padding: 60px 0;
    }

    .cta-block {
        padding: 80px 0;
    }

    .cta-block__container {
        padding: 48px 28px;
    }
}

@media (max-width: 480px) {
    .comparison-slider__handle {
        width: 40px;
        height: 40px;
    }

    .comparison-slider__labels {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .transformation__stat-value {
        font-size: 1.2rem;
    }
}
/* endregion */