/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background: #FAFBFC;
    scroll-behavior: smooth;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header__logo img {
    height: 33px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav__link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav__link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav__link--active {
    background: rgba(255, 255, 255, 0.2);
}

/* Event Banner */
.event-banner {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 15px 0;
    text-align: center;
    margin-top: 70px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><polygon fill="white" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #2D3748;
    position: relative;
}

.about__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    margin-top: 15px;
    border-radius: 2px;
}

.about__text {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 25px;
    line-height: 1.8;
}

.about__image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Products Section */
.products {
    padding: 100px 0;
    background: #F7FAFC;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #2D3748;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    margin: 15px auto;
    border-radius: 2px;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F7FAFC 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

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

.product-card__image {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.1);
}

.product-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2D3748;
}

.product-card__description {
    color: #718096;
    line-height: 1.6;
}

.product-card__order {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-card__phone {
    color: #667eea;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Advantages Section */
.advantages {
    padding: 100px 0;
    background: white;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

.advantage-card__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.advantage-card__description {
    opacity: 0.9;
    line-height: 1.6;
}

/* Certificates Section */
.certificates {
    padding: 100px 0;
    background: #F7FAFC;
    text-align: center;
}

.certificates__text {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Section */
.contact-form {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.contact-form .section-title {
    color: white;
}

.contact-form .section-title::after {
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2D3748;
}

.form-group__input,
.form-group__textarea,
.form-group__select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group__input:focus,
.form-group__textarea:focus,
.form-group__select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group__textarea {
    height: 120px;
    resize: vertical;
}

.form-group__error {
    color: #FF6B6B;
    font-size: 14px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group__error::before {
    content: '⚠';
    font-size: 12px;
}

.submit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    margin-top: 1em;
    display: block;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

/* Стили для соглашения о персональных данных */
.form-agreement {
    margin-top: 25px;
    padding: 20px;
    background: #F7FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
}

.form-agreement__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    color: #718096;
}

.form-agreement__checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}

.form-agreement__link {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid #667eea;
    transition: all 0.3s ease;
}

.form-agreement__link:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Стили для окон результатов */
.result-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.result__icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.result__title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2D3748;
}

.result__text {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 30px;
}

.result__btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.result__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

/* Стили для лоадера */
.form-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    border-radius: 25px;
}

.form-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid #E2E8F0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
    color: white;
    padding: 70px 0 30px;
}

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

.footer__title {
    margin-bottom: 25px;
    font-size: 1.4rem;
    color: #FFD700;
}

.footer__text, .footer__link {
    color: #CBD5E0;
    text-decoration: none;
    margin-bottom: 12px;
    display: block;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4A5568;
    color: #A0AEC0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
    color: white;
    padding: 20px 0;
    z-index: 1001;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

.cookie-banner__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner__link {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px solid #FFD700;
    transition: all 0.3s ease;
}

.cookie-banner__link:hover {
    color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

.cookie-banner__btn {
    padding: 10px 30px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: linear-gradient(45deg, #FF6B6B, #FF8E53);
    color: white;
}

.cookie-banner__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .nav__list {
        gap: 15px;
    }

    .nav__link {
        font-size: 14px;
        padding: 6px 5px;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 2em;
    }

    .header__container {
        flex-direction: column;
    }

    .nav__list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .event-banner {
        padding: 30px 0 10px;
    }
}

.hidden {
    display: none;
}

.privacy-policy {
    padding: 40px 0;
    line-height: 1.6;
    color: #333;
}

.privacy-policy__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
    margin-top: 70px;
}

.privacy-policy__content {
    max-width: 100%;
}

.policy-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.policy-section__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.policy-subsection {
    margin: 15px 0;
}

.policy-subsection__title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #34495e;
}

.policy-definitions {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.policy-list {
    padding-left: 20px;
    margin: 10px 0;
}

.policy-list li {
    margin-bottom: 8px;
    position: relative;
}

.policy-list li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 20px 0;
    }

    .privacy-policy__title {
        font-size: 24px;
    }

    .policy-section {
        padding: 15px;
    }

    .policy-section__title {
        font-size: 20px;
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
