
/* Scoped styles for the sliders */
.mr-bf-wrapper,
.mr-bf-wrapper * {
    box-sizing: border-box;
}

.mr-bf-wrapper {
    position: relative;
    max-width: 1840px;
    margin: 15px auto;
    padding: 0 16px;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #e8edff;
}

.mr-bf-hero {
    position: relative;
    overflow: hidden;
    background:
    radial-gradient(circle at 18% 22%, rgba(255, 210, 110, 0.6), rgba(255, 144, 70, 0.5) 56%),
    radial-gradient(circle at 78% 82%, rgba(86, 232, 182, 0.58), rgba(54, 148, 255, 0.5) 58%),
    linear-gradient(120deg, #16253d, #0c1a2f 45%, #0a1628);
    background-size: 180% 180%;
    animation: mr-bf-gradient-flow 16s ease-in-out infinite alternate;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    padding: 32px;
    isolation: isolate;
}

.mr-bf-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.mr-bf-blob {
    position: absolute;
    width: 48%;
    aspect-ratio: 1 / 1;
    filter: blur(72px);
    opacity: 0.8;
    border-radius: 999px;
    animation: mr-bf-blob-shift 18s ease-in-out infinite alternate;
}

.mr-bf-blob-1 {
    top: -18%;
    left: -14%;
    background: radial-gradient(circle, rgba(255, 196, 86, 0.55), rgba(255, 134, 63, 0.4));
}

.mr-bf-blob-2 {
    bottom: -20%;
    right: -12%;
    background: radial-gradient(circle, rgba(86, 230, 173, 0.52), rgba(55, 148, 255, 0.35));
    animation-delay: 1.5s;
}

.mr-bf-blob-3 {
    top: 24%;
    left: 42%;
    background: radial-gradient(circle, rgba(255, 241, 143, 0.45), rgba(61, 155, 255, 0.32));
    animation-delay: 0.8s;
}

.mr-bf-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(320px, 1.9fr) minmax(260px, 1fr);
    gap: 22px;
    align-items: stretch;
    z-index: 1;
}

.mr-bf-sale-card,
.mr-bf-benefits-card {
    position: relative;
    background: rgba(15, 24, 43, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 32px 26px;
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    min-height: 100%;
}

.mr-bf-sale-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.mr-bf-sale-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 720px;
}

.mr-bf-sale-kicker {
    color: #ffc36a;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mr-bf-sale-title {
    margin: 0;
    font-size: clamp(34px, 4.8vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    color: #ffffff;
    background: linear-gradient(120deg, #ffcf7b, #ffffff, #ffae55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mr-bf-sale-text {
    margin: 0;
    color: #f1f3ff;
    font-size: 19px;
    line-height: 1.6;
}

.mr-bf-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 26px 0;
}

.mr-bf-countdown-box {
    position: relative;
    min-width: 104px;
    padding: 14px 12px;
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 194, 92, 0.28), rgba(255, 255, 255, 0.12));
    background-size: 240% 240%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 18px 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: mr-bf-count-sheen 6s ease-in-out infinite;
}

.mr-bf-countdown-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.18) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: mr-bf-count-gloss 4.2s linear infinite;
}

.mr-bf-count-value {
    display: block;
    font-weight: 800;
    font-size: 30px;
    color: #ffde96;
    letter-spacing: 0.04em;
}

.mr-bf-count-label {
    display: block;
    margin-top: 2px;
    color: #f3e8d8;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.mr-bf-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 22px;
    width: 220px;
    min-width: 0;
    max-width: 100%;
    margin-top: 8px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    color: #0f1627;
    background: linear-gradient(120deg, #ffb347, #ff8d3d, #ffcb3b);
    background-size: 180% 180%;
    box-shadow: 0 18px 32px rgba(255, 161, 63, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.35s ease;
    animation: mr-bf-cta-flow 9s ease-in-out infinite;
}

.mr-bf-cta:hover {
    transform: translateY(-2px) scale(1.01);
    background-position: 100% 50%;
    box-shadow: 0 22px 36px rgba(255, 161, 63, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.mr-bf-cta:active {
    transform: translateY(0);
}

.mr-bf-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mr-bf-ring {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 32px rgba(255, 199, 100, 0.4);
    animation: mr-bf-ring-pulse 12s ease-in-out infinite;
}

.mr-bf-ring-1 {
    width: 260px;
    height: 260px;
    top: -48px;
    right: 12%;
}

.mr-bf-ring-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: 8%;
    animation-delay: 2s;
}

.mr-bf-benefits-card {
    background: rgba(18, 26, 44, 0.78);
}

.mr-bf-benefits-kicker {
    margin: 0;
    color: #ffcb7b;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mr-bf-benefits-title {
    margin: 6px 0 4px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(120deg, #ffcf7b, #ffffff, #ffae55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.mr-bf-benefits-subtitle {
    margin: 0 0 14px;
    color: #f1f3ff;
    font-size: 15px;
    line-height: 1.5;
}

.mr-bf-slider-shell {
    position: relative;
    height: min(360px, 78vw);
    max-width: 360px;
    margin: 0 auto;
    padding: 24px 10px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 180, 85, 0.18), rgba(91, 173, 255, 0.14), rgba(34, 52, 92, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.mr-bf-slider-shell::before {
    content: "";
    position: absolute;
    inset: 16px 10px;
    border-radius: 12px;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 65%);
    pointer-events: none;
}

.mr-bf-slider-track {
    position: relative;
    height: 100%;
    overflow: hidden;
    perspective: 1200px;
}

.mr-bf-slide {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(100% - 18px);
    aspect-ratio: 1 / 1;
    padding: 20px 18px 18px;
    border-radius: 14px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 201, 121, 0.16), rgba(37, 58, 99, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    text-align: center;
    transform-origin: center;
    opacity: 0;
    filter: blur(4px) saturate(0.65);
    transform: translateY(40%) scale(0.94);
    transition: transform 0.8s ease, opacity 0.6s ease, filter 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.mr-bf-slide--active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
    pointer-events: auto;
    z-index: 4;
}

.mr-bf-slide--prev {
    opacity: 0.78;
    transform: translateY(-82%) scale(0.95);
    z-index: 3;
}

.mr-bf-slide--next {
    opacity: 0.78;
    transform: translateY(82%) scale(0.95);
    z-index: 2;
}

.mr-bf-slide--hidden {
    opacity: 0;
    transform: translateY(130%) scale(0.9);
}

.mr-bf-slide-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 10px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 195, 99, 0.35), rgba(91, 173, 255, 0.3));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 14px 30px rgba(0, 0, 0, 0.35);
}

.mr-bf-slide-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #ffe5a7;
    stroke-width: 1.8;
}

.mr-bf-slide-title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.mr-bf-slide-text {
    margin: 0;
    min-height: 56px;
    color: #f1f3ff;
    font-size: 15px;
    line-height: 1.5;
}

.mr-bf-slide-link {
    color: #ff993c;
    text-decoration: none;
    font-weight: 700;
}

.mr-bf-slide-link:hover {
    color: #ffc067;
}

.mr-bf-slider-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.mr-bf-slider-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(255, 180, 85, 0.28), rgba(91, 173, 255, 0.18));
    color: #ffcf63;
    font-weight: 800;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.3s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.mr-bf-slider-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.28);
}

