/* ===== SHOP PAGE STYLES ===== */

:root {
    --shop-primary: #00e676;
    --shop-primary-dark: #00c853;
    --shop-accent: #69f0ae;
    --shop-accent-gold: #f59e0b;
    --shop-bg: #0a0a0a;
    --shop-card-bg: rgba(17, 24, 39, 0.8);
    --shop-border: rgba(255, 255, 255, 0.1);
    --text-muted: #9ca3af;
    --font-heading: 'Space Grotesk', sans-serif;
}

/* Garantir scroll na página */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Fix para elemento bg-grid */
.bg-grid {
    width: 100% !important;
    max-width: 100% !important;
    right: 0;
}

/* Overlay de Login */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 11000;
    align-items: center;
    justify-content: center;
}

#overlay .overlay-content {
    background: #15151b;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

#overlay button {
    background: var(--shop-primary);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

#overlay button:hover {
    transform: scale(1.05);
}

/* Container */
.container-shop {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Shop Hero Grid - Adaptado do Home */
.shop-hero .home-hero-grid {
    align-items: center;
    text-align: left;
}

@media (max-width: 968px) {
    .shop-hero .home-hero-grid {
        text-align: center !important;
        /* Forçar centro no mobile */
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .shop-hero-subtitle {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .shop-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

/* Hero Section */
.shop-hero {
    padding: 8rem 0 4rem;
    position: relative;
    z-index: 1;
}

.shop-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-dark));
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.shop-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    background: linear-gradient(135deg, var(--shop-primary), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.5));
}

.shop-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Pricing Cards */
.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 20px 40px rgba(0, 230, 118, 0.2);
}

.pricing-card.popular {
    border-color: rgba(0, 230, 118, 0.4);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.3);
}

.pricing-card.ultimate {
    border-color: rgba(0, 230, 118, 0.5);
    box-shadow: 0 10px 30px rgba(0, 230, 118, 0.4);
}

.popular-badge,
.ultimate-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.popular-badge {
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-dark));
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
}

.ultimate-badge {
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-accent));
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.5);
}

.card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.plan-amount {
    font-size: 1.125rem;
    color: var(--shop-primary);
    font-weight: 600;
}

.card-price {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--shop-border);
}

.price-value {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.price-discount {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-dark));
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
}

.detail-value {
    color: #fff;
    font-weight: 600;
}

.detail-item.savings {
    color: var(--shop-primary);
}

.detail-item.savings .detail-value {
    color: var(--shop-primary);
}

.btn-buy {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-dark));
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-buy:active {
    transform: translateY(0);
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0 6rem;
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 230, 118, 0.2);
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: rgba(0, 230, 118, 0.05);
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.faq-item code {
    background: rgba(0, 230, 118, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--shop-primary);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

/* Footer */
.footer-simple {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid var(--shop-border);
    padding: 2rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--shop-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .shop-hero {
        padding: 6rem 0 3rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .container-shop {
        padding: 0 1rem;
    }
}

/* ===== BACKGROUND FIXES (Prevent Scroll Locking) ===== */
.hero-blob,
.bg-grid {
    position: fixed !important;
    /* Garante que fiquem presos à tela */
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    pointer-events: none !important;
    /* Ignora toques/cliques */
    z-index: -1 !important;
    /* Fica atrás de tudo */
    overflow: hidden !important;
    transform: translate3d(0, 0, 0);
    /* Força aceleração de hardware sem layout shift */
}

.hero-blob {
    opacity: 0.3 !important;
    filter: blur(80px);
    /* Blur leve */
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
}

.bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    opacity: 0.4;
}

/* Remove animações pesadas que podem travar a thread principal */
.hero-blob-1,
.hero-blob-2 {
    animation: none !important;
    display: none !important;
    /* Desativa blobs individuais se estiverem causando problemas */
}