/* --- style.css --- */

/* --- CONFIGURACIÓN PRINCIPAL --- */
:root {
    --bg-color: #000000;    /* Negro Puro */
    --surface-color: #0f0f0f;
    --surface-hover: #161616;
    --primary: #FF2A2A;     /* Rojo Neón */
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: #222222;
    --glow: 0 0 20px rgba(255, 42, 42, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, -apple-system, sans-serif; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    background-image: none; /* Sin rejilla, negro liso */
    overflow-x: hidden;
}

/* --- UTILIDADES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: 'Courier New', Courier, monospace; letter-spacing: -0.5px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
.section-padding { padding: 100px 0; }

/* --- HEADER --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); padding: 20px 0;
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* --- SELECTOR DE IDIOMA (TEXTO SIMPLE) --- */
.lang-wrapper {
    position: relative;
    margin-right: 15px;
}
.lang-select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-color: transparent; border: none;
    color: #ffffff; font-weight: 800; font-size: 0.9rem;
    cursor: pointer; outline: none; padding: 5px;
    font-family: 'Inter', sans-serif; text-align: center;
}
.lang-select:hover { color: var(--primary); }
.lang-select option { background-color: #000; color: #fff; font-weight: normal; padding: 10px; }

/* --- BOTONES --- */
.btn-glow {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 10px 24px; background: var(--primary); color: black;
    font-weight: 800; border: none; cursor: pointer;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: 0.3s; text-transform: uppercase; font-size: 0.85rem; text-decoration: none;
}
.btn-glow:hover { box-shadow: var(--glow); transform: scale(1.05); color: black; }
.btn-glow svg { width: 18px; height: 18px; fill: black; }

/* --- HERO --- */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative;
    background: radial-gradient(circle at center, rgba(255, 42, 42, 0.08) 0%, rgba(0,0,0,0) 60%);
}
.hero-content h1 { font-size: 5rem; line-height: 1; margin-bottom: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: -2px; }
.hero-content h1 span { -webkit-text-stroke: 2px var(--primary); color: transparent; }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; }

.status-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1); border: 1px solid #00ff88;
    color: #00ff88; font-size: 0.8rem; margin-bottom: 30px; border-radius: 4px;
}
.dot { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 10px #00ff88; }

/* --- PRODUCTOS / GRID --- */
.products { padding: 100px 0; }
.section-title { margin-bottom: 60px; border-left: 4px solid var(--primary); padding-left: 20px; }
.section-title h2 { font-size: 2.5rem; text-transform: uppercase; }
.section-title p { color: var(--text-muted); margin-top: 5px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.card {
    background: var(--surface-color); border: 1px solid var(--border);
    padding: 30px; position: relative; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.card:hover { transform: translateY(-10px); background: var(--surface-hover); border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card:hover::before { transform: scaleX(1); }

.card-icon { font-size: 2rem; margin-bottom: 20px; color: var(--primary); }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }

.specs-list { margin: 20px 0; list-style: none; }
.specs-list li { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; display: flex; align-items: center; }
.specs-list li::before { content: '>'; color: var(--primary); margin-right: 10px; font-weight: bold; }
.price-tag { font-size: 1.8rem; font-weight: bold; display: block; margin-top: 20px; color: var(--text-main); }

/* --- FAQ ACORDEON --- */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface-color); border: 1px solid var(--border); margin-bottom: 15px; border-radius: 6px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; transition: 0.3s; }
.faq-question:hover { background: var(--surface-hover); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #000; padding: 0 20px; color: var(--text-muted); font-size: 0.9rem; border-top: 1px solid transparent; }
.faq-item.active .faq-answer { max-height: 200px; padding: 20px; border-top-color: var(--border); }
.faq-icon { transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); fill: var(--primary); }

/* --- INFINITE MARQUEE REVIEWS --- */
.marquee-wrapper { position: relative; width: 100%; overflow: hidden; padding: 40px 0; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.marquee-track { display: flex; gap: 30px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.review-card {
    min-width: 350px; max-width: 350px; background: rgba(20, 20, 20, 0.6);
    border: 1px solid #333; border-radius: 4px; padding: 25px;
    position: relative; backdrop-filter: blur(5px); transition: all 0.3s ease;
    background-color: #0a0a0a;
}
.review-card:hover { transform: translateY(-5px) scale(1.02); border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 42, 42, 0.1); z-index: 10; }
.user-stamp { display: flex; align-items: center; gap: 15px; margin-top: 20px; border-top: 1px dashed #333; padding-top: 15px; }
.avatar-circle { width: 40px; height: 40px; background: #111; border: 1px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.review-text { font-family: 'Inter', sans-serif; font-size: 0.95rem; line-height: 1.6; color: #ddd; font-style: italic; }
.stars { color: #ffbd2e; font-size: 1.1rem; margin-bottom: 15px; letter-spacing: 2px; }

/* --- HARDWARE/FIRMWARE SPLIT --- */
.split-section { display: flex; flex-wrap: wrap; align-items: center; gap: 50px; }
.split-content { flex: 1; min-width: 300px; }
.split-visual { flex: 1; min-width: 300px; }
.tech-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.tech-table td { padding: 12px; border-bottom: 1px solid #222; }
.tech-label { color: var(--text-muted); font-family: 'Courier New', monospace; }
.tech-value { color: var(--primary); font-weight: bold; text-align: right; }
.terminal { background: #080808; border: 1px solid #333; border-radius: 6px; padding: 20px; font-family: 'Courier New', monospace; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.cmd { color: var(--text-main); } .cmd::before { content: '$ '; color: var(--primary); }
.log-success { color: #00ff88; }
.cursor { display: inline-block; width: 8px; height: 15px; background: var(--primary); animation: blink 1s infinite; vertical-align: middle; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* --- FOOTER --- */
footer { border-top: 1px solid var(--border); padding: 50px 0; text-align: center; background: #020202; }
.disclaimer { font-size: 0.75rem; color: #444; max-width: 800px; margin: 20px auto 0; }

@media (max-width: 768px) { .hero-content h1 { font-size: 3rem; } .nav-links { display: none; } .review-card { min-width: 300px; } }