:root {
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --primary: #00CEC9;
    /* Electric Cyan */
    --secondary: #6C5CE7;
    /* Soft Purple */
    --dark: #2D3436;
    --text: #636E72;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container: 1240px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 206, 201, 0.2);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 206, 201, 0.3);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--dark);
    text-transform: lowercase;
}

.logo__dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-block;
}

.nav__list {
    display: flex;
    gap: 35px;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

/* --- Burger --- */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    position: relative;
}

/* --- Footer --- */
.footer {
    background: var(--bg-gray);
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid #eee;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 60px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer__description {
    color: var(--text);
    margin-top: 20px;
    max-width: 300px;
}

.footer__menu li {
    margin-bottom: 12px;
}

.footer__menu a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contacts li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text);
}

.footer__contacts i {
    color: var(--primary);
}

.footer__bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text);
}

/* Mobile Adaptive */
@media (max-width: 992px) {
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }

    .nav {
        display: none;
    }

    .burger {
        display: block;
    }
}

@media (max-width: 576px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 140px;
    /* Учитываем хедер */
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge__dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--dark);
    letter-spacing: -1.5px;
}

.hero__subtitle {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn--outline {
    background: transparent;
    border: 2px solid #E2E8F0;
    color: var(--dark);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero__stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text);
}

/* Визуальная часть справа */
.hero__image-wrapper {
    position: relative;
}

.hero__main-img {
    position: relative;
    background: #f0f0f0;
    border-radius: 40px;
    aspect-ratio: 4/5;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Декоративные фигуры */
.shape {
    position: absolute;
    z-index: 1;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
}

.shape--1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape--2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
}

.shape--3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 40%;
    left: 20%;
}

/* Mobile */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__image-wrapper {
        display: none;
    }
}
/* --- Общие заголовки секций --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Strategy Section --- */
.strategy__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strategy-card {
    background: var(--bg-white);
    padding: 50px 40px;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.strategy-card__icon {
    width: 60px;
    height: 60px;
    background: var(--bg-gray);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 16px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.strategy-card__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.strategy-card__text {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.strategy-card__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: 0.6s ease;
}

.strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.strategy-card:hover .strategy-card__line {
    width: 100%;
}

/* --- Insights Section --- */
.insights__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.insights__list {
    margin: 30px 0 40px;
}

.insights__item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.insights__check {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.insights__visual {
    background: var(--bg-gray);
    padding: 60px;
    border-radius: 40px;
    position: relative;
}

.data-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.data-box__header {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    margin-bottom: 15px;
}

.data-percent {
    color: var(--primary);
}

.data-bar-wrapper {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.data-bar-fill {
    height: 100%;
    width: 0;
    background: var(--primary);
    border-radius: 10px;
}

.data-grid-mock {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-line {
    height: 4px;
    background: var(--bg-gray);
    border-radius: 10px;
}

.mock-line:nth-child(1) {
    width: 100%;
}

.mock-line:nth-child(2) {
    width: 80%;
}

.mock-line:nth-child(3) {
    width: 60%;
}

/* Adaptive */
@media (max-width: 992px) {
    .strategy__grid {
        grid-template-columns: 1fr;
    }

    .insights__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .insights__visual {
        padding: 30px;
    }
}
/* --- Innovation Section --- */
.innovation__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.innovation__features {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: #fff;
    border-radius: 20px;
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.1);
    transform: translateX(10px);
}

.feature-item__number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
}

.feature-item__info h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-item__info p {
    font-size: 0.9rem;
    color: var(--text);
}

/* Визуальная часть с орбитой */
.innovation__visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-orbit {
    position: relative;
    width: 300px;
    height: 300px;
}

.orbit__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    box-shadow: 0 0 50px rgba(108, 92, 231, 0.4);
    z-index: 5;
}

.orbit__node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    font-size: 1.2rem;
    z-index: 4;
}

/* Позиции узлов вокруг центра */
.node--1 {
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
}

.node--2 {
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
}

.node--3 {
    left: -20%;
    top: 50%;
    transform: translateY(-50%);
}

.node--4 {
    right: -20%;
    top: 50%;
    transform: translateY(-50%);
}

/* Mobile */
@media (max-width: 992px) {
    .innovation__wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .innovation__visual {
        height: 400px;
    }

    .tech-orbit {
        width: 200px;
        height: 200px;
    }
}
/* --- About Section --- */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__image-stack {
    position: relative;
    z-index: 2;
}

.image-main {
    width: 85%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    background: var(--bg-gray);
}

.image-sub {
    position: absolute;
    bottom: -50px;
    right: 0;
    width: 50%;
    border-radius: 20px;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--bg-gray);
}

.about__experience-badge {
    position: absolute;
    top: 40px;
    right: -20px;
    background: var(--dark);
    color: #fff;
    padding: 25px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.3);
}

.exp-years {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    text-align: center;
}

.about__path {
    position: absolute;
    bottom: -80px;
    left: -40px;
    z-index: 1;
    opacity: 0.6;
}

.about__lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 25px;
    line-height: 1.4;
}

.about__achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.achievement__val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.achievement__label {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 992px) {
    .about__container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .about__visual {
        order: 2;
        margin-top: 50px;
    }

    .about__content {
        order: 1;
        text-align: center;
    }

    .about__achievements {
        justify-items: center;
    }

    .image-main {
        width: 100%;
    }
}
/* --- Контакты --- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact__method {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact__form {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.form-captcha {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-captcha input {
    width: 80px;
    padding: 8px;
    margin-left: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.btn--full {
    width: 100%;
}

.form-message {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

/* --- Мобильное меню --- */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-overlay--active {
    right: 0;
}

.mobile-nav {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 400px;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    transform: translateY(150%);
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-popup--active {
    transform: translateY(0);
}

/* --- Стили для юридических страниц --- */
.pages {
    padding: 160px 0 100px;
}

.pages h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.pages h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.pages p {
    margin-bottom: 15px;
    color: var(--text);
}

.pages ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Анимация бургера */
.burger--active span {
    background: transparent;
}

.burger--active::before {
    transform: rotate(45deg);
    top: 9px;
}

.burger--active::after {
    transform: rotate(-45deg);
    bottom: 9px;
}
/* --- Исправленное мобильное меню --- */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    /* Используем лево для фиксации */
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Вместо right: -100% используем transform для производительности */
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
    /* Скрываем, чтобы не мешало кликам */
}

.mobile-overlay--active {
    transform: translateX(0);
    visibility: visible;
}

/* Убедимся, что кнопка бургер всегда сверху */
.header__cta {
    position: relative;
    z-index: 2100;
}

/* --- Стилизация формы под мобильную версию --- */
@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
        /* Стак в одну колонку */
        gap: 40px;
    }

    .contact__form {
        padding: 25px 20px;
        /* Уменьшаем внутренние отступы */
        border-radius: 20px;
    }

    .form-group input {
        font-size: 16px;
        /* Предотвращает авто-зум на iOS */
        padding: 14px 15px;
    }

    .contact__info {
        text-align: center;
    }

    .contact__method {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Фикс для кнопки отправки, чтобы была удобной для пальца */
.btn--full {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
}
/* --- Стили для страницы Контактов --- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.contact-card {
    background: var(--bg-gray);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.contact-card__icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
}

.contact-card h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 50px;
}

.contact-link {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    word-break: break-all;
}

.contact-address {
    font-style: normal;
    line-height: 1.6;
    font-weight: 600;
    color: var(--dark);
}

.contact-extra {
    text-align: center;
    padding: 30px;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 16px;
}

/* Адаптив для карточек */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}