/* website/css/style.css - Стили для официального сайта STAXMET */

/* Цветовая схема (соответствует мессенджеру) */
:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --bg-color: #f0f2f5;
    --text-color: #262626;
    --text-light: #6c757d;
    --border-color: #dee2e6;
    --white: #ffffff;
    --box-shadow: rgba(0, 0, 0, 0.08);
    --box-shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Темная тема */
[data-theme="dark"] {
    --primary-color: #4a9eff;
    --secondary-color: #6bb3ff;
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --text-light: #a0a0a0;
    --border-color: #333333;
    --white: #1e1e1e;
    --box-shadow: rgba(0, 0, 0, 0.3);
    --box-shadow-hover: rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color); /* Используем bg-color для лучшей видимости прозрачного header */
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Предотвращение CLS - фиксируем размеры до загрузки контента */
    min-height: 100vh;
    /* padding-top убран - header теперь встроен в HTML */
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--bg-color); /* Убираем черный фон */
}

/* Резервируем место для header-placeholder до загрузки через JS (предотвращает CLS) */
#header-placeholder {
    display: block; /* Показываем, чтобы header мог загрузиться */
    min-height: 70px; /* Резервируем место */
    position: relative;
    z-index: 1000;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px; /* Учитываем отступ header сверху (20px) + высота (70px) + отступ (20px) */
    background-color: var(--bg-color); /* Убираем черный фон, используем bg-color */
}

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

/* Header / Navigation */
.header {
    position: fixed;
    top: 20px; /* Отступ сверху для видимости скругления */
    left: 60px; /* Отступ слева (еще больше увеличен) */
    right: 60px; /* Отступ справа (еще больше увеличен) */
    width: calc(100% - 120px); /* Ширина с учетом отступов */
    background: rgba(255, 255, 255, 0.85); /* Полупрозрачный белый */
    backdrop-filter: blur(10px); /* Размытие фона для эффекта стекла */
    -webkit-backdrop-filter: blur(10px); /* Для Safari */
    box-shadow: 0 2px 10px var(--box-shadow);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    min-height: 70px; /* Фиксируем высоту для предотвращения CLS */
    max-height: 70px; /* Фиксируем максимальную высоту */
    contain: layout style; /* Убираем paint чтобы dropdown мог выходить за границы */
    overflow: visible; /* Разрешаем dropdown выходить за границы */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Легкая граница */
    border-radius: 20px; /* Скругление всех углов */
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
    z-index: 1;
}

.nav-container .logo {
    margin-left: 0; /* Убираем отрицательный отступ */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-left: -10px; /* Сдвигаем логотип левее */
}

.logo-img {
    width: 40px;
    height: 32px; /* Правильное соотношение сторон (518:419 ≈ 1.236:1) */
    border-radius: 8px;
    aspect-ratio: 518 / 419; /* Фиксируем реальное соотношение сторон */
    object-fit: contain; /* Сохраняем пропорции */
}

.logo-text {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    z-index: 10002; /* Чтобы dropdown был поверх всего */
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10001; /* Выше чем header (1000) */
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .dropdown-menu {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Прозрачный header для темной темы */
[data-theme="dark"] .header {
    background: rgba(30, 30, 30, 0.85); /* Полупрозрачный темный */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px; /* Скругление для темной темы тоже */
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 24px;
}

/* Переключатель темы */
.theme-toggle {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    color: var(--text-color);
}

.theme-toggle:hover {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: auto;
    max-width: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 123, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.15rem;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-block;
}

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

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

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, #f0f4f8 0%, #f5f7fa 30%, #ffffff 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    transition: background 0.3s ease;
}

[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #1a1a1a 0%, #1e1e1e 30%, #1e1e1e 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    position: relative;
    will-change: transform;
}

/* Параллакс для hero-секции */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease;
    position: relative;
    padding: 40px 20px;
    min-height: 600px; /* Фиксируем высоту для предотвращения CLS */
    width: 100%;
    /* Резервируем место для изображений до их загрузки */
    contain: layout style paint;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-image.parallax {
    transform: translateY(var(--parallax-y, 0px));
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--text-color);
    letter-spacing: -1.2px;
    line-height: 1.15;
    font-family: 'Courier New', monospace;
    transition: all 0.1s ease;
    min-height: 4.025em; /* Фиксируем высоту для предотвращения CLS (3.5rem * 1.15) */
    display: block;
}

