/* --- ОБНУЛЕНИЕ И ОСНОВНЫЕ СТИЛИ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: #12121c;
    color: #e0e0e0;
    overflow-x: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- ЭФФЕКТ: АНИМИРОВАННЫЙ ГРАДИЕНТНЫЙ ФОН --- */
.gradient-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(45deg, #2a0a4b, #1e3a5f, #1a5e5a, #4b0a2e);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.4s, backdrop-filter 0.4s;
}

.header.scrolled {
    background-color: rgba(18, 18, 28, 0.7);
    backdrop-filter: blur(10px);
}

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

.nav__logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav__link {
    text-decoration: none;
    color: #c0c0c0;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.nav__link:hover {
    color: #fff;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #56BCA6;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav__link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* --- HERO SECTION --- */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero__description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #c0c0c0;
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.button--primary {
    background-color: #56BCA6;
    color: #12121c;
}

.button--secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero__image-container {
    display: flex;
    justify-content: center;
}

.hero__image {
    max-width: 350px;
    animation: float 4s ease-in-out infinite;
}

/* --- ЭФФЕКТ: ПЛАВАЮЩЕЕ ИЗОБРАЖЕНИЕ --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- СЕКЦИИ --- */
.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 5rem 0;
}

.features__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature__icon {
    font-size: 3rem;
    color: #56BCA6;
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.feature__description {
    color: #c0c0c0;
}

/* --- PREMIUM SECTION --- */
.premium {
    padding: 5rem 0;
}

.premium__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
}
.premium__image-container {
    text-align: center;
}
.premium__image {
    max-width: 100%;
}

.premium__text .section__title {
    text-align: left;
}

.premium__list {
    list-style: none;
    margin-bottom: 2rem;
}

.premium__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.premium__list i {
    color: #56BCA6;
    font-size: 1.5rem;
}


/* --- FOOTER --- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
}

.footer__links a {
    color: #888;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: #fff;
}

/* --- ЭФФЕКТ: АНИМАЦИЯ ПРИ СКРОЛЛЕ --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .hero__content, .premium__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__text, .premium__text {
        order: 2;
    }
    .hero__image-container, .premium__image-container {
        order: 1;
    }
    .hero__buttons {
        justify-content: center;
    }
    .premium__text .section__title {
        text-align: center;
    }
    .features__container {
        grid-template-columns: 1fr;
    }
}