/**
 * DigitalFlex - Plataforma de Produtos Digitais
 * Website: www.digitalflex.com.br
 * Telefone: (27) 99294-4563
 * Desenvolvido por: Website VIX
 * E-mail: contato@websitevix.com.br
 * 
 * Todos os direitos reservados © 2025 DigitalFlex
 * Sistema desenvolvido pela empresa Website VIX
 */

<?php
/**
 * Desenvolvido por: Robson Host - Website VIX
 * Telefone: 27 992 494563
 * Data: 24/08/2025 03:58:54
 */

<?php
/**
 * Desenvolvido por: Robson Host - Website VIX
 * Telefone: 27 992 494563
 * Data: 24/08/2025 03:54:25
 */

/*
 * Desenvolvido por: Robson Host - Website VIX
 * Telefone: 27 992 494563
 * Data: 23/08/2025 23:10:46
 */

/* ===================================
   VARIÁVEIS CSS - TEMAS
   =================================== */

:root {
    /* TEMA PADRÃO (AZUL) */
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    
    /* CORES DE FUNDO */
    --bg-color: #ffffff;
    --section-bg: #f8fafc;
    --section-bg-alt: #f1f5f9;
    --card-bg: #ffffff;
    --header-bg: #1e40af;
    --hero-bg: #1e40af;
    --hero-bg-secondary: #3730a3;
    --footer-bg: #1e293b;
    
    /* CORES DE TEXTO */
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --header-text: #ffffff;
    --section-title-color: #1f2937;
    --section-subtitle-color: #6b7280;
    --footer-text: #ffffff;
    
    /* CORES DE BORDA */
    --border-color: #e5e7eb;
    --card-border: #f3f4f6;
    
    /* SOMBRAS */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* CORES DE TEMA */
    --light-color: #f9fafb;
    --dark-color: #1f2937;
}

/* TEMA VERDE */
[data-theme="green"] {
    --primary-color: #059669;
    --secondary-color: #047857;
    --accent-color: #fbbf24;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    --header-bg: #065f46;
    --hero-bg: #065f46;
    --hero-bg-secondary: #047857;
    --footer-bg: #064e3b;
}

/* TEMA ROXO */
[data-theme="purple"] {
    --primary-color: #7c3aed;
    --secondary-color: #6d28d9;
    --accent-color: #fbbf24;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #dc2626;
    --info-color: #8b5cf6;
    --header-bg: #5b21b6;
    --hero-bg: #5b21b6;
    --hero-bg-secondary: #6d28d9;
    --footer-bg: #4c1d95;
}

/* TEMA VERMELHO */
[data-theme="red"] {
    --primary-color: #dc2626;
    --secondary-color: #b91c1c;
    --accent-color: #fbbf24;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    --header-bg: #991b1b;
    --hero-bg: #991b1b;
    --hero-bg-secondary: #b91c1c;
    --footer-bg: #7f1d1d;
}

/* TEMA LARANJA */
[data-theme="orange"] {
    --primary-color: #ea580c;
    --secondary-color: #c2410c;
    --accent-color: #fbbf24;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    --header-bg: #9a3412;
    --hero-bg: #9a3412;
    --hero-bg-secondary: #c2410c;
    --footer-bg: #7c2d12;
}

/* TEMA ROSA */
[data-theme="pink"] {
    --primary-color: #db2777;
    --secondary-color: #be185d;
    --accent-color: #fbbf24;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    --header-bg: #9d174d;
    --hero-bg: #9d174d;
    --hero-bg-secondary: #be185d;
    --footer-bg: #831843;
}

/* TEMA CINZA */
[data-theme="gray"] {
    --primary-color: #6b7280;
    --secondary-color: #4b5563;
    --accent-color: #fbbf24;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0891b2;
    --header-bg: #374151;
    --hero-bg: #374151;
    --hero-bg-secondary: #4b5563;
    --footer-bg: #1f2937;
}

/* ========================================
   RESET E BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */

.header {
    background: var(--header-bg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-text) !important;
    text-decoration: none;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    margin-left: 10px;
}

.brand-slogan {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: -5px;
}

