/* 
   Color Palette:
   🟣 Сиреневый: #7E5BEF - фоновые акценты
   🧡 Апельсиновый: #FFA45B - кнопки и выделения
   🔵 Глубокий синий: #2B2D42 - основной текст
   🧊 Лёгкий голубой: #B8FFF9 - фон блоков
   ⚪ Белый: #FFFFFF - фоновые зоны
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2B2D42;
    background-color: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #7E5BEF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFA45B;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #FFA45B;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
    width: 100%;
}

ul {
    list-style: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #FFFFFF;
    color: #2B2D42;
    border: 2px solid #7E5BEF;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #7E5BEF;
    color: #FFFFFF;
}

.btn-primary {
    background-color: #FFA45B;
    color: #FFFFFF;
    border-color: #FFA45B;
}

.btn-primary:hover {
    background-color: #ff8f33;
    border-color: #ff8f33;
}

/* Header Styles */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2B2D42;
}

.logo span {
    margin-left: 10px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #2B2D42;
    border-radius: 3px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu-form {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(126, 91, 239, 0.1), rgba(184, 255, 249, 0.3));
    padding: 150px 0 80px;
    text-align: center;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3rem;
    color: #2B2D42;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* About Section */
.about {
    background-color: #FFFFFF;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.benefits {
    background-color: #B8FFF9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.benefit-card h3, .benefit-card p {
    padding: 0 20px;
}

.benefit-card h3 {
    margin-top: 20px;
}

.benefit-card p {
    margin-bottom: 20px;
}

/* Video Preview Section */
.video-preview {
    background-color: #FFFFFF;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 164, 91, 0.8);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.video-button:hover {
    background-color: #FFA45B;
}

/* Training Types Section */
.training-types {
    background-color: #F5F5F5;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.training-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
}

.training-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.training-card h3, .training-card p {
    padding: 0 20px;
}

.training-card h3 {
    margin-top: 20px;
}

.training-card p {
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing {
    background-color: #FFFFFF;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: #F5F5F5;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    background-color: #B8FFF9;
    border: 2px solid #7E5BEF;
    position: relative;
    z-index: 1;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7E5BEF;
    margin: 15px 0;
}

.pricing-card ul {
    margin-bottom: 25px;
}

.pricing-card li {
    margin-bottom: 10px;
    padding: 0 20px;
}

/* Order Form Section */
.order-form {
    background-color: #B8FFF9;
}

.order-form form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s ease;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: #7E5BEF;
    outline: none;
}

.form-group input:focus + label, 
.form-group input:not(:placeholder-shown) + label, 
.form-group select:focus + label, 
.form-group select:not([value=""]):valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background-color: #FFFFFF;
    padding: 0 5px;
    color: #7E5BEF;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    position: static;
    color: #2B2D42;
}

.policy-text-link {
    color: #2B2D42;
    text-decoration: none;
    position: relative;
    display: inline-block;
    border-bottom: 1px dashed #7E5BEF;
}

.policy-text-link:hover {
    color: #7E5BEF;
}

/* Testimonials Section */
.testimonials {
    background-color: #F5F5F5;
    text-align: center;
}

.testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    max-width: 100%;
    justify-content: center;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 300px;
    min-width: 280px;
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #7E5BEF;
    margin-top: 15px;
    text-align: center;
}

/* Footer Styles */
.site-footer {
    background-color: #2B2D42;
    color: #FFFFFF;
    padding: 60px 0 30px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-info p {
    color: #B8FFF9;
}

.footer-contacts ul, .footer-links ul {
    color: #FFFFFF;
}

.footer-contacts li, .footer-links li {
    margin-bottom: 10px;
}

.footer-contacts a, .footer-links a {
    color: #B8FFF9;
}

.footer-contacts a:hover, .footer-links a:hover {
    color: #FFA45B;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(43, 45, 66, 0.9);
    color: #FFFFFF;
    padding: 15px 0;
    z-index: 1001;
}

.cookie-notice .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-notice p {
    margin: 0;
    flex: 1;
}

.cookie-notice a {
    color: #B8FFF9;
    border-bottom: 1px dashed #B8FFF9;
    text-decoration: none;
}

.cookie-notice a:hover {
    color: #FFA45B;
    border-bottom-color: #FFA45B;
}

.cookie-notice button {
    margin-left: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: none;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle, .mobile-menu-form {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .benefit-card, .training-card, .pricing-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonial-card {
        flex: 0 0 85%;
        min-width: 250px;
        margin: 0 auto;
    }
    
    .testimonials-container {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-notice .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-notice button {
        margin: 15px 0 0;
        align-self: flex-end;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .order-form form {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
} 