/* --- ГЛОБАЛЬНЫЕ СТИЛИ (Этап 0) --- */
:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-accent-lime: #bef264;
    --color-accent-pink: #ec4899;
    --gradient-main: linear-gradient(135deg, var(--color-accent-lime) 0%, var(--color-accent-pink) 100%);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Manrope', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--primary {
    background: var(--gradient-main);
    color: #000;
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(190, 242, 100, 0.3);
}

/* --- ХЕДЕР (Этап 1) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo__dot {
    width: 12px;
    height: 12px;
    background: var(--gradient-main);
    border-radius: 50%;
}

.header__menu {
    display: flex;
    gap: 30px;
}

.header__link {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.header__link:hover {
    opacity: 1;
    color: var(--color-accent-lime);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- ФУТЕР (Этап 2) --- */
.footer {
    background: #0f0f0f;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__description {
    opacity: 0.6;
    font-size: 0.95rem;
}

.footer__title {
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer__list a:hover {
    opacity: 1;
    color: var(--color-accent-pink);
    padding-left: 5px;
}

.footer__contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer__contact-info i {
    color: var(--color-accent-lime);
    margin-top: 4px;
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
}

/* Адаптив */
@media (max-width: 992px) {
    .header__nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__container {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 50px 0 20px;
    }
}
/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--color-accent-pink);
    filter: blur(150px);
    opacity: 0.1;
    top: 20%;
    right: -10%;
    z-index: -1;
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(190, 242, 100, 0.1);
    border: 1px solid var(--color-accent-lime);
    color: var(--color-accent-lime);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 25px;
}

.hero__title span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 540px;
    margin-bottom: 35px;
}

.hero__btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn--outline:hover {
    border-color: var(--color-accent-lime);
    color: var(--color-accent-lime);
}

.hero__info {
    display: flex;
    gap: 30px;
}

.hero__info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero__info-item i {
    color: var(--color-accent-lime);
}

/* Visuals */
.hero__visual {
    position: relative;
}

.hero__svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(190, 242, 100, 0.2));
}

.hero__floating-card {
    position: absolute;
    bottom: 10%;
    left: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

.card__icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 60px;
    }

    .hero__subtitle {
        margin: 0 auto 35px;
    }

    .hero__btns {
        justify-content: center;
    }

    .hero__info {
        justify-content: center;
    }
}
/* --- ABOUT SECTION --- */
.about {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.6;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about__card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.about__card:hover {
    border-color: var(--color-accent-lime);
    transform: translateY(-10px);
}

.card__number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.05;
    font-family: var(--font-heading);
}

.card__icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(190, 242, 100, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.card__icon-wrap i {
    font-size: 1.5rem;
    color: var(--color-accent-lime);
}

.card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
}

.card__text {
    font-size: 0.95rem;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .about__grid {
        grid-template-columns: 1fr;
    }
}
/* --- TECHNOLOGIES --- */
.tech {
    padding: 100px 0;
    position: relative;
}

.tech__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.tech__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-accent-lime), var(--color-accent-pink), transparent);
    transform: translateX(-50%);
}

.tech__item {
    position: relative;
    width: 50%;
    margin-bottom: 60px;
}

.tech__item:nth-child(even) {
    margin-left: auto;
    padding-left: 40px;
}

.tech__item:nth-child(odd) {
    text-align: right;
    padding-right: 40px;
}

.tech__dot {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--color-bg);
    border: 3px solid var(--color-accent-lime);
    border-radius: 50%;
    z-index: 2;
}

.tech__item:nth-child(even) .tech__dot {
    left: -8px;
}

.tech__item:nth-child(odd) .tech__dot {
    right: -8px;
}

.tech__step {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent-pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.tech__content h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
}

.tech__content p {
    opacity: 0.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .tech__line {
        left: 20px;
    }

    .tech__item {
        width: 100%;
        text-align: left !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
    }

    .tech__dot {
        left: 12px !important;
    }
}
/* --- BENEFITS --- */
.benefits {
    padding: 100px 0;
    background: rgba(190, 242, 100, 0.02);
}

