/* Reset e Variáveis Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #070a13;
    --card-bg: rgba(16, 22, 42, 0.65);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    /* Cores de Destaque */
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    
    /* Sombras e Blur */
    --card-blur: 24px;
    --glow-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.15);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
}

/* Background Blur Circles (Efeito Neon no Fundo) */
.bg-blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
    animation: floatGlow 12s infinite alternate ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: 10%;
    left: -50px;
}

.circle-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    bottom: 10%;
    right: -50px;
    animation-delay: -3s;
}

.circle-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.4) 0%, transparent 70%);
    top: 40%;
    left: 45%;
    animation-delay: -6s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, 30px) scale(1.1);
    }
}

/* Container Principal e Efeito de Vidro */
.container {
    width: 100%;
    max-width: 480px;
    z-index: 1;
    perspective: 1000px;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Cabeçalho do App */
.app-header {
    margin-bottom: 35px;
}

.logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    border-radius: 24px;
    padding: 5px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    box-shadow: var(--glow-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    z-index: -1;
    opacity: 0.8;
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-wrapper:hover .app-logo {
    transform: scale(1.08) rotate(3deg);
}

.app-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.app-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 0 10px;
    font-weight: 300;
}

/* Seção de Botões de Download */
.download-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 35px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.store-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.store-btn:hover::after {
    transform: translateX(100%);
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.store-btn.google-play:hover {
    border-color: rgba(66, 133, 244, 0.5);
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.2);
}

.store-btn.app-store:not(.disabled):hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.store-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-icon svg {
    width: 100%;
    height: 100%;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.store-text small {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.7;
}

.store-text strong {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1px;
}

/* Estado Desabilitado / Em Breve (App Store) */
.store-btn.disabled {
    opacity: 0.5;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.03);
}

.store-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.store-btn.disabled .store-text small {
    color: var(--accent-cyan);
    font-weight: 800;
}

/* Rodapé e QR Code */
.app-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
}

.qr-container {
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease forwards;
}

.qr-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.qr-code-wrapper {
    background: #111625;
    padding: 10px;
    border-radius: 18px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.qr-code-wrapper img {
    display: block;
    width: 120px;
    height: 120px;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsividade adicional */
@media (max-width: 480px) {
    .glass-card {
        padding: 30px 20px;
    }
    
    .app-title {
        font-size: 1.8rem;
    }
}
