/* ================== CONFIGURAÇÕES GERAIS ================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0d1117;
    color: #f0f6fc;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ================== HERO SECTION ================== */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: radial-gradient(circle at 50% 20%, #1f293d 0%, #0d1117 70%);
}

.logo-principal {
    height: 72px;
    width: auto;
    margin-bottom: 32px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    max-width: 800px;
}

.hero-section p {
    font-size: 1.15rem;
    color: #8b949e;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

/* ================== APP SECTION (MOCKUPS) ================== */
.app-section {
    position: relative;
    padding: 80px 0 80px 8%;
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #0b0e14;
    overflow: hidden;
}

.info-panel {
    flex: 0 0 320px;
    z-index: 2;
}

.info-panel h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
}

.info-panel p {
    font-size: 1rem;
    color: #8b949e;
    line-height: 1.6;
}

.fade-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 14, 20, 0), #0b0e14);
    z-index: 3;
    pointer-events: none;
}

/* Container do Carrossel Arrastável */
.mockup-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-right: 180px;
    cursor: grab;
    scrollbar-width: none;
    
    /* Configurações anti-seleção e suporte mobile */
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mockup-container::-webkit-scrollbar {
    display: none;
}

.mockup-card {
    flex: 0 0 280px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mockup-card:hover {
    transform: translateY(-6px);
    border-color: #58a6ff;
}

.mockup-screen {
    width: 100%;
    height: 380px;
    background-color: #21262d;
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

/* Configuração das Imagens dos Mockups */
.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    
    /* Proteções contra arrasto falso de imagem */
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.mockup-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #58a6ff;
    margin-bottom: 8px;
}

.mockup-text p {
    font-size: 0.9rem;
    color: #8b949e;
    line-height: 1.4;
}

/* ================== CTA SECTION ================== */
.cta-section {
    padding: 100px 20px;
    text-align: center;
    background-color: #0d1117;
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-section p {
    font-size: 1.1rem;
    color: #8b949e;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Botões da Store */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #161b22;
    border: 1px solid #30363d;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.store-btn:hover {
    background-color: #21262d;
    border-color: #8b949e;
}

.store-btn svg {
    width: 28px;
    height: 28px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-text .small {
    font-size: 0.75rem;
    color: #8b949e;
}

.btn-text .big {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Carrossel de Marcas */
.brands-carousel {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.brands-title {
    font-size: 0.95rem;
    color: #8b949e;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.brand-logo:hover img {
    filter: grayscale(0%) opacity(100%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================== RESPONSIVIDADE ================== */
@media (max-width: 900px) {
    .app-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 60px 20px;
    }

    .info-panel {
        flex: none;
        width: 100%;
    }

    .hero-section h1 {
        font-size: 2.1rem;
    }
}