.mr-bf-slider-btn:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .mr-bf-wrapper {
        padding: 0 12px;
    }

    .mr-bf-hero {
        padding: 22px 18px;
    }

    .mr-bf-sale-title {
        font-size: clamp(28px, 5vw, 40px);
    }

    .mr-bf-sale-text {
        font-size: 15px;
    }

    .mr-bf-benefits-title {
        font-size: 20px;
    }

    .mr-bf-benefits-subtitle {
        font-size: 13px;
    }

    .mr-bf-slide-title {
        font-size: 16px;
    }

    .mr-bf-slide-text {
        font-size: 13.5px;
    }

    .mr-bf-slider-shell {
        height: min(320px, 82vw);
    }

    .mr-bf-slider-controls {
        display: none;
    }
}

@media (max-width: 768px) {
    .mr-bf-hero {
        border-radius: 18px;
    }

    .mr-bf-sale-card,
    .mr-bf-benefits-card {
        padding: 22px 18px;
    }

    .mr-bf-sale-card {
        justify-content: center;
    }

    .mr-bf-countdown {
        gap: 10px;
    }

    .mr-bf-countdown-box {
        min-width: 88px;
    }
}

@media (max-width: 640px) {
    .mr-bf-wrapper {
        padding: 0 10px;
    }

    .mr-bf-hero-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 12px;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        padding-right: 16px;
    }

    .mr-bf-sale-card,
    .mr-bf-benefits-card {
        scroll-snap-align: start;
    }

    .mr-bf-sale-card {
        min-width: 75vw;
    }

    .mr-bf-benefits-card {
        min-width: 80vw;
    }

    .mr-bf-mobile-arrow {
        display: none;
    }

    .mr-bf-sale-title {
        font-size: 30px;
    }

    .mr-bf-count-value {
        font-size: 24px;
    }

    .mr-bf-cta {
        width: 100%;
        justify-content: center;
    }

    .mr-bf-slider-shell {
        height: 300px;
        padding: 24px 8px;
    }

    .mr-bf-slide {
        width: calc(100% - 10px);
    }
}

@keyframes mr-bf-gradient-flow {
    0% {
        background-position: 0% 40%;
    }
    50% {
        background-position: 50% 60%;
    }
    100% {
        background-position: 100% 40%;
    }
}

@keyframes mr-bf-blob-shift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(12%, 6%, 0) scale(1.08);
    }
    100% {
        transform: translate3d(-8%, 10%, 0) scale(0.98);
    }
}

@keyframes mr-bf-count-sheen {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 120% 0%;
    }
}

@keyframes mr-bf-count-gloss {
    0% {
        transform: translateX(-140%);
    }
    50% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(140%);
    }
}

@keyframes mr-bf-cta-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes mr-bf-ring-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.07);
        opacity: 0.85;
    }
    100% {
        transform: scale(1);
        opacity: 0.55;
    }
}

/* Education hero styles */
:root {
    --edu-primary: #ffa726;
    --edu-primary-strong: #f59e0b;
    --edu-surface: #ffffff;
    --edu-bg: #f8fafc;
    --edu-text-main: #1e293b;
    --edu-text-secondary: #4b5563;
    --edu-text-muted: #94a3b8;
    --edu-border: #e2e8f0;
    --edu-radius: 18px;
    --edu-shadow: 0 20px 60px -25px rgba(15, 23, 42, 0.35);
    --edu-benefit-height: 92px;
}

.edu-hero-section,
.edu-hero-section * {
    box-sizing: border-box;
}

.edu-hero-section {
    position: relative;
    max-width: 1840px;
    margin: 12px auto 32px;
    padding: 0 16px;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--edu-text-main);
}

.edu-hero-section {
    position: relative;
    isolation: isolate;
}

.edu-hero-aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.edu-hero-blob {
    position: absolute;
    width: 50%;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.6;
}

.edu-hero-blob--warm {
    top: -18%;
    left: -12%;
    background: radial-gradient(circle, rgba(255, 214, 143, 0.7), rgba(255, 171, 92, 0.55));
}

.edu-hero-blob--cool {
    bottom: -18%;
    right: -12%;
    background: radial-gradient(circle, rgba(157, 206, 255, 0.7), rgba(117, 161, 255, 0.55));
}

.edu-hero-blob--accent {
    top: 18%;
    right: 22%;
    background: radial-gradient(circle, rgba(255, 223, 186, 0.5), rgba(255, 200, 138, 0.35));
    filter: blur(110px);
}

.edu-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(320px, 1.5fr) minmax(280px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.edu-hero-card,
.edu-benefits-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--edu-radius);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--edu-shadow);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.edu-hero-card {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

.edu-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px 10px;
    border-bottom: 1px solid #eef2f6;
}

.edu-tabs {
    display: inline-flex;
    gap: 8px;
}

.edu-tab {
    position: relative;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--edu-text-secondary);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.edu-tab:hover {
    color: var(--edu-text-main);
    border-color: #f4f4f5;
    background: #f8fafc;
}

.edu-tab.is-active {
    color: var(--edu-primary-strong);
    border-color: rgba(255, 167, 38, 0.3);
    background: linear-gradient(135deg, rgba(255, 232, 200, 0.55), rgba(255, 255, 255, 0.9));
    box-shadow: 0 10px 22px -12px rgba(255, 167, 38, 0.45);
}

.edu-hero-animated {
    flex: 1 1 auto;
    padding: 16px 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
}

.edu-hero-animated.is-changing {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
}

.edu-hero-header {
    position: relative;
    padding: 4px 12px 8px;
}

.edu-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 167, 38, 0.12);
    color: var(--edu-primary-strong);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.edu-hero-kicker::before {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, var(--edu-primary), rgba(255, 167, 38, 0.1));
    border-radius: 4px;
}

.edu-hero-title {
    margin: 10px 0 8px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--edu-text-main);
}

.edu-hero-description {
    margin: 0;
    max-width: 780px;
    color: var(--edu-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.edu-hero-main {
    display: grid;
    grid-template-columns: minmax(230px, 260px) 1fr;
    gap: 22px;
    align-items: start;
    padding: 8px 10px 4px;
}

.edu-book-card {
    display: flex;
    justify-content: center;
}

.edu-sprint-card {
    width: 100%;
    max-width: 260px;
    perspective: 1600px;
}

.edu-sprint-card__inner {
    position: relative;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 237, 213, 0.8), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(255, 167, 38, 0.18);
    box-shadow: 0 12px 32px -18px rgba(15, 23, 42, 0.45);
    isolation: isolate;
}

.edu-sprint-card__front {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.92));
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(8, 12, 32, 0.25);
    transform-origin: bottom;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 2;
    min-height: 320px;
}

.edu-sprint-card__front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edu-sprint-card__media {
    height: 150px;
    background-size: cover;
    background-position: center;
    filter: saturate(1.05);
}

.edu-sprint-card__body {
    padding: 16px 18px 18px;
    min-height: 150px;
}

.edu-sprint-card__tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 167, 38, 0.18);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--edu-text-main);
    font-weight: 800;
}

.edu-sprint-card__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    color: var(--edu-text-main);
    line-height: 1.3;
}

.edu-sprint-card__excerpt {
    margin: 0;
    color: var(--edu-text-secondary);
    font-size: 13px;
    line-height: 1.55;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding-top 0.25s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(249, 115, 22, 0.4) transparent;
}

.edu-sprint-card__excerpt::-webkit-scrollbar {
    width: 6px;
}

.edu-sprint-card__excerpt::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
    border-radius: 999px;
}

.edu-sprint-card__excerpt::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.4);
    border-radius: 999px;
}

.edu-sprint-card:hover .edu-sprint-card__excerpt {
    max-height: 140px;
    opacity: 1;
    padding-top: 6px;
}

