/* ============================================
   SHANGHAI TECH - CALCULADORA BTU FUTURISTA
   VERSÃO FINAL - TEXTOS MAIORES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FUNDO NA PÁGINA INTEIRA */
html, body {
    background: radial-gradient(ellipse at 30% 40%, #0a0e27, #000000);
    min-height: 100vh;
}

/* WRAP PRINCIPAL */
.btex-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    font-family: 'Poppins', 'Segoe UI', 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    background: radial-gradient(ellipse at 30% 40%, #0a0e27, #000000);
    position: relative;
    overflow-x: hidden;
}

/* Grid de fundo futurista */
.btex-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* CARD PRINCIPAL */
.btex-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: rgba(15, 25, 45, 0.65);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    padding: 35px 30px 40px;
    margin-bottom: 30px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 255, 255, 0.1),
        0 0 50px rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 2;
}

.btex-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 255, 255, 0.2),
        0 0 80px rgba(0, 255, 255, 0.25);
}

/* HEADER */
.btex-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    padding-bottom: 15px;
    text-align: center;
}

.btex-brand-icon {
    font-size: 38px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    animation: btexIconSpin 3s ease-in-out infinite;
}

@keyframes btexIconSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

.btex-brand-name {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #00ffff, #ff00ff, #ffaa00);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

/* SUBTITLE - CENTRALIZADO E EMPILHADO */
.btex-brand-subtitle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    gap: 6px !important;
}

.btex-subtitle-text {
    font-size: 16px !important;
    color: #88aaff !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    font-weight: 500;
}

.btex-subtitle-desc {
    font-size: 13px !important;
    color: #5a7b9c !important;
    letter-spacing: 1px !important;
    text-align: center !important;
}

/* CAMPOS */
.btex-campo {
    margin-bottom: 22px;
}

.btex-campo label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ccddff;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

/* LINHA ÚNICA (comprimento e largura) */
.btex-linha {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* LINHA DUPLA (range + number para pessoas, eletrônicos, janelas) */
.btex-linha-dupla {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.btex-linha-dupla .btex-range-future {
    flex: 2;
    min-width: 0;
}

.btex-linha-dupla .btex-num-input {
    flex: 1;
    min-width: 80px;
    max-width: 100px;
}

/* ============================================
   INPUTS NUMÉRICOS - MAIORES
   ============================================ */
/* ============================================
   INPUTS NUMÉRICOS - FUNDO ESCURO FORÇADO
   ============================================ */
.btex-num-input {
    width: 100%;
    height: 52px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(0, 255, 255, 0.3) !important;
    border-radius: 30px !important;
    font-size: 16px;
    text-align: center;
    font-weight: 700;
    color: #aaccff !important;
    backdrop-filter: blur(5px);
    transition: all 0.2s;
    font-family: inherit;
}

/* Força remover fundo branco do autocomplete do navegador */
.btex-num-input:-webkit-autofill,
.btex-num-input:-webkit-autofill:hover,
.btex-num-input:-webkit-autofill:focus,
.btex-num-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px rgba(0, 0, 0, 0.5) inset !important;
    -webkit-text-fill-color: #aaccff !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.btex-num-input:hover {
    border-color: #00ffff !important;
    color: #00ffff !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.6) !important;
}

.btex-num-input:focus {
    border-color: #ff00ff !important;
    outline: none;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    color: #ffaaff !important;
    background: rgba(0, 0, 0, 0.7) !important;
}

/* Remove setas do input number */
.btex-num-input::-webkit-inner-spin-button,
.btex-num-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btex-num-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* ============================================
   RANGE SLIDER FUTURISTA
   ============================================ */
.btex-range-future {
    height: 6px;
    -webkit-appearance: none;
    background: linear-gradient(90deg, #00aaff, #ff00aa, #00aaff);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

.btex-range-future::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00ffff;
    cursor: pointer;
    box-shadow: 0 0 12px #00ffff;
    border: 2px solid #ffffff;
    transition: 0.15s;
}

.btex-range-future::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #ff00ff;
    box-shadow: 0 0 18px #ff00ff;
}

/* ============================================
   RADIO GROUP
   ============================================ */
.btex-radio-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.btex-radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 32px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 40px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.2s;
    color: #aaccff;
    font-weight: 600;
    font-size: 15px;
}