.benefits__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits__list {
    margin-top: 30px;
}

.benefits__list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.benefits__list i {
    color: var(--color-accent-lime);
    font-size: 1.2rem;
}

.benefits__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.benefit-card {
    background: #141414;
    padding: 30px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.benefit-card__icon {
    font-size: 2rem;
    margin-bottom: 20px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-card h4 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.benefit-card p {
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .benefits__wrapper {
        grid-template-columns: 1fr;
    }
}
/* --- REVIEWS --- */
.reviews {
    padding: 100px 0;
}

.reviews__slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 30px;
    border-left: 4px solid var(--color-accent-pink);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #333;
}

.review-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.review-card__city {
    font-size: 0.8rem;
    opacity: 0.5;
}

.review-card__text {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.7;
}

.review-card__stars {
    color: var(--color-accent-lime);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .reviews__slider {
        grid-template-columns: 1fr;
    }
}
/* --- МОБИЛЬНОЕ МЕНЮ --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu--active {
    right: 0;
}

.mobile-menu__list {
    text-align: center;
}

.mobile-menu__list li {
    margin-bottom: 30px;
}

.mobile-menu__list a {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 100px 0;
    background: #0a0a0a;
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact__details {
    margin-top: 40px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact__icon {
    width: 50px;
    height: 50px;
    background: rgba(190, 242, 100, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-lime);
    font-size: 1.2rem;
}

.contact__item span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.5;
}

.contact__item p {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Форма */
.form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form__group {
    margin-bottom: 20px;
}

.form__input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: var(--transition);
}

.form__input:focus {
    border-color: var(--color-accent-lime);
    background: rgba(255, 255, 255, 0.08);
}

.form__captcha {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.form__captcha label {
    font-size: 0.9rem;
    opacity: 0.8;
    white-space: nowrap;
}

.form__agree {
    margin-bottom: 25px;
    font-size: 0.85rem;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn--block {
    width: 100%;
}

.form__message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    display: none;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.form__message.success {
    background: rgba(190, 242, 100, 0.2);
    color: var(--color-accent-lime);
    display: block;
}

.form__message.error {
    background: rgba(236, 72, 153, 0.2);
    color: var(--color-accent-pink);
    display: block;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 600px;
    background: #1a1a1a;
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cookie-popup__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-popup p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .contact__wrapper {
        grid-template-columns: 1fr;
    }

    .cookie-popup__content {
        flex-direction: column;
        text-align: center;
    }
}

/* Бургер анимация */
.burger.active span {
    background: transparent;
}

.burger.active span::before {
    transform: rotate(45deg);
    top: 0;
}

.burger.active span::after {
    transform: rotate(-45deg);
    top: 0;
}

.burger span,
.burger span::before,
.burger span::after {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: 0.3s;
}

.burger span::before {
    content: '';
    position: absolute;
    top: -8px;
}

.burger span::after {
    content: '';
    position: absolute;
    top: 8px;
}
/* --- СТИЛИ ДЛЯ ЮРИДИЧЕСКИХ СТРАНИЦ --- */
.pages {
    padding: 150px 0 100px;
    min-height: 80vh;
}

.pages h1 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 40px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pages h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--color-accent-lime);
}

.pages p {
    margin-bottom: 15px;
    opacity: 0.8;
    font-size: 1.05rem;
    line-height: 1.8;
}

.pages ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.pages li {
    list-style: disc;
    margin-bottom: 10px;
    opacity: 0.7;
}
/* --- СЕТКА КОНТАКТОВ НА СТРАНИЦЕ --- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--color-accent-lime);
    transform: translateY(-5px);
}

.contact-card__icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-accent-pink);
}

.contact-card h2 {
    font-size: 1.4rem !important;
    margin-bottom: 15px !important;
    color: #fff !important;
}

.contact-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--color-accent-lime);
    word-break: break-all;
}

.contact-address {
    font-style: normal;
    opacity: 0.7;
    margin-top: 10px;
    line-height: 1.6;
}

.contact-extra {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.contact-extra a {
    color: var(--color-accent-pink);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}