.edu-sprint-card__content {
    position: absolute;
    inset: 26px 22px 20px;
    padding: 18px 16px 18px;
    background: #fffdf6;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 14px 26px rgba(15, 23, 42, 0.14);
    transform: translateY(34px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.35s ease;
    font-size: 13.5px;
    line-height: 1.6;
    overflow: auto;
    background-image: linear-gradient(180deg, rgba(255, 199, 95, 0.5) 0, rgba(255, 199, 95, 0.5) 4px, transparent 4px);
    background-repeat: no-repeat;
    color: #1f2937;
    z-index: 10;
    scrollbar-width: thin;
    scrollbar-color: rgba(249, 115, 22, 0.5) transparent;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

.edu-sprint-card__content::-webkit-scrollbar {
    width: 6px;
}

.edu-sprint-card__content::-webkit-scrollbar-track {
    background: transparent;
    margin: 6px 0;
    border-radius: 999px;
}

.edu-sprint-card__content::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.4);
    border-radius: 999px;
}

.edu-sprint-card__link {
    display: inline-block;
    margin-top: 12px;
    color: #c2410c;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.edu-sprint-card:hover .edu-sprint-card__front {
    transform: translateY(-18px) rotateX(6deg);
    box-shadow: 0 26px 62px rgba(5, 10, 25, 0.35);
}

.edu-sprint-card:hover .edu-sprint-card__front::after {
    opacity: 0.5;
}

.edu-sprint-card:hover .edu-sprint-card__content {
    transform: translateY(0);
    opacity: 1;
}

.edu-book-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edu-book-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--edu-text-main);
}

.edu-book-description {
    margin: 0;
    color: var(--edu-text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.edu-skills {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.edu-skills-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--edu-text-muted);
    margin-bottom: 8px;
}

.edu-skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.edu-skills-list li {
    position: relative;
    padding-left: 20px;
    color: var(--edu-text-secondary);
    font-size: 13px;
    line-height: 1.4;
}

.edu-skills-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--edu-primary), #ffcb65);
    box-shadow: 0 0 0 4px rgba(255, 167, 38, 0.15);
}

.edu-stepper {
    margin-top: auto;
    padding: 12px 8px 6px;
    border-top: 1px solid #eef2f6;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.edu-stepper-line {
    flex: 1;
    height: 4px;
    background: #e5e7eb;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    min-width: 40px;
}

.edu-stepper-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 167, 38, 0.25), rgba(255, 167, 38, 0.8));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.edu-stepper-line.is-filled::after {
    transform: scaleX(1);
}

.edu-stepper-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.edu-stepper-item:hover {
    transform: translateY(-1px);
}

.edu-stepper-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: var(--edu-text-secondary);
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: all 0.25s ease;
}

.edu-stepper-item--active .edu-stepper-dot {
    background: linear-gradient(145deg, #ffdca0, #ffb84a);
    color: #0f172a;
    border-color: rgba(255, 167, 38, 0.4);
    box-shadow: 0 10px 20px -10px rgba(255, 167, 38, 0.6);
}

.edu-stepper-item--done .edu-stepper-dot {
    background: #ffe6bf;
    color: #0f172a;
    border-color: rgba(255, 167, 38, 0.35);
}

.edu-stepper-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.edu-stepper-label {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--edu-text-muted);
}

.edu-stepper-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--edu-text-main);
    white-space: nowrap;
    max-width: 140px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.edu-benefits-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
}

.edu-benefits-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edu-benefits-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--edu-primary-strong);
}

.edu-benefits-title {
    margin: 0;
    font-size: 24px;
    font-weight: 900;
    color: var(--edu-text-main);
    letter-spacing: -0.01em;
}

.edu-benefits-subtitle {
    margin: 0;
    color: var(--edu-text-secondary);
    font-size: 14px;
}

.edu-benefits-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 4px 2px 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 167, 38, 0.4) transparent;
}

.edu-benefits-list::-webkit-scrollbar {
    width: 6px;
}

.edu-benefits-list::-webkit-scrollbar-track {
    background: transparent;
}

.edu-benefits-list::-webkit-scrollbar-thumb {
    background: rgba(255, 167, 38, 0.4);
    border-radius: 999px;
}

.edu-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.35);
    flex-shrink: 0;
}

.edu-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 218, 165, 0.6), rgba(255, 185, 100, 0.4));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #0f172a;
    border: 1px solid rgba(255, 167, 38, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    color: #c2410c;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.edu-benefit-icon svg {
    width: 26px;
    height: 26px;
}

.edu-benefit:hover .edu-benefit-icon {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -16px rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.edu-benefit-body {
    flex: 1;
    min-width: 0;
}

.edu-benefit-title {
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 800;
    color: var(--edu-text-main);
}

.edu-benefit-text {
    margin: 0;
    color: var(--edu-text-secondary);
    font-size: 12.5px;
    line-height: 1.5;
}

.edu-benefit-link {
    color: var(--edu-primary-strong);
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.edu-benefit-link:hover {
    color: #ff8b26;
}

.edu-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    width: 100%;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    color: #0f172a;
    background: linear-gradient(120deg, #ffcf84, #ffa726, #ffb347);
    background-size: 160% 160%;
    box-shadow: 0 16px 30px -18px rgba(255, 167, 38, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.35s ease, letter-spacing 0.2s ease;
}

.edu-primary-cta:hover {
    transform: translateY(-2px);
    background-position: 100% 50%;
    box-shadow: 0 18px 38px -20px rgba(255, 167, 38, 0.75);
    letter-spacing: 0.02em;
}

.edu-primary-cta:active {
    transform: translateY(0);
}

.edu-cta-icon {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.edu-primary-cta:hover .edu-cta-icon {
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .edu-hero-grid {
        grid-template-columns: 1fr;
    }

    .edu-hero-card {
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .edu-hero-section {
        padding: 0 12px;
    }

    .edu-hero-main {
        grid-template-columns: 1fr;
    }

    .edu-book-cover-inner {
        width: 150px;
    }

    .edu-skills-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 820px) {
    .edu-hero-card {
        padding: 12px;
    }

    .edu-tabs {
        flex-wrap: wrap;
    }

    .edu-stepper {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .edu-stepper-line {
        display: none;
    }

    .edu-stepper-item {
        width: calc(50% - 7px);
    }

    .edu-stepper-title {
        max-width: none;
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .edu-hero-section {
        padding: 0 10px;
    }

    .edu-hero-blob {
        display: none;
    }

    .edu-hero-title {
        font-size: 24px;
    }

    .edu-book-title {
        font-size: 16px;
    }

    .edu-benefits-card {
        padding: 14px;
    }

}

@media (max-width: 480px) {
    .edu-hero-main {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .edu-sprint-card {
        max-width: 100%;
    }

    .edu-sprint-card__inner {
        padding: 10px;
    }

    .edu-sprint-card__front {
        min-height: 0;
    }

    .edu-sprint-card__media {
        height: 130px;
    }

    .edu-sprint-card__body {
        padding: 14px 14px 16px;
        min-height: auto;
    }

    .edu-sprint-card__title {
        font-size: 15px;
    }

    .edu-sprint-card__excerpt {
        font-size: 12.5px;
    }

    .edu-sprint-card__content {
        inset: 18px 14px 12px;
        font-size: 12.5px;
        line-height: 1.55;
    }

    .edu-stepper-item {
        width: 100%;
    }
}

/* ---------------- Promo 2y for 1 ---------------- */
.promo-2y {
    --p-sun: #ffc34d;
    --p-amber: #ff9f1c;
    --p-lime: #8be35b;
    --p-sky: #48b2ff;
    --p-ink: #0b1221;
    --p-line: #dfe7ef;
    --p-paper: #f7f9fb;
    --p-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
    color: var(--p-ink);
    font-family: "Inter", "Space Grotesk", "Segoe UI", sans-serif;
    display: flex;
    justify-content: center;
    margin: 18px 0 30px;
}

.promo-2y * {
    box-sizing: border-box;
}

.promo-2y .promo-2y__hero {
    position: relative;
    margin: 0 20px;
    background: radial-gradient(circle at 10% 20%, rgba(255, 207, 109, 0.2), transparent 26%),
    radial-gradient(circle at 80% 10%, rgba(72, 178, 255, 0.18), transparent 25%),
    radial-gradient(circle at 65% 70%, rgba(139, 227, 91, 0.16), transparent 30%),
    linear-gradient(135deg, #fdfdfd 0%, #f4f8fb 100%);
    border: 1px solid var(--p-line);
    border-radius: 32px;
    padding: 34px 26px;
    box-shadow: var(--p-shadow);
    overflow: hidden;
}

.promo-2y .promo-2y__hero::before,
.promo-2y .promo-2y__hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    mix-blend-mode: screen;
    animation: promo-2y-float 12s ease-in-out infinite;
}

.promo-2y .promo-2y__hero::before {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(255, 159, 28, 0.35), transparent 60%);
    top: -120px;
    right: -80px;
    animation-delay: 1s;
}

.promo-2y .promo-2y__hero::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(72, 178, 255, 0.35), transparent 60%);
    bottom: -90px;
    left: -60px;
    animation-delay: 3s;
}

.promo-2y .promo-2y__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    align-items: center;
    z-index: 1;
}

.promo-2y .promo-2y__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 195, 77, 0.9), rgba(72, 178, 255, 0.9));
    color: var(--p-ink);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 12px;
    box-shadow: 0 10px 30px rgba(255, 195, 77, 0.35);
}

.promo-2y .promo-2y__eyebrow span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
}