.hero-title br {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 540px;
    min-height: 4.25em; /* Фиксируем высоту для предотвращения CLS */
    display: block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 50px;
    align-items: flex-start;
}

.hero-buttons .btn {
    flex-shrink: 0;
    width: auto;
    max-width: fit-content;
}

/* Notify Form Styles */
.notify-form-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.notify-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.notify-trigger .notify-icon {
    transition: transform 0.3s ease;
}

.notify-trigger:hover .notify-icon {
    transform: translateY(-2px);
}

.notify-form {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 500px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notify-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.notify-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    color: var(--text-color);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    outline: none;
}

.notify-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.notify-input:focus ~ .input-icon,
.notify-input-wrapper:focus-within .input-icon {
    color: var(--primary-color);
}

.notify-input::placeholder {
    color: var(--text-light);
}

.notify-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.notify-submit svg {
    transition: transform 0.3s ease;
}

.notify-submit:hover svg {
    transform: translateX(4px);
}

.notify-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 2px solid rgba(40, 167, 69, 0.3);
    border-radius: 10px;
    color: #28a745;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-icon {
    flex-shrink: 0;
    animation: checkmark 0.6s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-text {
    font-weight: 500;
    font-size: 1rem;
}

/* Dark theme support */
[data-theme="dark"] .notify-input {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .notify-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 158, 255, 0.2);
}

[data-theme="dark"] .notify-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.08));
    border-color: rgba(40, 167, 69, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .notify-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    
    .notify-input-wrapper {
        width: 100%;
    }
    
    .notify-submit {
        width: 100%;
        justify-content: center;
    }
    
    .notify-form-container {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}


.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.2));
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Фиксируем размеры для предотвращения CLS */
    min-height: 600px;
    aspect-ratio: 581 / 1096;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(1deg) translateY(-5px);
}

.phone-frame-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    pointer-events: none;
    aspect-ratio: 581 / 1096; /* Фиксируем соотношение сторон для предотвращения CLS */
}

.phone-screen-content {
    position: absolute;
    top: 4%;
    left: 4%;
    right: 4%;
    bottom: 2%;
    border-radius: 40px;
    overflow: hidden;
    z-index: 1;
    aspect-ratio: 491 / 958; /* Фиксируем соотношение сторон */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2%;
    transform: rotateY(-8deg) rotateX(2deg);
    transform-style: preserve-3d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.phone-screenshot {
    width: 90%;
    height: 94%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 35px;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    filter: contrast(1.05) brightness(1.02);
}

/* HTML/CSS версия экрана регистрации */
.phone-app-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 35px;
    padding: 60px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    margin-top: 10px;
}

.app-logo-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 12px;
}

.app-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 1.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
}

.app-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: center;
}

