/* ============================================
   Токены и переменные - Light Mode
   ============================================ */
:root {
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --primary-light: rgba(14, 165, 233, 0.1);
    --border: #e6e8eb;
    --background: #f7f9fc;
    --background-gradient: linear-gradient(135deg, #f7f9fc 0%, #e8f0f5 100%);
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.06);
    --shadow-hover: rgba(0, 0, 0, 0.12);
    --shadow-lg: rgba(0, 0, 0, 0.1);
    --glow: rgba(14, 165, 233, 0.3);
}

/* ============================================
   Токены и переменные - Dark Mode
   ============================================ */
[data-theme="dark"] {
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --primary-light: rgba(56, 189, 248, 0.15);
    --border: #334155;
    --background: #0f172a;
    --background-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --surface: #1e293b;
    --surface-elevated: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --white: #1e293b;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --shadow-lg: rgba(0, 0, 0, 0.4);
    --glow: rgba(56, 189, 248, 0.4);
}

[data-theme="dark"] html {
    background: #0f172a;
    background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

[data-theme="dark"] body {
    background: #0f172a;
    background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* ============================================
   Сброс и базовые стили
   ============================================ */
html {
    overflow: hidden;
    height: 100%;
    background: #f7f9fc;
    background-image: linear-gradient(135deg, #f7f9fc 0%, #e8f0f5 100%);
}

@media (prefers-color-scheme: dark) {
    html {
        background: #0f172a;
        background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
    
    body {
        background: #0f172a;
        background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }
}

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

*,
*::before,
*::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: var(--background-gradient);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
    overflow: hidden;
    height: 100vh;
}

main {
    min-height: 100vh;
}

/* ============================================
   Контейнеры
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.screen {
    padding: 0;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100vh;
    padding-bottom: 100px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: var(--background-gradient);
    background-attachment: fixed;
}

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

/* ============================================
   Типографика
   ============================================ */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   Кнопки
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px var(--glow);
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--glow);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px var(--shadow);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px var(--glow);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   Карточки
   ============================================ */
.card {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    box-shadow: 0 8px 32px var(--shadow-hover);
    transform: translateY(-6px);
    border-color: var(--primary);
}

.card:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 4px 16px var(--shadow-hover);
    border-color: var(--primary);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ripple эффект (волны) */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
    z-index: 10;
}

[data-theme="dark"] .ripple {
    background: rgba(56, 189, 248, 0.4);
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Touch эффекты для мобильных устройств */
@media (hover: none) and (pointer: coarse) {
    .card {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
    }
}

.card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ============================================
   Вкладки
   ============================================ */
.tabs-container {
    margin-top: 1rem;
}

.tabs-header {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
    position: relative;
}

.tab-button:hover {
    color: var(--primary);
}

.tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tabs-content {
    min-height: 200px;
}

.tab-panel {
    animation: fadeIn 0.3s ease-in;
}

/* ============================================
   Описание проекта с превью
   ============================================ */
.description-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.description-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    flex: 1;
}

.project-description {
    position: relative;
}

.description-preview,
.description-full {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.description-full {
    white-space: pre-line;
}

.btn-description-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-description-toggle:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--glow);
}

.toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.toggle-icon.expanded {
    transform: rotate(180deg);
}

/* ============================================
   Логотипы проектов
   ============================================ */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.project-logo-inline {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--background);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* ============================================
   Карточка проекта с большим логотипом
   ============================================ */
.project-card-layout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-logo-card {
    width: 96px;
    height: 96px;
    min-width: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.project-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: all 0.3s ease;
}

[data-theme="dark"] .project-logo-card {
    background: var(--surface-elevated);
}

[data-theme="dark"] .project-logo-card img {
    filter: brightness(1.1);
}

.card:hover .project-logo-card {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.02);
}

.card:hover .project-logo-card img {
    filter: brightness(1);
}

.project-card-content {
    flex: 1;
    min-width: 0;
}

.project-card-content .card-title {
    margin-bottom: 0.5rem;
}

.project-card-content .card-description {
    margin-bottom: 0;
}

.project-logo-inline img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: all 0.3s ease;
}

[data-theme="dark"] .project-logo-inline {
    background: var(--surface-elevated);
}

[data-theme="dark"] .project-logo-inline img {
    filter: brightness(1.1);
}

.card:hover .project-logo-inline {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.05);
}

.card:hover .project-logo-inline img {
    filter: brightness(1);
}

.card-title {
    margin-bottom: 0;
    flex: 1;
}

