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

:root {
    --heading-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    font-family: var(--body-font);
    min-height: 100vh;
    background: #1a1f1c;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMjgyYzI4Ij48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMzODNjMzgiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=');
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, 
        rgba(26, 31, 28, 0.9) 0%,
        rgba(26, 31, 28, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

h1, h2 {
    font-family: var(--heading-font);
    color: #e0e0e0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #c8c8c8;
}

.download-section {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.download-btn {
    font-family: var(--body-font);
    background: linear-gradient(135deg, #4a5f44, #2d3a29);
    color: #e0e0e0;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2),
                inset 0 1px 1px rgba(255,255,255,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3),
                inset 0 1px 1px rgba(255,255,255,0.1);
    background: linear-gradient(135deg, #556b4e, #374533);
}

.download-btn:active {
    transform: scale(0.98);
}

.download-btn i {
    font-size: 20px;
}

.update-date {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 400;
}

.steps {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.07);
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4a5f44, #2d3a29);
    color: #e0e0e0;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2),
                inset 0 1px 1px rgba(255,255,255,0.1);
    font-family: var(--heading-font);
    border: 1px solid rgba(255,255,255,0.1);
}

.step p {
    color: #c8c8c8;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
}

.animation {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.phone-screen {
    width: 100%;
    height: 200px;
    background: rgba(26, 31, 28, 0.8);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.animation-content {
    position: absolute;
    width: 400%;
    height: 100%;
    display: flex;
    animation: slideSteps 8s infinite;
}

.animation-step {
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #c8c8c8;
    position: relative;
}

.animation-step::after {
    content: attr(data-step);
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 12px;
    color: #4a5f44;
    font-weight: 600;
    font-family: var(--heading-font);
}

.animation-step i {
    font-size: 32px;
    color: #4a5f44;
}

.animation-step span {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #e0e0e0;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    width: 100%;
    height: 100%;
    background: #4a5f44;
    transform-origin: left;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { transform: scaleX(0); }
    50% { transform: scaleX(0.7); }
    100% { transform: scaleX(1); }
}

@keyframes slideSteps {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-25%); }
    50%, 70% { transform: translateX(-50%); }
    75%, 95% { transform: translateX(-75%); }
    100% { transform: translateX(0); }
}

/* Адаптивная верстка */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .container {
        width: 100%;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 20px;
        margin: 30px 0 15px;
    }

    .download-section {
        padding: 15px;
        margin: 25px 0;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .update-date {
        margin-top: 10px;
        font-size: 12px;
    }

    .steps {
        gap: 12px;
    }

    .step {
        padding: 15px;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .step p {
        font-size: 14px;
    }

    .animation {
        padding: 15px;
    }

    .phone-screen {
        height: 160px;
    }

    .animation-step {
        gap: 8px;
    }

    .animation-step i {
        font-size: 28px;
    }

    .progress-bar {
        width: 160px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 320px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    .download-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .update-date {
        font-size: 11px;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .step p {
        font-size: 13px;
    }

    .phone-screen {
        height: 140px;
    }

    .animation-step i {
        font-size: 24px;
    }

    .progress-bar {
        width: 140px;
    }
}