.promo-2y .promo-2y__title {
    margin: 16px 0 12px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.promo-2y .promo-2y__tagline {
    font-size: 18px;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 16px;
    max-width: 620px;
}

.promo-2y .promo-2y__price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 22px;
    flex-wrap: wrap;
}

.promo-2y .promo-2y__price {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 14px 18px;
    background: #0f172a;
    color: #fff;
    border-radius: 7px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.promo-2y .promo-2y__price strong {
    font-size: 30px;
    letter-spacing: -0.02em;
}

.promo-2y .promo-2y__price small {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.promo-2y .promo-2y__pulse {
    height: 6px;
    width: 140px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--p-amber), var(--p-lime), var(--p-sky));
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 159, 28, 0.3);
}

.promo-2y .promo-2y__pulse::after {
    content: "";
    position: absolute;
    left: -30%;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
    animation: promo-2y-shine 2.2s infinite;
}

.promo-2y .promo-2y__ticker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px dashed var(--p-line);
    font-size: 14px;
    color: #0f172a;
    margin-top: 6px;
}

.promo-2y .promo-2y__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--p-amber), var(--p-sky));
    box-shadow: 0 0 0 0 rgba(255, 159, 28, 0.5);
    animation: promo-2y-ping 1.6s infinite;
}

.promo-2y .promo-2y__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.promo-2y .promo-2y__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
    font-size: 15px;
    text-decoration: none;
}

.promo-2y .promo-2y__btn-primary {
    background: linear-gradient(100deg, #ffb100 0%, #ffc34d 64%, #ffc34d 78%, #48b2ff 140%);
    background-size: 140% 140%;
    background-position: 8% 50%;
    color: #0f172a;
    box-shadow: 0 18px 40px rgba(255, 159, 28, 0.35);
}

.promo-2y .promo-2y__btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 22px 48px rgba(72, 178, 255, 0.32);
}

.promo-2y .promo-2y__btn-ghost {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--p-line);
    color: #0b1221;
}

.promo-2y .promo-2y__btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--p-sky);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.promo-2y .promo-2y__perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 24px 0 0;
}

.promo-2y .promo-2y__perk {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border: 1px solid var(--p-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.promo-2y .promo-2y__perk:hover {
    transform: translateY(-3px);
    border-color: var(--p-sky);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.promo-2y .promo-2y__icon {
    width: 50px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(140deg, rgba(255, 195, 77, 0.18), rgba(72, 178, 255, 0.18));
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0b1221;
    font-size: 16px;
    line-height: 1;
}

.promo-2y .promo-2y__perk strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.promo-2y .promo-2y__perk span {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
}

.promo-2y .promo-2y__visual {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}

.promo-2y .promo-2y__blob {
    position: absolute;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 195, 77, 0.25), rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 70% 70%, rgba(72, 178, 255, 0.23), rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 50% 50%, rgba(139, 227, 91, 0.18), rgba(255, 255, 255, 0) 45%);
    filter: blur(18px);
    border-radius: 50%;
    animation: promo-2y-pulse 8s ease-in-out infinite;
    top: -40px;
    right: -10px;
}

.promo-2y .promo-2y__stack {
    position: relative;
    width: min(420px, 100%);
    perspective: 1200px;
    z-index: 2;
    cursor: pointer;
    user-select: none;
}

.promo-2y .promo-2y__card {
    position: absolute;
    width: 100%;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--p-line);
    border-radius: 22px;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.18);
    transform-style: preserve-3d;
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
    backdrop-filter: blur(6px);
}

.promo-2y .promo-2y__card:hover {
    transform: translateY(-6px) rotate3d(1, -1, 0, 6deg) scale(1.01);
    box-shadow: 0 25px 70px rgba(72, 178, 255, 0.32);
    border-color: rgba(72, 178, 255, 0.6);
}

.promo-2y .promo-2y__card.is-shifting {
    transform: translateY(-10px) scale(1.01);
}

.promo-2y .promo-2y__card h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.promo-2y .promo-2y__card p {
    margin: 0;
    color: #475569;
    line-height: 1.45;
    font-size: 14px;
}

.promo-2y .promo-2y__card:nth-child(1) {
    top: 0;
    left: 0;
    animation: promo-2y-slide 0.8s ease forwards;
}

.promo-2y .promo-2y__card:nth-child(2) {
    top: 38px;
    left: 12px;
    animation: promo-2y-slide 1s ease forwards;
}

.promo-2y .promo-2y__card:nth-child(3) {
    top: 76px;
    left: 24px;
    animation: promo-2y-slide 1.2s ease forwards;
}

.promo-2y .promo-2y__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
}

.promo-2y .promo-2y__pill-amber {
    background: rgba(255, 195, 77, 0.18);
    color: #a66300;
}

.promo-2y .promo-2y__pill-sky {
    background: rgba(72, 178, 255, 0.18);
    color: #0d6fa9;
}

.promo-2y .promo-2y__pill-lime {
    background: rgba(139, 227, 91, 0.18);
    color: #3b7b17;
}

.promo-2y .promo-2y__card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.promo-2y .promo-2y__wave {
    display: flex;
    gap: 8px;
}

