/* Переменные и базовые стили */
:root {
    /* Цвета - темная тема по умолчанию */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.2);
    --secondary: #10b981;
    --secondary-dark: #059669;
    --secondary-light: #34d399;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    
    --background: #0f172a;
    --surface: #1e293b;
    --surface-light: #334155;
    --surface-dark: #0f172a;
    --surface-hover: #475569;
    
    --text: #f1f5f9;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --border: #475569;
    --border-light: #64748b;
    --border-dark: #334155;
    
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-lg: rgba(0, 0, 0, 0.5);
    --shadow-primary: rgba(99, 102, 241, 0.3);
    
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-primary-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-glass: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 48px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    
    --header-height: 90px;
    --header-height-mobile: 70px;
}

/* Светлая тема */
body.light-theme {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --primary-glow: rgba(79, 70, 229, 0.1);
    --secondary: #059669;
    --secondary-dark: #047857;
    --secondary-light: #10b981;
    --accent: #d97706;
    --accent-dark: #b45309;
    --danger: #dc2626;
    --warning: #d97706;
    --success: #059669;
    
    --background: #f8fafc;
    --surface: #ffffff;
    --surface-light: #f1f5f9;
    --surface-dark: #e2e8f0;
    --surface-hover: #f8fafc;
    
    --text: #1e293b;
    --text-light: #0f172a;
    --text-muted: #64748b;
    --text-dark: #475569;
    
    --border: #cbd5e1;
    --border-light: #e2e8f0;
    --border-dark: #94a3b8;
    
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --shadow-primary: rgba(79, 70, 229, 0.2);
    
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-primary-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    --gradient-accent: linear-gradient(135deg, #d97706 0%, #dc2626 100%);
    --gradient-dark: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', 'Inter', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Переключатель темы */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 30px var(--shadow-primary);
    border: 2px solid var(--surface);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: translateY(-5px) rotate(30deg);
    box-shadow: 0 15px 40px var(--shadow-primary);
}

.theme-toggle i {
    transition: transform 0.5s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Анимированный курсор */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: 
        transform 0.15s ease,
        width 0.3s ease,
        height 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    background: var(--primary-glow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: 
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        width 0.3s ease,
        height 0.3s ease,
        background-color 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    background-color: var(--primary);
}

.cursor-follower.click {
    transform: translate(-50%, -50%) scale(1.3);
    background-color: var(--primary-glow);
}

/* Частицы */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.5;
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-container {
    text-align: center;
    transform: translateY(-50px);
}

.preloader-logo {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.preloader-letter {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px) rotate(10deg);
    text-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.preloader-progress {
    width: 300px;
    max-width: 90%;
    margin: 0 auto;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: progress 2s ease-in-out forwards;
    box-shadow: 0 0 20px var(--primary);
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Основная разметка */
.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* Уведомления */
.floating-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--gradient-secondary);
    color: white;
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    z-index: 9997;
    transform: translateX(150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
}

.floating-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-content i {
    font-size: 1.5rem;
}

/* Шапка */
.main-header {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1600px;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body.light-theme .main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.main-header.scrolled {
    top: 15px;
    padding: 15px 30px;
    backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

body.light-theme .main-header.scrolled {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-mark {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.logo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-light), transparent 70%);
    opacity: 0.5;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

.logo-text strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Навигация */
.main-nav {
    display: flex;
    gap: 40px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .main-nav {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-indicator {
    position: absolute;
    bottom: -1px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px 3px 0 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px var(--primary);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    position: relative;
    transition: var(--transition);
    padding: 10px 0;
    min-width: 70px;
}

.nav-icon {
    font-size: 1.2rem;
    margin-bottom: 6px;
    transition: var(--transition);
}

.nav-text {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    transform: translateY(-2px);
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    transform: scale(1.2);
    color: var(--primary-light);
}

/* Кнопки в шапке */
.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-contact {
    display: flex;
    align-items: center;
}

.contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

body.light-theme .contact-phone {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text);
}

.contact-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

body.light-theme .contact-phone:hover {
    background: rgba(0, 0, 0, 0.1);
}

.contact-phone i {
    color: var(--primary);
}

.cta-btn {
    position: relative;
    padding: 16px 32px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.cta-btn i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-primary);
}

.cta-btn:hover i {
    transform: translateX(5px);
}

.cta-btn.large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.pulse-on-hover {
    position: relative;
}

.pulse-on-hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.1);
        opacity: 0;
    }
}

/* Бургер меню */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--gradient-glass);
    backdrop-filter: blur(30px);
    z-index: 999;
    padding: 100px 40px 40px;
    transition: right 0.5s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

body.light-theme .mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    transform: translateX(5px);
}

