:root {
    --primary: #FFC067; 
    --primary-glow: rgba(255, 192, 103, 0.4);
    --secondary: #1e293b;
    --dark: #0f172a;
    --dark-alt: #0b1120;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; scroll-behavior: smooth; }
body { background: var(--dark); color: var(--text); overflow-x: hidden; }

/* GLOW BACKGROUND EFFECT */
.glow-bg {
    position: fixed; top: -10%; left: -10%; width: 120%; height: 120%;
    background: radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0) 50%),
                radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, rgba(15, 23, 42, 0) 40%);
    z-index: -1; pointer-events: none;
}

/* UTILS */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-alt { background: var(--dark-alt); position: relative; }
.gradient-text {
    background: linear-gradient(135deg, #FFC067, #fb923c);
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hidden { display: none !important; }

/* NAV */
.header { position: sticky; top: 0; z-index: 100; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--glass-border); padding: 15px 0; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: white; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-icon { color: var(--primary); }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: 0.3s; }
.nav-links a:hover { color: white; }
.btn-mi-equipo { background: var(--primary); color: white !important; padding: 8px 18px; border-radius: 30px; }
.btn-mi-equipo:hover { background: #2563EB; transform: translateY(-2px); box-shadow: 0 4px 15px var(--primary-glow); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: 0.3s; }
.btn-lg { padding: 16px 35px; border-radius: 40px; font-size: 17px; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 8px 25px var(--primary-glow); }
.btn-primary:hover { background: #2563EB; box-shadow: 0 12px 35px var(--primary-glow); transform: translateY(-3px) scale(1.02); }
.btn-secondary { background: rgba(255,255,255,0.05); color: white; border: 1px solid var(--glass-border); backdrop-filter: blur(5px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.btn-maps { background: linear-gradient(135deg, #10b981, #059669); color: white !important; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); border-radius: 12px; font-weight: 800; letter-spacing: 0.5px; border: none; }
.btn-maps:hover { background: linear-gradient(135deg, #059669, #047857); transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 35px rgba(16, 185, 129, 0.6); }

/* HERO */
.hero { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; min-height: 85vh; padding: 0 20px; gap: 50px; }
.hero-content { flex: 1; max-width: 600px; }
.hero-title { font-size: 65px; line-height: 1.1; margin-bottom: 25px; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.stats-row { display: flex; gap: 40px; padding-top: 30px; border-top: 1px solid var(--glass-border); }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; color: white; }
.stat-label { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* HERO GRAPHIC */
.hero-graphic { flex: 1; position: relative; height: 500px; display: flex; align-items: center; justify-content: center; }
.floating-element { width: 80px; height: 80px; background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 35px; color: var(--primary); position: absolute; box-shadow: 0 20px 40px rgba(0,0,0,0.5); animation: float 6s ease-in-out infinite; }
.el-1 { top: 20%; left: 10%; animation-delay: 0s; color: #60a5fa; }
.el-2 { top: 40%; right: 10%; animation-delay: 2s; width: 100px; height: 100px; font-size: 45px; }
.el-3 { bottom: 20%; left: 30%; animation-delay: 4s; color: #a78bfa; }
.el-4 { top: 15%; right: 25%; font-size: 45px; color: #10b981; animation-delay: 1.5s; }
.el-5 { bottom: 25%; right: 40%; font-size: 55px; color: #f59e0b; animation-delay: 3s; }
@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } 100% { transform: translateY(0px) rotate(0deg); } }

/* SECTION COMMON */
.section-header { text-align: center; margin-bottom: 60px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 42px; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); font-size: 17px; }

/* MI EQUIPO TRACKER */
.tracker-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px; max-width: 800px; margin: 0 auto; box-shadow: 0 25px 50px rgba(0,0,0,0.3); backdrop-filter: blur(16px); }
.search-box { display: flex; gap: 15px; background: rgba(0,0,0,0.4); padding: 10px; border-radius: 40px; border: 1px solid var(--glass-border); margin-bottom: 30px; }
.search-box input { flex: 1; background: transparent; border: none; font-size: 18px; color: white; padding: 0 20px; outline: none; }
.search-box input::placeholder { color: #64748b; }
.search-box .btn { padding: 12px 30px; border-radius: 30px; }

/* RESULTADOS MI EQUIPO */
.ticket-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--glass-border); }
.ticket-header h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.badge { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }

.progress-container { margin: 35px 0; position: relative; }
.progress-track { height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; width: 100%; position: absolute; top: 15px; z-index: 1; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #a78bfa); border-radius: 10px; transition: width 1s cubic-bezier(0.4, 0, 0.2, 1); }
.progress-steps { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.step { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #475569; width: 33.33%; text-align: center; }
.step i { width: 36px; height: 36px; background: var(--secondary); border: 2px solid #334155; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: 0.5s; }
.step p { font-size: 14px; font-weight: 600; }
.step.active i { background: var(--primary); border-color: var(--primary); color: white; box-shadow: 0 0 15px var(--primary-glow); }
.step.active p { color: white; }

.ticket-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.info-row { background: rgba(0,0,0,0.2); padding: 15px 20px; border-radius: 12px; font-size: 15px; border: 1px solid var(--glass-border); }
.info-row strong { display: block; color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.info-box { grid-column: span 2; background: rgba(59, 130, 246, 0.05); padding: 25px; border-radius: 16px; border: 1px solid rgba(59, 130, 246, 0.2); margin-top: 10px; }
.info-box h4 { margin-bottom: 15px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.info-box p { font-size: 16px; line-height: 1.6; }
.error-msg { background: rgba(239, 68, 68, 0.1); color: #fca5a5; padding: 20px; border-radius: 12px; text-align: center; border: 1px solid rgba(239, 68, 68, 0.2); font-weight: 600; }
.loading-spinner { text-align: center; padding: 30px; color: var(--primary); font-size: 18px; }

/* SERVICIOS */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background: var(--secondary); padding: 40px 30px; border-radius: 20px; transition: 0.4s; border: 1px solid var(--glass-border); text-align: center; }
.service-card:hover { transform: translateY(-10px); background: #1e293b; border-color: rgba(59,130,246,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.icon-wrap { width: 70px; height: 70px; background: rgba(59, 130, 246, 0.1); color: var(--primary); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 25px; transition: 0.3s; }
.service-card:hover .icon-wrap { background: var(--primary); color: white; transform: scale(1.1) rotate(-5deg); }
.service-card h3 { font-size: 22px; margin-bottom: 15px; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* THEME TOGGLE & LIGHT MODE */
.theme-toggle { background: transparent; border: none; color: var(--text); font-size: 20px; cursor: pointer; transition: 0.3s; padding: 5px; margin-right: 15px; outline: none; }
.theme-toggle:hover { color: var(--primary); transform: rotate(45deg); }

body.light-mode { --dark: #f8fafc; --dark-alt: #f1f5f9; --text: #0f172a; --text-muted: #64748b; --glass-bg: rgba(255, 255, 255, 0.9); --glass-border: rgba(0, 0, 0, 0.08); }
body.light-mode .glow-bg { background: radial-gradient(circle at 50% 10%, rgba(255, 192, 103, 0.15) 0%, rgba(255, 255, 255, 0) 50%); }
body.light-mode .header { background: rgba(255, 255, 255, 0.9); }
body.light-mode .logo, body.light-mode .logo-text, body.light-mode .footer-brand h3, body.light-mode .footer-links h4, body.light-mode .product-card h4, body.light-mode .stat-num, body.light-mode .step.active p, body.light-mode .btn-secondary, body.light-mode .social-links a { color: #0f172a; }
body.light-mode .product-card, body.light-mode .tracker-card, body.light-mode .reviews-box, body.light-mode .map-box, body.light-mode .service-card { background: rgba(255,255,255,0.7); box-shadow: 0 15px 35px rgba(0,0,0,0.03); }
body.light-mode .nav-links a:hover { color: var(--primary); }
body.light-mode .btn-secondary { border-color: rgba(0,0,0,0.15); }
body.light-mode .btn-secondary:hover { background: rgba(0,0,0,0.05); color: var(--primary); }
body.light-mode .social-links a { border-color: rgba(0,0,0,0.15); }
body.light-mode .social-links a:hover { background: var(--primary); color: white; border-color: var(--primary); }
body.light-mode .search-box { background: #fff; border-color: rgba(0,0,0,0.1); }
body.light-mode .search-box input { color: #0f172a; }
body.light-mode .review-item, body.light-mode .info-row { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.05); }
body.light-mode .review-item p { color: #334155; }
body.light-mode .client-name { color: #0f172a; }

/* FAQ ACCORDION */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.faq-item { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; overflow: hidden; backdrop-filter: blur(10px); }
.faq-question { width: 100%; text-align: left; padding: 25px; background: transparent; border: none; font-size: 18px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.faq-question:hover, .faq-item.active .faq-question { color: var(--primary); }
.faq-question i { transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); }
.faq-answer p { padding: 0 25px 25px; color: var(--text-muted); line-height: 1.6; }

/* BRAND LOGO PURISTA (Sin trucos) */
.brand-logo { height: 45px; width: auto; border-radius: 5px; opacity: 1; transition: 0.3s; }
.logo:hover .brand-logo { transform: scale(1.05); }
.logo-text { font-size: 22px; font-weight: 800; color: white; display: inline-block; vertical-align: middle; margin-left: 8px; transition: color 0.3s; }
.logo-text span { color: var(--primary); }
.footer-brand-logo { height: 35px; vertical-align: middle; margin-right: 10px; }

/* BRAND CAROUSEL */
.brand-carousel { width: 100%; overflow: hidden; background: rgba(0, 0, 0, 0.15); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); padding: 30px 0; position: relative; z-index: 10; }
body.light-mode .brand-carousel { background: rgba(0, 0, 0, 0.03); }
.brand-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: scrollBrands 35s linear infinite; }
.brand-track i { font-size: 45px; color: var(--text-muted); opacity: 0.4; transition: 0.4s; cursor: pointer; }
.brand-track i.apple:hover { color: #A2AAAD; opacity: 1; transform: scale(1.15); }
.brand-track i.android:hover { color: #3DDC84; opacity: 1; transform: scale(1.15); }
.brand-track i.windows:hover { color: #00a4ef; opacity: 1; transform: scale(1.15); }
.brand-track i.playstation:hover { color: #003791; opacity: 1; transform: scale(1.15); }
.brand-track i.xbox:hover { color: #107C10; opacity: 1; transform: scale(1.15); }
.brand-track i.bluetooth:hover { color: #0082FC; opacity: 1; transform: scale(1.15); }
.brand-track i.laptop:hover, .brand-track i.mobile:hover { color: var(--primary); opacity: 1; transform: scale(1.15); }
@keyframes scrollBrands { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* WHATSAPP FLOAT */
.float-wa { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 1000; transition: 0.3s; text-decoration: none; }
.float-wa:hover { transform: scale(1.1); box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6); }

/* TIENDA */
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card { padding: 40px 30px; text-align: center; border-radius: 20px; transition: 0.4s; background: rgba(30, 41, 59, 0.4); border: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.product-card::before { content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent); transform: skewX(-20deg); transition: 0.7s; }
.product-card:hover::before { left: 150%; }
.product-card:hover { transform: translateY(-8px); background: rgba(30, 41, 59, 0.8); box-shadow: 0 15px 35px rgba(0,0,0,0.3); border-color: rgba(59, 130, 246, 0.5); }
.product-img { font-size: 55px; color: var(--primary); margin-bottom: 25px; transition: 0.3s; text-shadow: 0 10px 25px rgba(59, 130, 246, 0.4); }
.product-card:hover .product-img { transform: scale(1.15) rotate(5deg); }
.product-card h4 { font-size: 22px; margin-bottom: 15px; color: white; }
.product-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* REVIEWS Y MAPA */
.map-reviews-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.reviews-box, .map-box { padding: 45px; border-radius: 24px; background: rgba(30, 41, 59, 0.4); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); }
.reviews-box h2, .map-box h2 { font-size: 26px; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }
.review-item { background: rgba(0,0,0,0.25); padding: 25px; border-radius: 16px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.03); transition: 0.3s; }
.review-item:hover { background: rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.1); transform: translateX(5px); }
.stars { color: #f59e0b; margin-bottom: 12px; font-size: 19px; letter-spacing: 2px; }
.review-item p { font-style: italic; color: #cbd5e1; margin-bottom: 15px; font-size: 16px; line-height: 1.7; }
.client-name { font-size: 13px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* MAPA INTERACTIVO */
.map-wrapper { position: relative; border-radius: 12px; overflow: hidden; margin-top: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); }
.map-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 10; cursor: pointer; transition: 0.4s; color: white; font-weight: 700; font-size: 18px; gap: 12px; letter-spacing: 0.5px; }
.map-overlay i { font-size: 24px; color: var(--primary); transition: 0.3s; }
.map-overlay:hover { background: rgba(59, 130, 246, 0.95); }
.map-overlay:hover i { color: white; transform: scale(1.2); }
.map-overlay.hidden { opacity: 0; pointer-events: none; }

/* FOOTER */
.footer { background: var(--dark-alt); border-top: 1px solid var(--glass-border); padding: 60px 0 0 0; margin-top: 50px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-brand h3 { font-size: 24px; color: white; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-brand p { color: var(--text-muted); line-height: 1.6; max-width: 400px; margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; }
.social-links a { width: 45px; height: 45px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; transition: 0.3s; text-decoration: none; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 20px var(--primary-glow); }
.footer-links h4 { color: white; font-size: 18px; margin-bottom: 20px; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { text-align: center; padding: 25px 0; background: rgba(0,0,0,0.3); color: var(--text-muted); font-size: 14px; border-top: 1px solid rgba(255,255,255,0.02); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .map-reviews-container { grid-template-columns: 1fr; }
    .hero { flex-direction: column; text-align: center; justify-content: center; min-height: 100vh; }    

    .hero-graphic { display: none; }
    .hero-title { font-size: 45px; }
    .hero-buttons { justify-content: center; }
    .stats-row { justify-content: center; }
    .search-box { flex-direction: column; border: none; background: none; padding: 0; }
    .search-box input { padding: 15px 20px; background: rgba(0,0,0,0.4); border-radius: 12px; margin-bottom: 10px; border: 1px solid var(--glass-border); }
    .search-box .btn { border-radius: 12px; }
    .ticket-body { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