.app-phone-input {
    width: 100%;
    max-width: 280px;
    background: #ffffff;
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.phone-input-left {
    display: flex;
    align-items: center;
    gap: 6px;
    border-right: 1px solid #dee2e6;
    padding-right: 10px;
}

.phone-flag {
    font-size: 16px;
}

.phone-code {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.phone-dropdown {
    font-size: 8px;
    color: #6c757d;
    margin-top: 2px;
}

.phone-input-right {
    flex: 1;
    padding-left: 10px;
}

.phone-placeholder {
    font-size: 14px;
    color: #adb5bd;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.app-continue-btn {
    width: 100%;
    max-width: 280px;
    background: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.2s ease;
}

.app-continue-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

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

/* Темная тема для экрана приложения */
[data-theme="dark"] .phone-app-screen {
    background: #1e1e1e;
}

[data-theme="dark"] .app-logo-text {
    color: #ffffff;
}

[data-theme="dark"] .app-subtitle {
    color: #a0a0a0;
}

[data-theme="dark"] .app-phone-input {
    background: #2a2a2a;
    border-color: #404040;
}

[data-theme="dark"] .phone-input-left {
    border-color: #404040;
}

[data-theme="dark"] .phone-code {
    color: #ffffff;
}

[data-theme="dark"] .phone-placeholder {
    color: #6c757d;
}

.hero-logo {
    width: 280px;
    height: 280px;
    max-width: 100%;
    object-fit: contain;
}

/* Sections */
section {
    padding: 80px 20px;
    font-size: inherit; /* Исправление устаревшего API H1UserAgentFontSizeInSection */
}

/* Явно задаем размер шрифта для h1 внутри section (исправление H1UserAgentFontSizeInSection) */
/* Браузеры больше не будут автоматически применять размер шрифта для h1 в section */
/* Это исправляет предупреждение: H1UserAgentFontSizeInSection */
/* Правило должно быть достаточно общим, чтобы применяться ко всем h1 в section */
section h1 {
    font-size: 3.5rem; /* Явный размер вместо браузерного дефолта */
    font-weight: 800;
    line-height: 1.15;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: -1px;
}

.quick-features .section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Page Header (для отдельных страниц) */
.page-header {
    padding: 100px 20px 60px;
    background: var(--white);
    color: var(--text-color);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .page-header {
    background: var(--bg-color);
    border-bottom-color: var(--border-color);
}

.page-header .container {
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    transition: color 0.3s ease;
}

/* Page Content */
.page-content {
    padding: 100px 20px 60px;
    background-color: var(--white);
    margin-top: 70px;
    transition: background-color 0.3s ease;
}

/* Why Choose STAXMET */
.why-choose {
    padding: 120px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #fafbfc 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

[data-theme="dark"] .why-choose {
    background: linear-gradient(to bottom, #1e1e1e 0%, #1a1a1a 50%, #1e1e1e 100%);
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 123, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 50px auto 0;
    position: relative;
    z-index: 1;
    overflow: visible; /* Разрешаем градиентным рамкам выходить за границы */
}

.why-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    aspect-ratio: 1; /* Квадратные карточки */
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.why-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 25%, #007bff 50%, #6c5ce7 75%, #00ff88 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
    padding: 2px;
    /* Маска для создания рамки */
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.why-item:hover::before {
    opacity: 1;
}

.why-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.why-item-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 12px;
}

.why-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.why-item-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.why-item-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Development Progress Section */
.development-progress {
    padding: 120px 20px;
    background: var(--white);
    position: relative;
}

[data-theme="dark"] .development-progress {
    background: #1e1e1e;
}

.progress-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.progress-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.progress-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transition: background-color 0.3s ease;
}

/* Анимация заполнения линии timeline при скролле */
.timeline::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.timeline.animated::after {
    transform: scaleY(1);
}

[data-theme="dark"] .timeline::before {
    background: #333;
}

[data-theme="dark"] .timeline::after {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding-left: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--border-color);
    z-index: 2;
    transition: all 0.3s ease;
}

[data-theme="dark"] .timeline-marker {
    background: #1e1e1e;
    border-color: #333;
}

.timeline-marker svg {
    width: 20px;
    height: 20px;
    color: var(--text-color);
}

.timeline-item.completed .timeline-marker {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline-item.completed .timeline-marker svg {
    color: var(--white);
}

.timeline-item.in-progress .timeline-marker {
    background: var(--white);
    border-color: var(--primary-color);
    border-width: 3px;
    animation: pulse 2s infinite;
}

[data-theme="dark"] .timeline-item.in-progress .timeline-marker {
    background: #1e1e1e;
}

.timeline-item.in-progress .timeline-marker svg {
    color: var(--primary-color);
}

.timeline-item.upcoming .timeline-marker {
    background: var(--white);
    border-color: var(--border-color);
}

[data-theme="dark"] .timeline-item.upcoming .timeline-marker {
    background: #1e1e1e;
    border-color: #333;
}

.timeline-item.upcoming .timeline-marker svg {
    color: var(--text-light);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 123, 255, 0);
    }
}

.timeline-content {
    background: var(--white);
    padding: 28px 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

[data-theme="dark"] .timeline-content {
    background: #252525;
    border-color: #333;
}

.timeline-item:hover .timeline-content {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

[data-theme="dark"] .timeline-date {
    background: rgba(74, 158, 255, 0.15);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .development-progress {
        padding: 80px 20px;
    }
    
    .progress-header h2 {
        font-size: 2rem;
    }
    
    .progress-header p {
        font-size: 1.1rem;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: -30px;
        width: 36px;
        height: 36px;
    }
    
    .timeline-marker svg {
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        padding: 20px 24px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
}

/* Roadmap Preview (на главной) */
.roadmap-preview {
    padding: 120px 20px;
    background: linear-gradient(to bottom, #fafbfc 0%, var(--white) 100%);
}

[data-theme="dark"] .roadmap-preview {
    background: linear-gradient(to bottom, #1a1a1a 0%, #1e1e1e 100%);
}

.roadmap-preview-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.roadmap-preview-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.roadmap-preview-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.roadmap-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    margin-top: 8px;
}

.roadmap-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.roadmap-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

.roadmap-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.roadmap-link:hover svg {
    transform: translateX(4px);
}

.roadmap-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-item {
    background: var(--white);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

[data-theme="dark"] .roadmap-item {
    background: #252525;
    border-color: #333;
}

.roadmap-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.roadmap-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.roadmap-status.planned {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.roadmap-status.in-progress {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.roadmap-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.roadmap-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Roadmap Page Styles */
.roadmap-content {
    max-width: 1100px;
    margin: 0 auto;
}

.roadmap-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.roadmap-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.roadmap-wanted {
    margin-top: 100px;
    padding-top: 80px;
    border-top: 2px solid var(--border-color);
}

.roadmap-wanted .timeline {
    margin-top: 40px;
}

[data-theme="dark"] .roadmap-wanted {
    border-top-color: #333;
}

.roadmap-wanted-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.roadmap-wanted-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.roadmap-wanted-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

[data-theme="dark"] .roadmap-wanted-header h2 {
    color: var(--text-color);
}

[data-theme="dark"] .roadmap-wanted-header p {
    color: var(--text-light);
}

[data-theme="dark"] .roadmap-link {
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.3);
}

[data-theme="dark"] .roadmap-link:hover {
    background: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.4);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.category-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.category-badge {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.in-progress-badge {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary-color);
}

.planned-badge {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.considering-badge {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.roadmap-status.considering {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.roadmap-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.1));
    border-radius: 16px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    margin-top: 60px;
}

[data-theme="dark"] .roadmap-cta {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 86, 179, 0.15));
    border-color: rgba(0, 123, 255, 0.3);
}

.roadmap-cta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.roadmap-cta p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 0;
}

.roadmap-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.roadmap-cta a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .roadmap-preview {
        padding: 80px 20px;
    }
    
    .roadmap-preview-header h2 {
        font-size: 2rem;
    }
    
    .roadmap-items {
        grid-template-columns: 1fr;
    }
    
    .roadmap-category-section {
        gap: 24px;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.08);
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.why-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 70px rgba(0, 123, 255, 0.18),
        0 0 0 1px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.25);
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
}

.why-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(0, 123, 255, 0.25));
    transition: transform 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.why-icon svg {
    width: 64px;
    height: 64px;
}

.why-card:nth-child(1) .why-icon {
    animation-delay: 0s;
}

.why-card:nth-child(2) .why-icon {
    animation-delay: 0.3s;
}

.why-card:nth-child(3) .why-icon {
    animation-delay: 0.6s;
}

.why-card:nth-child(4) .why-icon {
    animation-delay: 0.9s;
}

.why-card:nth-child(5) .why-icon {
    animation-delay: 1.2s;
}

.why-card:nth-child(6) .why-icon {
    animation-delay: 1.5s;
}

.why-card:hover .why-icon {
    transform: scale(1.15) rotate(5deg);
}

.why-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.why-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.why-card:hover h3 {
    color: var(--primary-color);
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.why-card p strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Quick Features Preview (legacy, можно удалить если не используется) */
.quick-features {
    padding: 120px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #fafbfc 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.quick-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 123, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Features Preview Grid */
.features-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 24px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.08);
    background: linear-gradient(to bottom, #ffffff 0%, #fafbfc 100%);
}

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

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 123, 255, 0.15),
        0 0 0 1px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
}

