/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fdfaf6; /* Light cream background from image */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px; /* Space for the header */
}

/* Header */
.header {
    width: 100%;
    max-width: 1200px; /* Adjust as needed */
    padding: 1rem 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.logo-icon {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

/* Container and layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Allow container to grow and push content down */
}


/* Typography */
.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem; /* Adjusted margin-bottom */
    color: #1a1a1a;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.main-title .highlight {
    color: #ff6b6b; /* Original red color */
    font-weight: 700;
    display: inline-block;
    margin: 0 2px;
}

/* Benefits (re-added and styled to match the new content structure) */
.benefits {
    margin-bottom: 2rem; /* Space below benefits */
}

.benefit {
    font-size: 1.25rem;
    margin-bottom: 1rem; /* Space between benefits */
    color: #555;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* App Buttons */
.app-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.app-button {
    display: block;
    width: auto;
    height: auto;
    max-height: 45px; /* Maximum height for both buttons */
    object-fit: contain; /* Ensure images maintain aspect ratio */
}

.app-store-link, .google-play-link {
    display: inline-block;
    line-height: 0; /* Remove extra space below inline images */
    transition: all 0.3s ease;
    border-radius: 8px; /* Match the button image radius */
}

.app-download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.app-download-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-store-link .app-button {
    height: 45px; /* Specific height for App Store button */
}

.google-play-link .app-button {
    height: 40px; /* Specific height for Google Play button */
}


/* Footer */
.footer {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    color: #666;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block; /* Required for transform to work */
}

.footer-link:hover {
    color: #ff5252;
    text-decoration: underline;
    transform: translateY(-2px);
}

.footer-link:active {
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        padding-top: 10px;
    }

    .header {
        padding: 0.8rem 1rem;
    }

    .container {
        padding: 1.5rem;
    }
    
    .main-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .benefit {
        font-size: 1.05rem;
    }

    .app-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 2.5rem;
    }

    .app-store-link .app-button {
        height: 42px;
    }

    .google-play-link .app-button {
        height: 38px;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.8rem;
    }

    .benefit {
        font-size: 1rem;
    }

    .app-store-link .app-button {
        height: 40px;
    }

    .google-play-link .app-button {
        height: 36px;
    }

    .footer {
        padding: 1.5rem 1rem;
    }
}
