/*
Theme Name: PORTAL 81
Theme URI: https://portal81.com.br/wp/portal81
Author: PORTAL 81
Author URI: https://portal81.com.br
Description: Tema personalizado para a plataforma de hospedagem PORTAL 81, com design moderno, responsivo e focado em alta performance.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: portal81
Tags: hospedagem, performance, responsivo, moderno, dark-theme
*/

/* ==================== RESET & VARIÁVEIS ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0A0F1E;
    --primary-deep: #0B1120;
    --primary-blue: #0A2B4E;
    --accent-cyan: #00E0FF;
    --accent-purple: #8B5CF6;
    --accent-glow: rgba(0, 224, 255, 0.2);
    --gray-light: #F3F4F6;
    --gray-mid: #9CA3AF;
    --gray-dark: #1F2937;
    --text-white: #FFFFFF;
    --text-offwhite: #E5E7EB;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --card-bg: rgba(15, 23, 42, 0.7);
    --border-glow: rgba(0, 224, 255, 0.3);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #030617 100%);
    color: var(--text-offwhite);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==================== TIPOGRAFIA ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-mid);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

/* ==================== LAYOUT GLOBAL ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    position: relative;
}

/* ==================== TOP BAR ==================== */
.top-bar {
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 224, 255, 0.1);
    padding: 8px 0;
    font-size: 0.875rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.uptime-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.15);
    padding: 4px 12px;
    border-radius: 100px;
    border-left: 2px solid var(--success);
}

.uptime-badge i {
    color: var(--success);
    font-size: 0.75rem;
}

.status-link, .support-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-mid);
    transition: color 0.3s;
    text-decoration: none;
}

.status-link:hover, .support-link:hover {
    color: var(--accent-cyan);
}

.client-buttons {
    display: flex;
    gap: 1rem;
}

.btn-outline-small {
    background: transparent;
    border: 1px solid var(--gray-mid);
    padding: 6px 16px;
    border-radius: 8px;
    color: var(--text-offwhite);
    font-size: 0.875rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-small:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-primary-small {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border: none;
    padding: 6px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.3);
}

/* ==================== HEADER ==================== */
.main-header {
    padding: 20px 0;
    position: sticky;
    top: 42px;
    background: rgba(3, 6, 23, 0.9);
    backdrop-filter: blur(12px);
    z-index: 99;
    border-bottom: 1px solid rgba(0, 224, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo h3 {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #fff, var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.logo span {
    font-size: 0.8rem;
    color: var(--gray-mid);
    display: block;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-offwhite);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--accent-cyan);
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.6);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.domain-checker {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    padding: 6px;
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 224, 255, 0.3);
}

.domain-checker input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: white;
    font-size: 1rem;
    outline: none;
}

.btn-check {
    background: var(--accent-cyan);
    color: var(--primary-dark);
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-check:hover {
    transform: scale(0.98);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badges span i {
    margin-right: 0.5rem;
    color: var(--accent-cyan);
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==================== CARDS HOSPEDAGEM ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(0, 224, 255, 0.2);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    background: rgba(0, 224, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin: 1rem 0;
}

.btn-card {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    padding: 10px 0;
    width: 100%;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-card:hover {
    background: var(--accent-cyan);
    color: var(--primary-dark);
}

/* ==================== SEÇÃO PERFORMANCE ==================== */
.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.speed-guarantee {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 224, 255, 0.2));
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

/* ==================== SEGURANÇA ==================== */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.security-list li i {
    color: var(--accent-cyan);
    width: 24px;
}

/* ==================== DEPOIMENTOS ==================== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 24px;
    border-left: 3px solid var(--accent-cyan);
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: inline-block;
}

/* ==================== PREÇOS ==================== */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: var(--accent-cyan);
    color: var(--primary-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid var(--accent-cyan);
    transform: scale(1.02);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin: 1rem 0;
}

/* ==================== FOOTER ==================== */
footer {
    background: #030617;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 224, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--gray-mid);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-cyan);
}

.newsletter {
    display: flex;
    gap: 0.5rem;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter input:focus {
    outline: none;
    border: 1px solid var(--accent-cyan);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-mid);
}

/* ==================== ELEMENTOS FLUTUANTES ==================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-cyan);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.6);
    z-index: 1000;
    transition: all 0.3s;
}

.chat-widget:hover {
    transform: scale(1.1);
}

/* ==================== MENU MOBILE ==================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero-grid, .perf-grid, .security-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(3, 6, 23, 0.95);
        backdrop-filter: blur(12px);
        padding: 1rem;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-content {
        position: relative;
    }
    
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    section {
        padding: 50px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter {
        flex-direction: column;
    }
}