/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Smooth scrolling для всех ссылок */
a {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #FF6F61 0%, #512DA8 100%);
    min-height: 100vh;
}

/* Переменные для цветов */
:root {
    --primary-gradient: linear-gradient(135deg, #FF6F61 0%, #512DA8 100%);
    --accent-teal: #00BFA6;
    --accent-lime: #C6FF00;
    --warm-gray: #ECEFF1;
    --text-dark: #2E2E2E;
    --text-light: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--warm-gray);
    color: var(--text-dark);
}

.section:nth-child(odd) {
    background: transparent;
    color: var(--text-light);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent-teal);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: #00897B;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--accent-lime);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #AFDC00;
}

/* Хедер */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header:hover {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}



/* Навигация */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent-lime);
}



/* Главная секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Карточки */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    color: var(--text-dark);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* Процесс работы */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
}

.process-step::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.process {
    counter-reset: step;
}

/* Отзывы */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    color: var(--text-dark);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-teal);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial .author {
    font-weight: 600;
    color: var(--accent-teal);
}

/* Форма */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 25px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-lime));
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 3px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1.1rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(0, 191, 166, 0.2), 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid #E0E0E0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.radio-item:hover {
    background: #F8F9FA;
    border-color: var(--accent-teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.radio-item input[type="radio"]:checked + label,
.radio-item:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, var(--accent-teal), #00A693);
    color: white;
    border-color: var(--accent-teal);
    font-weight: 600;
}

.radio-item input[type="radio"] {
    width: auto;
    margin: 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 10px;
    border-left: 4px solid var(--accent-teal);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 3px;
    transform: scale(1.3);
}

.checkbox-group label {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--accent-teal);
    text-decoration: underline;
    font-weight: 600;
}

.checkbox-group a:hover {
    color: #00897B;
}

/* Кнопка формы */
.form-container .btn {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 30px;
    background: linear-gradient(135deg, var(--accent-lime), #AFDC00);
    color: var(--text-dark);
    border: none;
    box-shadow: 0 10px 30px rgba(198, 255, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.form-container .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.form-container .btn:hover::before {
    left: 100%;
}

.form-container .btn:hover {
    background: linear-gradient(135deg, #C6FF00, var(--accent-lime));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(198, 255, 0, 0.4);
}

/* Футер */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-teal);
    margin-bottom: 15px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-lime);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    max-width: 400px;
    margin: 0 auto;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--accent-teal);
    color: white;
}

.cookie-accept:hover {
    background: #00897B;
}

.cookie-policy {
    background: transparent;
    color: var(--accent-lime);
    border: 1px solid var(--accent-lime);
}

.cookie-policy:hover {
    background: var(--accent-lime);
    color: var(--text-dark);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav {
        display: none;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .form-container::before {
        height: 4px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-banner {
        left: 15px;
        right: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .process-step {
        padding: 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .form-container {
        padding: 20px 15px;
    }
} 