.btex-radio-group label:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: #00ffff;
    color: #00ffff;
}

.btex-radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #00ffff;
}

/* ============================================
   PERÍODO - BOTÕES
   ============================================ */
.btex-periodo {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btex-periodo-btn {
    flex: 1;
    padding: 12px 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 40px;
    background: rgba(0, 0, 0, 0.4);
    color: #aaccff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btex-periodo-btn:hover {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.btex-periodo-btn.btex-ativo {
    background: linear-gradient(135deg, #00aaff, #ff00aa);
    color: #fff;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
}

/* ============================================
   BOTÃO CALCULAR
   ============================================ */
.btex-btn-cosmic-container {
    position: relative;
    margin-top: 25px;
}

.btex-btn-cosmic {
    position: relative;
    width: 100%;
    padding: 18px 20px;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, #00aaff, #ff00aa);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s;
    overflow: hidden;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: inherit;
    box-shadow: 0 5px 20px rgba(0, 170, 255, 0.4);
}

.btex-btn-cosmic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: btexBtnShine 3s infinite;
}

@keyframes btexBtnShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    20%, 100% { transform: translateX(100%) rotate(45deg); }
}

.btex-btn-cosmic:hover {
    transform: scale(1.02);
    letter-spacing: 4px;
    box-shadow: 0 0 35px rgba(0, 170, 255, 0.8);
}

.btex-btn-cosmic:active {
    transform: scale(0.98);
}

