/* ===== БАЗА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    color: #1a202c;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ШАПКА ===== */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header .logo {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

.header .logo span {
    color: #fbbf24;
}

.header .nav {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.header .nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 6px 12px;
    border-radius: 6px;
}

.header .nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.header .nav .btn-login {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.header .nav .btn-login:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== ГЕРОЙ ===== */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 24px;
}

.hero .buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 12px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.hero .btn:hover {
    transform: translateY(-2px);
}

.hero .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hero .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.hero .btn-secondary {
    background: white;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.hero .btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
}

/* ===== СТАТИСТИКА ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.stat-card .number {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
}

.stat-card .label {
    color: #718096;
    font-size: 14px;
    margin-top: 4px;
}

/* ===== ПРЕДУПРЕЖДЕНИЕ ===== */
.warning-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 auto 40px;
    max-width: 700px;
    text-align: center;
}

.warning-box .icon {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.warning-box h3 {
    color: #92400e;
    font-size: 18px;
    margin-bottom: 8px;
}

.warning-box p {
    color: #78350f;
    font-size: 15px;
    line-height: 1.7;
}

.warning-box strong {
    color: #92400e;
}

/* ===== СЕКЦИИ ===== */
.section {
    padding: 40px 0;
}

.section h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.section .subtitle {
    text-align: center;
    color: #718096;
    font-size: 16px;
    margin-bottom: 32px;
}

/* ===== КАРТОЧКИ ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    color: #718096;
    font-size: 14px;
    line-height: 1.7;
}

/* ===== ИНСТРУКЦИЯ ===== */
.instructions {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    max-width: 800px;
    margin: 0 auto;
}

.instructions ol {
    padding-left: 24px;
    margin: 16px 0;
}

.instructions li {
    padding: 6px 0;
    font-size: 15px;
    color: #4a5568;
}

.instructions li strong {
    color: #2d3748;
}

.instructions code {
    background: #f7fafc;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
    border: 1px solid #e2e8f0;
}

.instructions .download-btn {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.instructions .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ===== ФУТЕР ===== */
.footer {
    background: white;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 14px;
    color: #a0aec0;
}

.footer a {
    color: #667eea;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ===== МОБИЛЬНЫЙ АДАПТИВ ===== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header .logo {
        font-size: 24px;
    }

    .header .nav {
        justify-content: center;
    }

    .hero {
        padding: 40px 0 24px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card .number {
        font-size: 24px;
    }

    .section h2 {
        font-size: 22px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .instructions {
        padding: 20px;
    }

    .instructions li {
        font-size: 14px;
    }

    .warning-box {
        padding: 16px;
        margin: 0 8px 24px;
    }

    .warning-box h3 {
        font-size: 16px;
    }

    .warning-box p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card .number {
        font-size: 20px;
    }

    .header .nav a {
        font-size: 14px;
        padding: 4px 10px;
    }
}