* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-card: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.container {
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 48px 40px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: cardEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

.app-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.icon-wrapper svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.3));
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.3));
    border-radius: 22px;
}

.app-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
}

.features {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    margin-bottom: 36px;
    padding: 0 10px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.feature-icon {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.download-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;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.download-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-icon {
    width: 24px;
    height: 24px;
    animation: downloadBounce 2s ease-in-out infinite;
}

@keyframes downloadBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

.btn-text {
    position: relative;
    z-index: 1;
}

.version-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding: 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.info-divider {
    width: 1px;
    height: 30px;
    background: #d1d5db;
}

.installation-note {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.note-icon {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.note-text {
    font-size: 13px;
    color: #1e40af;
    line-height: 1.6;
}

.note-text strong {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.footer {
    text-align: center;
    margin-top: 32px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 480px) {
    .download-card {
        padding: 36px 28px;
        border-radius: 24px;
    }

    .app-title {
        font-size: 28px;
    }

    .features {
        gap: 12px;
    }

    .feature-icon {
        font-size: 28px;
    }

    .feature-text {
        font-size: 12px;
    }

    .download-btn {
        font-size: 16px;
        padding: 16px 28px;
    }

    .version-info {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .info-divider {
        width: 80%;
        height: 1px;
    }

    .installation-note {
        flex-direction: column;
        align-items: flex-start;
    }
}