.btex-btn-glow {
    position: absolute;
    inset: -6px;
    border-radius: 60px;
    background: linear-gradient(115deg, #00ffff, #ff00ff, #ffaa00, #00ffff);
    background-size: 300% 300%;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(25px);
    z-index: -1;
    animation: btexAuroraWave 2s infinite alternate;
}

@keyframes btexAuroraWave {
    0% { background-position: 0% 50%; filter: blur(20px); }
    100% { background-position: 100% 50%; filter: blur(30px);}
}

.btex-btn-cosmic-container:hover .btex-btn-glow {
    opacity: 0.7;
}

/* ============================================
   RESULTADO
   ============================================ */
.btex-resultado-holografico {
    margin-top: 25px;
    padding: 5px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(10, 20, 40, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: btexFadeInUp 0.5s ease;
}

.btex-resultado-duas-colunas {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btex-coluna-info {
    flex: 1.2;
    min-width: 180px;
    padding: 18px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    text-align: center;
}

.btex-coluna-preco {
    flex: 1;
    min-width: 160px;
    padding: 18px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 24px;
    text-align: center;
    border-left: 1px solid rgba(0, 255, 255, 0.2);
}

.btex-resultado-btu {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #00ffff, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.btex-resultado-btu span {
    font-size: 16px;
    font-weight: 400;
    color: #5a7b9c;
}

.btex-resultado-modelo {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.btex-preco-titulo {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffaa00, #ff5500);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.btex-preco-aviso {
    font-size: 14px;
    color: #ff8888;
    padding: 10px;
}

.btex-links-lojas-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}

.btex-links-lojas-vertical a {
    display: block;
    padding: 14px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btex-amazon-btn {
    background: linear-gradient(135deg, #ff9900, #ff5500);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255, 85, 0, 0.3);
}

.btex-ml-btn {
    background: linear-gradient(135deg, #3483fa, #1a5bc4);
    color: #fff;
    box-shadow: 0 3px 10px rgba(52, 131, 250, 0.3);
}

.btex-links-lojas-vertical a:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

@keyframes btexFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BOTÃO VOLTAR - REMOVIDO TEMPORARIAMENTE
   ============================================ 
.btex-btn-voltar-container {
    margin-top: 25px;
    text-align: center;
}

.btex-btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 40px;
    color: #aaccff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.btex-btn-voltar:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: #00ffff;
    color: #00ffff;
    transform: translateY(-2px);
}
*/
.btex-tech-badge {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #dddddd;
    letter-spacing: 2px;
    font-family: monospace;
}

/* ============================================
   SEÇÃO PROFISSIONAL
   ============================================ */
.btex-professional-section {
    margin-top: 30px;
    width: 100%;
}

.btex-professional-box {
    background: linear-gradient(135deg, rgba(0, 50, 70, 0.5), rgba(20, 10, 40, 0.6));
    backdrop-filter: blur(15px);
    border-radius: 32px;
    padding: 28px 25px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.btex-professional-box:hover {
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.btex-professional-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #0a0e27;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 30px;
    letter-spacing: 1px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.btex-professional-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btex-professional-desc {
    font-size: 15px;
    color: #ccddff;
    margin-bottom: 22px;
    line-height: 1.5;
}

.btex-professional-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #0a0e27;
    font-size: 15px;
    font-weight: 800;
    padding: 15px 32px;
    border-radius: 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    margin-bottom: 18px;
}

.btex-professional-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffe44d, #ffaa33);
    color: #000;
}

.btex-professional-footer {
    font-size: 13px;
    color: #88aaff;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 15px;
    margin-top: 5px;
}

/* ============================================
   NEVE
   ============================================ */
@keyframes btexFall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.btex-snowflake {
    position: absolute;
    color: rgba(200, 220, 255, 0.5);
    user-select: none;
    pointer-events: none;
    text-shadow: 0 0 3px rgba(0, 255, 255, 0.3);
}

.btex-particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    border-radius: 48px;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 600px) {
    .btex-card {
        padding: 25px 20px;
        border-radius: 32px;
    }
    
    .btex-brand-name {
        font-size: 26px;
    }
    
    .btex-subtitle-text {
        font-size: 14px !important;
    }
    
    .btex-subtitle-desc {
        font-size: 11px !important;
    }
    
    .btex-campo label {
        font-size: 12px;
    }
    
    .btex-resultado-duas-colunas {
        flex-direction: column;
    }
    
    .btex-coluna-preco {
        border-left: none;
        border-top: 1px solid rgba(0, 255, 255, 0.2);
    }
    
    .btex-resultado-btu {
        font-size: 24px;
    }
    
    .btex-resultado-modelo {
        font-size: 18px;
    }
    
    .btex-preco-titulo {
        font-size: 18px;
    }
    
    .btex-periodo {
        flex-direction: column;
    }
    
    .btex-periodo-btn {
        font-size: 12px;
        padding: 10px;
    }
    
    .btex-linha-dupla {
        flex-direction: row;
        gap: 10px;
    }
    
    .btex-linha-dupla .btex-range-future {
        flex: 2;
    }
    
    .btex-linha-dupla .btex-num-input {
        flex: 1;
        min-width: 70px;
    }
    
    .btex-num-input {
        height: 48px;
        font-size: 16px;
    }
    
    .btex-btn-cosmic {
        font-size: 15px;
        padding: 14px 16px;
    }
    
    .btex-professional-title {
        font-size: 18px;
    }
    
    .btex-professional-desc {
        font-size: 13px;
    }
    
    .btex-professional-btn {
        font-size: 12px;
        padding: 12px 20px;
    }
}



/* ============================================
   C-CAP CORE -PARTE DA VERSÃO
   ============================================ */
/* BADGE ENTERPRISE 5.0 - VERSÃO COMPACTA */
.btex-enterprise-badge {
    text-align: center;
    margin-top: 12px;
    padding: 6px 15px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #00ccdd;
    text-transform: uppercase;
    font-family: monospace;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}   