
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* VARIABLES */

:root {
    color-scheme: dark;
    --bg: #111019;
    --card: #1c1a28;
    --text: #f5f3ff;
    --muted: #aaa7bd;
    --border: #343044;
    --purple: #9065ff;
    --purple-dark: #7950ed;
    --green: #00c58a;
    --shadow: 0 8px 30px rgba(0,0,0,.2);
}

/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Manrope, "Segoe UI", sans-serif;
    font-weight: 200;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

.container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
}

/* HEADER */

.header {
    width: 100%;
    height: 68px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.header.scrolled {
    background: rgba(17,16,25,.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 5px 20px rgba(0,0,0,.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
}

.purple {
    color: var(--purple);
}

.logo img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

nav a:hover {
    color: var(--purple);
}

/* HERO */

.hero {
    width: 100%;
    padding: 90px 0 40px;
    background: radial-gradient(
        ellipse at 30% 10%,
        rgba(157,124,255,.20),
        transparent 55%
    );
}

.hero .hero-container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,.85fr);
    align-items: center;
    gap: 45px;
}

/* HERO TEXT */

.hero .hero-content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    text-align: left;
}

.hero-content .label {
    display: inline-block;
    padding: 8px 10px;
    margin-bottom: 25px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card);
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

.hero-content h1 {
    color: var(--text);
    font-size: clamp(36px,4.2vw,58px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;
    margin-top: 5px;
    background: linear-gradient(90deg,#9664ff,#477cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    max-width: 490px;
    margin: 22px 0 30px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.6;
}

.hero-content .actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-content small {
    display: block;
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
}

/* HERO IMAGE */

.hero .hero-image {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    display: block;
    position: relative;
    overflow: visible;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none !important;
}

/* SLIDER */

.hero .hero-slider {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.hero .hero-slider .slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent !important;
}

.hero .hero-slider .slide {
    position: absolute;
    width: max-content;
    max-width: 68%;
    height: auto;
    left: 50%;
    top: 50%;
    display: block;
    overflow: visible;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0;
    transform: translate(-50%,-50%) scale(.7);
    z-index: 0;
    transition: transform .6s ease, opacity .6s ease, filter .6s ease;
}

.hero .hero-slider .slide img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 440px;
    object-fit: contain;
    object-position: center;
    border: none;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
}

.hero .hero-slider .slide.active {
    left: 50%;
    top: 50%;
    opacity: 1;
    z-index: 3;
    transform: translate(-50%,-50%) scale(1);
}

.hero .hero-slider .slide.prev {
    opacity: .35;
    transform: translate(-50%,-50%) translateX(-55%) scale(.82);
    z-index: 2;
    filter: brightness(.65);
}

.hero .hero-slider .slide.next {
    opacity: .35;
    transform: translate(-50%,-50%) translateX(55%) scale(.82);
    z-index: 2;
    filter: brightness(.65);
}

.hero .hero-slider .slide.hidden {
    opacity: 0;
    transform: translate(-50%,-50%) scale(.7);
    z-index: 0;
}

/* SLIDER ARROWS */

.hero .hero-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #f1f2f4;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
    transition: background .2s ease;
}

.hero .hero-slider .slider-arrow:hover {
    background: #e4e6e9;
    color: #222;
}

.hero .hero-slider .slider-arrow:active {
    background: #dfe1e5;
}

.hero .hero-slider .slider-arrow.prev {
    left: 5px;
}

.hero .hero-slider .slider-arrow.next {
    right: 5px;
}

/* BUTTONS */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 13px 25px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--card);
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    transition: .25s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.primary,
.primary {
    background: var(--purple);
    color: white;
    border-color: var(--purple);
}

.btn.primary:hover,
.primary:hover {
    background: var(--purple-dark);
}

/* GENERAL SECTIONS */

section:not(.hero):not(.cta) {
    padding: 45px 0;
    scroll-margin-top: 80px;
}

.heading {
    text-align: center;
    margin-bottom: 30px;
}

.heading small {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
}

.heading h2 {
    margin-top: 12px;
    color: var(--text);
    font-size: clamp(27px,4vw,37px);
    font-weight: 800;
    letter-spacing: -1px;
}

.heading h2 span {
    color: var(--purple);
}

/* GRID */

.grid {
    display: grid;
    gap: 22px;
}

.three {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

/* CARDS */

.card {
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(144,101,255,.35);
}

.card h3 {
    margin-bottom: 8px;
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
}

.card p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: #302743;
    color: var(--purple);
    font-size: 20px;
}


/* ======================================
   AI BLOCK - THREE PHOTOS FAN
====================================== */

.ai-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 45px;
    margin-top: 40px;
}

.ai-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* PHOTO FAN */

