/* Base styles */
:root {
    --color-primary: #4A00E0;
    --color-secondary: #00F7FF;
    --color-accent-1: #FFF500;
    --color-accent-2: #FF5964;
    --color-text-light: #FFFFFF;
    --color-text-dark: #1E1E1E;
    --gradient-main: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

/* Глобальный сброс стилей для чекбоксов */
input[type="checkbox"] {
    opacity: initial;
    position: initial;
    pointer-events: initial;
    width: initial;
    height: initial;
    -webkit-appearance: initial;
    -moz-appearance: initial;
    appearance: initial;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--color-text-dark);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-accent-2);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-accent-2);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-accent-2);
    color: var(--color-text-light);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: var(--color-primary);
    z-index: 100;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    margin-right: 10px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--color-text-light);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--color-accent-1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-text-light);
    transition: all 0.3s ease;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-text-dark);
    color: var(--color-text-light);
    padding: 20px;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

/* Hero section */
.hero {
    background: var(--gradient-main);
    color: var(--color-text-light);
    padding: 180px 0 100px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero .btn-primary {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* About section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Benefits section */
.benefits {
    background-color: #f9f9f9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: var(--color-text-light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: 20px;
}

.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: var(--color-text-light);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--color-text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3,
.service-item p {
    padding: 0 20px;
}

.service-item h3 {
    margin-top: 20px;
}

.service-item .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 10px 0 20px;
}

.service-item .btn-primary {
    display: block;
    margin: 20px;
}

/* Testimonials section */
.testimonials {
    background: var(--gradient-main);
    color: var(--color-text-light);
}

.testimonials h2::after {
    background: var(--color-accent-1);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    max-width: 350px;
    backdrop-filter: blur(5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

/* FAQ section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-text-light);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    padding-right: 30px;
    position: relative;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding-top: 15px;
}

/* Order section */
.order {
    background-color: #f9f9f9;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-text-light);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input:not([type="checkbox"]),
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
}

/* Специальные стили для чекбоксов в форме */
.form-group.checkbox {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    display: block;
}

.form-group.checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    left: 0;
    top: 0;
    z-index: 1;
    width: 24px;
    height: 24px;
}

.form-group.checkbox label {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    padding-top: 0;
    margin-bottom: 0;
    display: inline-block;
}

.form-group.checkbox label:before {
    content: '';
    position: absolute;
    left: -35px;
    top: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-primary);
    background: #fff;
    border-radius: 4px;
}

.form-group.checkbox input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: -29px;
    top: 6px;
    width: 12px;
    height: 6px;
    border-left: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(-45deg);
}

.form-group.checkbox input[type="checkbox"]:focus + label:before {
    box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.3);
}

/* Thank you page */
.thank-you {
    background: var(--gradient-main);
    color: var(--color-text-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.thank-you p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

/* Legal pages */
.legal-page {
    padding-top: 150px;
    padding-bottom: 80px;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 40px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    text-align: center;
    margin: 30px 0 25px;
    font-size: 1.5rem;
}

.legal-content h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--color-text-light);
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 1;
}

/* Стили для контактной информации в футере */
footer address {
    color: var(--color-text-light);
}

footer address a {
    color: var(--color-text-light);
    opacity: 0.8;
    text-decoration: none;
}

footer address a:hover {
    color: var(--color-accent-1);
    opacity: 1;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CSS-only mobile menu toggle */
header label {
    display: none;
}

input[type="checkbox"] {
    display: none;
}

/* Media queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 768px) {
    header label {
        display: block;
        cursor: pointer;
    }
    
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        flex-direction: column;
        padding: 20px;
        pointer-events: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav ul li {
        margin-bottom: 15px;
    }
    
    input[type="checkbox"]:checked ~ nav ul {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .order-form {
        padding: 30px 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }
    
    .testimonial-item {
        max-width: 100%;
    }
} 