/* Configurações Gerais e Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-color: #0b0f19;
    --card-bg: #151b2c;
    --primary-color: #ffcc00;
    --text-color: #ffffff;
    --text-muted: #8a99ad;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    padding-top: 100px;
}

.hero-content {
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.2);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.03);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Smartphone Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    border: 10px solid #1f293d;
    border-radius: 40px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    position: relative;
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #151b2c 0%, #0b0f19 100%);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.app-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.app-logo span {
    color: var(--primary-color);
}

.app-icon {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: bounce 3s infinite ease-in-out;
}

/* Seção Vantagens */
.features {
    padding: 100px 8%;
    background-color: rgba(255, 255, 255, 0.01);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary-color);
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 204, 0, 0.3);
}

.card-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Seção Download */
.download-section {
    padding: 100px 8%;
    display: flex;
    justify-content: center;
}

.download-container {
    background: linear-gradient(90deg, #151b2c 0%, #1a233a 100%);
    width: 100%;
    max-width: 1000px;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.download-container h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.download-container p {
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    background-color: var(--bg-color);
    padding: 12px 28px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: left;
}

.store-btn:hover {
    border-color: var(--primary-color);
    transform: scale(1.03);
}

.store-btn i {
    font-size: 28px;
    color: white;
}

.store-btn span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.store-btn strong {
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animações */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsividade Básica */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding-top: 140px;
    }
    .hero-content {
        margin-bottom: 50px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        justify-content: center;
    }
    .nav-links {
        display: none; /* Em um cenário real, criaria um menu hamburguer aqui */
    }
}

/* ==========================================
   Estilos Adicionais: Progresso de Download
   ========================================== */

/* Barra de progresso fixa no topo da janela */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    z-index: 9999;
    transition: width 0.1s linear;
    opacity: 0;
}

.progress-bar.active {
    opacity: 1;
}

/* Feedback visual desativado enquanto o progresso corre */
.download-trigger.loading {
    opacity: 0.7;
    pointer-events: none;
    cursor: wait;
}
