/* Импорт шрифтов с поддержкой кириллицы */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap&subset=latin,cyrillic');

/* Основные стили */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #64748b;
    --accent-color: #60a5fa;
    --success-color: #10b981;
    --background-color: #f8fafc;
    --background-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --text-color: #1f2937;
  --light-text-color: #6b7280;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px rgba(59, 130, 246, 0.12);
  --card-shadow-hover: 0 20px 40px rgba(59, 130, 246, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 16px;
    --border-radius-sm: 8px;
}

body {
    background: var(--background-color);
    font-family: 'Open Sans', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-variant-ligatures: common-ligatures;
}

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

body {
    font-family: 'Open Sans', 'Montserrat', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
    font-weight: 400;
    font-display: swap;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

a:hover {
    color: #3a57d7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5rem;
    position: relative;
    padding-bottom: 24px;
    color: var(--text-color);
    letter-spacing: -0.01em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
}

h5 {
    font-size: 1.4rem;
    font-weight: 500;
}

h6 {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Enhanced paragraph styles */
p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 400;
}

/* Lead text style */
.lead {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--light-text-color);
    margin-bottom: 2rem;
}

/* Small text */
.small-text {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Text animations and effects */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Quote styles */
blockquote {
    font-family: 'Merriweather', serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    border-radius: 0 8px 8px 0;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

/* Code and monospace */
code, pre {
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Emphasis styles */
strong, b {
    font-weight: 700;
    color: var(--text-color);
}

em, i {
    font-style: italic;
    color: var(--primary-color);
}

/* Link hover effects */
a {
    position: relative;
    transition: all 0.3s ease;
}

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

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-feature-settings: "liga" 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Переключатель языков */
.language-switcher {
    position: relative;
    z-index: 1000;
}

.language-dropdown {
    position: relative;
}

.language-current {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #64748b;
    transition: all 0.3s;
    min-width: 80px;
    justify-content: space-between;
    gap: 8px;
}

.language-current:hover {
    background-color: #f8fafc;
    border-color: #2563eb;
}

.language-current img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.language-current span {
    font-weight: 500;
    font-size: 12px;
}

.language-current i {
    font-size: 10px;
    transition: transform 0.3s;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    min-width: 120px;
    overflow: hidden;
}

.language-options.show {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    color: #64748b;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    gap: 8px;
}

.language-option img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.language-option span {
    font-weight: 500;
    font-size: 12px;
}

.language-option:hover {
    background-color: #f8fafc;
    color: #2563eb;
}

.language-option.active {
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}

/* Стили для RTL языков */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .language-dropdown a {
    text-align: right;
}

body.rtl .nav-links {
    margin-left: 0;
    margin-right: auto;
}

body.rtl .language-switcher {
    margin-left: 20px;
    margin-right: auto;
}

body.rtl .language-flag {
    margin-right: 0;
    margin-left: 8px;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(248, 250, 245, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(59, 130, 246, 0.1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-size: 18px;
}

.mobile-nav-close:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.mobile-nav-content {
    padding: 80px 30px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-nav-links a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-language-switcher {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.mobile-language-switcher h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
}

.mobile-language-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: var(--light-text-color);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 12px;
}

.mobile-language-option img {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
}

.mobile-language-option:hover,
.mobile-language-option.active {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-language-option.active {
    font-weight: 600;
}

/* Блокировка скролла при открытом мобильном меню */
body.mobile-menu-open {
    overflow: hidden;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Основной контент */
main {
    padding-top: 0; /* Убираем отступ, так как hero секция имеет свой отступ */
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248, 250, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    display: block;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin: 0 20px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Герой секция */
.hero {
    padding: 200px 0 120px; /* Увеличиваем верхний отступ для компенсации фиксированной шапки */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    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 60 60"><defs><pattern id="heroPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.08"/></pattern></defs><rect width="60" height="60" fill="url(%23heroPattern)"/></svg>');
    opacity: 0.4;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 60px;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 32px;
    color: white;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    line-height: 1.7;
    max-width: 520px;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.hero .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    padding: 20px 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-size: 18px;
    padding: 20px 40px;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding-left: 40px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    opacity: 0.08;
    z-index: -1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Возможности */
.features {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--background-color) 0%, #f8faf7 50%, #f0f4e8 100%);
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, #e8f0dc 100%);
    z-index: 1;
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

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

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: white;
    border-radius: 21px;
}

.feature-icon i {
    font-size: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-color);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-family: 'Open Sans', sans-serif;
    color: var(--light-text-color);
    line-height: 1.8;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2px;
}


/* Как это работает */
.how-it-works {
    padding: 80px 0 160px;
    background: linear-gradient(135deg, #e8f0dc 0%, #dde8d0 50%, #d2e0c4 100%);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(180deg, #e8f0dc 0%, transparent 100%);
    z-index: 1;
}

.how-it-works .container {
    position: relative;
    z-index: 2;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.step {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 28px;
    z-index: -1;
    opacity: 0.2;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.step-content p {
    font-family: 'Open Sans', sans-serif;
    color: var(--light-text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: white;
}

.demo-video img {
    width: 100%;
    height: auto;
    display: block;
}

.demo-video svg {
    width: 100%;
    height: auto;
    display: block;
}







/* Скачать */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::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 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

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

.download .section-title {
    color: white;
    font-size: 3.5rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
    background-clip: unset;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.download .section-title::after {
    background: linear-gradient(90deg, white, rgba(255, 255, 255, 0.7));
}

.download p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.download-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 25px 20px;
    border-radius: 16px;
    min-width: 120px;
    max-width: 140px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-btn::before {
    content: '';
    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.5s;
}

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

.download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    color: var(--text-color);
    background: white;
    border-color: var(--primary-color);
}

.download-btn img {
    height: 40px;
    width: 40px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.download-btn:hover img {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.download-btn span {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, var(--text-color) 0%, #1a202c 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::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 100 100"><defs><pattern id="footerPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 1 1 300px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 45px;
    margin-right: 12px;
}

.footer-logo h3 {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links {
    flex: 2 1 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-links-column {
    flex: 1 1 180px;
    margin-bottom: 30px;
}

.footer-links-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

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

.footer-links-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-3px);
    border-color: transparent;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-text p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 100px; /* Добавляем отступ для компенсации фиксированной шапки */
    }

    .header {
        padding: 16px 0; /* Уменьшаем отступы шапки на мобильных */
    }

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

    .main-nav {
        display: none; /* Скрываем обычное меню на мобильных */
    }

    .language-switcher {
        display: none; /* Скрываем обычный переключатель языков на мобильных */
    }

    .mobile-menu-toggle {
        display: flex; /* Показываем кнопку мобильного меню */
    }

    .hero-text {
        text-align: center;
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: block !important;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        padding-left: 0;
        justify-content: center;
        margin-top: 40px;
    }

    .section-title {
        font-size: 2rem;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .browser-buttons {
        flex-direction: column;
        align-items: center;
    }

    .browser-button {
        width: 100%;
        max-width: 200px;
    }

    .download-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 15px;
    }

    .download-btn {
        flex: 1;
        min-width: 100px;
        max-width: 120px;
        padding: 20px 15px;
    }

    .download-btn img {
        height: 32px;
        width: 32px;
        margin-bottom: 8px;
    }

    .download-btn span {
        font-size: 12px;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features {
        padding: 120px 0 60px;
    }

    .features::after {
        height: 60px;
    }

    .how-it-works {
        padding: 60px 0 120px;
    }

    .how-it-works::before {
        height: 60px;
    }


}

@media (max-width: 576px) {
    main {
        padding-top: 85px; /* Добавляем отступ для компенсации фиксированной шапки на маленьких экранах */
    }

    .header {
        padding: 12px 0; /* Еще больше уменьшаем отступы шапки на маленьких экранах */
    }
    
    .hero {
        padding: 40px 0 60px; /* Уменьшаем верхний отступ героя, так как main уже имеет отступ */
    }

    .mobile-menu-toggle {
        display: flex; /* Показываем кнопку мобильного меню */
    }

    .main-nav {
        display: none; /* Скрываем обычное меню на мобильных */
    }

    .language-switcher {
        display: none; /* Скрываем обычный переключатель языков на мобильных */
    }

    .hero-text {
        text-align: center;
        padding-right: 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: block !important;
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .hero-image {
        padding-left: 0;
        justify-content: center;
        margin-top: 30px;
    }

    .hero-image img {
        max-width: 90%;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .download-buttons {
        gap: 10px;
        padding: 10px;
    }

    .download-btn {
        min-width: 80px;
        max-width: 100px;
        padding: 15px 10px;
    }

    .download-btn img {
        height: 28px;
        width: 28px;
        margin-bottom: 6px;
    }

    .download-btn span {
        font-size: 11px;
    }

    .section-title {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        font-size: 1.8rem;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .features {
        padding: 100px 0 40px;
    }

    .features::after {
        height: 40px;
    }

    .how-it-works {
        padding: 40px 0 100px;
    }

    .how-it-works::before {
        height: 40px;
    }


}

/* Стили для страниц */
.page-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Стили для страницы помощи */
.help-content {
    padding: 80px 0;
    background-color: white;
}

.help-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-section {
    margin-bottom: 60px;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p {
    color: var(--light-text-color);
    margin: 0;
}

.help-sections {
    max-width: 800px;
    margin: 0 auto;
}

.help-section {
    margin-bottom: 60px;
}

.help-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--background-color);
    border-radius: 10px;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    color: var(--light-text-color);
    line-height: 1.6;
}

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

.contact-option {
    text-align: center;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 10px;
}

.contact-option i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-option h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-option p {
    color: var(--light-text-color);
    margin-bottom: 20px;
}

/* Стили для страницы цен */
.pricing {
    padding: 80px 0;
    background-color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pricing-card {
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.price {
    margin-bottom: 30px;
}

.price .currency {
    font-size: 1.2rem;
    color: var(--light-text-color);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 1rem;
    color: var(--light-text-color);
}

.pricing-features ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-color);
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.pricing-btn {
    width: 100%;
    padding: 15px;
}

.pricing-faq {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

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

/* Стили для страниц */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.page-header p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Стили для страницы "О нас" */
.about-content {
    padding: 80px 0;
    background-color: white;
}

.about-section {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.about-story,
.about-mission {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-story h2,
.about-mission h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.about-story p,
.about-mission p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.team-section {
    margin: 80px 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 15px;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.team-member p {
    color: var(--light-text-color);
    margin-bottom: 10px;
}

.stats-section {
    margin: 80px 0;
    background-color: var(--background-color);
    padding: 60px 0;
    border-radius: 15px;
}

.stats-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--light-text-color);
}

.values-section {
    margin: 80px 0;
}

.values-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
    background-color: var(--background-color);
    border-radius: 15px;
}

.value-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.value-item p {
    color: var(--light-text-color);
    line-height: 1.6;
}

/* Активная ссылка в навигации */
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after {
    width: 100%;
}