/* ==================== */
/* КОНФИГУРАЦИЯ ЦВЕТОВ */
/* ==================== */

:root {
    /* Основные цвета темы (меняйте эти значения) */
    --primary-color: #4e2828;
    --secondary-color: #af4f4f;     /* Вторичный акцентный цвет */
    --background-dark: #0a0a0a;     /* Темный фон */
    --background-medium: #1a1a1a;   /* Средний фон */
    --background-light: #0c0c0c;    /* Светлый фон (относительно) */
    
    /* Производные цвета (автоматически рассчитываются) */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-bg: linear-gradient(135deg, var(--background-dark) 0%, var(--background-medium) 50%, var(--background-light) 100%);
    
    /* Цвета текста */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.7);
    
    /* Цвета границ и стекла */
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ==================== */
/* ОСНОВНЫЕ СТИЛИ */
/* ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Unbounded', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    background: var(--gradient-bg);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--primary-color) 8%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--secondary-color) 5%, transparent) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, color-mix(in srgb, #61ffda 3%, transparent) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Шрифт заголовков */
h1, h2, h3, h4, h5, h6, .logo, .btn, .navbar a, .section-title, .form-group input, .form-group textarea, .form-group select {
    font-family: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка - эффект жидкого стекла iOS */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 5px 0;
	margin-left: -200px;
}




.btn-card  {
	margin-top: 25px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover::after {
    width: 100%;
}

.logo i {
    margin-right: 12px;
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover i {
    transform: rotate(15deg) scale(1.1);
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

.navbar li {
    position: relative;
}

.navbar a {
    color: color-mix(in srgb, var(--text-primary) 80%, transparent);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: inline-block;
}

/* Блик (shine) */
.navbar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}

.navbar a:hover::before {
    left: 150%;
}

.navbar a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.navbar a.active {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 15%, transparent), color-mix(in srgb, var(--secondary-color) 10%, transparent));
    color: var(--text-primary);
    box-shadow: 0 4px 15px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Герой-секция с эффектом стекла */
.hero {
    padding: 160px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 15%, transparent) 0%, transparent 70%);
    animation: pulse 8s infinite alternate;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--text-primary), color-mix(in srgb, var(--primary-color) 30%, white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 3s ease-in-out infinite alternate;
    text-shadow: 0 2px 30px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

@keyframes textGlow {
    0% {
        text-shadow: 0 2px 30px color-mix(in srgb, var(--primary-color) 30%, transparent);
    }
    100% {
        text-shadow: 0 2px 50px color-mix(in srgb, var(--primary-color) 50%, transparent);
    }
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопки с эффектом стекла */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 20%, transparent), color-mix(in srgb, var(--secondary-color) 15%, transparent));
    color: var(--text-primary);
    border: 1px solid color-mix(in srgb, var(--primary-color) 30%, transparent);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px color-mix(in srgb, var(--primary-color) 30%, transparent);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 25%, transparent), color-mix(in srgb, var(--secondary-color) 20%, transparent));
    border-color: color-mix(in srgb, var(--primary-color) 50%, transparent);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid color-mix(in srgb, var(--primary-color) 50%, transparent);
}

.btn-outline:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 10%, transparent), transparent);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px color-mix(in srgb, var(--primary-color) 15%, transparent);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
    border-radius: 20px;
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 12px;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Основные секции */
.section {
    padding: 100px 0;
    position: relative;
    animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-primary), color-mix(in srgb, var(--primary-color) 30%, white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: widthPulse 2s infinite alternate;
}

@keyframes widthPulse {
    0% {
        width: 80px;
        opacity: 0.8;
    }
    100% {
        width: 120px;
        opacity: 1;
    }
}

.section h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    padding-left: 20px;
}

.section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: heightPulse 2s infinite alternate;
}

@keyframes heightPulse {
    0% {
        height: 30px;
    }
    100% {
        height: 40px;
    }
}

/* Особенности - карточки с эффектом стекла */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.feature {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.feature:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
    box-shadow: 0 20px 60px color-mix(in srgb, var(--primary-color) 15%, transparent);
}

.feature i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Карточки услуг */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 40px 25px;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 5%, transparent), transparent);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
    box-shadow: 0 25px 60px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 10%, transparent), color-mix(in srgb, var(--secondary-color) 5%, transparent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .card-icon {
    transform: rotate(15deg) scale(1.1);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 20%, transparent), color-mix(in srgb, var(--secondary-color) 10%, transparent));
}

.card-icon i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Галерея */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    animation: galleryFloat 8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

@keyframes galleryFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
    box-shadow: 0 20px 50px color-mix(in srgb, var(--primary-color) 20%, transparent);
    animation-play-state: paused;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    padding: 20px;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: blur(10px);
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

/* Контакты */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info p {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-info i {
    width: 24px;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: 15px;
    color: var(--text-muted);
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.social-icons a:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 20%, transparent), color-mix(in srgb, var(--secondary-color) 15%, transparent));
    color: var(--text-primary);
    transform: translateY(-5px) scale(1.1);
    border-color: color-mix(in srgb, var(--primary-color) 30%, transparent);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--primary-color) 20%, transparent);
}

