/* Base Styles */
:root {
    --primary: #3A7BD5;
    --secondary: #00D2FF;
    --dark: #222;
    --light: #fff;
    --gray: #f5f5f5;
    --dark-gray: #777;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'MADE Evolve Sans';
    src: url('https://fonts.cdnfonts.com/css/evolve-sans') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MADE Evolve Sans';
    src: url('https://fonts.cdnfonts.com/css/evolve-sans') format('opentype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'MADE Evolve Sans', sans-serif;
    font-weight: normal;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
}

h1, h2, h3, h4 {
    font-family: 'MADE Evolve Sans', sans-serif;
    font-weight: bold;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section__title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section__subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: var(--shadow);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(58, 123, 213, 0.3);
}

.btn--outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--light);
}

.btn--large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader__logo {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.logo svg {
    margin-right: 10px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav__link {
    margin-left: 30px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav__link:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav__link:hover:before {
    width: 100%;
}

.nav__link--cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.nav__link--cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(58, 123, 213, 0.3);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--light);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.8), rgba(0, 210, 255, 0.8));
    z-index: 1;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero__title span {
    background: linear-gradient(135deg, var(--light), #e0f7fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero__stats {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.stat {
    margin: 0 20px;
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--light), #e0f7fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat__label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Process Section */
.process {
    background-color: var(--gray);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process__step {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.process__step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process__step:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.process__icon {
    margin-bottom: 20px;
}

.process__icon svg {
    width: 60px;
    height: 60px;
}

.process__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.process__text {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.process__number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(58, 123, 213, 0.1);
    line-height: 1;
}

/* Features Section */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 40px 30px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature__icon {
    margin-bottom: 25px;
}

.feature__icon svg {
    width: 56px;
    height: 56px;
}

.feature__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature__text {
    color: var(--dark-gray);
}

/* Pricing Section */
.pricing__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing__card {
    background: var(--light);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
}

.pricing__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing__card--featured {
    border: 2px solid var(--primary);
}

.pricing__badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: var(--light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.pricing__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing__price {
    margin-bottom: 10px;
}

.pricing__amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing__period {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.pricing__features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing__features li {
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
}

.pricing__features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Reviews Section */
.reviews {
    background-color: var(--gray);
}

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review {
    background: var(--light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.review__rating {
    display: flex;
    margin-bottom: 20px;
}

.review__rating svg {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.review__text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.review__text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
}

.review__author {
    display: flex;
    align-items: center;
}

.review__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review__name {
    font-weight: 600;
    margin-bottom: 5px;
}

.review__position {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z"></path></svg>');
    background-size: cover;
    opacity: 0.1;
}

.cta__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta__text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light);
}

.footer__text {
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    margin-top: 20px;
}

.social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 10px;
    color: var(--light);
    transition: var(--transition);
}

.social__link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

.footer__links {
    list-style: none;
}

.footer__link {
    display: block;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer__link:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer__contacts {
    list-style: none;
}

.footer__contacts li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer__contacts svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: var(--primary);
}

.footer__requisites {
    list-style: none;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer__requisites li {
    margin-bottom: 10px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer__copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer__links {
    /*display: flex;*/
}

.footer__links a {
    margin-left: 20px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__link {
        margin: 15px 0;
    }
    
    .burger {
        display: block;
    }
    
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__stats {
        flex-wrap: wrap;
    }
    
    .stat {
        margin: 10px;
        flex: 1 1 120px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 50px 0;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__links {
        margin-top: 15px;
    }
    
    .footer__links a {
        margin: 0 10px;
    }
}

/* Новые стили для цены */
.price-old {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.price-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3A7BD5;
}

.price-save {
    display: inline-block;
    background: #FF4757;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: 10px;
}

.pricing__benefit {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: #3A7BD5;
    font-size: 0.9rem;
}

.pricing__benefit svg {
    margin-right: 10px;
    flex-shrink: 0;
}

/* Стили для SVG аватарок */
.review__avatar svg {
    width: 50px;
    height: 50px;
}

/* Футер - каждая ссылка на новой строке */
.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    display: block;
    padding: 5px 0;
}