/* ==========================================
   TEMA COPA DO MUNDO 2026 - VPS BRASIL
   ========================================== */

/* Custom container widths to make layout wider (gordinho) on desktop */
@media (min-width: 1200px) {
    .ud-hero .container {
        max-width: 1280px !important;
    }
}
@media (min-width: 1400px) {
    .ud-hero .container {
        max-width: 1380px !important;
    }
}

/* --- Hero Section --- */
.ud-hero {
    background: url('../images/hero/hero_copa_bg.png') no-repeat center center / cover !important;
    position: relative !important;
    overflow: visible !important;
    padding-top: 180px !important;
    padding-bottom: 220px !important;
}

.ud-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: none !important; /* Disabled overlay as requested */
    z-index: 1 !important;
}

.ud-hero .container {
    position: relative !important;
    z-index: 2 !important;
}

.ud-hero-title {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.ud-hero-title span.text-green {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #00e785 !important;
    color: #00e785 !important;
    text-shadow: 0 0 10px rgba(0, 231, 133, 0.4) !important;
}

.ud-hero-title span.text-yellow {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #ffd700 !important;
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
}

.hero-features-list li {
    color: #f1f5f9 !important;
}

.hero-features-list li i {
    color: #a2d600 !important; /* Verde Limão/Neon */
}

.ud-hero-buttons .ud-yellow-btn {
    background: #ffd700 !important;
    color: #012811 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
}

.ud-hero-buttons .ud-yellow-btn:hover {
    background: #a2d600 !important;
    box-shadow: 0 6px 20px rgba(162, 214, 0, 0.5) !important;
    color: #012811 !important;
}

.hero-price-tag {
    color: #ffffff !important;
}

.hero-price-tag span {
    color: #ffd700 !important;
}

/* --- Configurador de Preços (Tabela) --- */
.configurator-wrapper {
    background: #01210e !important; /* Verde escuro */
    border: 3px solid #a2d600 !important; /* Neon verde-amarelo */
    box-shadow: 0 20px 60px rgba(1, 40, 17, 0.5) !important;
    border-radius: 24px !important;
    margin-bottom: 160px !important;
    padding-top: 30px !important; /* REDUCED top space for floating toggle to flatten */
}

.configurator-left {
    background: #01210e !important;
    border-radius: 24px 0 0 24px !important;
    padding: 40px 45px 30px 45px !important; /* REDUCED vertical padding to flatten */
}

.configurator-title {
    color: #ffffff !important;
    margin-bottom: 25px !important; /* REDUCED margin to flatten */
}

.configurator-title span.text-yellow {
    color: #ffd700 !important;
}

.slider-name {
    color: #ffffff !important;
}

.slider-group {
    margin-bottom: 22px !important; /* REDUCED margin to flatten layout */
}

.slider-value {
    background: #113c20 !important;
    color: #a2d600 !important;
    border: 1px solid #15803d !important;
}

.config-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px !important;
    border-radius: 4px !important;
    background: #113c20;
    outline: none !important;
    transition: box-shadow 0.3s ease, background 0.3s ease !important;
}

.config-slider:focus, .config-slider:active {
    box-shadow: 0 0 15px rgba(162, 214, 0, 0.7) !important;
}

/* Chrome/Safari/Edge Thumb */
.config-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #a2d600 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(162, 214, 0, 0.6) !important;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.config-slider:hover::-webkit-slider-thumb {
    transform: scale(1.2) !important;
}

.config-slider:focus::-webkit-slider-thumb,
.config-slider:active::-webkit-slider-thumb {
    transform: scale(1.35) !important;
    background: #ffd700 !important;
    box-shadow: 0 0 15px #ffd700, 0 0 25px rgba(255, 215, 0, 0.8) !important;
}

/* Firefox Thumb */
.config-slider::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #a2d600 !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(162, 214, 0, 0.6) !important;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.config-slider:hover::-moz-range-thumb {
    transform: scale(1.2) !important;
}

.config-slider:focus::-moz-range-thumb,
.config-slider:active::-moz-range-thumb {
    transform: scale(1.35) !important;
    background: #ffd700 !important;
    box-shadow: 0 0 15px #ffd700, 0 0 25px rgba(255, 215, 0, 0.8) !important;
}

/* Opções adicionais (Backup/IPv4) */
.feature-card {
    background: #113c20 !important;
    border: 2px solid #15803d !important;
    color: #ffffff !important;
}

.feature-card i {
    color: #a2d600 !important;
}