.promo-2y .promo-2y__wave span {
    width: 10px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(160deg, var(--p-sky), #a7f6d8);
    animation: promo-2y-equalize 1.4s ease-in-out infinite;
}

.promo-2y .promo-2y__wave span:nth-child(2) {
    animation-delay: 0.2s;
}

.promo-2y .promo-2y__wave span:nth-child(3) {
    animation-delay: 0.4s;
}

.promo-2y .promo-2y__wave span:nth-child(4) {
    animation-delay: 0.6s;
}

.promo-2y .promo-2y__chip {
    position: absolute;
    padding: 10px 14px;
    border-radius: 14px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
    animation: promo-2y-float 6s ease-in-out infinite;
}

.promo-2y .promo-2y__chip-top {
    top: -107px;
    left: 54px;
}

.promo-2y .promo-2y__chip-mid {
    top: 10px;
    right: 93px;
    background: linear-gradient(120deg, var(--p-sun), var(--p-sky));
    color: #0b1221;
}

.promo-2y .promo-2y__chip-bottom {
    top: 102px;
    left: 56px;
    background: #0b1221;
}

.promo-2y .promo-2y__chip small {
    display: block;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes promo-2y-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes promo-2y-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes promo-2y-slide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes promo-2y-equalize {
    0%, 100% {
        transform: scaleY(0.6);
    }
    50% {
        transform: scaleY(1.1);
    }
}

@keyframes promo-2y-shine {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(260%);
    }
}

@keyframes promo-2y-ping {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 159, 28, 0.45);
    }
    70% {
        transform: scale(1.15);
        box-shadow: 0 0 0 16px rgba(255, 159, 28, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 159, 28, 0);
    }
}

@media (max-width: 900px) {
    .promo-2y .promo-2y__hero {
        padding: 26px 18px;
    }

    .promo-2y .promo-2y__visual {
        min-height: 380px;
    }

    .promo-2y .promo-2y__card {
        padding: 18px 18px;
    }

    .promo-2y .promo-2y__chip-top {
        top: -64px;
    }
}

@media (max-width: 640px) {
    
    .promo-2y .promo-2y__title {
        font-size: 28px;
    }
    
    .promo-2y .promo-2y__tagline {
        font-size: 16px;
        margin: 0 3px 16px;
    }
    
    .promo-2y .promo-2y__ticker {
        font-size: 12px;
    }

    .promo-2y .promo-2y__visual {
        display: none;
    }
    
    .promo-2y .promo-2y__eyebrow {
        font-size: 9px;
    }
    
    .promo-2y .promo-2y__price {
        margin-right: 15px;
    }
    
    .promo-2y .promo-2y__price strong {
        font-size: 20px;
    }
    
    .promo-2y .promo-2y__perk {
        margin-right: 15px;
    }
}

/* ---------------- Новогодний баннер ---------------- */
.mr-xmas-section,
.mr-xmas-section * {
    box-sizing: border-box;
}

.mr-xmas-section {
    position: relative;
    max-width: 1840px;
    margin: 16px auto 32px;
    padding: 0 16px;
}

.mr-xmas-hero {
    --xmas-blue-1: #0b1440;
    --xmas-blue-2: #1b3f99;
    --xmas-blue-3: #0a1233;
    --xmas-gold: #ffd778;
    --xmas-orange: #ff9f5c;
    --xmas-green: #7cf0c4;
    --xmas-glass: rgba(255, 255, 255, 0.16);
    --xmas-glass-border: rgba(255, 255, 255, 0.3);
    position: relative;
    width: 100%;
    min-height: 520px;
    padding: 48px 24px;
    border-radius: 32px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--xmas-blue-1) 0%, var(--xmas-blue-2) 55%, var(--xmas-blue-3) 100%);
    box-shadow: 0 28px 70px rgba(8, 13, 32, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    isolation: isolate;
}

.mr-xmas-hero .material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.mr-xmas-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.mr-xmas-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.75;
    animation: mr-xmas-drift 18s ease-in-out infinite alternate;
}

.mr-xmas-glow--one {
    width: 50%;
    height: 50%;
    top: -22%;
    left: -12%;
    background: radial-gradient(circle, rgba(88, 156, 255, 0.55), rgba(30, 73, 200, 0.1));
}

.mr-xmas-glow--two {
    width: 40%;
    height: 60%;
    right: -12%;
    bottom: -12%;
    background: radial-gradient(circle, rgba(184, 128, 255, 0.4), rgba(59, 38, 128, 0.1));
    animation-delay: 1.2s;
}

.mr-xmas-glow--three {
    width: 30%;
    height: 30%;
    top: 18%;
    right: 12%;
    background: radial-gradient(circle, rgba(124, 240, 196, 0.35), rgba(22, 98, 74, 0.08));
    animation-delay: 2s;
}

.mr-xmas-glow--four {
    width: 22%;
    height: 40%;
    left: 18%;
    bottom: 18%;
    background: radial-gradient(circle, rgba(255, 213, 118, 0.25), rgba(120, 86, 16, 0.05));
    animation-delay: 0.6s;
}

.mr-xmas-spark {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
    animation: mr-xmas-pulse 2.8s ease-in-out infinite;
}

.mr-xmas-spark--one {
    width: 6px;
    height: 6px;
    top: 38px;
    left: 22%;
}

.mr-xmas-spark--two {
    width: 5px;
    height: 5px;
    top: 92px;
    right: 36%;
    animation-delay: 0.7s;
}

.mr-xmas-spark--three {
    width: 8px;
    height: 8px;
    bottom: 128px;
    left: 14%;
    opacity: 0.4;
    animation-delay: 0.3s;
}

.mr-xmas-spark--four {
    width: 6px;
    height: 6px;
    top: 52%;
    right: 52px;
    animation-delay: 1s;
}

.mr-xmas-spark--five {
    width: 4px;
    height: 4px;
    top: 22%;
    left: 8%;
    animation-delay: 0.4s;
}

.mr-xmas-spark--six {
    width: 7px;
    height: 7px;
    top: 18%;
    right: 12%;
    opacity: 0.5;
    animation-delay: 1.2s;
}

.mr-xmas-spark--seven {
    width: 5px;
    height: 5px;
    bottom: 22%;
    right: 18%;
    animation-delay: 0.9s;
}

.mr-xmas-spark--eight {
    width: 6px;
    height: 6px;
    bottom: 30%;
    left: 36%;
    opacity: 0.35;
    animation-delay: 0.5s;
}

.mr-xmas-spark--nine {
    width: 4px;
    height: 4px;
    top: 36%;
    right: 42%;
    animation-delay: 1.4s;
}

.mr-xmas-spark--ten {
    width: 6px;
    height: 6px;
    bottom: 14%;
    right: 8%;
    animation-delay: 0.6s;
}

.mr-xmas-spark--eleven {
    width: 5px;
    height: 5px;
    top: 64%;
    left: 28%;
    opacity: 0.45;
    animation-delay: 1.1s;
}

.mr-xmas-spark--twelve {
    width: 7px;
    height: 7px;
    top: 30%;
    left: 52%;
    animation-delay: 0.8s;
}

.mr-xmas-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.mr-xmas-floats {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.mr-xmas-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--xmas-glass);
    border: 1px solid var(--xmas-glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(8, 14, 35, 0.35);
    color: #f3f7ff;
    font-size: 13px;
    font-weight: 600;
    pointer-events: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.mr-xmas-float:hover {
    animation: none;
    transform: translateY(-4px) scale(1.03);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 22px 48px rgba(8, 14, 35, 0.45);
}

.mr-xmas-float-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #ffe6a3;
    flex-shrink: 0;
}

.mr-xmas-float-icon--blue {
    background: rgba(62, 141, 255, 0.25);
    color: #b8d6ff;
}

.mr-xmas-float-icon--green {
    background: rgba(75, 212, 152, 0.25);
    color: #b5ffe1;
}

.mr-xmas-float-icon--yellow {
    background: rgba(255, 214, 109, 0.24);
    color: #ffe3a4;
}

.mr-xmas-float-icon--purple {
    background: rgba(171, 120, 255, 0.22);
    color: #e4d0ff;
}

.mr-xmas-float-icon--orange {
    background: rgba(255, 165, 86, 0.22);
    color: #ffd1a3;
}