.ai-fan {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1.35 / 1;
    margin: 0 auto;
}

.ai-fan img {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 30%;
    height: auto;

    display: block;
    object-fit: contain;

    border: none;
    outline: none;
    border-radius: 8px;

    box-shadow: 0 12px 35px rgba(0,0,0,.25);

    transition:
        transform 2s cubic-bezier(.16,1,.3,1),
        opacity 2s ease;
}

/* LEFT PHOTO */

.ai-fan .fan-left {
    z-index: 1;

    transform:
        translate(-50%, -50%)
        translateX(-75%)
        rotate(-19deg)
        scale(1);
}

/* CENTER PHOTO */

.ai-fan .fan-center {
    z-index: 3;
    width: 43%;

    transform:
        translate(-50%, -50%)
        translateY(-2%)
        scale(1);
}

/* RIGHT PHOTO */

.ai-fan .fan-right {
    z-index: 2;

    transform:
        translate(-50%, -50%)
        translateX(75%)
        rotate(19deg)
        scale(1);
}

/* ======================================
   SLOW REVEAL ANIMATION
====================================== */

.ai-image.reveal {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 2s ease,
        transform 2s ease;
}

.ai-image.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* INITIAL POSITIONS */

.ai-image.reveal .fan-left,
.ai-image.reveal .fan-right {
    opacity: 0;
}

.ai-image.reveal .fan-left {
    transform:
        translate(-50%, -50%)
        translateX(0)
        rotate(0deg)
        scale(.75);
}

.ai-image.reveal .fan-right {
    transform:
        translate(-50%, -50%)
        translateX(0)
        rotate(0deg)
        scale(.75);
}

.ai-image.reveal .fan-center {
    opacity: 0;

    transform:
        translate(-50%, -40%)
        scale(.75);
}

/* ANIMATED POSITIONS */

.ai-image.reveal.visible .fan-left {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        translateX(-75%)
        rotate(-19deg)
        scale(1);

    transition-delay: .7s;
}

.ai-image.reveal.visible .fan-center {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        translateY(-2%)
        scale(1);

    transition-delay: 1.1s;
}

.ai-image.reveal.visible .fan-right {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        translateX(75%)
        rotate(19deg)
        scale(1);

    transition-delay: .9s;
}
/* AI BLOCK GRADIENT */

.ai-block {
    position: relative;
    isolation: isolate;
}

.ai-block::after {
    content: "";
    position: absolute;

    width: 1000px;
    height: 800px;

    right: -350px;
    bottom: -350px;

    background: radial-gradient(
        ellipse at center,
        rgba(157,124,255,.16) 0%,
        rgba(157,124,255,.08) 35%,
        rgba(157,124,255,.03) 55%,
        transparent 75%
    );

    pointer-events: none;
    z-index: -1;
}
/* Ограничиваем горизонтальное переполнение секции */

#steps {
    overflow: hidden;
}

.ai-block {
    position: relative;
    isolation: isolate;
}

/* FEATURES & REVIEWS */

.features,
.reviews {
    background: var(--card);
}

.feature-card {
    min-height: 165px;
}

/* PRICING */

.price-card {
    text-align: center;
    padding: 30px 22px;
}

.price-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.price-card > p {
    color: var(--muted);
    font-size: 13px;
}

.price {
    margin: 22px 0;
    font-size: 30px;
    font-weight: 900;
}

.price-card ul {
    margin: 25px 0;
    list-style: none;
    text-align: left;
}

.price-card li {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 13px;
}

.price-card li::before {
    content: "✓ ";
    color: var(--green);
    font-weight: bold;
}

.price-card.popular {
    border: 2px solid #7950ed;
}

.badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 13px;
    border-radius: 20px;
    background: var(--purple);
    color: white;
    font-size: 13px;
}