/* Старый стиль для больших логотипов (на странице деталей) */
.project-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 12px;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: all 0.3s ease;
}

[data-theme="dark"] .project-logo {
    background: var(--surface-elevated);
}

[data-theme="dark"] .project-logo img {
    filter: brightness(1.1);
}

.card:hover .project-logo {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.02);
}

.card:hover .project-logo img {
    filter: brightness(1);
    transform: scale(1.05);
}

.project-header-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-logo-large {
    width: 120px;
    min-width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--background);
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.project-title-status {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.project-title-status h1 {
    margin-bottom: 0.5rem;
}

.project-logo-large img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: all 0.3s ease;
}

[data-theme="dark"] .project-logo-large {
    background: var(--surface-elevated);
}

[data-theme="dark"] .project-logo-large img {
    filter: brightness(1.1);
}

/* ============================================
   Фиксированная CTA кнопка проекта
   ============================================ */
.project-cta-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px var(--shadow);
    padding: 16px 0;
    z-index: 999;
}

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

.project-cta-fixed .btn {
    width: 100%;
}

.screen {
    padding-bottom: 80px;
}

/* ============================================
   Мобильная верхняя панель
   ============================================ */
.mobile-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
    padding: 12px 16px;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    backdrop-filter: blur(10px);
}

.mobile-header-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-header-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--background);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.mobile-header-button:hover {
    background: var(--primary-light);
    color: var(--primary);
    transform: scale(1.05);
}

.mobile-header-button:active {
    transform: scale(0.95);
}

[data-theme="dark"] .mobile-header-button {
    background: var(--surface-elevated);
}

[data-theme="dark"] .mobile-header-button:hover {
    background: var(--primary-light);
}

/* Выбор языка */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--background);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.language-selector:hover {
    background: var(--primary-light);
}

[data-theme="dark"] .language-selector {
    background: var(--surface-elevated);
}

.language-current {
    font-size: 1.125rem;
    line-height: 1;
}

.language-selector i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.language-selector i.rotated {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    min-width: 160px;
    overflow: hidden;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

[data-theme="dark"] .language-menu {
    background: var(--surface-elevated);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--primary-light);
}

.language-option.active {
    background: var(--primary-light);
    color: var(--primary);
}

.language-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.language-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

.language-option.active .language-name {
    color: var(--primary);
    font-weight: 600;
}

.mobile-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-back-button:hover {
    background: var(--background);
    color: var(--primary);
}

.mobile-back-button:active {
    transform: scale(0.95);
    background: var(--primary-light);
}

.mobile-back-button i {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ============================================
   Галерея проекта
   ============================================ */
.project-gallery-section {
    margin: 2rem 0;
}

.project-gallery-section h2 {
    margin-bottom: 1.5rem;
}

.project-gallery {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-top: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border);
    -webkit-overflow-scrolling: touch;
}

.project-gallery::-webkit-scrollbar {
    height: 8px;
}

.project-gallery::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 10px;
}

.project-gallery::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.project-gallery::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.project-gallery-item{
    height: 300px;
    border-radius: 14px;
}

.gallery-item {
    position: relative;
    height: 300px;
    width: auto;
    min-width: 0;
    max-width: none;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0;
    margin: 0;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-hover);
    border-color: var(--primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    padding: 0;
    margin: 0;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Новости проекта
   ============================================ */
.project-news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.5rem;
}

.project-news-item {
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    padding-bottom: 1.5rem;
}

.project-news-item:last-child {
    padding-bottom: 0;
}

.project-news-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0 0 0;
    opacity: 0.5;
}

[data-theme="dark"] .project-news-divider {
    background: var(--border-dark);
    opacity: 0.3;
}

.project-news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.project-news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.project-news-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Статусы
   ============================================ */
.status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .status-raising {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
}