/* Формы */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--primary-color) 50%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 10%, transparent);
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: normal;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input,
.radio-label input {
    width: auto;
    accent-color: var(--primary-color);
}

.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

/* Демонстрация элементов */
.elements-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.element-group {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.lists-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.list-example ul,
.list-example ol {
    padding-left: 25px;
    margin-top: 15px;
}

.list-example li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 15px;
}

.list-example ul li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 24px;
    position: absolute;
    left: -15px;
    top: -2px;
}

/* Подвал */
.footer {
    background: linear-gradient(180deg, transparent, rgba(18, 18, 18, 0.95));
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), color-mix(in srgb, var(--primary-color) 30%, white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    padding: 5px 0;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: var(--text-primary);
    transform: translateX(8px);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-info p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Уведомление */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 90%, transparent), color-mix(in srgb, var(--secondary-color) 80%, transparent));
    color: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px color-mix(in srgb, var(--primary-color) 30%, transparent);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.close-notification:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Плавный скролл */
html {
    scroll-behavior: smooth;
}

/* Стилизация скроллбара */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    backdrop-filter: blur(20px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    border: 3px solid rgba(18, 18, 18, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary-color) 80%, white), color-mix(in srgb, var(--secondary-color) 80%, white));
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 20px;
        right: 20px;
        background: rgba(18, 18, 18, 0.9);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 30px;
        border-radius: 20px;
        border: 1px solid var(--border-color);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
        z-index: 999;
    }
    
    .navbar ul.show {
        display: flex;
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar li {
        margin: 10px 0;
    }
    
    .navbar a {
        padding: 15px 20px;
        text-align: center;
        display: block;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .contact-form {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 15px 80px;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .features,
    .services,
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .feature,
    .service-card,
    .contact-form,
    .element-group {
        padding: 30px 20px;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
    }
    
    .hero-buttons {
        gap: 15px;
    }
	
	.logo {
    margin-left: -0px;
    }
}

/* Эффект параллакса */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Лоадер (если понадобится) */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

@keyframes loading {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Эффект появления при скролле */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Выравнивание шагов покупки */
.purchase-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.purchase-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 25px;
    height: 100%;
    min-height: 320px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.step-content h3 {
    margin-bottom: 15px;
    padding-left: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3::before {
    display: none;
}

.step-content p {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-muted);
}

.step-btn {
    margin-top: 10px;
    width: 100%;
    max-width: 200px;
    align-self: center;
    text-decoration: none !important;
}

/* Убираем подчеркивание у кнопок-ссылок */
a.btn, a.btn:hover, a.btn:focus, a.btn:active {
    text-decoration: none !important;
}


/* ==================== */
/* СТИЛИ ДЛЯ ПОЛЬЗОВАТЕЛЬСКОГО СОГЛАШЕНИЯ */
/* ==================== */

/* Основные стили для страницы соглашения */
.agreement-section {
    padding: 80px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.agreement-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--text-primary), color-mix(in srgb, var(--primary-color) 30%, white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.agreement-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.agreement-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
}

.agreement-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agreement-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.agreement-block h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-number {
    color: var(--primary-color);
    font-weight: 700;
}

.clause {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.clause:last-child {
    margin-bottom: 0;
}

.clause-number {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 25px;
    flex-shrink: 0;
}

/* Список правил */
.rules-list {
    margin: 20px 0 25px 35px;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 3px solid var(--secondary-color);
}

.rule-item:last-child {
    margin-bottom: 0;
}

.rule-icon {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.rule-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Контактная информация */
.contact-info {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, 
        color-mix(in srgb, var(--primary-color) 10%, transparent), 
        color-mix(in srgb, var(--secondary-color) 5%, transparent)
    );
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.contact-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Кнопка возврата */
.back-to-home {
    text-align: center;
    margin-top: 50px;
}

.back-to-home .btn {
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .agreement-section {
        padding: 60px 0;
    }
    
    .agreement-section h1 {
        font-size: 2rem;
    }
    
    .agreement-content {
        padding: 30px 25px;
    }
    
    .agreement-block {
        padding-bottom: 30px;
        margin-bottom: 30px;
    }
    
    .agreement-block h2 {
        font-size: 1.3rem;
    }
    
    .rules-list {
        margin-left: 20px;
    }
    
    .rule-item {
        padding: 10px;
        gap: 10px;
    }
    
    .contact-info {
        padding: 25px 20px;
    }
    
    .contact-items {
        gap: 15px;
    }
    
    .contact-item {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .agreement-content {
        padding: 25px 20px;
    }
    
    .agreement-section h1 {
        font-size: 1.8rem;
    }
    
    .agreement-subtitle {
        font-size: 1rem;
        padding: 15px;
    }
    
    .clause {
        flex-direction: column;
        gap: 5px;
    }
    
    .clause-number {
        min-width: auto;
    }
    
    .back-to-home .btn {
        width: 100%;
        justify-content: center;
    }
}