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

:root {
    --primary: #ff8c00;
    --secondary: #e65100;
    --accent: #4caf50;
    --bg-dark: #0a0a0c;
    --white: #ffffff;
    --glass: rgba(0, 0, 0, 0.3);
    --glass-border: rgba(255, 255, 255, 0.15);
}

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

html, body {
    min-height: 100%;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background: url('/images/landing-bg.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.content-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    width: 90%;
    padding: 4rem 3rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 48px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    animation: fadeIn 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-icon {
    width: 180px; /* Increased size */
    height: 180px;
    margin-bottom: 2.5rem;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    border: 3px solid rgba(255, 255, 255, 0.15);
    animation: bounceIn 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    object-fit: cover;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.logo {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.tagline {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 450px;
}

.store-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 2.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--glass-border);
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-width: 250px;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    color: var(--white);
}

.store-btn svg {
    width: 32px;
    height: 32px;
    margin-right: 16px;
}

.store-btn-text {
    text-align: left;
}

.store-btn-text span {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.store-btn-text strong {
    font-size: 1.3rem;
    font-weight: 700;
}

.badge-soon {
    display: inline-block;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.store-btn.disabled {
    cursor: default;
    opacity: 0.8;
}

.store-btn.disabled:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.dev-status {
    margin-top: 3rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 140, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); }
}

.footer-minimal {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    padding: 0 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: inherit;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

@media (max-width: 520px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
        min-height: 100%;
        position: relative;
        width: 100%;
    }
    
    body {
        padding-bottom: 7rem;
    }
    
    .content-container {
        width: 92%;
        padding: 2.5rem 1.5rem;
        max-height: none;
        border-radius: 40px;
    }
    
    .app-icon {
        width: 140px; /* Larger on mobile */
        height: 140px;
        margin-bottom: 1.5rem;
        border-radius: 32px;
    }

    .logo { 
        font-size: 2.5rem; 
        margin-bottom: 0.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.4;
        max-width: 100%;
    }
    
    .store-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .store-btn { 
        width: 100%; 
        padding: 0.9rem 1.5rem;
        min-width: unset;
        border-radius: 20px;
    }

    .footer-minimal {
        bottom: 1.5rem;
        font-size: 0.8rem;
    }
}

/* Extra small screens fix */
@media (max-height: 700px) and (max-width: 520px) {
    .app-icon { width: 110px; height: 110px; margin-bottom: 1rem; }
    .logo { font-size: 2.2rem; }
    .tagline { margin-bottom: 1.5rem; font-size: 1rem; }
    .content-container { padding: 1.5rem 1.5rem; }
}