/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Neon Text Effect */
.neon-text {
    font-family: 'Orbitron', monospace;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff;
    animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from {
        text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff;
    }
    to {
        text-shadow: 0 0 2px #00ffff, 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff;
    }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #00ffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo h1 {
    font-size: 2rem;
}

.subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin: 0 20px;
}

nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.cart-icon {
    font-size: 1.2rem;
    position: relative;
}

#cart-count {
    background: #00ffff;
    color: #000000;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -12px;
    min-width: 18px;
    text-align: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 200px 20px 100px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    background-size: 400% 400%;
    animation: gradient-shift 4s ease infinite;
    position: relative;
}

.hero::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"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: #ffffff;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 0 20px #25d366, inset 0 0 20px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    position: relative;
    z-index: 1;
}

.whatsapp-btn:hover {
    background: linear-gradient(45deg, #128c7e, #25d366);
    box-shadow: 0 0 30px #25d366, 0 0 40px #25d366, inset 0 0 30px rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.whatsapp-btn img {
    margin-right: 10px;
    width: 28px;
    height: 28px;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px #25d366, inset 0 0 20px rgba(255,255,255,0.1); }
    50% { box-shadow: 0 0 30px #25d366, 0 0 40px #25d366, inset 0 0 30px rgba(255,255,255,0.2); }
    100% { box-shadow: 0 0 20px #25d366, inset 0 0 20px rgba(255,255,255,0.1); }
}

/* Quick Request Section */
.quick-request {
    padding: 80px 20px;
    background: rgba(0, 0, 0, 0.85);
    text-align: center;
}

.quick-request .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.quote-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 18px;
    padding: 30px 20px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.12);
}

.quote-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.quick-whatsapp-btn {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    padding: 14px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

..quick-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 28px rgba(0, 255, 255, 0.5);
}

/* Loja de Baterias */
.shop {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
}

.shop-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 980px;
}

.filter-row {
    justify-content: center;
}

.shop-controls input,
.shop-controls select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    min-width: 180px;
    outline: none;
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.14);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-controls input:focus,
.shop-controls select:focus {
    border-color: #00ffff;
    box-shadow: 0 0 24px rgba(0, 255, 255, 0.3);
    transform: translateY(-1px);
}

.shop-empty {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(0, 255, 255, 0.3);
    border-radius: 18px;
    padding: 40px 25px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    border: 1px solid rgba(0, 255, 255, 0.18);
    padding: 25px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.25);
}

.card-image {
    height: 150px;
    border-radius: 15px;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-image span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000000;
}

.shop-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.shop-desc,
.shop-detail {
    color: #cccccc;
    margin-bottom: 10px;
}

.add-cart-btn {
    display: inline-block;
    width: 100%;
    padding: 15px 20px;
    margin-top: 10px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.add-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 28px rgba(0, 255, 255, 0.45);
}

.shop-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.details-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 50px;
    background: rgba(0, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.details-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(0, 255, 255, 0.3);
}

.product-detail-page {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.78);
    min-height: 100vh;
}

.product-detail-card {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.18);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.12);
}

.product-detail-image {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
}

.product-detail-image img,
.product-detail-image span {
    max-width: 100%;
    max-height: 100%;
}

.product-detail-info h2 {
    margin-top: 0;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}

.product-detail-meta span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.18);
    padding: 12px 16px;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 600;
}

.product-detail-info p {
    color: #cccccc;
    line-height: 1.75;
    margin-bottom: 24px;
}

.detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.detail-actions a,
.detail-actions button {
    padding: 14px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-actions a {
    background: rgba(0, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(0, 255, 255, 0.25);
}

.detail-actions a:hover,
.detail-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(0, 255, 255, 0.22);
}

.detail-actions button {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    box-shadow: 0 0 24px rgba(0,255,255,0.2);
}

.cart-order-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.cart-order-info input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    outline: none;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.cart-order-info input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.22);
}

.cart-panel {
    position: fixed;
    right: 20px;
    top: 180px;
    width: 320px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.18);
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    z-index: 999;
    display: none; /* Inicialmente oculto */
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cart-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00ffff;
}

.cart-panel h3 {
    margin: 0;
}

.cart-panel.cart-open {
    display: block !important;
}
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.cart-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px;
    position: relative;
}

.cart-item-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.qty-btn {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qty-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.qty-display {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.cart-item-price {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.remove-item-btn {
    background: rgba(255, 68, 68, 0.8);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.remove-item-btn:hover {
    background: rgba(255, 68, 68, 1);
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.6);
}

.cart-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-empty {
    color: #999999;
    font-size: 0.95rem;
    padding: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
}

.clear-cart-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 10px;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(255, 68, 68, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 0 5px #ffffff;
}

.clear-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(255, 68, 68, 0.45);
}

@media (max-width: 1024px) {
    .cart-panel {
        position: fixed;
        right: 12px;
        left: 12px;
        top: 90px;
        width: auto;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        margin: 0;
        z-index: 9999;
    }
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    color: #cccccc;
}

/* Products Section */
.products {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 10px;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.product-card p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 15px;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00;
}

/* CTA Section */
.cta {
    padding: 100px 20px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    text-align: center;
    position: relative;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.cta h2, .cta p, .cta-btn {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    padding: 18px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    border: 2px solid #ffff00;
    box-shadow: 0 0 20px #ffff00;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #ffff00;
    color: #000000;
    box-shadow: 0 0 30px #ffff00, 0 0 40px #ffff00;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #00ffff;
    margin-top: auto;
}

footer p {
    margin-bottom: 10px;
    color: #cccccc;
}

footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #00ffff;
}

.whatsapp-footer-link {
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    .logo h1 {
        font-size: 1.5rem;
    }
    .subtitle {
        margin: 10px 0;
    }
    nav {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero {
        padding: 180px 20px 80px;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .service-grid, .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-card, .product-card {
        padding: 20px;
    }
    .cta h2 {
        font-size: 2rem;
    }
    .whatsapp-btn, .cta-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    footer p {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    .whatsapp-footer-link {
        display: block;
        margin-top: 5px;
    }
}

/* Mobile pequeno (abaixo de 480px) */
@media (max-width: 480px) {
    header {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    .logo h1 {
        font-size: 1.3rem;
    }
    .subtitle {
        font-size: 0.85rem;
        margin: 5px 0;
    }
    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 8px;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .hero {
        padding: 200px 15px 60px;
        min-height: auto;
    }
    .hero h2 {
        font-size: 1.5rem;
        word-break: break-word;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .whatsapp-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        flex-direction: column;
        gap: 8px;
    }
    .whatsapp-btn img {
        width: 32px !important;
        height: 32px !important;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .quote-grid {
        grid-template-columns: 1fr;
    }
    .quote-card h3 {
        font-size: 1rem;
    }
    .cart-icon {
        font-size: 1rem;
    }
    #cart-count {
        font-size: 0.7rem;
        padding: 1px 4px;
        top: -6px;
        right: -10px;
    }
    footer {
        padding: 30px 15px;
    }
    footer p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .whatsapp-footer-link {
        font-size: 1rem;
        color: #00ffff;
        display: block;
        margin-top: 5px;
    }
}