/* launcher.css - Стили для страницы скачивания лаунчера */

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

:root {
    --primary: #6C63FF;
    --primary-dark: #5a52e0;
    --secondary: #FF6B6B;
    --dark: #1A1A2E;
    --dark-card: #16213E;
    --darker: #0F0F1F;
    --light: #F1F1F6;
    --gray: #888;
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #2ed573;
    --warning: #ffa502;
    --danger: #ff4757;
}

body {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--light);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ===== ШАПКА ===== */
.store-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.store-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light);
    text-decoration: none;
}

.store-logo img {
    height: 40px;
}

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

.header-link {
    color: var(--gray);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.header-link:hover {
    color: var(--light);
    background: rgba(255, 255, 255, 0.1);
}

.header-link.active {
    color: var(--primary);
    background: rgba(108, 99, 255, 0.2);
}

/* ===== ГЕРОЙ С SVG ===== */
.launcher-hero {
    margin: 30px 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-svg-wrapper {
    position: relative;
    width: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    padding: 40px;
}

.hero-download-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.6);
}

.btn-download i {
    font-size: 1.5rem;
}

.btn-download span {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-download strong {
    font-size: 1.1rem;
}

.btn-download small {
    font-size: 0.7rem;
    opacity: 0.9;
}

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

/* ===== ПРЕИМУЩЕСТВА ===== */
.features-section {
    padding: 60px 0;
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== СИСТЕМНЫЕ ТРЕБОВАНИЯ ===== */
.requirements-section {
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.req-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.req-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.req-card ul {
    list-style: none;
}

.req-card li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray);
    border-bottom: 1px solid var(--border-color);
}

.req-card li:last-child {
    border-bottom: none;
}

.req-card li i {
    width: 24px;
    color: var(--primary);
}

.req-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 20px;
}

.req-note i {
    color: var(--warning);
    margin-right: 8px;
}

/* ===== ПОДВАЛ ===== */
.site-footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 0 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

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

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--gray);
    font-size: 0.8rem;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--dark-card);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 2px solid var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--dark-card);
}

.modal-header h3 {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 25px;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.privacy-section p {
    color: var(--gray);
    margin-bottom: 10px;
}

.privacy-section ul {
    margin: 10px 0 10px 25px;
    color: var(--gray);
}

.privacy-section li {
    margin: 8px 0;
}

.privacy-section code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--warning);
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-download-icon {
        font-size: 2.5rem;
    }
    
    .btn-download {
        padding: 12px 25px;
    }
    
    .btn-download i {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 1.2rem;
    }
    
    .feature-card,
    .req-card {
        padding: 20px;
    }
    
    .modal-body {
        padding: 15px;
    }
}