/* ROOT VARIABLES - DARK THEME PREMIUM */
:root {
    --bg-dark: #070707;
    --bg-light-dark: #121212;
    --primary-red: #e60000;
    --primary-red-glow: rgba(230, 0, 0, 0.6);
    --primary-gold: #d4af37;
    --primary-gold-glow: rgba(212, 175, 55, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease-in-out;
}

/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-red { color: var(--primary-red); }
.text-gold { color: var(--primary-gold); }
.center { text-align: center; }
.dark-bg { background-color: var(--bg-light-dark); }

/* GLASSMORPHISM UTILITY */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(7, 7, 7, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--primary-red);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-shadow: 0 0 10px var(--primary-red-glow);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
    text-shadow: 0 0 8px var(--primary-red-glow);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #1a0000 0%, var(--bg-dark) 70%);
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-logo {
    max-width: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px var(--primary-red-glow));
    animation: floating 3s ease-in-out infinite;
}

.glow-text {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.subheadline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* BUTTONS */
.btn {
    padding: 12px 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-red), #990000);
    color: white;
    border: none;
    box-shadow: 0 0 15px var(--primary-red-glow);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff1a1a, var(--primary-red));
    box-shadow: 0 0 25px var(--primary-red);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px var(--primary-gold-glow), inset 0 0 15px var(--primary-gold-glow);
    transform: translateY(-3px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.8rem;
}

.w-100 { width: 100%; }

/* ANIMATED BACKGROUND LINES */
.cyber-lines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(rgba(230,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

/* ABOUT & BATTERY ANIMATION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* BATTERY ANIMATION CSS */
.battery-animation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.battery-body {
    width: 150px;
    height: 300px;
    border: 4px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    padding: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.battery-cap {
    width: 60px;
    height: 15px;
    background: var(--text-muted);
    border-radius: 5px 5px 0 0;
    margin-bottom: -4px;
    z-index: 2;
}

.battery-level {
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--primary-red), var(--primary-gold));
    border-radius: 5px;
    transition: height 2s cubic-bezier(0.1, 0.7, 0.1, 1);
    box-shadow: 0 0 20px var(--primary-red-glow);
}

.battery-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    z-index: 5;
    text-shadow: 2px 2px 5px #000;
}

/* FEATURES GRID */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px var(--primary-red-glow);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* PRODUCTS SECTION */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    overflow: hidden;
    transition: var(--transition);
}

.cyber-border {
    position: relative;
}

.cyber-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
}

.product-card:hover::before {
    opacity: 1;
}

.product-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.mah {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* MARKETPLACE SECTION */
.marketplace-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-marketplace {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.shopee {
    background-color: #ee4d2d;
    color: white;
}
.shopee:hover { background-color: #d73a1e; transform: translateY(-3px); }

.tokped {
    background-color: #03ac0e;
    color: white;
}
.tokped:hover { background-color: #02880b; transform: translateY(-3px); }

/* TESTIMONIALS */
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome */
}

.testi-card {
    min-width: 300px;
    flex: 1;
    padding: 30px;
    scroll-snap-align: center;
    text-align: center;
}

.stars {
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.testi-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.testi-card h4 {
    color: var(--primary-red);
}

/* FAQ SECTION */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 15px 20px;
    cursor: pointer;
}

.faq-item summary {
    font-size: 1.1rem;
    font-weight: bold;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    color: var(--primary-red);
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin-top: 15px;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

/* CONTACT & MAP */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    padding: 30px;
}

.cyber-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.cyber-input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red-glow);
}

.map-container {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

/* FOOTER */
.footer {
    background: #000;
    padding-top: 60px;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-address p {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.social-icons .wa:hover { color: #25D366; border-color: #25D366; }
.social-icons .ig:hover { color: #E1306C; border-color: #E1306C; }
.social-icons .tt:hover { color: #fff; border-color: #fff; }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* FLOATING WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* KEYFRAMES */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        background: rgba(7, 7, 7, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        text-align: center;
        padding: 30px 0;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .glow-text { font-size: 2.2rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    
    .hero-buttons {
        flex-direction: column;
        padding: 0 20px;
    }
}