/* 
    Key Host v2 - Modern Global Styles
    Design 2026 - Ultra Modern & High Performance
*/

:root {
    --primary: #ff3e3e;
    --primary-glow: rgba(255, 62, 62, 0.4);
    --secondary: #1a1c23;
    --bg-dark: #07080b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navbar --- */
.header-v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 8, 11, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-v2 img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav-links-v2 {
    display: flex;
    gap: 30px;
}

.nav-item-v2 {
    position: relative;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 30px 0; /* Aumenta a área de hover */
    cursor: pointer;
}

/* Dropdown / Megamenu V2 */
.dropdown-v2 {
    position: absolute;
    top: 100%;
    left: 0; /* Alinhado à esquerda do item pai */
    background: rgba(15, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    width: 320px; /* Largura ideal para lista única */
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nav-item-v2:hover .dropdown-v2 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-v2 {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    transition: var(--transition);
}

.dropdown-item-v2:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-icon {
    background: rgba(255, 62, 62, 0.1);
    color: var(--primary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
}

.dropdown-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.dropdown-info p {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.4;
}

.nav-item-v2:hover {
    color: var(--primary);
}

.nav-btn-v2 {
    background: linear-gradient(135deg, var(--primary) 0%, #b31d1d 100%);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-btn-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* --- Hero Section --- */
.hero-v2 {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title-v2 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to bottom right, #fff 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-v2 {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.btn-main {
    background: var(--primary);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
}

.btn-sec {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
}

/* --- Plan Cards --- */
.plans-section {
    padding: 100px 0;
}

.section-title-v2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
}

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

.plan-card-v2 {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
}

.plan-card-v2:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.plan-tag {
    background: var(--primary);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.plan-name-v2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-price-v2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.plan-price-v2 span {
    font-size: 1rem;
    color: var(--text-dim);
}

.plan-features-v2 li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
}

.plan-features-v2 li i {
    color: var(--primary);
}

/* --- Mobile Menu --- */
.mobile-toggle-v2 {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

@media (max-width: 992px) {
    .mobile-toggle-v2 {
        display: block;
    }
    
    .nav-links-v2 {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        transition: var(--transition);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-links-v2.active {
        left: 0;
    }
    
    .nav-item-v2 {
        width: 100%;
        padding: 25px 0;
        border-bottom: 1px solid var(--glass-border);
    }
    
    footer ul li {
        padding: 10px 0;
    }
    
    .dropdown-v2 {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none; /* Escondido por padrão no mobile */
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0 0 20px;
    }
    
    .nav-item-v2.active .dropdown-v2 {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title-v2 {
        font-size: 3rem;
    }
    .hero-actions-v2 {
        justify-content: center;
        flex-direction: column;
    }
    
    .nav-btn-v2 {
        display: none; /* Esconde o botão grande na barra principal no mobile */
    }
    
    .mobile-nav-btn {
        display: block !important;
        margin-top: 20px;
        text-align: center;
    }
}