.mr-xmas-float-icon--indigo {
    background: rgba(110, 132, 255, 0.22);
    color: #c7d2ff;
}

.mr-xmas-float-icon--red {
    background: rgba(255, 115, 115, 0.22);
    color: #ffd0d0;
}

.mr-xmas-icon {
    font-size: 20px;
    line-height: 1;
}

.mr-xmas-float-text {
    white-space: nowrap;
}

.mr-xmas-float--library {
    top: 28px;
    left: 28px;
}

.mr-xmas-float--new {
    top: 32px;
    right: 34px;
}

.mr-xmas-float--exclusive {
    top: 50%;
    left: 18px;
    margin-top: -22px;
}

.mr-xmas-float--quiz {
    top: 35%;
    right: 22px;
    margin-top: -6px;
}

.mr-xmas-float--collections {
    bottom: 26px;
    left: 90px;
}

.mr-xmas-float--audio {
    bottom: 26px;
    right: 140px;
}

.mr-xmas-float--gift {
    bottom: 120px;
    right: 36px;
}

.mr-xmas-float--float {
    animation: mr-xmas-float 6s ease-in-out infinite;
}

.mr-xmas-float--float-delayed {
    animation: mr-xmas-float-delayed 7s ease-in-out infinite;
}

.mr-xmas-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 680px;
    text-align: center;
}

.mr-xmas-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffe08f;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.mr-xmas-title {
    margin: 0;
    font-size: clamp(32px, 4.8vw, 60px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.mr-xmas-title-top {
    color: #ffffff;
    display: block;
}

.mr-xmas-title-accent {
    display: block;
    background: linear-gradient(90deg, #ffd976, #ffb36d, #ffd976);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-top: 12px;
    text-shadow: 0 0 18px rgba(255, 208, 110, 0.35);
    animation: mr-xmas-accent 2.8s ease-in-out infinite;
}

.mr-xmas-title-sub {
    display: block;
    margin-top: 12px;
    font-size: clamp(18px, 2.2vw, 30px);
    font-weight: 700;
    color: rgba(214, 230, 255, 0.9);
}

.mr-xmas-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(220, 233, 255, 0.88);
    max-width: 560px;
}

.mr-xmas-actions {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mr-xmas-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    font-family: inherit;
    background: linear-gradient(95deg, #ffd976, #ff9f5c);
    box-shadow: 0 18px 36px rgba(255, 170, 84, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    text-decoration: none;
}

.mr-xmas-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 24px 46px rgba(255, 170, 84, 0.45);
}

.mr-xmas-cta-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mr-xmas-cta-icon {
    font-size: 20px;
    transition: transform 0.25s ease;
}

.mr-xmas-cta:hover .mr-xmas-cta-icon {
    transform: translateX(4px);
}

.mr-xmas-cta-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
    transform: translateY(100%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.mr-xmas-cta:hover .mr-xmas-cta-shine {
    transform: translateY(0);
}

.mr-xmas-valid {
    font-size: 12px;
    color: rgba(198, 218, 255, 0.78);
}

@media (min-width: 768px) {
    .mr-xmas-floats {
        display: block;
    }
}

@media (min-width: 640px) {
    .mr-xmas-actions {
        flex-direction: row;
    }
}

@media (max-width: 1024px) {
    .mr-xmas-section {
        padding: 0 12px;
    }

    .mr-xmas-hero {
        padding: 40px 20px;
        min-height: 480px;
    }

    .mr-xmas-float--audio {
        right: 120px;
    }
}

@media (max-width: 900px) {
    .mr-xmas-hero {
        padding: 36px 18px;
        border-radius: 24px;
        min-height: 440px;
    }
    
    .mr-xmas-floats {
        display: none;
    }

    .mr-xmas-description {
        font-size: 15px;
    }

    .mr-xmas-cta {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 640px) {
    .mr-xmas-section {
        padding: 0 10px;
    }

    .mr-xmas-hero {
        padding: 32px 16px;
        min-height: 420px;
    }

    .mr-xmas-description {
        display: none;
    }

    .mr-xmas-actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mr-xmas-hero *,
    .mr-xmas-hero *::before,
    .mr-xmas-hero *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@keyframes mr-xmas-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(4%, -3%, 0) scale(1.05);
    }
    100% {
        transform: translate3d(-3%, 4%, 0) scale(0.98);
    }
}

@keyframes mr-xmas-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes mr-xmas-float-delayed {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes mr-xmas-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.2);
    }
}

@keyframes mr-xmas-accent {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 213, 118, 0.35);
    }
    50% {
        text-shadow: 0 0 22px rgba(255, 155, 92, 0.55);
    }
}
/* -------------- Конец новогоднего баннера -------------- */

/* BEGIN SPRING PROMO 2026 STYLES */
/* Spring Promo 2026 */
.spring-promo-section {
    width: 100%;
    margin-bottom: 4rem;
}
.spring-promo-wrapper {
    position: relative;
    width: 100%;
    max-width: 1152px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    box-sizing: border-box;
}
.spring-promo-wrapper * {
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .spring-promo-wrapper {
        width: calc(100% - 32px); /* 16px отступы с каждой стороны */
        margin: 0 auto;
        border-radius: 1.25rem;
    }
}

.spring-promo-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 650px;
}
@media (max-width: 767px) {
    .spring-promo-inner {
        min-height: auto;
    }
}
@media (min-width: 768px) {
    .spring-promo-inner {
        flex-direction: row;
    }
}

.spring-promo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
    background-color: #ffffff;
}

@media (max-width: 767px) {
    .spring-promo-content {
        padding: 1.5rem 1.25rem; /* Чуть меньше отступы на узких экранах */
    }
}

@media (min-width: 768px) {
    .spring-promo-content {
        width: 45%;
        flex: none;
    }
}

@media (min-width: 1024px) {
    .spring-promo-content {
        padding: 4rem;
    }
}

.spring-promo-text-box {
    max-width: 28rem;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .spring-promo-text-box {
        margin: 0;
    }
}

.spring-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: rgba(240, 253, 244, 0.8);
    border: 1px solid #dcfce7;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    width: max-content;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.spring-promo-badge svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.spring-promo-h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-bottom: 1.5rem;
    margin-top: 0;
}
@media (min-width: 1024px) {
    .spring-promo-h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
}

.spring-promo-h1 .font-bold {
    font-weight: 700;
}

.spring-promo-h1 .gradient-text {
    font-weight: 800;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, #16a34a, #4ade80);
}

.spring-promo-desc {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.625;
    font-weight: 500;
    margin-top: 0;
}

