/* download.css — стили страницы скачивания в стиле лендинга */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #000;
    --bg-card: hsla(0, 0%, 100%, 0.04);
    --bg-surface: hsla(0, 0%, 100%, 0.06);
    --text: #fff;
    --text-secondary: hsla(0, 0%, 100%, 0.6);
    --text-muted: hsla(0, 0%, 100%, 0.35);
    --border: hsla(0, 0%, 100%, 0.1);
    --border-strong: hsla(0, 0%, 100%, 0.2);
    --accent: #3b82f6;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000;
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.download-root {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 64px; /* отступ под фиксированный хедер */
    width: 100%;
}

/* Фиксированный фон */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.65;
    pointer-events: none;
}

.download-hero {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    text-align: center;
}

.download-hero-inner h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}

.download-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.download-apps-section {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 60px;
}

.apps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.app-card {
    background: hsla(0, 0%, 4%, 0.7);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(30px);
    padding: 32px;
    flex: 1 1 320px;
    max-width: 450px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    transition: none;
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.app-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    color: var(--accent);
}

.app-card-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.app-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: hsla(0, 0%, 100%, 0.03);
    border: 1px solid hsla(0, 0%, 100%, 0.08);
    border-radius: 60px;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: none;
}

.app-link-item .link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* Убран эффект при наведении */
.app-link-item:hover {
    /* ничего не меняем */
}

.download-footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 40px;
}

/* Анимации */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up {
    animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Адаптивность */
@media (max-width: 768px) {
    .download-hero {
        padding: 30px 16px 10px;
    }
    .app-card {
        padding: 24px;
    }
    .app-card-header h2 {
        font-size: 24px;
    }
    .app-link-item {
        padding: 14px 18px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .apps-container {
        gap: 20px;
    }
    .app-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    .app-icon-wrapper svg {
        width: 26px;
        height: 26px;
    }
    .app-link-item {
        padding: 12px 16px;
    }
}