.buy {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.buy.primary {
    background: var(--purple);
    color: white;
}

.price-note {
    margin-top: 45px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* REVIEWS */

.stars {
    margin-bottom: 14px;
    color: #ffae00;
    font-size: 19px;
}

.reviews .card p {
    margin-bottom: 18px;
}

.reviews .card h4 {
    margin-bottom: 5px;
    color: var(--text);
    font-size: 13px;
}

.reviews .card small {
    color: var(--muted);
    font-size: 13px;
}

/* CTA */

.cta {
    padding: 90px 20px;
    text-align: center;
    background: linear-gradient(120deg,#6840bd,#5146bb);
    color: white;
}

.cta h2 {
    margin-bottom: 18px;
    font-size: clamp(27px,4vw,38px);
    font-weight: 900;
    line-height: 1.3;
}

.cta p {
    max-width: 500px;
    margin: 0 auto 30px;
    font-size: 13px;
    line-height: 1.9;
}

.cta .btn {
    background: white;
    color: var(--purple);
}

/* FOOTER */

footer {
    padding: 28px 15px;
    border-top: 1px solid var(--border);
    background: var(--bg);
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* ANIMATIONS */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-content {
    animation: fadeUp .8s ease both;
}

.hero-image {
    animation: fadeUp 1s ease both;
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */

@media (max-width: 768px) {

    .hero {
        padding: 68px 0 30px;
    }

    .hero .hero-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .hero .hero-content {
        order: 1;
        width: 100%;
        text-align: left;
    }

    .hero-content p {
        margin: 20px 0 25px;
    }

    .hero-content .actions {
        justify-content: flex-start;
    }

    .hero .hero-image {
        order: 2;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .hero .hero-slider {
        width: 100%;
        max-width: 440px;
        height: 400px;
        margin: 0 auto;
    }

    .hero .hero-slider .slide {
        max-width: 68%;
    }

    .hero .hero-slider .slide img {
        max-height: 360px;
    }

    section:not(.hero):not(.cta) {
        padding: 10px 0 30px;
    }
	.features {
        padding: 30px 0 30px !important;
    }
    .three {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .ai-block {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ai-image {
        width: 100%;
    }

    .ai-fan {
        max-width: 440px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {

    .header {
        height: 58px;
    }

    .logo {
        font-size: 16px;
        gap: 6px;
    }

    .logo img {
        width: 25px;
        height: 25px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        padding: 68px 0 30px;
    }

    .hero-content h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-content .actions {
        flex-direction: column;
    }

    .hero-content .btn {
        width: 100%;
    }

    .hero .hero-slider {
        max-width: 100%;
        height: 360px;
    }

    .hero .hero-slider .slide {
        max-width: 72%;
    }

    .hero .hero-slider .slide img {
        max-height: 320px;
    }

    .hero .hero-slider .slide.prev {
        transform: translate(-50%,-50%) translateX(-48%) scale(.82);
    }

    .hero .hero-slider .slide.next {
        transform: translate(-50%,-50%) translateX(48%) scale(.82);
    }

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

    .heading h2 {
        font-size: 27px;
    }

    .ai-fan {
        max-width: 360px;
    }

    .cta {
        padding: 70px 18px;
    }
}

/* ACCESSIBILITY */

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

}

/* ======================================
   PRICING — BOOSTCARD
====================================== */

.pricing {
    padding: 65px 0 !important;
    background: var(--bg);
}

.pricing-description {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}

/* SECTION TITLES */

.pricing-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pricing-section-title h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.pricing-section-title > span {
    color: var(--muted);
    font-size: 14px;
}

.pricing-section-title p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 16px;
}

/* SERVICES */

.pricing-services {
    margin-top: 45px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    padding: 24px 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(144,101,255,.55);
}

.service-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #302743;
    color: var(--purple);
    font-size: 19px;
}

.service-card h4 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-price {
    color: var(--text);
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1px;
}

.service-price span {
    color: var(--purple);
    font-size: 20px;
}

.service-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.service-label {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(144,101,255,.12);
    color: #b69aff;
    font-size: 12px;
    font-weight: 700;
}

/* BALANCE */

.balance-section {
    margin-top: 60px;
}

.balance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.balance-card {
    position: relative;
    padding: 32px 25px 25px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: .3s ease;
}

.balance-card:hover {
    transform: translateY(-5px);
    border-color: rgba(144,101,255,.5);
}

.balance-card.popular {
    border: 2px solid var(--purple);
    background:
        linear-gradient(
            145deg,
            rgba(144,101,255,.10),
            var(--card) 65%
        );
}

.balance-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--purple);
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.balance-amount {
    color: var(--text);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.balance-amount span {
    color: var(--purple);
    font-size: 24px;
}

.balance-card > p {
    margin-top: 8px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 14px;
}

.balance-button {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    transition: .25s ease;
    cursor: pointer;
}

.balance-button:hover {
    border-color: var(--purple);
    color: white;
    background: var(--purple);
}

.balance-button.primary {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

.balance-button.primary:hover {
    background: var(--purple-dark);
}

/* NOTE */

.balance-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}


/* TABLET */

@media (max-width: 900px) {

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .balance-grid {
        gap: 12px;
    }

    .balance-card {
        padding: 28px 15px 20px;
    }

    .balance-amount {
        font-size: 32px;
    }

}

/* MOBILE */

@media (max-width: 600px) {

    .pricing {
        padding: 40px 0 !important;
    }

    .pricing-services {
        margin-top: 30px;
    }

    .pricing-section-title h3 {
        font-size: 20px;
    }

    .services-grid {
        gap: 12px;
    }

    .service-card {
        padding: 18px 14px;
    }

    .service-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 14px;
        font-size: 17px;
    }

    .service-card h4 {
        font-size: 15px;
    }

    .service-price {
        font-size: 29px;
    }

    .service-card p {
        font-size: 14px;
    }

    .balance-section {
        margin-top: 40px;
    }

    .balance-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .balance-card {
        padding: 23px 20px;
    }

    .balance-amount {
        font-size: 36px;
    }

    .balance-card > p {
        margin-bottom: 18px;
        font-size: 16px;
    }

/*
    .balance-note {
        align-items: flex-start;
        text-align: left;
    }
*/

}

/* ======================================
   CTA — PHOTO GALLERY
====================================== */

.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            ellipse at 15% 50%,
            rgba(100, 65, 190, .18),
            transparent 50%
        ),
        radial-gradient(
            ellipse at 90% 20%,
            rgba(55, 75, 170, .13),
            transparent 45%
        ),
        linear-gradient(
            120deg,
            #100e19 0%,
            #171326 50%,
            #10121e 100%
        );
}

/* Дополнительное свечение */

.cta::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    left: -350px;
    top: -300px;

    background: radial-gradient(
        circle,
        rgba(144, 101, 255, .12),
        transparent 70%
    );

    pointer-events: none;
    z-index: -1;
}

.cta-container {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 65px;
}

/* ======================================
   GALLERY
====================================== */

.cta-gallery {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cta-gallery-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.cta-photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;

    opacity: 0;
    transform: translateY(35px) scale(.96);

    transition:
        opacity 1.8s ease,
        transform 1.8s cubic-bezier(.16, 1, .3, 1);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}

/* ПОЯВЛЕНИЕ ФОТО */

.cta-gallery.visible .cta-photo {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Последовательная анимация */

.cta-gallery.visible .cta-photo:nth-child(1) {
    transition-delay: .2s;
}

.cta-gallery.visible .cta-photo:nth-child(2) {
    transition-delay: .8s;
}

.cta-gallery.visible .cta-photo:nth-child(3) {
    transition-delay: 1.4s;
}

.cta-gallery.visible .cta-photo:nth-child(4) {
    transition-delay: 2s;
}

.cta-gallery.visible .cta-gallery-row:nth-child(2) .cta-photo:nth-child(1) {
    transition-delay: 2.6s;
}

.cta-gallery.visible .cta-gallery-row:nth-child(2) .cta-photo:nth-child(2) {
    transition-delay: 3.2s;
}

.cta-gallery.visible .cta-gallery-row:nth-child(2) .cta-photo:nth-child(3) {
    transition-delay: 3.8s;
}

.cta-gallery.visible .cta-gallery-row:nth-child(2) .cta-photo:nth-child(4) {
    transition-delay: 4.4s;
}
/* ======================================
   CTA CONTENT
====================================== */

.cta-content {
    text-align: left;
    max-width: 470px;
}

.cta-content > small {
    display: block;
    margin-bottom: 18px;
    color: #a88aff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.cta-content h2 {
    margin-bottom: 22px;
    color: var(--text);
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.cta-content h2 span {
    display: block;

    background: linear-gradient(
        90deg,
        #a47aff,
        #668cff
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.cta-content .btn {
    padding: 15px 25px;
    border: 1px solid var(--purple);
    background: var(--purple);
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.cta-content .btn:hover {
    background: var(--purple-dark);
    transform: translateY(-3px);
}

/* ======================================
   TABLET
====================================== */

@media (max-width: 900px) {

    .cta {
        padding: 75px 0;
    }

    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-gallery {
        max-width: 650px;
        margin: 0 auto;
    }

    .cta-content {
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
    }

    .cta-content h2 span {
        display: inline;
    }

}

/* ======================================
   MOBILE
====================================== */

@media (max-width: 480px) {

    .cta {
        padding: 55px 0;
    }

    .cta-container {
        gap: 35px;
    }

    .cta-gallery {
        gap: 16px;
    }

    .cta-gallery-row {
        gap: 14px;
    }

    .cta-photo {
        border-radius: 8px;
        aspect-ratio: 3 / 4;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .cta-content p {
        font-size: 18px;
        line-height: 1.6;
    }

    .cta-content .btn {
        width: 100%;
    }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    .cta-photo {
        transition: none;
    }

}
/* FIX CTA GALLERY ANIMATION */

.cta-gallery.reveal {
    opacity: 1 !important;
    transform: none !important;
}

.cta-gallery .cta-photo {
    opacity: 0 !important;
    transform: translateY(35px) scale(.96) !important;
}

.cta-gallery.visible .cta-photo {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Учитываем уменьшение анимации */

@media (prefers-reduced-motion: reduce) {
    .cta-gallery .cta-photo {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}