/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(36, 141, 254, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 141, 254, 0.4);
}

.btn--secondary {
    background: transparent;
    color: #248dfe;
    border: 2px solid #248dfe;
}

.btn--secondary:hover {
    background: #248dfe;
    color: white;
    transform: translateY(-2px);
}

.btn--full-width {
    width: 100%;
    justify-content: center;
}

/* Секции */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Навигация */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo .logo {
    height: 40px;
    width: auto;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav__link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: #248dfe;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #248dfe;
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Главный экран */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafe 0%, #f1f7fe 100%);
    position: relative;
    overflow: hidden;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero__title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.hero__title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: #248dfe;
    margin-bottom: 2rem;
}

.hero__description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    text-align: center;
}

.feature__value {
    font-size: 2rem;
    font-weight: 700;
    color: #248dfe;
    margin-bottom: 0.5rem;
}

.feature__label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    gap: 1rem;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-container {
    position: relative;
    z-index: 2;
}

.hero__robot {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

.hero__image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(36, 141, 254, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

/* Анимации */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Частицы */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #248dfe;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 20s infinite linear;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 80%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 14s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* Особенности */
.features {
    padding: 6rem 0;
    background: #fff;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(36, 141, 254, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #248dfe;
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-card__description {
    color: #666;
    line-height: 1.6;
}

/* Назначение */
.purpose {
    padding: 6rem 0;
    background: #f8fafe;
}

.purpose__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.purpose__item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(36, 141, 254, 0.1);
}

.purpose__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #248dfe;
}

.purpose__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.2rem;
}

.purpose__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Сферы применения */
.applications {
    padding: 6rem 0;
    background: #fff;
}

.applications__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.application__item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8fafe;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.application__item:hover {
    transform: translateX(10px);
    border-color: #248dfe;
    box-shadow: 0 8px 25px rgba(36, 141, 254, 0.15);
}

.application__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.application__item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Состав */
.composition {
    padding: 6rem 0;
    background: #f8fafe;
}

.composition__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.composition__item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.composition__item:nth-child(even) {
    grid-template-columns: 1fr 300px;
}

.composition__item:nth-child(even) .composition__image {
    order: 2;
}

.composition__item:nth-child(even) .composition__info {
    order: 1;
}

.composition__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.composition__placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.composition__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #248dfe;
    margin-bottom: 1rem;
}

.composition__description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* Программное обеспечение */
.software {
    padding: 6rem 0;
    background: #fff;
}

.software__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.software__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.software__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.software__features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.software__feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.software__feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.software__feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.software__feature-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Технические характеристики */
.specifications {
    padding: 6rem 0;
    background: #fff;
}

.specifications__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.specifications__image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.spec-group {
    margin-bottom: 2.5rem;
}

.spec-group__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #248dfe;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #248dfe;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: #f8fafe;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 8px;
}

.spec-item__label {
    color: #666;
    font-weight: 500;
}

.spec-item__value {
    color: #1a1a1a;
    font-weight: 600;
}

/* Контакты */
.contact {
    padding: 6rem 0;
    background: #f8fafe;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact__details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.contact__details p {
    color: #666;
    margin: 0;
}

.contact__form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #248dfe;
    box-shadow: 0 0 0 3px rgba(36, 141, 254, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Подвал */
.footer {
    background: #1a1a1a;
    padding: 4rem 0 2rem;
    color: white;
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer__logo .logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer__language {
    display: flex;
    gap: 1rem;
}

.footer__lang-link {
    color: #aaa;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer__lang-link--active,
.footer__lang-link:hover {
    color: #248dfe;
    background: rgba(36, 141, 254, 0.1);
}

.footer__policy-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__policy-link:hover {
    color: #248dfe;
}

.footer__contacts {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
}

.footer__contacts-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__contacts-title,
.footer__social-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #248dfe;
    margin-bottom: 1rem;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer__contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__contact-link:hover {
    color: #248dfe;
}

.footer__contact-link i {
    width: 20px;
    font-size: 0.9rem;
}

.footer__contact-desc {
    color: #aaa;
    font-size: 0.9rem;
    margin-left: 2rem;
}

.footer__social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #248dfe;
    transform: translateY(-2px);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer__copyright {
    color: #aaa;
    margin: 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Навигация */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
    }

    /* Главный экран */
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__title-main {
        font-size: 2.5rem;
    }

    .hero__title-sub {
        font-size: 1.2rem;
    }

    .hero__features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    /* Секции */
    .section__title {
        font-size: 2rem;
    }

    .features,
    .gallery,
    .specifications,
    .contact {
        padding: 4rem 0;
    }

    /* Характеристики */
    .specifications__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Назначение */
    .purpose__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .purpose__item {
        padding: 1.5rem 1rem;
    }

    /* Сферы применения */
    .applications__list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .application__item {
        padding: 1.5rem;
    }

    .application__item:hover {
        transform: none;
    }

    /* Состав */
    .composition__item {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .composition__item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .composition__item:nth-child(even) .composition__image,
    .composition__item:nth-child(even) .composition__info {
        order: initial;
    }

    .composition__image {
        max-width: 250px;
        margin: 0 auto;
    }

    .composition__placeholder {
        height: 150px;
        font-size: 2rem;
    }

    /* Программное обеспечение */
    .software__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .software__features {
        gap: 1.5rem;
    }

    .software__feature {
        text-align: left;
        gap: 1rem;
    }

    /* Контакты */
    .contact__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact__form {
        padding: 1.5rem;
    }

    /* Подвал */
    .footer__main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer__contacts {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer__contact-desc {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero__title-main {
        font-size: 2rem;
    }

    .hero__title-sub {
        font-size: 1rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* Назначение */
    .purpose__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .purpose__item {
        padding: 1.5rem 1rem;
    }

    /* Состав */
    .composition__item {
        padding: 2rem 1.5rem;
    }

    .composition__title {
        font-size: 1.5rem;
    }

    /* Программное обеспечение */
    .software__title {
        font-size: 1.3rem;
    }
}

/* AOS анимации */
[data-aos] {
    pointer-events: none;
}

.aos-animate {
    pointer-events: auto;
}

/* Дополнительные утилиты */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
