/* Сброс стилей и базовые настройки */
* {
    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 {
    padding: 6rem 0;
}

.section--alt {
    background: #f8fafe;
}

.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: 700px;
    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;
    border-bottom: 1px solid rgba(36, 141, 254, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo .logo {
    height: 40px;
    width: auto;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.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__cta {
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(36, 141, 254, 0.3);
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(36, 141, 254, 0.4);
}

.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 6rem;
    background: linear-gradient(135deg, #f8fafe 0%, #f1f7fe 100%);
    position: relative;
    overflow: hidden;
}

.hero__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero__description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.hero__feature {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    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);
}

.hero__feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #248dfe;
}

.hero__feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #248dfe;
    margin-bottom: 1rem;
}

.hero__feature-desc {
    color: #666;
    line-height: 1.6;
}

/* Анимированные частицы */
.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;
    }
}

/* Направления работы */
.directions {
    padding: 6rem 0;
    background: #fff;
}

.directions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.direction-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);
}

.direction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #248dfe;
}

.direction-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;
}

.direction-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.direction-card__description {
    color: #666;
    line-height: 1.6;
}

/* Миссия */
.mission {
    padding: 6rem 0;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    color: white;
    text-align: center;
}

.mission__title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mission__description {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* О центре */
.about {
    padding: 6rem 0;
    background: #f8fafe;
}

.about__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 3rem;
}

.about__balloon {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.about__balloon:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about__balloon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -3px -3px 8px rgba(0, 0, 0, 0.08);
}

.about__balloon-text {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Преимущества */
.benefits {
    padding: 6rem 0;
    background: #fff;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: #f8fafe;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    border-color: #248dfe;
    box-shadow: 0 8px 25px rgba(36, 141, 254, 0.15);
    transform: translateY(-5px);
}

.benefit-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #248dfe;
    margin-bottom: 1rem;
}

.benefit-card__description {
    color: #666;
    line-height: 1.6;
}

/* Продукты */
.products {
    padding: 6rem 0;
    background: #f8fafe;
}

.products__intro {
    text-align: center;
    margin-bottom: 4rem;
}

.products__intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.products__intro-desc {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: white;
    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);
}

.product-card:hover {
    /* Анимация отключена */
}

.product-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;
}

.product-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.product-card--wide {
    grid-column: span 2;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    color: white;
    text-decoration: none;
}

.product-card--wide:hover {
    /* Анимация отключена */
}

.product-card--wide .product-card__icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.product-card--wide .product-card__title {
    color: white;
}

/* Этапы */
.stages {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.stages__title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #248dfe;
    margin-bottom: 2rem;
}

.stages__list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafe;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stage-item:hover {
    background: rgba(36, 141, 254, 0.05);
    transform: translateX(10px);
}

.stage-item__number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #248dfe 0%, #1d6fd8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.stage-item__text {
    color: #333;
    line-height: 1.6;
}

.stages__result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(36, 141, 254, 0.1);
    border-radius: 12px;
    text-align: center;
}

.stages__result-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #248dfe;
    margin-bottom: 0.5rem;
}

.stages__result-text {
    color: #333;
    font-weight: 500;
}

/* Форма заявки */
.application {
    padding: 6rem 0;
    background: #f8fafe;
}

.application__form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.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);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Подвал */
.footer {
    background: #1a1a1a;
    padding: 4rem 0 2rem;
    color: white;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
}

.footer__logo {
    margin-bottom: 2rem;
}

.footer__logo .logo {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer__policies {
    margin-bottom: 2rem;
}

.footer__policy-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__policy-link:hover {
    color: #248dfe;
}

.footer__contact-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact-item:hover {
    color: #248dfe;
}

.footer__contact-item i {
    width: 20px;
    font-size: 1rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 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);
}

/* Адаптивность */
@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);
        gap: 2rem;
    }

    .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 4rem;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .hero__features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Секции */
    .section {
        padding: 4rem 0;
    }

    .section__title {
        font-size: 2rem;
    }

    /* Направления */
    .directions__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* О центре */
    .about__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Продукты */
    .products__grid {
        grid-template-columns: 1fr;
    }

    /* Преимущества */
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Этапы */
    .stage-item:hover {
        transform: none;
    }

    /* Подвал */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .application__form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    .direction-card {
        padding: 2rem 1.5rem;
    }

    .about__balloon {
        padding: 2rem 1.5rem;
    }

    .application__form {
        padding: 1.5rem;
    }
}

/* Утилиты */
.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; }
