/* Общие стили для всего сайта */
:root {
    /* Основная цветовая палитра */
    --primary-color: #4F46E5; /* Более яркий индиго */
    --primary-color-dark: #3730A3;
    --primary-color-light: #A5B4FC;
    --primary-color-ultra-light: #E0E7FF;
    
    --secondary-color: #10B981; /* Зеленый акцент */
    --secondary-color-dark: #059669;
    --secondary-color-light: #6EE7B7;
    --secondary-color-ultra-light: #D1FAE5;
    
    --accent-color: #F59E0B; /* Оранжевый акцент */
    --accent-color-dark: #D97706;
    --accent-color-light: #FCD34D;
    --accent-color-ultra-light: #FEF3C7;
    
    /* Нейтральные цвета */
    --light-color: #F8FAFC;
    --dark-color: #1E293B;
    --white-color: #ffffff;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Семантические цвета */
    --success-color: #10B981;
    --success-color-light: #34D399;
    --success-color-bg: #D1FAE5;
    
    --danger-color: #EF4444;
    --danger-color-light: #F87171;
    --danger-color-bg: #FEE2E2;
    
    --warning-color: #F59E0B;
    --warning-color-light: #FBBF24;
    --warning-color-bg: #FEF3C7;
    
    --info-color: #3B82F6;
    --info-color-light: #60A5FA;
    --info-color-bg: #DBEAFE;
    
    /* Размеры и эффекты */
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 20px;
    --border-radius-xl: 24px;
    
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --box-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Типографика */
    --font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-secondary: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --gradient-success: linear-gradient(135deg, #10B981 0%, #059669 100%);
    --gradient-danger: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    --gradient-bg: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    color: var(--dark-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--transition);
    overflow-x: hidden;
    font-size: 16px;
}

/* Improve mobile text wrapping to avoid horizontal scroll */
body, .container, section, p, li, a, h1, h2, h3 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--dark-color);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: var(--dark-color);
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: #64748B;
    line-height: 1.8;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

/* Улучшенная контрастность для ссылок на темных фонах */
.dark-bg a,
.cta-box a,
.hero a {
    color: var(--white-color) !important;
    font-weight: 600;
}

.dark-bg a:hover,
.cta-box a:hover,
.hero a:hover {
    color: var(--primary-color-light) !important;
}

/* Контрастность текста на синих градиентах */
.article-hero h1,
.article-hero h2,
.article-hero h3,
.hero h1,
.hero h2,
.hero h3,
.cta-box h1,
.cta-box h2,
.cta-box h3,
.cta-box h4,
.cta-box h5,
.cta-box h6 {
    color: var(--white-color) !important;
}

.article-hero p,
.hero p,
.cta-box p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Заголовки с синим цветом на светлых фонах */
.method-card h3,
.feature-item h3,
.service-card h3 {
    color: var(--dark-color) !important;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    border-radius: var(--border-radius-large);
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
    margin-top: 12px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-large);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--white-color);
    border-color: transparent;
}

.btn-secondary {
    background: var(--gradient-secondary);
}

.btn-secondary:hover {
    background: var(--gradient-secondary);
    filter: brightness(1.1);
}

.btn-accent {
    background: var(--gradient-accent);
}

.btn-accent:hover {
    background: var(--gradient-accent);
    filter: brightness(1.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
    border-radius: 25px;
}

/* Breadcrumbs стили */
.breadcrumbs {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

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

.breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #9CA3AF;
    font-weight: normal;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
    border-radius: 4px;
}

.breadcrumbs a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

.breadcrumbs .current {
    color: var(--gray-600);
    font-weight: 600;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 10px 0;
        margin-bottom: 20px;
    }
    
    .breadcrumbs ol {
        font-size: 13px;
    }
    
    .breadcrumbs li:not(:last-child)::after {
        margin: 0 6px;
    }
}

/* Классы для анимации */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 55px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu ul li a {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    color: var(--dark-color);
}

.nav-menu ul li a:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu ul li a i {
    font-size: 1rem;
    opacity: 0.8;
}

.mobile-menu-button {
    display: none;
    background: var(--gradient-primary);
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-button:hover {
    transform: scale(1.05);
}

.mobile-menu-button i {
    color: var(--white-color);
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white-color);
    padding: 120px 0;
    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"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--white-color);
    background: none;
    -webkit-text-fill-color: var(--white-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-large);
    border-color: var(--primary-color-light);
}

.feature-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: block;
}

.feature-item h3 {
    margin-bottom: 16px;
    color: var(--dark-color);
}

.feature-item p {
    color: #64748B;
    line-height: 1.7;
}

/* Popular Services Section */
.popular-services {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

.popular-services h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.popular-services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white-color);
    padding: 32px 24px;
    border-radius: var(--border-radius-large);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-large);
    border-color: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white-color);
    box-shadow: var(--box-shadow);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--dark-color);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
    display: block;
}

.service-card p {
    color: #64748B;
    margin-bottom: 24px;
    line-height: 1.6;
}

.see-all-services {
    text-align: center;
    margin-top: 60px;
}

/* How it works section */
.how-it-works {
    padding: 100px 0;
    background: var(--white-color);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--border-radius-large);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
    box-shadow: var(--box-shadow);
}

.step h3 {
    margin-bottom: 16px;
    color: var(--dark-color);
}

.step p {
    color: #64748B;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-item {
    background: var(--white-color);
    padding: 32px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: var(--transition);
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color-light);
    font-family: serif;
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-large);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color-light);
    margin-bottom: 16px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
    color: #475569;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::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"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="100" cy="100" r="80" fill="url(%23b)"/><circle cx="900" cy="200" r="120" fill="url(%23b)"/><circle cx="300" cy="800" r="100" fill="url(%23b)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    margin-bottom: 20px;
    color: var(--white-color);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Unify page headers to main hero style across inner pages */
.page-header, .services-header, .sitemap-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: var(--white-color) !important;
    padding: 80px 0 !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
}

.page-header::before, .services-header::before, .sitemap-header::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"><defs><radialGradient id="ph" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23ph)"/><circle cx="800" cy="300" r="150" fill="url(%23ph)"/><circle cx="400" cy="700" r="120" fill="url(%23ph)"/></svg>');
    opacity: 0.3;
}

.page-header h1, .services-header h1, .sitemap-header h1 {
    margin-bottom: 12px;
    color: var(--white-color) !important;
    background: none !important;
    -webkit-text-fill-color: var(--white-color) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-header p, .services-header p, .sitemap-header p {
    font-size: 1.125rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: var(--white-color);
    padding: 60px 0 20px;
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links-grid {
    display: contents;
}

.footer-links h3 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.125rem;
    position: relative;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-weight: 400;
}

.footer-links ul li a:hover {
    color: var(--primary-color-light);
    padding-left: 4px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-large);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        background: var(--white-color);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        padding: 20px;
        display: none;
        gap: 4px;
    }

    .nav-menu ul.active {
        display: flex;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        width: 100%;
        justify-content: flex-start;
        padding: 16px;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .feature-grid, .services-grid, .steps-grid, .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links h3::after {
        display: none;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .feature-item, .service-card, .step, .testimonial-item {
        padding: 24px 20px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Дополнительные утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-large); }
.shadow { box-shadow: var(--box-shadow); }
.shadow-lg { box-shadow: var(--box-shadow-large); } 

/* Mobile-friendly tap targets and spacing */
.nav-menu ul li a,
.btn,
.footer-links ul li a {
    min-height: 44px;
}

@media (max-width: 768px) {
    .nav-menu ul li a { padding: 16px 18px; }
    .btn { padding: 14px 24px; }
}