@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Poppins:wght@400;600;700&display=swap');

/* Variáveis Design System - Cyber-Survival Luxe */
:root {
    --primary-neon: #3df28d;
    --secondary-cyber: #00d1ff;
    --bg-dark: #0a0a0b;
    --card-glass: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --glow-shadow: 0 0 15px rgba(61, 242, 141, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --header-height: 80px;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(61, 242, 141, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 209, 255, 0.05) 0%, transparent 40%);
    min-height: 100vh;
}

/* Animações Globais */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(61, 242, 141, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(61, 242, 141, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(61, 242, 141, 0.2);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-neon);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header & Navegação */
.main-header {
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(15px);
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(61, 242, 141, 0.3));
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-greeting {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.user-greeting strong {
    color: var(--primary-neon);
}

/* Botões Estilizados */
.btn-glass {
    padding: 10px 24px;
    border-radius: 12px;
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-neon {
    padding: 12px 30px;
    border-radius: 12px;
    background: var(--primary-neon);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(61, 242, 141, 0.3);
}

.btn-neon:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(61, 242, 141, 0.5);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 100px;
    text-align: center;
    background: url('../images/the-last-survival-bg.png') no-repeat center center/cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 11, 0.7), var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    color: var(--primary-neon) !important;
    text-shadow: 0 0 20px rgba(61, 242, 141, 0.4);
    -webkit-text-fill-color: initial;
    background: none;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Grade de Produtos */
.products-section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.section-title span {
    color: var(--primary-neon);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(61, 242, 141, 0.05), transparent);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(61, 242, 141, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-neon);
    background: rgba(61, 242, 141, 0.1);
}

.product-image img {
    max-width: 80px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.product-price {
    font-size: 2rem;
    color: var(--primary-neon);
    font-weight: 700;
    margin-bottom: 25px;
}

.product-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Badge Destaque */
.badge-best {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-cyber);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
}

/* Modais Glassmorphism */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #121214;
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 40px;
    color: white;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 550px;
    position: relative;
    animation: fadeIn 0.4s ease;
}

.modal [class^="close-"] {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.modal [class^="close-"]:hover {
    color: white;
}

.payment-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.payment-method-btn {
    flex: 1;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.payment-method-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.payment-method-btn i {
    margin-bottom: 5px;
}

.payment-method-btn span {
    font-size: 1.1rem;
    display: block;
    color: #fff;
}

.payment-method-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
    display: block;
    color: #fff;
}

/* Estilo para FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.faq-category {
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.faq-category h2 {
    margin-bottom: 25px;
}

.faq-item {
    margin-bottom: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.faq-item.active {
    border-color: var(--card-border);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    color: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-item.active .faq-question {
    color: var(--primary-neon);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-neon);
}

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.footer-logo img {
    height: 35px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--primary-neon);
    transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 0 20px;
    }

    .header-container {
        justify-content: space-around;
    }
}