/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Purple color from the poster */
    --primary-purple: #6366F1;
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--primary-purple);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Poster Container */
.poster-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.poster-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.brand-name {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Headline Section */
.headline-section {
    margin-bottom: 2rem;
}

.main-headline {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 100%;
}

/* Subtitle Section */
.subtitle-section {
    margin-bottom: 4rem;
}

.subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--white-90);
    max-width: 90%;
}

/* Download Section */
.download-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-button {
    background: var(--white);
    color: var(--primary-purple);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-button.google-play {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    cursor: default;
    padding: calc(1rem - 2px) calc(2.5rem - 2px);
}

.download-button.google-play:hover {
    transform: none;
    box-shadow: none;
}

/* Minimal Footer */
.minimal-footer {
    text-align: left;
    padding: 2rem 0 0;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.footer-help {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--white-90);
}

.footer-help a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-help a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--white-70);
}

/* Responsive Design */
@media (max-width: 768px) {
    .poster-container {
        padding: 2rem;
    }

    .logo-section {
        margin-bottom: 3rem;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .main-headline {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .subtitle {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }

    .download-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .download-button.google-play {
        padding: calc(0.875rem - 2px) calc(2rem - 2px);
    }
}

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

    .logo-section {
        margin-bottom: 2.5rem;
    }

    .headline-section {
        margin-bottom: 1.5rem;
    }

    .subtitle-section {
        margin-bottom: 3rem;
    }

    .download-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .footer-help {
        font-size: 0.875rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
}

/* Tall screens optimization */
@media (min-height: 800px) {
    .logo-section {
        margin-bottom: 5rem;
    }

    .headline-section {
        margin-bottom: 3rem;
    }

    .subtitle-section {
        margin-bottom: 5rem;
    }
}

/* Animation for entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section {
    animation: fadeInUp 0.8s ease-out;
}

.headline-section {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.subtitle-section {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.download-section {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .download-button {
        border: 2px solid var(--white);
    }
}