:root {
    --primary: #00FF33;
    --primary-dark: #008019;
    --bg-dark: #050a05;
    --bg-card: rgba(5, 20, 5, 0.7);
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
    --border-color: rgba(0, 255, 51, 0.2);
    --glow: 0 0 10px rgba(0, 255, 51, 0.5), 0 0 20px rgba(0, 255, 51, 0.3);
    --glow-strong: 0 0 15px rgba(0, 255, 51, 0.8), 0 0 30px rgba(0, 255, 51, 0.5), 0 0 45px rgba(0, 255, 51, 0.3);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, .logo-rig {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 10, 5, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 255, 51, 0.3);
}

.logo-rig {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 5px rgba(0,255,51,0.5);
    letter-spacing: 2px;
}

.logo-info {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

/* Buttons */
.btn-neon {
    padding: 10px 20px;
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    border-radius: 4px;
    background: transparent;
    box-shadow: inset 0 0 10px rgba(0,255,51,0.1), 0 0 10px rgba(0,255,51,0.1);
    position: relative;
    overflow: hidden;
}

.btn-neon:hover {
    background: var(--primary);
    color: var(--bg-dark) !important;
    box-shadow: var(--glow-strong);
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 1.2rem;
    box-shadow: var(--glow);
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.btn-primary:hover {
    box-shadow: var(--glow-strong);
    transform: translateY(-3px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #0a1f0a 0%, var(--bg-dark) 100%);
}

.circuit-lines {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 255, 51, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 51, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); }
}

.neon-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0,255,51,0.15) 0%, transparent 70%);
    filter: blur(50px);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.glitch {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px var(--primary-dark), -2px -2px 0px #00aaff;
}

.hero-content h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: var(--glow);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.badge {
    background: rgba(0, 255, 51, 0.1);
    border: 1px solid var(--primary);
    padding: 10px 30px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: inset 0 0 10px rgba(0,255,51,0.2);
    text-transform: uppercase;
}

/* Services */
.services {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary);
    box-shadow: var(--glow);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,255,51,0.1);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(0, 255, 51, 0.1);
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: var(--glow);
    /* Placeholder for SVG backgrounds later */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon::after {
    content: '';
    width: 40px;
    height: 40px;
    background: var(--primary);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.pc-icon::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M21 2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v2H8v2h8v-2h-2v-2h7c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H3V4h18v12z"/></svg>');
}
.notebook-icon::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"/></svg>');
}
.console-icon::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M21.58 16.09l-1.09-7.66C20.18 6.27 18.4 5 16.32 5H7.68C5.6 5 3.82 6.27 3.51 8.43l-1.09 7.66C2.2 17.63 3.39 19 4.94 19h0c.68 0 1.32-.27 1.8-.75L9 16h6l2.25 2.25c.48.48 1.13.75 1.8.75h0c1.55 0 2.74-1.37 2.53-2.91zM11 11H9v2H8v-2H6v-1h2V8h1v2h2v1zm4-1c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm2 3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"/></svg>');
}
.apple-icon::after {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.85 1.76-1.85 3.33-2.53 4.08zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"/></svg>');
}

.service-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Ventas / Store */
.ventas {
    padding: 80px 0;
    position: relative;
    background: #020502;
    border-top: 1px solid var(--border-color);
}

.store-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--primary-dark);
    color: var(--text-gray);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.tab-btn:hover, .tab-btn.active {
    background: rgba(0, 255, 51, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: inset 0 0 10px rgba(0,255,51,0.2);
}

.category-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--text-gray);
    margin-right: 10px;
}

.cat-btn {
    padding: 8px 15px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-light);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-body);
}

.cat-btn:hover, .cat-btn.active {
    background: var(--primary-dark);
    color: white;
}

.state-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.state-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 51, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0,255,51,0.15);
    transform: translateY(-5px);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 250px;
    background: #000;
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-track img {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: var(--primary);
    border: 1px solid var(--primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #000;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background: var(--primary);
    box-shadow: 0 0 5px var(--primary);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.negotiable {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: normal;
}

.specs {
    list-style: none;
    margin-bottom: 20px;
}

.specs li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 5px;
}

.specs li strong {
    color: var(--text-light);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.includes {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.9rem;
}

.btn-buy {
    padding: 10px 20px;
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    font-weight: bold;
}

.btn-buy:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--text-gray);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
}

/* Recent Items Slider on Main Page */
.recent-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.recent-slider-container {
    overflow: hidden;
    flex: 1;
}

.recent-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.4s ease-in-out;
}

.slide-item {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
}

.slider-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0,255,51,0.2);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0,255,51,0.5);
}

@media (max-width: 900px) {
    .slide-item { min-width: calc(50% - 15px); }
}

@media (max-width: 600px) {
    .slide-item { 
        min-width: 100%; 
    }
    .recent-slider-wrapper {
        position: relative;
        padding: 0 45px;
    }
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: rgba(5, 10, 5, 0.95);
        width: 35px;
        height: 35px;
    }
    .prev-recent { left: 0; }
    .next-recent { right: 0; }
}

/* Features */
.features {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a1f0a 50%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    margin-bottom: 15px;
}
.check-icon {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}
.clock-icon {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}
.gear-icon {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.06-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.73,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.06,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.43-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.49-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z"/></svg>');
}
.headset-icon {
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 1c-4.97 0-9 4.03-9 9v7c0 1.66 1.34 3 3 3h3v-8H5v-2c0-3.87 3.13-7 7-7s7 3.13 7 7v2h-4v8h4v1h-7v2h6c1.66 0 3-1.34 3-3V10c0-4.97-4.03-9-9-9z"/></svg>');
}

.feature-item h4 {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #020502;
    text-align: center;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-cta {
    margin-bottom: 40px;
}

.footer-cta h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-cta p {
    font-size: 1.2rem;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #25D366;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-heading);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    margin-bottom: 50px;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.wa-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    opacity: 0.5;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .glitch { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.8rem; }
    .hero-content p { font-size: 1.2rem; }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }
    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background: var(--primary);
        transition: 0.3s;
    }
}
