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

body {
    background: #000000;
    font-family: 'Segoe UI', 'Poppins', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    color: #f0f0f0;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(128, 0, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(128, 0, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.app-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* SIDEBAR */
.sidebar {
    width: 280px;
    background: #030304;
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(128, 0, 255, 0.3);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
}

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(128, 0, 255, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: #a855f7;
    border-radius: 5px;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(128, 0, 255, 0.2);
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #b87cff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.logo small {
    font-size: 0.7rem;
    display: block;
    color: #8b5cf6;
    margin-top: 5px;
}

.nav-menu {
    flex: 1;
    padding: 0 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item i {
    font-size: 1.3rem;
    min-width: 32px;
}

.nav-item:hover {
    background: rgba(128, 0, 255, 0.1);
    color: #c084fc;
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(95deg, rgba(128, 0, 255, 0.2), rgba(168, 85, 247, 0.1));
    color: #c084fc;
    border-left: 3px solid #a855f7;
}

.login-btn-sidebar {
    margin: 1.5rem;
    padding: 0.85rem;
    background: linear-gradient(95deg, #7c3aed, #a855f7);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.login-btn-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(128, 0, 255, 0.5);
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    min-height: 100vh;
}

.page-container {
    max-width: 1300px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-badge {
    display: inline-block;
    background: rgba(128, 0, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #c084fc;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    border: 1px solid rgba(128, 0, 255, 0.3);
    margin-bottom: 1rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #b87cff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
}

/* FILTROS / BOTÕES DE CATEGORIA */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 2rem;
}

.filter-btn {
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(128, 0, 255, 0.3);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    color: #bbb;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn i {
    font-size: 1rem;
    color: #a855f7;
}

.filter-btn:hover {
    background: rgba(128, 0, 255, 0.15);
    border-color: #a855f7;
    color: #c084fc;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(95deg, #7c3aed, #a855f7);
    border-color: transparent;
    color: white;
}

.filter-btn.active i {
    color: white;
}

/* ANIMAÇÃO DO GRADIENTE */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CARDS COM BARRINHA ANIMADA PARA PLANOS */
.card-with-bar {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0a0a0c;
    border-radius: 1.5rem;
    padding: 2rem 1.8rem;
    border: 1px solid rgba(128, 0, 255, 0.2);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.5);
}

.card-with-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa, #c084fc, #e879f9, #f472b6);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
    z-index: 10;
    transition: height 0.3s ease;
}

.card-with-bar:hover::before {
    height: 6px;
}

.card-with-bar:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 40px -12px rgba(128, 0, 255, 0.3);
    border-color: #a855f7;
    background: #0d0d10;
}

/* BARRINHA ANIMADA PARA CARDS DE PARCEIROS E EQUIPE */
.partner-card, .team-card {
    position: relative;
    overflow: hidden;
    background: #0a0a0c;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(128, 0, 255, 0.2);
}

.partner-card::before, .team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a78bfa, #c084fc, #e879f9, #f472b6);
    background-size: 200% 100%;
    animation: gradientMove 3s ease infinite;
    z-index: 10;
    transition: height 0.3s ease;
}

.partner-card:hover::before, .team-card:hover::before {
    height: 6px;
}

.partner-card:hover, .team-card:hover {
    transform: translateY(-5px);
    border-color: #a855f7;
    box-shadow: 0 15px 30px -12px rgba(128, 0, 255, 0.3);
    background: #0d0d10;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 1.5rem;
    background: #a855f7;
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    z-index: 15;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.plan-tag {
    background: rgba(128, 0, 255, 0.15);
    font-size: 0.75rem;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    color: #c084fc;
}

.price-area {
    margin: 1.5rem 0 1rem;
    border-bottom: 1px dashed rgba(128, 0, 255, 0.2);
    padding-bottom: 1rem;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
}

.price small {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.period {
    font-size: 0.9rem;
    color: #b87cff;
    margin-top: 0.2rem;
}

.features {
    list-style: none;
    margin: 1.8rem 0;
}

.features li {
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #bbb;
}

.features li i {
    color: #b87cff;
    width: 20px;
}

.btn-plan {
    display: block;
    text-align: center;
    background: transparent;
    border: 1.5px solid #a855f7;
    color: #c084fc;
    font-weight: 600;
    padding: 0.9rem 0;
    border-radius: 60px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-plan:hover {
    background: #a855f7;
    color: #000000;
    box-shadow: 0 0 12px #a855f7;
}

.btn-primary {
    background: linear-gradient(95deg, #7c3aed, #a855f7);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(95deg, #8b5cf6, #c084fc);
    color: #000000;
}

/* GRID DE PARCEIROS E EQUIPE */
.partners-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.partner-image, .team-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #0a0a0a, #0f0f0f);
}

.partner-info, .team-info {
    padding: 1.5rem;
    text-align: center;
}

.partner-name, .team-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.partner-description, .team-role {
    color: #c084fc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.partner-bio {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0.5rem 0 1rem;
}

.btn-whatsapp, .btn-github {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.btn-whatsapp {
    background: linear-gradient(95deg, #7c3aed, #a855f7);
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: linear-gradient(95deg, #8b5cf6, #c084fc);
    color: #000000;
}

.btn-github {
    background: #333;
    color: white;
}

.btn-whatsapp:hover, .btn-github:hover {
    transform: scale(1.05);
}

/* Mensagem quando não há planos */
.no-plans {
    text-align: center;
    padding: 3rem;
    background: #0a0a0c;
    border-radius: 1.5rem;
    border: 1px solid rgba(128, 0, 255, 0.2);
}

.no-plans i {
    font-size: 3rem;
    color: #a855f7;
    margin-bottom: 1rem;
}

.no-plans p {
    color: #aaa;
}

.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(128, 0, 255, 0.15);
    text-align: center;
    color: #777;
}

/* MENU TOGGLE */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 101;
    background: #7c3aed;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        left: 0;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }
    .menu-toggle {
        display: block;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .price {
        font-size: 2rem;
    }
    .filter-container {
        gap: 0.5rem;
    }
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}