.feature-icon {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(0, 123, 255, 0.25));
    transition: transform 0.4s ease;
    animation: float 3s ease-in-out infinite;
    line-height: 1;
}

.feature-icon svg {
    width: 64px;
    height: 64px;
}

.feature-card:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 1s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.75;
    font-size: 1.05rem;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 6px 0;
    font-size: 0.95rem;
}

.feature-link::after {
    content: '→';
    transition: transform 0.3s ease;
    display: inline-block;
}

.feature-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.feature-link:hover::after {
    transform: translateX(5px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Features Grid (для страницы функций) */
.features-intro {
    text-align: center;
    margin-bottom: 70px;
    padding-top: 20px;
}

.features-intro h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-color);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.features-intro p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 28px;
    }
}

.feature-item-enhanced {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

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

.feature-item-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.12);
    border-color: rgba(0, 123, 255, 0.2);
}

.feature-icon-enhanced {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item-enhanced:hover .feature-icon-enhanced {
    background: rgba(0, 123, 255, 0.12);
    transform: scale(1.05);
}

.feature-icon-enhanced svg {
    width: 28px;
    height: 28px;
}

.feature-item-enhanced h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.feature-item-enhanced:hover h3 {
    color: var(--primary-color);
}

.feature-item-enhanced p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Security Item */
.security-item {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

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

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

/* Legal Content (Terms & Privacy) */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-section {
    margin-bottom: 40px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--text-color);
    font-weight: 600;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    margin-top: 24px;
    color: var(--text-color);
    font-weight: 600;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-color);
}

