/* PulseShort - CSS Customizado */

/* Garantir que o body e html ocupem toda a altura */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #0D0F13;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Container principal */
.main-container {
    height: 100vh;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Background fixo que cobre toda a página */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Imagens de fundo cobrindo toda a área */
.background-images {
    position: absolute;
    top: -200px;
    left: -200px;
    width: calc(100vw + 400px);
    height: calc(100vh + 400px);
    min-width: 100%;
    min-height: 100%;
}

.background-images img {
    position: absolute;
    width: 139px;
    height: 185px;
    opacity: 0.08;
    object-fit: cover;
    pointer-events: none;
}

/* Overlay de gradiente */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(at 50% 40%, rgba(0, 0, 0, 0.6) 0%, rgba(35, 38, 47, 0.5) 100%);
}

/* Gradiente colorido de fundo */
.background-gradient {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 1625px;
    height: 80vh;
    max-height: 601px;
    opacity: 0.4;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(120deg, #FF6B4A 0%, #FF4D4D 50%, #FF1493 100%);
    filter: blur(180px);
}

/* Header fixo */
.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    height: 80px;
    background: rgba(13, 15, 19, 0);
    transition: all 0.3s;
    padding: 0;
}

/* Header com background preto quando rolar */
.header-bar.scrolled {
    background: rgba(13, 15, 19, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    right: 0;
    width: calc(100% - var(--scrollbar-width, 0px));
}

/* Detectar largura da barra de scroll e ajustar */
.main-content {
    --scrollbar-width: 0px;
}

.main-content::-webkit-scrollbar {
    width: 15px;
}

.main-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.main-content::-webkit-scrollbar-track {
    background: transparent;
}

.main-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.header-bar .flex {
    align-items: center;
}

/* Alinhar logo com conteúdo */
.header-bar > div {
    padding-left: 24px;
    padding-right: 24px;
}

/* Conteúdo principal com padding-top para compensar header */
.main-content {
    position: relative;
    z-index: 20;
    padding-top: 80px;
    padding-bottom: 0;
    height: calc(100vh - 80px);
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

/* Ajustar seção principal */
.hero-section {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 24px 20px 24px;
    min-height: calc(100vh - 160px);
    align-items: flex-start;
    flex: 1;
}

/* Container de conteúdo */
.content-container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 20;
    margin: 0 auto;
    padding: 0 24px;
}

/* Alinhar o texto com o logo do header (mesma posição horizontal) */
.content-container section > div.flex.flex-col {
    padding-left: 0;
    margin-left: 0;
}

/* Seção com texto e imagem do celular */
.content-container section {
    align-items: flex-start !important;
}

.content-container section > div.flex.flex-col {
    padding-top: 0;
    margin-top: 0;
    display: flex;
    align-items: flex-start;
}

/* Alinhar o texto com o logo do header (mesma altura) */
.content-container section > div.flex.flex-col h1 {
    margin-top: 0;
    padding-top: 0;
    line-height: 1.2;
}

.content-container section img {
    margin-top: 80px;
}

/* Footer */
.footer-bar {
    position: relative;
    z-index: 30;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustes para páginas de conteúdo */
.content-page {
    position: relative;
    z-index: 20;
    padding-top: 10px;
    padding-bottom: 20px;
    min-height: calc(100vh - 160px);
    width: 100%;
    display: flex;
    justify-content: center;
    flex: 1;
}

/* Links de navegação */
.nav-link {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.15s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.nav-link:hover {
    color: white !important;
}

.nav-link.active {
    color: white;
}

/* Botão de idioma */
.lang-selector {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    position: relative;
    user-select: none;
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Dropdown de idiomas */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(13, 15, 19, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    padding: 8px;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    padding: 12px 16px;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-option.active {
    background: rgba(255, 107, 74, 0.2);
    color: #FF6B4A;
}

.lang-option.active::after {
    content: '✓';
    color: #FF6B4A;
    font-weight: bold;
    margin-left: 8px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-left: 0;
    padding-left: 0;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.logo-text {
    color: white;
    font-weight: bold;
    font-size: 28px;
    background: linear-gradient(120deg, #FF6B4A 0%, #FF4D4D 50%, #FF1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Formulário */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    font-family: inherit;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.form-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.btn-primary {
    padding: 12px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(120deg, #FF6B4A 0%, #FF4D4D 50%, #FF1493 100%);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-primary:active {
    opacity: 0.8;
    transform: translateY(0);
}

/* Botão Google Play com gradiente do logo */
.google-play-btn {
    background: linear-gradient(120deg, #FF6B4A 0%, #FF4D4D 50%, #FF1493 100%);
    border: none;
    transition: all 0.3s;
}

.google-play-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.google-play-btn:active {
    opacity: 0.8;
    background: linear-gradient(120deg, rgba(255, 107, 74, 0.6) 0%, rgba(255, 77, 77, 0.6) 50%, rgba(255, 20, 147, 0.6) 100%);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 16px;
    }
    
    .content-container {
        padding: 0 16px;
    }
    
    .header-bar .flex {
        gap: 16px !important;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
}