.navbar-nav .nav-link {
    color: var(--header-text) !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* ========================================
   MENU DE CATEGORIAS COM DROPDOWN
   ======================================== */
.categories-dropdown {
    position: relative;
}

.categories-dropdown .dropdown-menu {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    min-width: 250px;
    margin-top: 0.5rem;
}

.categories-dropdown .dropdown-item {
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.categories-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.categories-dropdown .dropdown-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.categories-dropdown .dropdown-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.submenu-dropdown {
    position: relative;
}

.submenu-dropdown .dropdown-menu {
    left: 100%;
    top: 0;
    margin-left: 0.5rem;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--hero-bg) 0%, var(--hero-bg-secondary) 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin: 0;
}

/* ========================================
   CAMPO DE BUSCA - APENAS LUPINHA
   ======================================== */
.search-icon {
    font-size: 0.9rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ===================================
   POPUP DE BUSCA
   =================================== */

.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-popup.show {
    opacity: 1;
}

.search-popup-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.search-popup.show .search-popup-content {
    transform: scale(1);
}

.search-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.search-close:hover {
    color: var(--danger-color);
}

.search-input-group {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.suggestion-item:hover {
    background-color: var(--light-color);
}

.search-tips {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.search-tips h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.search-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-tips li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-tips li:before {
    content: '💡';
    margin-right: 0.5rem;
}

/* ========================================
   PRODUTOS E CARDS
   ======================================== */

.products-section,
.recent-uploads-section,
.best-sellers-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--section-title-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--section-subtitle-color);
    margin-bottom: 3rem;
}

/* Cards de Produtos */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card-body {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success-color);
}

.product-points {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   SEÇÃO ÚLTIMOS UPLOADS
   ======================================== */

.recent-uploads-section {
    background: var(--section-bg-alt);
}

.recent-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.recent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.recent-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.recent-card-body {
    padding: 1rem;
}

.recent-card-body h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.recent-meta {
    margin-top: 0.75rem;
}

.recent-meta .badge {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ========================================
   SEÇÃO MAIS VENDIDOS
   ======================================== */

.best-seller-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.best-seller-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.seller-rank {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.seller-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.seller-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seller-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.seller-card-body {
    padding: 1.5rem;
}

.seller-card-body h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.seller-card-body p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.seller-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.seller-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seller-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.seller-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success-color);
}

.seller-points {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   SEÇÃO DE PLANOS
   ======================================== */

.plans-section {
    padding: 80px 0;
    background: var(--section-bg);
}

.plan-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: visible;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card.featured {
    border-color: var(--warning-color);
    transform: scale(1.05);
    z-index: 10;
}

.plan-card.featured::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--warning-color), #ff8c00);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.plan-card p.text-muted {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 1.5rem 0;
    line-height: 1;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--success-color);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.plan-card .btn {
    margin-top: auto;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.plan-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsividade para planos */
@media (max-width: 991.98px) {
    .plan-card {
        min-height: auto;
        margin-bottom: 2rem;
    }
    
    .plan-card.featured {
        transform: none;
        order: -1;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 767.98px) {
    .plans-section {
        padding: 60px 0;
    }
    
    .plan-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .plan-card h3 {
        font-size: 1.3rem;
    }
    
    .plan-price {
        font-size: 2rem;
    }
    
    .plan-features li {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }
}

@media (max-width: 575.98px) {
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-card h3 {
        font-size: 1.2rem;
    }
    
    .plan-price {
        font-size: 1.8rem;
    }
    
    .plan-features {
        margin: 1.5rem 0;
    }
    
    .plan-features li {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }
}

/* ========================================
   CATEGORIAS
   ======================================== */
.category-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.subcategory-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.subcategory-list li:last-child {
    border-bottom: none;
}

.subcategory-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcategory-list a:hover {
    color: var(--primary-color);
}

.subcategory-list a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* ===================================
   RODAPÉ
   =================================== */

.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* ========================================
   SELECTOR DE TEMA - LADO ESQUERDO
   ======================================== */

.theme-selector {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    transition: all 0.3s ease;
}

.theme-selector:hover {
    right: 0;
}

.theme-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle:hover {
    background: var(--secondary-color);
    transform: translateX(-5px);
}

.theme-options {
    position: absolute;
    right: 100%;
    top: 0;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.theme-selector:hover .theme-options {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.theme-option:hover {
    background: var(--light-color);
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-name {
    font-weight: 600;
    color: var(--text-color);
}

/* ===================================
   NOTIFICAÇÕES TOAST
   =================================== */

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    max-width: 350px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.toast-close:hover {
    color: var(--text-color);
}

.toast-success {
    border-left-color: var(--success-color);
}

.toast-error {
    border-left-color: var(--danger-color);
}

.toast-warning {
    border-left-color: var(--warning-color);
}

.toast-info {
    border-left-color: var(--info-color);
}

/* ===================================
   WHATSAPP FIXO
   =================================== */

.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

/* ========================================
   BOTÕES E FORMULÁRIOS
   ======================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .theme-selector {
        right: 10px;
    }
    
    .theme-selector:hover {
        right: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-popup-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats .row {
        margin: 0 -0.5rem;
    }
    
    .stat-item {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .whatsapp-fixed {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 15px;
        left: 15px;
    }
    
    .theme-selector {
        right: 5px;
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.p-4 {
    padding: 1.5rem;
}

.shadow {
    box-shadow: var(--shadow);
}

.rounded {
    border-radius: 10px;
}

/* ========================================
   RESPONSIVIDADE GERAL
   ======================================== */

/* Header responsivo */
@media (max-width: 991.98px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .brand-slogan {
        font-size: 0.7rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .header {
        padding: 0.3rem 0;
    }
    
    .navbar-brand img {
        height: 30px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Hero section responsivo */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Seções responsivas */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
}

/* Cards responsivos */
@media (max-width: 991.98px) {
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .card-body {
        padding: 1rem;
    }
}

/* Botões responsivos */
@media (max-width: 767.98px) {
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn-lg {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Grid responsivo */
@media (max-width: 767.98px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
    .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
    .col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
    .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
    .col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
    .col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Espaçamentos responsivos */
@media (max-width: 767.98px) {
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .my-5 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    
    .pt-5 {
        padding-top: 3rem !important;
    }
    
    .pb-5 {
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 575.98px) {
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    .pt-5 {
        padding-top: 2rem !important;
    }
    
    .pb-5 {
        padding-bottom: 2rem !important;
    }
}

/* Utilitários responsivos */
.d-none-xs {
    display: none !important;
}

@media (min-width: 576px) {
    .d-none-xs {
        display: block !important;
    }
}

.d-block-xs {
    display: block !important;
}

@media (min-width: 576px) {
    .d-block-xs {
        display: none !important;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Melhorias de contraste para dispositivos móveis */
@media (max-width: 767.98px) {
    .text-muted {
        color: #6b7280 !important;
    }
    
    .bg-light {
        background-color: #f9fafb !important;
    }
    
    .border {
        border-color: #e5e7eb !important;
    }
}

/* Otimizações para dispositivos touch */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .card:hover {
        transform: none;
    }
    
    .plan-card:hover {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: scale(1.05);
    }
}

/* Estilos para Planos Melhorados */
.plans-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.plan-card {
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.plan-card.featured {
    border: 2px solid #ffc107;
    transform: scale(1.02);
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.featured-badge {
    z-index: 10;
}

.icon-wrapper {
    transition: all 0.3s ease;
}

.plan-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.plan-price {
    margin: 1.5rem 0;
}

.plan-price .display-6 {
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plan-features li {
    transition: all 0.3s ease;
}

.plan-features li:hover {
    transform: translateX(5px);
}

.plan-features i {
    transition: all 0.3s ease;
}

.plan-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.btn.rounded-pill {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.rounded-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn.rounded-pill:hover::before {
    left: 100%;
}

.btn.rounded-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsividade para planos */
@media (max-width: 767.98px) {
    .plans-section .display-4 {
        font-size: 2rem;
    }
    
    .plan-card {
        margin-bottom: 2rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 575.98px) {
    .plans-section .display-4 {
        font-size: 1.75rem;
    }
    
    .plan-card .card-body {
        padding: 1.5rem;
    }
    
    .plan-price .display-6 {
        font-size: 2rem;
    }
}

/* Estilos para Planos Melhorados */
.plans-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.plan-card {
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.plan-card.featured {
    border: 2px solid #ffc107;
    transform: scale(1.02);
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.featured-badge {
    z-index: 10;
}

.icon-wrapper {
    transition: all 0.3s ease;
}

.plan-card:hover .icon-wrapper {
    transform: scale(1.1);
}

.plan-price {
    margin: 1.5rem 0;
}

.plan-price .display-6 {
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.plan-features li {
    transition: all 0.3s ease;
}

.plan-features li:hover {
    transform: translateX(5px);
}

.plan-features i {
    transition: all 0.3s ease;
}

.plan-features li:hover i {
    transform: scale(1.2);
}

.btn.rounded-pill {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn.rounded-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn.rounded-pill:hover::before {
    left: 100%;
}

.btn.rounded-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsividade para planos */
@media (max-width: 767.98px) {
    .plans-section .display-4 {
        font-size: 2rem;
    }
    
    .plan-card {
        margin-bottom: 2rem;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 575.98px) {
    .plans-section .display-4 {
        font-size: 1.75rem;
    }
    
    .plan-card .card-body {
        padding: 1.5rem;
    }
    
    .plan-price .display-6 {
        font-size: 2rem;
    }
}