.feature-card .feat-name {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.feature-card .feat-price {
    color: #86efac !important;
}

/* Feature Grid Selected State */
.feature-option input:checked + .feature-card {
    border-color: #a2d600 !important;
    background: #15803d !important;
    box-shadow: 0 4px 15px rgba(162, 214, 0, 0.3) !important;
}

.feature-option input:checked + .feature-card i {
    color: #ffd700 !important;
}

.feature-option input:checked + .feature-card .feat-name {
    color: #ffd700 !important;
}

.feature-option input:checked + .feature-card .feat-price {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Billing Tabs / Toggles */
.premium-billing-toggle {
    background: #113c20 !important;
    border: 1px solid #15803d !important;
}

.pricing-tab-premium .nav-link {
    color: #dcfce7 !important;
}

.pricing-tab-premium .nav-link.active {
    color: #01210e !important;
}

.toggle-bg {
    background: #a2d600 !important;
}

.premium-badge {
    background: #15803d !important;
    color: #ffffff !important;
}

.pricing-tab-premium .nav-link.active .premium-badge {
    background: #01210e !important;
    color: #a2d600 !important;
}

/* Painel de Preço (Direita) */
.configurator-right {
    background: linear-gradient(135deg, #15803d 0%, #01210e 100%) !important;
    border-radius: 0 24px 24px 0 !important;
    padding: 40px 35px 30px 35px !important; /* REDUCED vertical padding to flatten */
    margin-top: -30px !important; /* Adjusted offset to match wrapper's padding-top */
}

.os-selection-label {
    color: #ffffff !important;
}

.os-selection-dark .os-card {
    background: #113c20 !important;
    border-color: #15803d !important;
}

.os-selection-dark .os-option input:checked + .os-card {
    border-color: #a2d600 !important;
    background: #15803d !important;
    box-shadow: 0 4px 15px rgba(162, 214, 0, 0.3) !important;
}

.os-selection-dark .os-option input:checked + .os-card i {
    color: #a2d600 !important;
}

.os-selection-dark .os-option input:checked + .os-card .os-price {
    background: #a2d600 !important;
    color: #01210e !important;
}

.form-select.spec-select-dark {
    background-color: #113c20 !important;
    border-color: #15803d !important;
    color: #ffffff !important;
}

.price-summary-label {
    color: #ffffff !important;
}

.price-summary-value {
    color: #ffd700 !important; /* Preço em Amarelo Seleção */
}

.price-currency {
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

.price-period {
    color: #ffffff !important;
}

.economy-summary {
    background: rgba(162, 214, 0, 0.2) !important;
    color: #a2d600 !important;
}

.price-features {
    margin-top: 10px !important;
    margin-bottom: 12px !important; /* REDUCED margin to flatten */
}

.price-features li {
    color: #f1f5f9 !important;
    padding: 3px 0 !important; /* REDUCED vertical padding to flatten */
    font-size: 0.85rem !important; /* Slightly smaller text */
}

.price-features li i {
    color: #a2d600 !important;
}

.btn-contratar {
    background: #ffd700 !important;
    color: #01210e !important;
    font-weight: 800 !important;
}

.btn-contratar:hover {
    background: #a2d600 !important;
    color: #01210e !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(162, 214, 0, 0.4) !important;
}

/* --- Carrossel de Planos (Slick / Features) --- */
.ud-features {
    background: #f8fafc !important; /* Fundo geral claro */
}

.plan-card {
    background: linear-gradient(135deg, #0d963f 0%, #01210e 100%) !important;
    border: 2.5px solid #a2d600 !important;
    border-radius: 20px !important;
    color: #ffffff !important;
    padding: 22px 24px 20px !important; /* REDUCED padding from 30px to make it flatter/shorter */
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(162, 214, 0, 0.2) !important;
    min-height: 240px !important; /* REDUCED min-height to flatten */
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.plan-card.has-effect {
    background: 
        /* Outer curved beam (Gold + Lime) */
        radial-gradient(circle at 100% 100%, transparent 65%, rgba(255, 215, 0, 0.45) 70%, rgba(162, 214, 0, 0.55) 73%, transparent 78%),
        /* Inner curved beam (Gold + Emerald) */
        radial-gradient(circle at 100% 100%, transparent 45%, rgba(255, 215, 0, 0.5) 50%, rgba(0, 255, 135, 0.6) 53%, transparent 58%),
        /* Corner source glow */
        radial-gradient(circle at 100% 100%, rgba(255, 215, 0, 0.35) 0%, rgba(162, 214, 0, 0.25) 30%, transparent 60%),
        /* Base green gradient */
        linear-gradient(135deg, #0d963f 0%, #01210e 100%) !important;
}

.plan-card::after {
    content: '' !important;
    position: absolute !important;
    bottom: -30px !important;
    right: -30px !important;
    width: 120px !important;
    height: 120px !important;
    background: url('../images/faq/shape.svg') no-repeat center center / contain !important;
    opacity: 0.05 !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.plan-card:hover {
    transform: translateY(-8px) !important;
    border-color: #ffd700 !important;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.45) !important;
}

.plan-card .card-top {
    margin-bottom: 12px !important; /* REDUCED margin to flatten */
}

.plan-card-icon {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #00ff87 !important;
    border: 1px solid #00ff87 !important;
    width: 44px !important; /* Slightly smaller icon container */
    height: 44px !important;
}

.plan-badge {
    background: #00ff87 !important;
    color: #01210e !important;
    font-weight: bold !important;
    padding: 4px 10px !important; /* Slightly tighter badge */
}

.plan-card-title {
    color: #ffffff !important;
    margin-bottom: 6px !important; /* REDUCED margin to flatten */
    font-size: 1.15rem !important; /* Slightly smaller font */
}

.plan-card-desc {
    color: #e2e8f0 !important;
    margin-bottom: 12px !important; /* REDUCED margin to flatten */
    min-height: 48px !important; /* REDUCED min-height to flatten */
    font-size: 0.88rem !important; /* Slightly smaller text for better wrap */
    line-height: 1.5 !important;
}

.plan-price-label {
    color: #94a3b8 !important;
    margin-bottom: 2px !important; /* REDUCED margin to flatten */
    font-size: 0.8rem !important;
}

.plan-price-value {
    color: #ffea00 !important; /* Amarelo seleção brilhante */
    font-size: 1.25rem !important; /* Slightly smaller price font */
    text-shadow: 0 0 10px rgba(255, 234, 0, 0.4) !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important; /* REDUCED margin to flatten */
}

.plan-link-btn {
    color: #a2d600 !important;
    font-size: 0.9rem !important;
}

.plan-link-btn:hover {
    color: #ffffff !important;
}

/* Slick Dots & Arrows */
.features-carousel.slick-initialized .slick-prev,
.features-carousel.slick-initialized .slick-next {
    background: #ffd700 !important;
    border: 2px solid #0d963f !important;
    box-shadow: 0 4px 12px rgba(13, 150, 63, 0.25) !important;
    transition: all 0.3s ease !important;
}


.features-carousel .slick-prev:hover,
.features-carousel .slick-next:hover {
    background: #0d963f !important;
    border-color: #ffd700 !important;
}

.slick-prev:before, .slick-next:before {
    color: #0d963f !important;
    transition: color 0.3s ease !important;
}

.features-carousel .slick-prev:hover:before,
.features-carousel .slick-next:hover:before {
    color: #ffd700 !important;
}

.slick-dots li button:before {
    color: #15803d !important;
}

.slick-dots li.slick-active button:before {
    color: #a2d600 !important;
}

/* Responsividade Geral */
@media (max-width: 991px) {
    .ud-hero {
        padding-top: 100px !important; /* Reduzido de 180px para subir o mascote e remover o espaço vazio */
        padding-bottom: 80px !important;
    }

    .configurator-wrapper {
        margin-top: 60px !important; /* Espaçamento de segurança para os ícones de SO não ficarem cobertos */
    }

    .configurator-left {
        border-radius: 24px 24px 0 0 !important;
    }
    .configurator-right {
        border-radius: 0 0 24px 24px !important;
    }

    /* Otimização visual dos botões de ciclo de faturamento no mobile */
    .pricing-tab-premium .nav-link {
        background: #01210e !important;
        color: #dcfce7 !important;
        border: 1px solid #15803d !important;
    }

    .pricing-tab-premium .nav-link.active {
        background: #a2d600 !important;
        color: #01210e !important;
        box-shadow: 0 4px 12px rgba(162, 214, 0, 0.3) !important;
    }

    /* Elevação de z-index do container visual do mascote para flutuar sobre o configurador */
    .hero-visual-container {
        z-index: 5 !important;
    }
}

/* Fix mascot blending issue when background overlay is disabled */
.mascot-robot {
    mix-blend-mode: normal !important;
}