[data-theme="dark"] .status-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.status-raising {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.status-active {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

/* ============================================
   Формы
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--surface);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   KPI блок
   ============================================ */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.kpi-item {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kpi-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.kpi-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--shadow-hover);
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.kpi-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   Сетки
   ============================================ */
.grid {
    display: grid;
    gap: 20px;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ============================================
   Секции
   ============================================ */
.section {
    margin: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Список преимуществ
   ============================================ */
.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ============================================
   Утилиты
   ============================================ */
.text-center {
    text-align: center;
}

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

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

.divider {
    height: 1px;
    background-color: var(--border);
    margin: 2rem 0;
}

/* ============================================
   Splash экран
   ============================================ */
.splash-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.logo {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.slogan {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* ============================================
   Success экран
   ============================================ */
.success-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* ============================================
   Адаптивность
   ============================================ */
/* ============================================
   Footer
   ============================================ */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 8px var(--shadow);
    z-index: 1000;
    padding: 12px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

.footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.footer-link:hover {
    color: var(--primary);
    background-color: var(--background);
}

.footer-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 500;
}

/* ============================================
   Адаптивность
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .theme-toggle {
        width: 48px;
        height: 48px;
        top: 16px;
        right: 16px;
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .kpi-value {
        font-size: 2rem;
    }
    
    .project-logo-inline {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 2px;
    }
    
    .card-header {
        gap: 10px;
        margin-bottom: 0.75rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .project-logo {
        height: 60px;
        margin-bottom: 1rem;
        padding: 8px;
    }
    
    .project-header-info {
        flex-direction: row;
        align-items: center;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .project-logo-large {
        width: 100px;
        min-width: 100px;
        height: 100px;
        margin: 0;
        padding: 12px;
    }
    
    .project-title-status {
        align-items: flex-start;
    }
    
    .project-card-layout {
        flex-direction: row;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .project-logo-card {
        width: 80px;
        height: 80px;
        min-width: 80px;
        padding: 10px;
    }
    
    .project-card-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    
    .project-cta-fixed {
        padding: 12px 0;
    }
    
    .project-cta-fixed .container {
        padding: 0 16px;
    }
    
    .screen {
        padding-bottom: 80px;
    }
    
    .mobile-header {
        padding: 10px 12px;
        min-height: 52px;
    }
    
    .mobile-header-title {
        font-size: 1.125rem;
    }
    
    .mobile-header-button {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
    
    .language-selector {
        padding: 6px 10px;
    }
    
    .language-current {
        font-size: 1rem;
    }
    
    .mobile-back-button {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .container {
        padding: 16px;
    }
    
    .project-gallery {
        gap: 1rem;
    }
    
    .gallery-item {
        height: 300px;
        width: auto;
        min-width: 0;
        max-width: 100%;
        border-width: 1px;
        padding: 0;
        margin: 0;
    }
    
    .gallery-item img {
        object-fit: cover;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
    }
    
    .description-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .description-title {
        font-size: 1.25rem;
    }
    
    .btn-description-toggle {
        justify-content: center;
    }
    
    .tabs-header {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

/* ============================================
   Переключатель темы
   ============================================ */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 6px 24px var(--shadow-hover);
    border-color: var(--primary);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* ============================================
   Анимации
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   Улучшения для dark mode
   ============================================ */
[data-theme="dark"] .card {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .kpi-item {
    background: var(--surface);
}

[data-theme="dark"] .divider {
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    height: 1px;
}

/* ============================================
   Дополнительные улучшения
   ============================================ */
.section {
    position: relative;
}

.card-description {
    transition: color 0.3s ease;
}

/* Улучшенные градиенты для заголовков */
[data-theme="dark"] .section-title {
    background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Плавные переходы для всех интерактивных элементов */
a, button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Улучшенная видимость в dark mode */
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
    background-color: var(--surface-elevated);
}

/* Эффект свечения для кнопок в dark mode */
[data-theme="dark"] .btn {
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}

[data-theme="dark"] .btn:hover {
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.5);
}

/* ============================================
   Install Gate Component (PWA - Blocking Install Screen)
   ============================================ */
.install-gate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.install-gate__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    backdrop-filter: blur(10px);
}

/* Адаптация overlay под тему */
:root .install-gate__overlay {
    background: rgba(247, 249, 252, 0.98);
}

[data-theme="dark"] .install-gate__overlay {
    background: rgba(15, 23, 42, 0.98);
}

/* Поддержка prefers-color-scheme для определения темы по умолчанию */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .install-gate__overlay {
        background: rgba(15, 23, 42, 0.98);
    }
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) .install-gate__overlay {
        background: rgba(247, 249, 252, 0.98);
    }
}

.install-gate__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    animation: installGateSlideUp 0.5s ease-out;
    padding: 0 20px;
}

.install-gate__language-selector {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    z-index: 10;
}

.install-gate__language-selector .language-selector {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
}

[data-theme="dark"] .install-gate__language-selector .language-selector {
    background: var(--surface-elevated);
}

.install-gate__language-selector .language-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    min-width: 200px;
    max-width: 90vw;
    max-height: 300px;
    overflow-y: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.language-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border);
}

.language-menu-item:last-child {
    border-bottom: none;
}

.language-menu-item:hover {
    background: var(--primary-light);
}

.language-menu-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

