/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f8f5;
    color: #333;
    width: 100%;
    overflow-x: hidden;
}

/* Fade-in animation for container */
.container {
    text-align: center;
    padding: 20px;
    max-width: 600px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

/* Logo bounce animation */
.logo {
    width: 200px;
    margin-bottom: 20px;
    border-radius: 100%;
}

/* Headline */
h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #1b5e20;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.3s;
}

/* Paragraph */
p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

/* Download button with animated pulse */
.download-btn {
    display: inline-block;
    background: #2e7d32;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards, buttonPulse 2s infinite ease-in-out;
    animation-delay: 0.9s, 2s; /* fadeUp first, then pulse starts after 2s */
    transform-origin: center;
    transition: background 0.3s ease;
}

.download-btn:hover {
    background: #1b5e20;
}

/* Keyframes for button pulse */
@keyframes buttonPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2); /* grows significantly */
    }
}

/* Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .logo {
        width: 150px;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.9rem;
    }

    .hero-img {
        max-width: 100%;
    }
}