.about-content p.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 24px;
}

.features-list {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.feature-point {
    padding: 25px;
    background: var(--bg-color);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--box-shadow);
}

.feature-point h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-point p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1rem;
}

.tech-list,
.security-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.tech-list li,
.security-list li {
    padding: 8px 0;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    padding-left: 20px;
    position: relative;
}

.tech-list li::before,
.security-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-light);
}

.tech-list li strong,
.security-list li strong {
    color: var(--text-color);
    font-weight: 600;
}

.about-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.about-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.value-item {
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.value-item p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Contact Content */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

.contact-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* API Content */
.api-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.api-intro {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.api-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.api-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.api-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.api-base-url {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-family: 'Courier New', monospace;
}

.api-base-url code {
    color: var(--primary-color);
    font-weight: 600;
}

.api-section {
    margin-bottom: 50px;
}

.api-section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.api-endpoint {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 30px 0;
    margin-bottom: 0;
    box-shadow: none;
    transition: none;
}

.api-endpoint:hover {
    box-shadow: none;
    border-color: var(--border-color);
    transform: none;
}

.api-endpoint-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.api-method {
    padding: 4px 10px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Courier New', monospace;
}

.api-method.post {
    background: #10b981;
    color: white;
}

.api-method.get {
    background: #3b82f6;
    color: white;
}

.api-method.put {
    background: #f59e0b;
    color: white;
}

.api-method.delete {
    background: #ef4444;
    color: white;
}

.api-method.ws {
    background: #8b5cf6;
    color: white;
}

.api-path {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 500;
}

.api-endpoint .api-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    margin-top: 8px;
}

.api-params,
.api-example {
    margin-top: 24px;
    margin-bottom: 24px;
}

.api-params h4,
.api-example h4 {
    font-size: 0.9rem;
    text-transform: none;
    color: var(--text-color);
    margin-bottom: 12px;
    letter-spacing: 0;
    font-weight: 600;
    font-family: inherit;
}

.api-params-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.api-params-table thead {
    background: var(--bg-color);
}

.api-params-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

.api-params-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.api-params-table tbody tr:last-child td {
    border-bottom: none;
}

.api-params-table tbody tr:hover {
    background: var(--bg-color);
}

.api-params-table code {
    background: var(--bg-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.api-request,
.api-response {
    margin-top: 20px;
    margin-bottom: 20px;
}

.api-request h4,
.api-response h4 {
    font-size: 0.9rem;
    text-transform: none;
    color: var(--text-color);
    margin-bottom: 12px;
    letter-spacing: 0;
    font-weight: 600;
    font-family: inherit;
}

.api-request pre,
.api-response pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #212529;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.api-request code,
.api-response code {
    color: inherit;
    font-family: inherit;
}

.api-example pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #212529;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.api-example code {
    color: inherit;
    font-family: inherit;
}

.api-note-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 12px;
    padding-left: 16px;
    border-left: 3px solid #ffc107;
    line-height: 1.6;
}

.api-note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    color: #856404;
    font-size: 0.95rem;
    border: 1px solid #ffeaa7;
}

.api-note code {
    background: rgba(255, 193, 7, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #856404;
    font-weight: 600;
}

.api-errors {
    margin-top: 20px;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--box-shadow);
}

.api-table thead {
    background: var(--primary-color);
    color: white;
}

.api-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.api-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-color);
}

.api-table tbody tr:last-child td {
    border-bottom: none;
}

.api-table tbody tr:hover {
    background: var(--bg-color);
}

