/* ==========================================================================
   1. CORE & VARIABLES (ESTILOS ORIGINALES RECOPILADOS)
   ========================================================================== */
   :root {
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --bg-surface-elevated: #141414;
    --accent-primary: #eab308;
    --accent-glow: rgba(234, 179, 8, 0.25);
    --accent-glow-strong: rgba(234, 179, 8, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #52525b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glass: rgba(10, 10, 10, 0.6);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
/* TIPOGRAFÍA ORIGINAL RESTAURADA */
body { font-family: 'SF Pro Display', 'Inter', sans-serif; background-color: var(--bg-base); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 5vw; }
.section-padding { padding: 8rem 0; position: relative; }
.text-gradient { background: linear-gradient(135deg, #ffffff 0%, #71717a 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ==========================================================================
   2. UI COMPONENTS (BOTONES, MENÚ & SCROLL)
   ========================================================================== */
header { position: fixed; top: 0; width: 100%; z-index: 1000; transition: var(--transition-smooth); padding: 1.5rem 0; border-bottom: 1px solid transparent; background: var(--glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; z-index: 1001; }
.logo-dot { width: 8px; height: 8px; background: var(--accent-primary); border-radius: 50%; box-shadow: 0 0 15px var(--accent-primary); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; font-size: 1rem; font-weight: 600; border-radius: 100px; text-decoration: none; cursor: pointer; border: none; transition: var(--transition-smooth); position: relative; overflow: hidden; }
.btn-primary { background: var(--accent-primary); color: #000; box-shadow: 0 10px 30px -10px var(--accent-glow-strong); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -10px var(--accent-glow-strong); }
.btn-outline { border: 1px solid var(--border-subtle); color: #fff; background: transparent; backdrop-filter: blur(10px); }
.btn-outline:hover { background: var(--bg-surface-elevated); border-color: rgba(255,255,255,0.2); }

/* ==========================================================================
   3. SECCIONES PRINCIPALES (HERO, MARQUEE)
   ========================================================================== */
.hero { height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.badge { display: inline-block; padding: 0.5rem 1rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle); border-radius: 100px; font-size: 0.85rem; color: var(--accent-primary); margin-bottom: 2rem; letter-spacing: 1px; text-transform: uppercase; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.04em; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-secondary); margin-bottom: 3rem; font-weight: 300; max-width: 600px; margin-inline: auto; }
.price-anchor { font-size: 1.3rem; font-weight: 700; color: #fff; display: block; margin-top: 2rem; }

.marquee { background: var(--bg-surface); padding: 1.5rem 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); overflow: hidden; display: flex; white-space: nowrap; position: rfe; z-index: 2; }
.marquee-content { display: flex; animation: scrollMarquee 25s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 1rem; margin-right: 4rem; color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }
.marquee-dot { width: 6px; height: 6px; background: var(--accent-primary); border-radius: 50%; }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   4. CATÁLOGO GRID (ESTILOS ORIGINALES RECOPILADOS)
   ========================================================================== */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; letter-spacing: -0.03em; }
.section-header p { color: var(--text-secondary); font-size: 1.15rem; }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; perspective: 1000px; }

.tilt-card { background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-base) 100%); border: 1px solid var(--border-subtle); border-radius: 20px; padding: 1.2rem; position: relative; transform-style: preserve-3d; transition: transform 0.1s ease, box-shadow 0.3s ease; cursor: pointer; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.tilt-card:hover { border-color: rgba(234,179,8,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.6); transform: translateY(-5px); }
.card-content { position: relative; z-index: 2; transform: translateZ(20px); text-align: center; display: flex; flex-direction: column; height: 100%; }
.card-img-wrapper { width: 100%; height: 260px; border-radius: 12px; overflow: hidden; margin-bottom: 1.2rem; transform: translateZ(30px); box-shadow: 0 10px 25px rgba(0,0,0,0.5); background: #000; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card-content h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card-content p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.9rem; flex-grow: 1; }
.buy-btn-wrapper { transform: translateZ(20px); margin-top: auto; }

/* ==========================================================================
   5. CREADOR MULTI-PASO (ESTILOS ORIGINALES RECOPILADOS)
   ========================================================================== */
.builder-wrapper { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 32px; padding: 4rem; position: relative; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.3); }
.step-indicator { display: flex; justify-content: center; gap: 2rem; margin-bottom: 3rem; position: relative; z-index: 2; }
.step-dot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--text-secondary); transition: var(--transition-smooth); background: var(--bg-base); }
.step-dot.active { background: var(--accent-primary); color: #000; border-color: var(--accent-primary); box-shadow: 0 0 20px var(--accent-glow); }

.form-step { display: none; position: relative; z-index: 2; animation: fadeIn 0.5s ease; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.input-group { margin-bottom: 1.5rem; text-align: left; }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.form-input { width: 100%; background: var(--bg-base); border: 1px solid var(--border-subtle); padding: 1.2rem; border-radius: 12px; color: #fff; font-size: 1rem; }
.upload-area { border: 2px dashed var(--border-subtle); border-radius: 16px; padding: 3rem 2rem; text-align: center; cursor: pointer; background: rgba(255,255,255,0.02); }
.step-actions { display: flex; justify-content: space-between; margin-top: 3rem; gap: 1rem; }

/* ==========================================================================
   6. FOOTER Y MODALES
   ========================================================================== */


@media (max-width: 768px) {
    .nav-links { display: none; }
    .builder-wrapper { padding: 2rem; }
    .step-actions { flex-direction: column; }
    .btn { width: 100%; }
}
/* ==========================================================================
   7. EFECTOS ESPECIALES (LUZ RATÓN) Y FAQ
   ========================================================================== */
   .mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none; /* Para que no interfiera al hacer clic */
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
    opacity: 0;
}

body:hover .mouse-glow {
    opacity: 1;
}

/* Estilos de las Preguntas Frecuentes */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 500px;
}

/* ==========================================================================
   8. FOOTER COMPLETO (PIE DE PÁGINA)
   ========================================================================== */
   footer { 
    background: var(--bg-surface); 
    padding: 5rem 0 2rem 0; 
    border-top: 1px solid var(--border-subtle); 
    color: var(--text-secondary); 
    text-align: left; 
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}