.spring-promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background-image: radial-gradient(ellipse at top, #FF9F7C, #FF7F50);
    transition: all 0.3s;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px -5px rgba(255,127,80,0.4);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
}
@media (min-width: 640px) {
    .spring-promo-btn {
        width: auto;
    }
}
.spring-promo-btn:hover {
    background-image: radial-gradient(ellipse at top, #FF9F7C, #ff6b3d);
    box-shadow: 0 15px 25px -5px rgba(255,127,80,0.5);
    transform: translateY(-0.125rem);
}
.spring-promo-btn svg {
    transition: transform 0.3s;
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
}
.spring-promo-btn:hover svg {
    transform: translateX(0.25rem);
}

.spring-promo-footer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.spring-promo-visual {
    position: relative;
    min-height: 450px;
    background-color: #f1f5f9;
    overflow: hidden;
}
@media (max-width: 767px) {
    .spring-promo-visual {
        display: none;
    }
}
@media (min-width: 768px) {
    .spring-promo-visual {
        width: 55%;
        min-height: 100%;
    }
}

.spring-promo-bg {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s;
    filter: brightness(1.05) contrast(1.1) blur(2px);
    background-image: url('/images/spring2026.jpg');
}
.spring-promo-wrapper:hover .spring-promo-bg {
    transform: scale(1.05);
}

.spring-promo-overlay {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    background-image: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
}
@media (min-width: 1024px) {
    .spring-promo-overlay {
        background-image: linear-gradient(to left, rgba(0,0,0,0.05), rgba(255,255,255,0.05));
    }
}

.spring-promo-glass-wrap {
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
@media (min-width: 1024px) {
    .spring-promo-glass-wrap {
        padding: 3rem;
    }
}

.spring-promo-glass {
    width: 100%;
    max-width: 24rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.3), 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}
@media (min-width: 1024px) {
    .spring-promo-glass {
        padding: 2.5rem;
    }
}

.spring-promo-blur-1 {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 12rem;
    height: 12rem;
    background-color: rgba(19, 236, 73, 0.2);
    border-radius: 9999px;
    filter: blur(60px);
}

.spring-promo-blur-2 {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 12rem;
    height: 12rem;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    filter: blur(60px);
}

.spring-promo-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0;
}
.spring-promo-h3 svg {
    color: #16a34a;
    fill: currentColor;
    width: 1.5rem;
    height: 1.5rem;
}

.spring-promo-perks {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spring-promo-perk {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: background-color 0.2s, border-color 0.2s;
}
.spring-promo-perk:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.spring-promo-perk-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(240, 253, 244, 0.5);
    border: 1px solid rgba(220, 252, 231, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16a34a;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.spring-promo-perk-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

.spring-promo-perk-content p {
    margin: 0;
}
.spring-promo-perk-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.125rem;
}
.spring-promo-perk-desc {
    font-size: 0.875rem;
    color: #334155;
    margin-top: 0.125rem;
    font-weight: 500;
}

/* END SPRING PROMO 2026 STYLES */

/* BEGIN LIBRARY SPRING PROMO 2026 STYLES */
.lib-spring-banner {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid rgba(74, 222, 128, 0.7);
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    margin: 0.5rem auto 2.5rem auto;
    width: calc(100% - 20px); /* 10px отступы по бокам на мобильных */
    max-width: 880px;
}
@media (min-width: 768px) {
    .lib-spring-banner {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}
.lib-spring-banner * {
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
.lib-spring-banner:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.lib-spring-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    gap: 1rem;
}
@media (min-width: 640px) {
    .lib-spring-inner {
        flex-direction: row;
    }
}

.lib-spring-left {
    display: flex;
    align-items: flex-start; /* чтобы точка была сверху при многострочном тексте */
    gap: 0.75rem;
    text-align: center;
    flex-direction: column;
}
@media (min-width: 640px) {
    .lib-spring-left {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

.lib-spring-pulse {
    display: none; /* скрываем точку на мобильных для лучшего центрирования */
}
@media (min-width: 640px) {
    .lib-spring-pulse {
        display: flex;
        position: relative;
        height: 0.5rem;
        width: 0.5rem;
        flex-shrink: 0;
    }
}

.lib-spring-pulse-ring {
    animation: lib-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: #4ADE80;
    opacity: 0.75;
}

.lib-spring-pulse-core {
    position: relative;
    display: inline-flex;
    border-radius: 9999px;
    height: 0.5rem;
    width: 0.5rem;
    background-color: #4ADE80;
}

@keyframes lib-ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.lib-spring-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1F2937;
    margin: 0;
    line-height: 1.5; /* Увеличенный line-height для мобильных */
}
@media (min-width: 768px) {
    .lib-spring-text {
        font-size: 1rem;
        line-height: 1.4;
    }
}

.lib-spring-highlight {
    color: #007A93;
    font-weight: 600;
}

.lib-spring-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
@media (min-width: 640px) {
    .lib-spring-right {
        flex-direction: row;
        width: auto;
        gap: 1.5rem;
    }
}

.lib-spring-features {
    display: none;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6B7280;
}
@media (min-width: 768px) {
    .lib-spring-features {
        display: flex;
    }
}

.lib-spring-feature {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.lib-spring-icon {
    width: 1.125rem;
    height: 1.125rem;
    color: rgba(0, 122, 147, 0.8);
}

.lib-spring-btn {
    font-size: 0.875rem; /* чуть крупнее на смартфонах */
    font-weight: 600;
    background-color: rgba(0, 122, 147, 0.1);
    color: #007A93 !important;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    white-space: nowrap;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%; /* на всю ширину на мобильном */
}
@media (min-width: 640px) {
    .lib-spring-btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        width: auto;
    }
}
.lib-spring-btn:hover {
    background-color: rgba(0, 122, 147, 0.2);
}
/* END LIBRARY SPRING PROMO 2026 STYLES */

/* BEGIN LIBRARY LIFETIME PROMO BANNER */
.library-lifetime-banner {
    position: relative;
    overflow: hidden;
    margin: 12px 0 24px;
    border: 1px solid rgba(0, 109, 53, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.library-lifetime-banner * {
    box-sizing: border-box;
}

.library-lifetime-banner__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 12% 50%, rgba(63, 255, 139, 0.2), transparent 34%),
        radial-gradient(circle at 86% 50%, rgba(0, 91, 191, 0.14), transparent 30%),
        linear-gradient(90deg, rgba(0, 109, 53, 0.1), rgba(216, 226, 255, 0.24), rgba(0, 109, 53, 0.1));
    background-size: 140% 140%;
    opacity: 0.95;
    animation: library-lifetime-banner-flow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

.library-lifetime-banner__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 32px;
}

.library-lifetime-banner__info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.library-lifetime-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #007237;
    background: linear-gradient(135deg, #9cffbb, #3fff8b);
    box-shadow: 0 12px 24px rgba(63, 255, 139, 0.28);
}

.library-lifetime-banner__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.library-lifetime-banner__copy {
    min-width: 0;
}

.library-lifetime-banner__title {
    margin: 0;
    color: #191c1d;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.library-lifetime-banner__text {
    margin: 6px 0 0;
    color: #414754;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.45;
}

.library-lifetime-banner__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.library-lifetime-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(63, 255, 139, 0.22);
    color: #006d35;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.library-lifetime-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, #005bbf, #1a73e8);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(0, 91, 191, 0.24);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.library-lifetime-banner__button:hover {
    transform: scale(0.97);
    box-shadow: 0 12px 24px rgba(0, 91, 191, 0.18);
    filter: saturate(1.08);
}

.library-lifetime-banner__button:focus {
    outline: 2px solid rgba(0, 91, 191, 0.28);
    outline-offset: 2px;
}

@keyframes library-lifetime-banner-flow {
    0% {
        transform: translate3d(0, 0, 0);
        background-position: 0 50%;
    }

    100% {
        transform: translate3d(0, 0, 0);
        background-position: 100% 50%;
    }
}

@media (max-width: 1023px) {
    .library-lifetime-banner {
        border-radius: 28px;
    }

    .library-lifetime-banner__actions {
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .library-lifetime-banner {
        margin: 10px 10px 20px;
        border-radius: 24px;
    }

    .library-lifetime-banner__bg {
        animation: none;
        background-size: 100% 100%;
    }
    
    .library-lifetime-banner__icon {
        display: none;
    }

    .library-lifetime-banner__content {
        flex-direction: column;
        gap: 18px;
        padding: 18px 18px 20px;
    }

    .library-lifetime-banner__title {
        font-size: 1rem;
    }

    .library-lifetime-banner__text {
        font-size: 0.875rem;
    }

    .library-lifetime-banner__actions {

        width: 100%;
    }

    .library-lifetime-banner__badge {
        display: none;
    }

    .library-lifetime-banner__button {
        width: 100%;
        min-height: 44px;
        padding: 12px 20px;
        transition: none;
    }

    .library-lifetime-banner__button:hover {
        transform: none;
        box-shadow: 0 16px 30px rgba(0, 91, 191, 0.24);
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .library-lifetime-banner__bg,
    .library-lifetime-banner__button {
        animation: none;
        transition: none;
    }
}
/* END LIBRARY LIFETIME PROMO BANNER */

/* BEGIN MAIN LIFETIME HERO BANNER */
.main-lifetime-hero {
    position: relative;
    overflow: hidden;
    margin: 10px 15px 32px;
    padding: 24px 0 0;
    background: linear-gradient(135deg, #eef6ff 0%, #edf9f1 100%);
    border-radius: 20px;
}

.main-lifetime-hero * {
    box-sizing: border-box;
}

.main-lifetime-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
    min-height: 500px;
    padding: 34px 32px;
    border-radius: 28px;
}

.main-lifetime-hero__blur {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.9;
}

.main-lifetime-hero__blur--right {
    top: -10%;
    right: -5%;
    width: 384px;
    height: 384px;
    background: rgba(98, 255, 150, 0.28);
}

.main-lifetime-hero__blur--left {
    bottom: -10%;
    left: -5%;
    width: 320px;
    height: 320px;
    background: rgba(26, 115, 232, 0.12);
    filter: blur(80px);
}

.main-lifetime-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 0;
}

.main-lifetime-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #62ff96;
    color: #007237;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-lifetime-hero__title {
    margin: 0;
    color: #191c1d;
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.05em;
    max-width: 12ch;
}

.main-lifetime-hero__title span {
    color: #005bbf;
}

.main-lifetime-hero__text {
    margin: 0;
    max-width: 620px;
    color: #414754;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
}

.main-lifetime-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 4px;
}

.main-lifetime-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 16px 34px;
    border-radius: 999px;
    background: linear-gradient(90deg, #005bbf 0%, #1a73e8 100%);
    box-shadow: 0 18px 36px rgba(26, 115, 232, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.main-lifetime-hero__button:hover {
    transform: scale(1.05);
    box-shadow: 0 22px 42px rgba(26, 115, 232, 0.24);
    filter: saturate(1.06);
}

.main-lifetime-hero__button:active {
    transform: scale(0.97);
}

.main-lifetime-hero__visual {
    position: relative;
    height: 450px;
}

.main-lifetime-hero__card {
    position: absolute;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
}

.main-lifetime-hero__card--main {
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 288px;
    height: 384px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.44);
    box-shadow: 0 24px 50px rgba(72, 101, 130, 0.18);
    transform: translate(-50%, -50%) rotate(-6deg);
}

.main-lifetime-hero__card--left {
    top: 33%;
    left: 15%;
    z-index: 2;
    width: 256px;
    height: 320px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 20px 36px rgba(72, 101, 130, 0.12);
    opacity: 0.82;
    filter: blur(1px);
    transform: rotate(-15deg);
}

.main-lifetime-hero__card--right {
    top: 20%;
    right: 10%;
    z-index: 1;
    width: 256px;
    height: 320px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 36px rgba(72, 101, 130, 0.1);
    opacity: 0.62;
    transform: rotate(12deg);
}

.main-lifetime-hero__card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-lifetime-hero__media {
    width: 100%;
    height: 160px;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 91, 191, 0.18), rgba(98, 255, 150, 0.22));
}

