/* ===== ONLY PHARMA - Neon Futuristic Design ===== */

:root {
    --cyan: #00FFFF;
    --magenta: #FF00FF;
    --purple: #8000FF;
    --blue: #0066FF;
    --dark: #0A0E27;
    --dark-2: #1a1f3a;
    --light: #ffffff;
    --gradient-1: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
    --gradient-2: linear-gradient(135deg, var(--magenta) 0%, var(--blue) 100%);
    --shadow-neon: 0 0 20px rgba(0, 255, 255, 0.5);
    --shadow-neon-hover: 0 0 30px rgba(0, 255, 255, 0.8);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.hexagon-loader {
    display: flex;
    gap: 10px;
}

.hexagon {
    width: 20px;
    height: 20px;
    background: var(--cyan);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulse 1.5s ease-in-out infinite;
}

.hexagon:nth-child(2) {
    animation-delay: 0.3s;
}

.hexagon:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: var(--shadow-neon);
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--light);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-icon {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.btn-icon:hover {
    background: var(--cyan);
    color: var(--dark);
    box-shadow: var(--shadow-neon);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--magenta);
    color: var(--light);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--cyan);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 255, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 0, 255, 0.15), transparent 50%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 50px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-outline:hover {
    background: var(--cyan);
    color: var(--dark);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: var(--shadow-neon);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Categories Banner */
.categories-banner {
    padding: 80px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.3s;
}

.banner-card:hover .banner-overlay {
    background: linear-gradient(to top, rgba(10, 14, 39, 0.98), transparent);
}

.banner-overlay h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.banner-overlay p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.badge-new {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--magenta);
    color: var(--light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Products Grid */
.featured-products,
.products-page {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 20px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--dark-2);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neon);
    border-color: var(--cyan);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 15px;
    margin-bottom: 20px;
}

.product-category {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--magenta);
    color: var(--light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(255, 0, 255, 0.3);
    z-index: 2;
}

.product-card[data-filter="glp1-perda-peso"] .product-category {
    color: #00FFAA;
}

.product-card[data-filter="anti-aging"] .product-category {
    color: #FF6B9D;
}

.product-card[data-filter="mitocondrial"] .product-category {
    color: #FFD700;
}

.product-card[data-filter="energia"] .product-category {
    color: #00BFFF;
}

.product-card[data-filter="hormonio-gh"] .product-category {
    color: #32CD32;
}

.product-card[data-filter="diluente"] .product-category {
    color: #87CEEB;
}

/* === FILTROS DE CATEGORIA === */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.filter-btn[data-filter="glp1-perda-peso"]:hover,
.filter-btn[data-filter="glp1-perda-peso"].active {
    background: #00FFAA;
    border-color: #00FFAA;
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(0, 255, 170, 0.3);
}

.filter-btn[data-filter="anti-aging"]:hover,
.filter-btn[data-filter="anti-aging"].active {
    background: #FF6B9D;
    border-color: #FF6B9D;
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.3);
}

.filter-btn[data-filter="mitocondrial"]:hover,
.filter-btn[data-filter="mitocondrial"].active {
    background: #FFD700;
    border-color: #FFD700;
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.filter-btn[data-filter="energia"]:hover,
filter-btn[data-filter="energia"].active {
    background: #00BFFF;
    border-color: #00BFFF;
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
}

.filter-btn[data-filter="hormonio-gh"]:hover,
.filter-btn[data-filter="hormonio-gh"].active {
    background: #32CD32;
    border-color: #32CD32;
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(50, 205, 50, 0.3);
}

.filter-btn[data-filter="diluente"]:hover,
.filter-btn[data-filter="diluente"].active {
    background: #87CEEB;
    border-color: #87CEEB;
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(135, 206, 235, 0.3);
}

.product-name {
    font-size: 20px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--magenta);
    margin: 15px 0;
}

.product-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.btn-add-cart {
    width: 100%;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.8);
}

/* Shopping Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cart-modal-content {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    margin: 5% auto;
    padding: 0;
    border: 2px solid var(--cyan);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-neon-hover);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-modal-header {
    background: var(--gradient-1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--cyan);
}

.cart-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.cart-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.cart-close:hover {
    background: var(--magenta);
    color: white;
    box-shadow: 0 0 20px var(--magenta);
}

.cart-modal-body {
    padding: 20px;
    max-height: 50vh;
    overflow-y: auto;
}

.cart-modal-footer {
    background: var(--dark-2);
    padding: 20px;
    border-top: 1px solid var(--cyan);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--cyan);
    margin-bottom: 15px;
}

.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions .btn {
    flex: 1;
}

/* Cart Items */
.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--dark-2);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s;
}

.cart-item:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    border: 2px solid var(--cyan);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--light);
}

.cart-item-category {
    font-size: 0.8rem;
    color: var(--cyan);
    margin: 2px 0;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--magenta);
    font-weight: bold;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 15px;
}

.qty-btn {
    background: var(--dark);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.qty-btn:hover {
    background: var(--cyan);
    color: var(--dark);
    box-shadow: 0 0 10px var(--cyan);
}

.cart-item-total {
    font-weight: bold;
    color: var(--cyan);
    margin: 0 15px;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--magenta);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s;
}

.cart-item-remove:hover {
    background: var(--magenta);
    color: white;
    box-shadow: 0 0 10px var(--magenta);
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: var(--cyan);
}

.empty-cart p {
    margin: 15px 0;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 15px;
}

.footer h4 {
    margin-bottom: 20px;
    color: var(--cyan);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--cyan);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--cyan);
    color: var(--dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}