.api-table code {
    background: var(--bg-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.api-info {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.api-info p {
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

.api-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.api-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.api-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.api-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.api-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.api-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.api-content code {
    background: var(--bg-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

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

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

/* Security Section */
.security {
    background-color: var(--bg-color);
}

/* About Section */
.about {
    background-color: var(--white);
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
}

/* Contact Page Styles */
.contact-content {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form-section {
    background: var(--white);
    padding: 60px 70px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    margin-bottom: 80px;
    border: 1px solid #e8e8e8;
}

.contact-intro {
    text-align: center;
    color: #6c757d;
    margin-bottom: 50px;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.15s ease;
    background-color: var(--white);
    color: #262626;
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-primary:active {
    background: #004085;
}

.form-success-message {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 86, 179, 0.05));
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.form-success-message svg {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.form-success-message h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.form-success-message p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.contact-info-section {
    margin-bottom: 80px;
}

.contact-info-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.25rem;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.contact-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    border: 1px solid #e8e8e8;
}

.contact-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.contact-card p {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-card p:first-of-type {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.contact-response-time {
    font-size: 0.85rem !important;
    color: var(--text-light) !important;
    font-style: italic;
    margin-top: 8px !important;
}

.contact-quick-links {
    text-align: center;
    padding: 60px 40px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.contact-quick-links h2 {
    margin-bottom: 16px;
    font-size: 2.25rem;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.contact-quick-links > p {
    color: #6c757d;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.quick-link-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #262626;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.quick-link-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
    color: var(--primary-color);
}

.quick-link-card svg {
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.quick-link-card:hover svg {
    color: var(--secondary-color);
}

.quick-link-card span {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-section {
        padding: 40px 28px;
    }
    
    .contact-form-section h2 {
        font-size: 1.75rem;
    }
    
    .contact-info-section h2,
    .contact-quick-links h2 {
        font-size: 1.75rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .contact-quick-links {
        padding: 40px 24px;
    }
}

/* Security Page Styles */
.security-content {
    max-width: 1100px;
    margin: 0 auto;
}

.security-intro {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.security-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.security-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.security-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
}

/* Donate Page Styles */
.donate-content {
    max-width: 1100px;
    margin: 0 auto;
}

.donate-intro {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donate-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.donate-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.donate-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
}

/* Donate Goals */
.donate-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.goal-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.goal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.goal-icon svg {
    width: 40px;
    height: 40px;
    display: block;
    flex-shrink: 0;
}

.goal-card:hover .goal-icon {
    background: rgba(0, 123, 255, 0.15);
    transform: scale(1.05);
}

.goal-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.goal-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Donate Info Card */
.donate-info-card {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.donate-info-header {
    text-align: center;
    margin-bottom: 40px;
}

.donate-info-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    color: var(--primary-color);
}

.donate-info-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.donate-info-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 0;
}

/* Requisites */
.requisites-section {
    margin-bottom: 30px;
}

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

.requisite-item {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.2s ease;
}

.requisite-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.requisite-item-copyable {
    padding-right: 50px;
}

.requisite-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.requisite-value {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.5;
}

.requisite-value-monospace {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    word-break: break-all;
}

.requisite-copy-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    opacity: 0.6;
    transition: all 0.3s ease;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.requisite-copy-btn:hover {
    opacity: 1;
    color: var(--primary-color);
}

.requisite-copy-btn.copied {
    opacity: 1;
    color: var(--primary-color);
}

/* Donate Note */
.donate-note {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 86, 179, 0.08));
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    border-radius: 8px;
    margin-top: 30px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.donate-note-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--primary-color);
    margin-top: 2px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.donate-note-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.donate-note p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.05rem;
}

.donate-note strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Donate Thanks */
.donate-thanks {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.1));
    border-radius: 16px;
    border: 2px solid rgba(0, 123, 255, 0.2);
}

.donate-thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.15);
    border-radius: 50%;
    color: var(--primary-color);
}

.donate-thanks h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 600;
}

.donate-thanks p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .donate-info-card {
        padding: 32px 24px;
    }
    
    .donate-goals {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .requisites-grid {
        grid-template-columns: 1fr;
    }
    
    .donate-thanks {
        padding: 40px 24px;
    }
}

/* Download Page Styles */
.download-content {
    max-width: 1100px;
    margin: 0 auto;
}

.download-intro {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.download-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.download-subtitle {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.download-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
}

/* Download page feature items */
.download-content .feature-item {
    transition: all 0.3s ease;
}

.download-content .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Download features list style (like why-list) */
.download-features-list {
    max-width: 800px;
    margin: 0 auto;
}

.download-feature-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.download-feature-item:last-child {
    margin-bottom: 0;
}

.download-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.download-feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.download-feature-item:hover .download-feature-icon {
    background: rgba(0, 123, 255, 0.15);
    transform: scale(1.05);
}

.download-feature-content {
    flex: 1;
}

.download-feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.download-feature-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Transparent button with border */
.btn-primary[style*="background: transparent"] {
    transition: all 0.3s ease;
}

.btn-primary[style*="background: transparent"]:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

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

.security-feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.security-feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.security-feature-icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.security-feature-card p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 0.95rem;
}

.security-details {
    margin-bottom: 70px;
}

.security-details h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -0.5px;
}

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

.security-detail-item {
    background: #f9fafb;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.security-detail-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.security-detail-item p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 0.95rem;
}

.security-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.security-extra-card {
    background: var(--white);
    padding: 36px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.security-extra-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.security-extra-card p {
    color: #6c757d;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .security-intro h1 {
        font-size: 2rem;
    }
    
    .security-subtitle {
        font-size: 1.2rem;
    }
    
    .security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .security-details-grid {
        grid-template-columns: 1fr;
    }
    
    .security-extra {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px var(--box-shadow);
}

.faq-item:hover {
    box-shadow: 0 4px 10px var(--box-shadow-hover);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--bg-color);
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    padding-top: 10px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 40px 20px 15px;
}


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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 25px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-section h3 {
    color: #4a9eff; /* Светлый цвет для темной темы */
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-section h4 {
    color: rgba(255, 255, 255, 0.9); /* Светлый цвет для темной темы */
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer-section h4 {
    color: rgba(255, 255, 255, 0.9); /* Светлый цвет для темной темы */
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Reveal Animations - Базовые анимации при скролле */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Улучшенные hover-эффекты с плавными переходами */
.why-item {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
}

.why-item-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-item:hover .why-item-icon {
    transform: scale(1.1);
}

.timeline-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-marker {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
}

.roadmap-item {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.roadmap-item:hover {
    transform: translateY(-6px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .features-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ТЕМНАЯ ТЕМА - Дополнительные стили
   ============================================ */

[data-theme="dark"] .hero::before {
    background: radial-gradient(circle, rgba(74, 158, 255, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] .hero::after {
    background: radial-gradient(circle, rgba(74, 158, 255, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .why-choose::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(74, 158, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 158, 255, 0.08) 0%, transparent 50%);
}



[data-theme="dark"] .why-item {
    background: #1e1e1e;
    border-color: #333333;
}

[data-theme="dark"] .why-item:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    border-color: transparent;
}

[data-theme="dark"] .why-item::before {
    background: linear-gradient(135deg, #00ff88 0%, #00d4ff 25%, #4a9eff 50%, #6c5ce7 75%, #00ff88 100%);
}

[data-theme="dark"] .why-item-icon {
    background: rgba(74, 158, 255, 0.15);
}

[data-theme="dark"] .why-item:hover .why-item-icon {
    background: rgba(74, 158, 255, 0.25);
}

/* Карточки и секции */
[data-theme="dark"] .card,
[data-theme="dark"] .contact-form-section,
[data-theme="dark"] .donate-info-card {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .contact-form-section h2,
[data-theme="dark"] .contact-info-section h2,
[data-theme="dark"] .contact-quick-links h2 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-intro,
[data-theme="dark"] .contact-quick-links > p {
    color: var(--text-light);
}

[data-theme="dark"] .contact-card {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .contact-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-card p {
    color: var(--text-light);
}

[data-theme="dark"] .contact-card-icon {
    background: rgba(74, 158, 255, 0.15);
}

[data-theme="dark"] .contact-quick-links {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .quick-link-card {
    background: #252525;
    border-color: #333;
    color: var(--text-color);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background-color: #2a2a2a;
    border-color: #444;
    color: var(--text-color);
}

[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: #888;
}

[data-theme="dark"] .form-group input:hover,
[data-theme="dark"] .form-group select:hover,
[data-theme="dark"] .form-group textarea:hover {
    border-color: #666;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* Security Page Dark Theme */
[data-theme="dark"] .security-intro h1 {
    color: var(--text-color);
}

[data-theme="dark"] .security-description {
    color: var(--text-light);
}

[data-theme="dark"] .security-feature-card {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .security-feature-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .security-feature-card p {
    color: var(--text-light);
}

[data-theme="dark"] .security-details h2 {
    color: var(--text-color);
}

[data-theme="dark"] .security-detail-item {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .security-detail-item p {
    color: var(--text-light);
}

[data-theme="dark"] .security-extra-card {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .security-extra-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .security-extra-card p {
    color: var(--text-light);
}

/* Стили для страницы donate в темной теме */
[data-theme="dark"] .donate-intro h1 {
    color: var(--text-color);
}

[data-theme="dark"] .donate-description {
    color: var(--text-light);
}

[data-theme="dark"] .goal-card {
    background: #252525;
    border-color: #333;
}

[data-theme="dark"] .goal-card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .goal-card p {
    color: var(--text-light);
}

[data-theme="dark"] .goal-icon {
    background: rgba(74, 158, 255, 0.15);
}

[data-theme="dark"] .donate-info-icon {
    background: rgba(74, 158, 255, 0.15);
}

[data-theme="dark"] .donate-info-header h2 {
    color: var(--text-color);
}

[data-theme="dark"] .donate-info-header p {
    color: var(--text-light);
}

[data-theme="dark"] .requisite-item {
    background: #2a2a2a;
    border-color: #333;
}

[data-theme="dark"] .requisite-label {
    color: var(--text-light);
}

[data-theme="dark"] .requisite-value {
    color: var(--text-color);
}

[data-theme="dark"] .donate-note {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.12), rgba(0, 86, 179, 0.12));
    border-left-color: var(--primary-color);
}

[data-theme="dark"] .donate-note p {
    color: var(--text-color);
}

[data-theme="dark"] .donate-thanks {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 86, 179, 0.15));
    border-color: rgba(0, 123, 255, 0.3);
}

[data-theme="dark"] .donate-thanks-icon {
    background: rgba(74, 158, 255, 0.2);
}

[data-theme="dark"] .donate-thanks h2 {
    color: var(--text-color);
}

[data-theme="dark"] .donate-thanks p {
    color: var(--text-light);
}

/* Roadmap Dark Theme */
[data-theme="dark"] .roadmap-intro h1 {
    color: var(--text-color);
}

[data-theme="dark"] .roadmap-intro p {
    color: var(--text-light);
}

[data-theme="dark"] .category-header h2 {
    color: var(--text-color);
}

[data-theme="dark"] .category-header {
    border-bottom-color: #333;
}


[data-theme="dark"] .roadmap-cta h3 {
    color: var(--text-color);
}

[data-theme="dark"] .roadmap-cta p {
    color: var(--text-light);
}

[data-theme="dark"] .requisite-item div[style*="font-family: 'Courier New'"] {
    font-family: 'Courier New', Courier, monospace !important;
    color: var(--text-color) !important;
}

/* Исправление отображения текста в темной теме для всех элементов donate */
[data-theme="dark"] .donate-content * {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

[data-theme="dark"] .donate-content div[style*="font-family: 'Courier New'"],
[data-theme="dark"] .donate-content div[style*="Courier New"] {
    font-family: 'Courier New', Courier, monospace !important;
}

/* Убеждаемся, что все тексты видны в темной теме */
[data-theme="dark"] .donate-content div[style*="color: var(--text-color)"] {
    color: var(--text-color) !important;
}

[data-theme="dark"] .donate-content div[style*="color: var(--text-light)"] {
    color: var(--text-light) !important;
}

[data-theme="dark"] .donate-note {
    background: rgba(74, 158, 255, 0.15) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .donate-note p {
    color: var(--text-color) !important;
}

[data-theme="dark"] .donate-note strong {
    color: var(--text-color) !important;
}

[data-theme="dark"] .donate-thanks {
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.15), rgba(74, 158, 255, 0.1)) !important;
    border-color: rgba(74, 158, 255, 0.3) !important;
}

[data-theme="dark"] .donate-thanks h2 {
    color: var(--text-color) !important;
}

[data-theme="dark"] .donate-thanks p {
    color: var(--text-light) !important;
}

/* Формы */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: #2a2a2a;
    border-color: #333;
    color: var(--text-color);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
    border-color: var(--primary-color);
    background: #2f2f2f;
}

/* Кнопки остаются с теми же цветами, но можно добавить hover эффекты */
[data-theme="dark"] .btn-primary:hover {
    background-color: #5a9eff;
}

/* Footer уже темный, но можно улучшить */
[data-theme="dark"] .footer {
    background-color: #0f0f0f;
}

[data-theme="dark"] .page-content {
    background-color: var(--bg-color);
}

/* Плавные переходы для всех элементов */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