body.light-theme .mobile-nav-link:hover,
body.light-theme .mobile-nav-link.active {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.mobile-nav-link i {
    width: 24px;
    font-size: 1.2rem;
}

.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .mobile-contact {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-phone,
.mobile-email {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

body.light-theme .mobile-phone,
body.light-theme .mobile-email {
    background: rgba(0, 0, 0, 0.03);
}

.mobile-phone:hover,
.mobile-email:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-light);
    transform: translateX(5px);
}

body.light-theme .mobile-phone:hover,
body.light-theme .mobile-email:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Герой секция */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0.1;
    filter: blur(60px);
}

.element-1 {
    width: 500px;
    height: 500px;
    top: -150px;
    left: -150px;
    animation: float 25s infinite ease-in-out;
}

.element-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation: float 30s infinite ease-in-out reverse;
}

.element-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 15%;
    animation: float 35s infinite ease-in-out;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.2;
}

body.light-theme .grid-overlay {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

@keyframes float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate(40px, 40px) rotate(90deg) scale(1.1); 
    }
    50% { 
        transform: translate(0, 80px) rotate(180deg) scale(1); 
    }
    75% { 
        transform: translate(-40px, 40px) rotate(270deg) scale(0.9); 
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

body.light-theme .hero-badge {
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.badge-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
    animation: slide 4s infinite;
}

body.light-theme .badge-glow {
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.4), transparent);
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

.badge-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.title-line {
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
}

.word {
    display: inline-block;
    margin-right: 15px;
    opacity: 0;
    transform: translateY(40px);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--primary-light);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 25px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-btn {
    position: relative;
    padding: 20px 40px;
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    justify-content: center;
}

.hero-btn i {
    font-size: 1.3rem;
    transition: var(--transition);
}

.hero-btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 15px 40px var(--shadow-primary);
}

.hero-btn.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 60px var(--shadow-primary);
}

.hero-btn.primary:hover i {
    transform: translateX(10px) rotate(15deg);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

body.light-theme .hero-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hero-btn.secondary:hover i {
    transform: translateX(10px);
}

.btn-hover {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.btn-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    filter: blur(2px);
    pointer-events: none;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

body.light-theme .feature {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--primary);
}

body.light-theme .feature:hover {
    background: rgba(0, 0, 0, 0.08);
}

.feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

.feature span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Визуальная часть героя */
.hero-visual {
    position: relative;
    height: 600px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.globe-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
}

.globe-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--primary-light), var(--primary-dark));
    position: relative;
    overflow: hidden;
    animation: rotate 40s linear infinite;
    box-shadow: 
        inset 0 0 100px rgba(255, 255, 255, 0.1),
        0 0 100px rgba(99, 102, 241, 0.3);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.globe-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring-rotate 60s linear infinite;
}

body.light-theme .globe-ring {
    border: 1px solid rgba(0, 0, 0, 0.15);
}

@keyframes ring-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.ring-1 { 
    width: 120%; 
    height: 120%; 
    animation-duration: 80s;
    animation-direction: reverse;
}
.ring-2 { 
    width: 140%; 
    height: 140%; 
    animation-duration: 100s;
}
.ring-3 { 
    width: 160%; 
    height: 160%; 
    animation-duration: 120s;
    animation-direction: reverse;
}

.globe-point {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 15px var(--secondary));
    animation: point-pulse 3s infinite ease-in-out;
    z-index: 2;
}

@keyframes point-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        box-shadow: 0 0 0 20px rgba(16, 185, 129, 0);
    }
}

body.light-theme .globe-point {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7);
}

.point-1 { top: 20%; left: 35%; animation-delay: 0s; }
.point-2 { top: 60%; left: 75%; animation-delay: 0.5s; }
.point-3 { top: 80%; left: 25%; animation-delay: 1s; }
.point-4 { top: 40%; left: 65%; animation-delay: 1.5s; }
.point-5 { top: 70%; left: 45%; animation-delay: 2s; }

.floating-card {
    position: absolute;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: float-card 8s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 3;
    min-width: 250px;
}

body.light-theme .floating-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-1 {
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 80px;
    left: 30px;
    animation-delay: -2.5s;
}

.card-3 {
    top: 200px;
    left: 10px;
    animation-delay: -5s;
}

@keyframes float-card {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(1deg); 
    }
    50% { 
        transform: translateY(0) rotate(0deg); 
    }
    75% { 
        transform: translateY(-10px) rotate(-1deg); 
    }
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

body.light-theme .card-icon {
    background: rgba(79, 70, 229, 0.1);
}