.main-lifetime-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-lifetime-hero__lines,
.main-lifetime-hero__ghost-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-lifetime-hero__line,
.main-lifetime-hero__ghost-line {
    display: block;
    height: 8px;
    border-radius: 999px;
}

.main-lifetime-hero__line {
    background: rgba(0, 91, 191, 0.16);
}

.main-lifetime-hero__line--wide {
    width: 66%;
}

.main-lifetime-hero__line--short {
    width: 50%;
    background: rgba(0, 91, 191, 0.1);
}

.main-lifetime-hero__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.main-lifetime-hero__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(98, 255, 150, 0.35);
}

.main-lifetime-hero__premium-icon {
    width: 26px;
    height: 26px;
    fill: #005bbf;
    flex-shrink: 0;
}

.main-lifetime-hero__ghost-media {
    width: 100%;
    height: 128px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(148, 163, 184, 0.18);
}

.main-lifetime-hero__ghost-line {
    width: 100%;
    background: rgba(148, 163, 184, 0.26);
}

.main-lifetime-hero__ghost-line--short {
    width: 66%;
}

.main-lifetime-hero__dot {
    position: absolute;
    display: block;
    border-radius: 50%;
}

.main-lifetime-hero__dot--green {
    top: 40px;
    right: 80px;
    width: 16px;
    height: 16px;
    background: #006d35;
    box-shadow: 0 0 18px rgba(98, 255, 150, 0.9);
    animation: main-lifetime-hero-pulse 2.2s ease-in-out infinite;
}

.main-lifetime-hero__dot--blue {
    bottom: 80px;
    left: 40px;
    width: 12px;
    height: 12px;
    background: #1a73e8;
    box-shadow: 0 0 18px rgba(26, 115, 232, 0.65);
}

@keyframes main-lifetime-hero-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.74;
    }
}

@media (max-width: 1199px) {
    .main-lifetime-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
        gap: 28px;
        min-height: 460px;
        padding: 30px 24px;
    }

    .main-lifetime-hero__title {
        font-size: clamp(2.35rem, 4vw, 3.8rem);
    }

    .main-lifetime-hero__text {
        font-size: 1.125rem;
        max-width: 520px;
    }

    .main-lifetime-hero__visual {
        height: 400px;
    }

    .main-lifetime-hero__card--main {
        width: 250px;
        height: 344px;
        padding: 20px;
    }

    .main-lifetime-hero__card--left,
    .main-lifetime-hero__card--right {
        width: 216px;
        height: 288px;
        padding: 18px;
    }

    .main-lifetime-hero__media {
        height: 142px;
    }
}

@media (max-width: 767px) {
    .main-lifetime-hero {
        margin-bottom: 24px;
        padding-top: 16px;
    }

    .main-lifetime-hero__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 0;
        padding: 22px 18px 24px;
        border-radius: 24px;
    }

    .main-lifetime-hero__blur {
        display: none;
    }

    .main-lifetime-hero__copy {
        gap: 18px;
        padding: 0;
    }

    .main-lifetime-hero__eyebrow {
        min-height: 36px;
        padding: 9px 14px;
        font-size: 0.75rem;
    }

    .main-lifetime-hero__title {
        max-width: none;
        font-size: 2.25rem;
        line-height: 1.02;
    }

    .main-lifetime-hero__text {
        font-size: 1rem;
        line-height: 1.55;
    }

    .main-lifetime-hero__actions {
        padding-top: 0;
    }

    .main-lifetime-hero__button {
        width: 100%;
        min-height: 52px;
        transition: none;
    }

    .main-lifetime-hero__button:hover,
    .main-lifetime-hero__button:active {
        transform: none;
        box-shadow: 0 18px 36px rgba(26, 115, 232, 0.2);
        filter: none;
    }

    .main-lifetime-hero__visual,
    .main-lifetime-hero__dot {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .main-lifetime-hero__dot--green,
    .main-lifetime-hero__button {
        animation: none;
        transition: none;
    }
}
/* END MAIN LIFETIME HERO BANNER */