.language-menu-item .language-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.language-menu-item .language-name {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.language-menu-item.active .language-name {
    color: var(--primary);
    font-weight: 600;
}

.language-menu-item i {
    color: var(--primary);
    font-size: 1.125rem;
}

@keyframes installGateSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Логотип Aluna */
.install-gate__logo {
    margin-bottom: 2rem;
}

.install-gate__logo-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 4px 16px var(--shadow-lg);
    background: var(--surface);
    padding: 8px;
}

.install-gate__logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 2px;
}

.install-gate__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.install-gate__description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 2.5rem 0;
    line-height: 1.6;
}

/* In-App браузер предупреждение */
.install-gate__inapp-warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

[data-theme="dark"] .install-gate__inapp-warning {
    background: rgba(239, 68, 68, 0.15);
}

.install-gate__warning-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 50%;
    color: #ef4444;
    font-size: 1.5rem;
}

.install-gate__inapp-warning h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.install-gate__inapp-warning p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

/* Автоматическая установка */
.install-gate__auto-install {
    margin: 2rem 0;
}

.install-gate__install-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 20px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(14, 165, 233, 0.6);
    }
}

/* Ручная установка */
.install-gate__manual-install {
    margin: 2rem 0;
    position: relative;
}

.install-gate__instructions {
    text-align: left;
    margin-top: 2rem;
}

.install-gate__step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.install-gate__step:last-child {
    margin-bottom: 0;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Анимация стрелок */
.install-gate__arrow {
    position: absolute;
    color: #0ea5e9;
    font-size: 3rem;
    z-index: 10;
    animation: arrowBounce 2s infinite;
    pointer-events: none;
}

.install-gate__arrow--down {
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.install-gate__arrow--up {
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.install-gate__arrow--bottom-right {
    bottom: -60px;
    right: 20px;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
        opacity: 0.7;
    }
}

.install-gate__arrow--bottom-right {
    animation: arrowBounceRight 2s infinite;
}

@keyframes arrowBounceRight {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-15px);
        opacity: 0.7;
    }
}

/* Кнопка установки */
.install-gate__button {
    border: none;
    border-radius: 16px;
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.install-gate__button--primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.5);
}

.install-gate__button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.7);
}

.install-gate__button--primary:active {
    transform: translateY(-1px);
}

.install-gate__button i {
    font-size: 1.5rem;
}

/* Сообщение об успешной установке */
.install-gate__success {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
}

.install-gate__success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    color: #22c55e;
    font-size: 2rem;
    animation: successPulse 1s ease-out;
}

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

.install-gate__success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.install-gate__success p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Адаптивность */
@media (max-width: 480px) {
    
    
    .install-gate__logo-icon {
        width: 100px;
        height: 100px;
    }
    
    .install-gate__logo-text {
        font-size: 1.75rem;
    }
    
    .install-gate__title {
        font-size: 1.5rem;
    }
    
    .install-gate__description {
        font-size: 0.9375rem;
    }
    
    .install-gate__step {
        padding: 1rem;
    }
    
    .install-gate__button {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .install-gate__arrow {
        font-size: 2.5rem;
    }
    
    .install-gate__arrow--down {
        bottom: -50px;
    }
    
    .install-gate__arrow--up {
        top: -50px;
    }
    
    .install-gate__arrow--bottom-right {
        bottom: -50px;
        right: 15px;
    }
}
.install-blocker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.install-blocker__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .install-blocker__overlay {
    background: rgba(0, 0, 0, 0.95);
}

.install-blocker__content {
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: slideUp 0.4s ease;
}

[data-theme="dark"] .install-blocker__content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

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

.install-blocker__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 20px;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.install-blocker__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.install-blocker__description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.install-blocker__instructions {
    margin: 2rem 0;
    text-align: left;
}

.install-blocker__step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

.install-blocker__step:last-child {
    margin-bottom: 0;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.install-blocker__button {
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.install-blocker__button--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

.install-blocker__button--primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.6);
}

.install-blocker__button--primary:active {
    transform: translateY(0);
}

.install-blocker__button i {
    font-size: 1.25rem;
}

.install-blocker__footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.install-blocker__note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 480px) {
    .install-blocker__content {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }
    
    .install-blocker__icon {
        width: 64px;
        height: 64px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .install-blocker__title {
        font-size: 1.5rem;
    }
    
    .install-blocker__description {
        font-size: 0.9375rem;
    }
    
    .install-blocker__step {
        padding: 0.875rem;
    }
    
    .install-blocker__button {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}