.card-content {
    flex: 1;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.card-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Статистика героя */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--gradient-glass);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

body.light-theme .stat-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.light-theme .stat-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.mouse {
    width: 34px;
    height: 60px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 12px;
    background: var(--primary);
    border-radius: 3px;
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { 
        top: 10px; 
        opacity: 1; 
    }
    100% { 
        top: 30px; 
        opacity: 0; 
    }
}

.scroll-indicator span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Секции */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

.decoration-line {
    width: 120px;
    height: 2px;
    background: var(--gradient-primary);
}

.decoration-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Карточки услуг */
.services {
    padding: 120px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.service-card {
    perspective: 1200px;
    height: 500px;
    position: relative;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-front {
    background: var(--gradient-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.light-theme .card-front {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-back {
    background: var(--surface);
    transform: rotateY(180deg);
    justify-content: space-between;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

body.light-theme .card-back {
    background: var(--surface);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover .card-glow {
    opacity: 0.3;
}

.card-number {
    font-size: 1rem;
    color: var(--primary);
    opacity: 0.7;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 2px;
}

.card-icon {
    margin-bottom: 30px;
}

.icon-container {
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

body.light-theme .icon-container {
    background: rgba(79, 70, 229, 0.15);
}

.card-front:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
    background: rgba(99, 102, 241, 0.25);
}

body.light-theme .card-front:hover .icon-container {
    background: rgba(79, 70, 229, 0.25);
}

.icon-container i {
    font-size: 2.5rem;
    color: var(--primary);
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-light);
}

.card-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.card-features-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.card-features-preview span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.card-features-preview i {
    color: var(--primary);
    font-size: 0.9rem;
}

.card-back h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.card-features {
    list-style: none;
    margin-bottom: 40px;
}

.card-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-features li i {
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.card-action {
    padding: 18px 30px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.card-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
    background: var(--gradient-primary-hover);
}

.card-action i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.card-action:hover i {
    transform: translateX(5px);
}

.services-cta {
    text-align: center;
    padding: 60px;
    background: var(--gradient-glass);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

body.light-theme .services-cta {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.services-cta p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Решения */
.solutions {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.solutions-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.solutions-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

body.light-theme .solutions-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
}

.solutions-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-block {
    position: relative;
}

.block-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
}

body.light-theme .block-label {
    background: rgba(79, 70, 229, 0.15);
}

.block-label i {
    font-size: 1.2rem;
}

.block-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-light);
}

.block-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    line-height: 1.7;
}

.technology-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

body.light-theme .tech-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateX(10px);
}

body.light-theme .tech-item:hover {
    background: rgba(0, 0, 0, 0.08);
}

.tech-icon {
    font-size: 2.2rem;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

body.light-theme .tech-icon {
    background: rgba(79, 70, 229, 0.1);
}

.tech-content {
    flex: 1;
}

.tech-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-light);
}

.tech-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

.benefits h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

body.light-theme .benefit {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

body.light-theme .benefit:hover {
    background: rgba(0, 0, 0, 0.08);
}

.benefit i {
    color: var(--primary);
    font-size: 1.5rem;
}

.benefit span {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

/* Дашборд */
.dashboard-preview {
    background: var(--gradient-glass);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(20px);
}

body.light-theme .dashboard-preview {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .dashboard-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
}

.dashboard-logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.dashboard-controls {
    display: flex;
    gap: 15px;
}

.dashboard-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

body.light-theme .dashboard-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dashboard-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

body.light-theme .dashboard-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.dashboard-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 20px var(--shadow-primary);
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-visual {
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .map-visual {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
}

.point-pulse {
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: point-pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
}

body.light-theme .point-pulse {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.7);
}

.point-info {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-point:hover .point-info {
    opacity: 1;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.dashboard-stat {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .dashboard-stat {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 500;
}

.stat-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

body.light-theme .stat-progress {
    background: rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1.5s ease-out;
}

/* Кейсы */
.cases {
    padding: 120px 0;
    position: relative;
}

.cases-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.slider-container {
    height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--gradient-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

body.light-theme .slider-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.case-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 1000px;
    width: 100%;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 30px;
}

body.light-theme .slide-badge {
    background: rgba(79, 70, 229, 0.15);
}

.slide-badge i {
    font-size: 1.2rem;
}

.slide-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-light);
}

.slide-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.slide-stats .stat {
    text-align: center;
}

.slide-stats .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-stats .stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.slide-text {
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.slide-results h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.slide-results ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.slide-results li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.slide-results li i {
    color: var(--success);
    font-size: 1rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.slider-prev,
.slider-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--surface-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.dot:hover::after {
    border-color: var(--primary);
}

.dot.active {
    background: var(--gradient-primary);
    transform: scale(1.2);
}

.cases-cta {
    text-align: center;
    padding: 60px;
    background: var(--gradient-glass);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

body.light-theme .cases-cta {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cases-cta p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Партнеры */
.partners {
    padding: 80px 0;
    position: relative;
}

.partners .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.partners .section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-weight: 600;
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

body.light-theme .partner-logo {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.light-theme .partner-logo:hover {
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Контакты */
.contact {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

body.light-theme .contact-pattern {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 40%);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-form {
    background: var(--gradient-glass);
    border-radius: var(--radius-xl);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
}

body.light-theme .contact-form {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 50px;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

body.light-theme .form-badge {
    background: rgba(79, 70, 229, 0.15);
}

.form-badge i {
    font-size: 1.1rem;
}

.form-header h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-light);
}

.form-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 35px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 20px 20px 60px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 20px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.form-group input:focus ~ .input-icon,
.form-group textarea:focus ~ .input-icon {
    color: var(--primary);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 60px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

.form-group input:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: calc(100% - 60px);
}

.form-footer {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.form-agreement {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-agreement input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.form-agreement label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-agreement a {
    color: var(--primary);
    text-decoration: underline;
}

.form-agreement a:hover {
    color: var(--primary-light);
}

.submit-btn {
    position: relative;
    padding: 20px 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-xl);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
    box-shadow: 0 15px 40px var(--shadow-primary);
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px var(--shadow-primary);
    background: var(--gradient-primary-hover);
}

.submit-btn:hover i {
    transform: translateX(10px);
}

.submit-btn i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-loader.active {
    opacity: 1;
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Контактная информация */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--gradient-glass);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

body.light-theme .info-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.light-theme .info-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-text {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    transition: var(--transition);
}

.info-text.large {
    font-size: 1.8rem;
}

.info-text:hover {
    color: var(--primary-light);
}

.info-subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 5px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 15px;
    text-decoration: none;
}

.info-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

.info-link i {
    font-size: 0.9rem;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

body.light-theme .social-link {
    background: rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.social-link i {
    font-size: 1.3rem;
}

/* FAQ */
.faq {
    padding: 100px 0;
}

.faq .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.faq .section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--gradient-glass);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

body.light-theme .faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

body.light-theme .faq-item.active {
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.1);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 30px;
    max-height: 300px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Футер */
.main-footer {
    padding-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

body.light-theme .main-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-top {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.light-theme .footer-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 80px;
}

.footer-logo .logo {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-certificates {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.certificate {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.certificate i {
    color: var(--primary);
    font-size: 1.1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.links-column h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.links-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 5px 0;
}

.links-column a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

body.light-theme .newsletter-form input {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

body.light-theme .newsletter-form input:focus {
    background: rgba(0, 0, 0, 0.1);
}

.newsletter-form button {
    padding: 15px 25px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--gradient-primary-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-payments {
    display: flex;
    gap: 20px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-method i {
    color: var(--primary);
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px var(--shadow-primary);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-primary);
    background: var(--gradient-primary-hover);
}

/* Адаптивность */
@media (max-width: 1440px) {
    .page-wrapper {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual {
        height: 500px;
    }
    
    .solutions-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .theme-toggle {
        left: 20px;
        bottom: 90px;
    }
}

@media (max-width: 992px) {
    .main-header {
        width: calc(100% - 40px);
        padding: 15px 25px;
        top: 20px;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-actions .contact-phone {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        height: 450px;
    }
    
    .cases-slider {
        margin-bottom: 60px;
    }
    
    .slider-container {
        height: 700px;
    }
    
    .slide-results ul {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        left: 15px;
        bottom: 80px;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 0 20px;
    }
    
    .main-header {
        width: calc(100% - 20px);
        top: 15px;
        padding: 12px 20px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 350px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .floating-card {
        min-width: 200px;
        padding: 20px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 40px 30px;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .theme-toggle {
        left: 15px;
        bottom: 70px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 25px;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .services-grid {
        gap: 30px;
    }
    
    .service-card {
        height: 500px;
    }
    
    .card-front,
    .card-back {
        padding: 40px 30px;
    }
    
    .slider-container {
        height: 800px;
        padding: 40px 30px;
    }
    
    .case-slide {
        padding: 40px 30px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-stats {
        gap: 30px;
    }
    
    .slide-stats .stat-number {
        font-size: 2.2rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle {
        left: 10px;
        bottom: 60px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Утилитарные классы */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Анимации */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}